Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR web/resource-manager] Add missing type specifier to enum definition. #2090

Merged
merged 1 commit into from
Mar 2, 2018
Merged
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
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"