Skip to content

Commit

Permalink
Generated from 6b4f8a041355f71703ff968f9a7209ab27d93605 (#2090)
Browse files Browse the repository at this point in the history
Add missing type specifier to enum definition.
  • Loading branch information
AutorestCI committed Mar 7, 2018
1 parent 5043fea commit 7232c50
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
CertificateOrderStatus,
CertificateOrderActionType,
RouteType,
ManagedServiceIdentityType,
AutoHealActionType,
ConnectionStringType,
ScmType,
Expand Down Expand Up @@ -580,6 +581,7 @@
'CertificateOrderStatus',
'CertificateOrderActionType',
'RouteType',
'ManagedServiceIdentityType',
'AutoHealActionType',
'ConnectionStringType',
'ScmType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ class ManagedServiceIdentity(Model):
Variables are only populated by the server, and will be ignored when
sending a request.
:param type: Type of managed service identity.
:type type: object
:param type: Type of managed service identity. Possible values include:
'SystemAssigned'
:type type: str or ~azure.mgmt.web.models.ManagedServiceIdentityType
:ivar tenant_id: Tenant of managed service identity.
:vartype tenant_id: str
:ivar principal_id: Principal Id of managed service identity.
Expand All @@ -32,7 +33,7 @@ class ManagedServiceIdentity(Model):
}

_attribute_map = {
'type': {'key': 'type', 'type': 'object'},
'type': {'key': 'type', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'principal_id': {'key': 'principalId', 'type': 'str'},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ class RouteType(Enum):
static = "STATIC"


class ManagedServiceIdentityType(Enum):

system_assigned = "SystemAssigned"


class AutoHealActionType(Enum):

recycle = "Recycle"
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = ""
VERSION = "0.36.0"

0 comments on commit 7232c50

Please sign in to comment.