Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@
HostType,
UsageState,
SiteAvailabilityState,
ComputeModeOptions,
StatusOptions,
DomainStatus,
AzureResourceType,
Expand All @@ -288,7 +289,6 @@
DomainType,
HostingEnvironmentStatus,
InternalLoadBalancingMode,
ComputeModeOptions,
WorkerSizeOptions,
AccessControlEntryAction,
OperationStatus,
Expand Down Expand Up @@ -592,6 +592,7 @@
'HostType',
'UsageState',
'SiteAvailabilityState',
'ComputeModeOptions',
'StatusOptions',
'DomainStatus',
'AzureResourceType',
Expand All @@ -601,7 +602,6 @@
'DomainType',
'HostingEnvironmentStatus',
'InternalLoadBalancingMode',
'ComputeModeOptions',
'WorkerSizeOptions',
'AccessControlEntryAction',
'OperationStatus',
Expand Down
7 changes: 6 additions & 1 deletion azure-mgmt-web/azure/mgmt/web/models/sku_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ class SkuDescription(Model):
:type size: str
:param family: Family code of the resource SKU.
:type family: str
:param compute_mode: Shared or dedicated app hosting. Possible values
include: 'Shared', 'Dedicated', 'Dynamic'
:type compute_mode: str or ~azure.mgmt.web.models.ComputeModeOptions
:param capacity: Current number of instances assigned to the resource.
:type capacity: int
:param sku_capacity: Min, max, and default scale values of the SKU.
Expand All @@ -39,18 +42,20 @@ class SkuDescription(Model):
'tier': {'key': 'tier', 'type': 'str'},
'size': {'key': 'size', 'type': 'str'},
'family': {'key': 'family', 'type': 'str'},
'compute_mode': {'key': 'computeMode', 'type': 'ComputeModeOptions'},
'capacity': {'key': 'capacity', 'type': 'int'},
'sku_capacity': {'key': 'skuCapacity', 'type': 'SkuCapacity'},
'locations': {'key': 'locations', 'type': '[str]'},
'capabilities': {'key': 'capabilities', 'type': '[Capability]'},
}

def __init__(self, name=None, tier=None, size=None, family=None, capacity=None, sku_capacity=None, locations=None, capabilities=None):
def __init__(self, name=None, tier=None, size=None, family=None, compute_mode=None, capacity=None, sku_capacity=None, locations=None, capabilities=None):
super(SkuDescription, self).__init__()
self.name = name
self.tier = tier
self.size = size
self.family = family
self.compute_mode = compute_mode
self.capacity = capacity
self.sku_capacity = sku_capacity
self.locations = locations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ class SiteAvailabilityState(Enum):
disaster_recovery_mode = "DisasterRecoveryMode"


class ComputeModeOptions(Enum):

shared = "Shared"
dedicated = "Dedicated"
dynamic = "Dynamic"


class StatusOptions(Enum):

ready = "Ready"
Expand Down Expand Up @@ -250,13 +257,6 @@ class InternalLoadBalancingMode(Enum):
publishing = "Publishing"


class ComputeModeOptions(Enum):

shared = "Shared"
dedicated = "Dedicated"
dynamic = "Dynamic"


class WorkerSizeOptions(Enum):

default = "Default"
Expand Down