From 7232c50c0a4f3bdbae8582fae3f6a64866086242 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 2 Mar 2018 13:30:59 -0800 Subject: [PATCH] Generated from 6b4f8a041355f71703ff968f9a7209ab27d93605 (#2090) Add missing type specifier to enum definition. --- azure-mgmt-web/azure/mgmt/web/models/__init__.py | 2 ++ .../azure/mgmt/web/models/managed_service_identity.py | 7 ++++--- .../mgmt/web/models/web_site_management_client_enums.py | 5 +++++ azure-mgmt-web/azure/mgmt/web/version.py | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/azure-mgmt-web/azure/mgmt/web/models/__init__.py b/azure-mgmt-web/azure/mgmt/web/models/__init__.py index 0b1a573e7329..f60ea1a3a7da 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/__init__.py +++ b/azure-mgmt-web/azure/mgmt/web/models/__init__.py @@ -268,6 +268,7 @@ CertificateOrderStatus, CertificateOrderActionType, RouteType, + ManagedServiceIdentityType, AutoHealActionType, ConnectionStringType, ScmType, @@ -580,6 +581,7 @@ 'CertificateOrderStatus', 'CertificateOrderActionType', 'RouteType', + 'ManagedServiceIdentityType', 'AutoHealActionType', 'ConnectionStringType', 'ScmType', diff --git a/azure-mgmt-web/azure/mgmt/web/models/managed_service_identity.py b/azure-mgmt-web/azure/mgmt/web/models/managed_service_identity.py index 1b611d7b49f2..4e33e830ae33 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/managed_service_identity.py +++ b/azure-mgmt-web/azure/mgmt/web/models/managed_service_identity.py @@ -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. @@ -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'}, } diff --git a/azure-mgmt-web/azure/mgmt/web/models/web_site_management_client_enums.py b/azure-mgmt-web/azure/mgmt/web/models/web_site_management_client_enums.py index 732822bd5a3f..0b311784c359 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/web_site_management_client_enums.py +++ b/azure-mgmt-web/azure/mgmt/web/models/web_site_management_client_enums.py @@ -81,6 +81,11 @@ class RouteType(Enum): static = "STATIC" +class ManagedServiceIdentityType(Enum): + + system_assigned = "SystemAssigned" + + class AutoHealActionType(Enum): recycle = "Recycle" diff --git a/azure-mgmt-web/azure/mgmt/web/version.py b/azure-mgmt-web/azure/mgmt/web/version.py index 53a203f32aaf..8ae395630e43 100644 --- a/azure-mgmt-web/azure/mgmt/web/version.py +++ b/azure-mgmt-web/azure/mgmt/web/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "" +VERSION = "0.36.0"