From 77f4e50084fc5817d5962de3f45603ccde2b0f4e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 2 Apr 2019 19:19:31 +0000 Subject: [PATCH] Generated from d605882bdcb7e402badbf4aeca8d66f20a9d197e Update managedserviceidentity type enum Enum is currently missing the ua + sa combination + "none" type. We do support those values in our API and as such need the swagger to reflect that. --- profiles/latest/web/mgmt/web/models.go | 6 ++++-- profiles/preview/web/mgmt/web/models.go | 6 ++++-- services/web/mgmt/2018-02-01/web/models.go | 16 ++++++++++------ 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/profiles/latest/web/mgmt/web/models.go b/profiles/latest/web/mgmt/web/models.go index 1b6a79758ade..fcd4c277fbe1 100644 --- a/profiles/latest/web/mgmt/web/models.go +++ b/profiles/latest/web/mgmt/web/models.go @@ -416,8 +416,10 @@ const ( type ManagedServiceIdentityType = original.ManagedServiceIdentityType const ( - SystemAssigned ManagedServiceIdentityType = original.SystemAssigned - UserAssigned ManagedServiceIdentityType = original.UserAssigned + ManagedServiceIdentityTypeNone ManagedServiceIdentityType = original.ManagedServiceIdentityTypeNone + ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeSystemAssigned + ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeSystemAssignedUserAssigned + ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeUserAssigned ) type MySQLMigrationType = original.MySQLMigrationType diff --git a/profiles/preview/web/mgmt/web/models.go b/profiles/preview/web/mgmt/web/models.go index 71b0388bc04e..0584a6d2acb0 100644 --- a/profiles/preview/web/mgmt/web/models.go +++ b/profiles/preview/web/mgmt/web/models.go @@ -416,8 +416,10 @@ const ( type ManagedServiceIdentityType = original.ManagedServiceIdentityType const ( - SystemAssigned ManagedServiceIdentityType = original.SystemAssigned - UserAssigned ManagedServiceIdentityType = original.UserAssigned + ManagedServiceIdentityTypeNone ManagedServiceIdentityType = original.ManagedServiceIdentityTypeNone + ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeSystemAssigned + ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeSystemAssignedUserAssigned + ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeUserAssigned ) type MySQLMigrationType = original.MySQLMigrationType diff --git a/services/web/mgmt/2018-02-01/web/models.go b/services/web/mgmt/2018-02-01/web/models.go index 42749a2319b4..73466f7962f3 100644 --- a/services/web/mgmt/2018-02-01/web/models.go +++ b/services/web/mgmt/2018-02-01/web/models.go @@ -806,15 +806,19 @@ func PossibleManagedPipelineModeValues() []ManagedPipelineMode { type ManagedServiceIdentityType string const ( - // SystemAssigned ... - SystemAssigned ManagedServiceIdentityType = "SystemAssigned" - // UserAssigned ... - UserAssigned ManagedServiceIdentityType = "UserAssigned" + // ManagedServiceIdentityTypeNone ... + ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None" + // ManagedServiceIdentityTypeSystemAssigned ... + ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned" + // ManagedServiceIdentityTypeSystemAssignedUserAssigned ... + ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned, UserAssigned" + // ManagedServiceIdentityTypeUserAssigned ... + ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" ) // PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type. func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType { - return []ManagedServiceIdentityType{SystemAssigned, UserAssigned} + return []ManagedServiceIdentityType{ManagedServiceIdentityTypeNone, ManagedServiceIdentityTypeSystemAssigned, ManagedServiceIdentityTypeSystemAssignedUserAssigned, ManagedServiceIdentityTypeUserAssigned} } // MSDeployLogEntryType enumerates the values for ms deploy log entry type. @@ -12432,7 +12436,7 @@ type LogSpecification struct { // ManagedServiceIdentity managed service identity. type ManagedServiceIdentity struct { - // Type - Type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned' + // Type - Type of managed service identity. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned', 'ManagedServiceIdentityTypeSystemAssignedUserAssigned', 'ManagedServiceIdentityTypeNone' Type ManagedServiceIdentityType `json:"type,omitempty"` // TenantID - Tenant of managed service identity. TenantID *string `json:"tenantId,omitempty"`