diff --git a/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md b/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md index 130dde5c0f40..97ea1945afac 100644 --- a/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md +++ b/services/storage/mgmt/2021-02-01/storage/CHANGELOG.md @@ -1,109 +1,9 @@ -# Change History +# Unreleased Content ## Breaking Changes ### Removed Constants -1. AccessTier.Cool -1. AccessTier.Hot -1. AccountStatus.Available -1. AccountStatus.Unavailable -1. Action.Allow -1. Action1.Acquire -1. Action1.Break -1. Action1.Change -1. Action1.Release -1. Action1.Renew -1. BlobRestoreProgressStatus.Complete -1. BlobRestoreProgressStatus.Failed -1. BlobRestoreProgressStatus.InProgress -1. Bypass.AzureServices -1. Bypass.Logging -1. Bypass.Metrics -1. Bypass.None -1. CreatedByType.Application -1. CreatedByType.Key -1. CreatedByType.ManagedIdentity -1. CreatedByType.User -1. EnabledProtocols.NFS -1. EnabledProtocols.SMB -1. EncryptionScopeSource.MicrosoftKeyVault -1. EncryptionScopeSource.MicrosoftStorage -1. EncryptionScopeState.Disabled -1. EncryptionScopeState.Enabled -1. ExtendedLocationTypes.EdgeZone -1. GetShareExpand.Stats -1. HTTPProtocol.HTTPS -1. HTTPProtocol.Httpshttp -1. ImmutabilityPolicyState.Locked -1. ImmutabilityPolicyState.Unlocked -1. ImmutabilityPolicyUpdateType.Extend -1. ImmutabilityPolicyUpdateType.Lock -1. ImmutabilityPolicyUpdateType.Put -1. KeyPermission.Full -1. KeyPermission.Read -1. Kind.BlobStorage -1. Kind.BlockBlobStorage -1. Kind.FileStorage -1. Kind.Storage -1. Kind.StorageV2 -1. LeaseDuration.Fixed -1. LeaseDuration.Infinite -1. ListContainersInclude.Deleted -1. ListKeyExpand.Kerb -1. MinimumTLSVersion.TLS10 -1. MinimumTLSVersion.TLS11 -1. MinimumTLSVersion.TLS12 -1. Name.AccessTimeTracking -1. Permissions.A -1. Permissions.C -1. Permissions.D -1. Permissions.L -1. Permissions.P -1. Permissions.R -1. Permissions.U -1. Permissions.W -1. PrivateEndpointServiceConnectionStatus.Approved -1. PrivateEndpointServiceConnectionStatus.Pending -1. PrivateEndpointServiceConnectionStatus.Rejected -1. ProvisioningState.Creating -1. ProvisioningState.ResolvingDNS -1. ProvisioningState.Succeeded -1. PutSharesExpand.Snapshots -1. Reason.AccountNameInvalid -1. Reason.AlreadyExists -1. ReasonCode.NotAvailableForSubscription -1. ReasonCode.QuotaID -1. RootSquashType.AllSquash -1. RootSquashType.NoRootSquash -1. RootSquashType.RootSquash -1. RoutingChoice.InternetRouting -1. RoutingChoice.MicrosoftRouting -1. Services.B -1. Services.F -1. Services.Q -1. Services.T -1. SkuName.PremiumLRS -1. SkuName.PremiumZRS -1. SkuName.StandardGRS -1. SkuName.StandardGZRS -1. SkuName.StandardLRS -1. SkuName.StandardRAGRS -1. SkuName.StandardRAGZRS -1. SkuName.StandardZRS -1. SkuTier.Premium -1. SkuTier.Standard -1. UsageUnit.Bytes -1. UsageUnit.BytesPerSecond -1. UsageUnit.Count -1. UsageUnit.CountsPerSecond -1. UsageUnit.Percent -1. UsageUnit.Seconds - -## Additive Changes - -### New Constants - 1. AccessTier.AccessTierCool 1. AccessTier.AccessTierHot 1. AccountStatus.AccountStatusAvailable @@ -199,3 +99,103 @@ 1. UsageUnit.UsageUnitCountsPerSecond 1. UsageUnit.UsageUnitPercent 1. UsageUnit.UsageUnitSeconds + +## Additive Changes + +### New Constants + +1. AccessTier.Cool +1. AccessTier.Hot +1. AccountStatus.Available +1. AccountStatus.Unavailable +1. Action.Allow +1. Action1.Acquire +1. Action1.Break +1. Action1.Change +1. Action1.Release +1. Action1.Renew +1. BlobRestoreProgressStatus.Complete +1. BlobRestoreProgressStatus.Failed +1. BlobRestoreProgressStatus.InProgress +1. Bypass.AzureServices +1. Bypass.Logging +1. Bypass.Metrics +1. Bypass.None +1. CreatedByType.Application +1. CreatedByType.Key +1. CreatedByType.ManagedIdentity +1. CreatedByType.User +1. EnabledProtocols.NFS +1. EnabledProtocols.SMB +1. EncryptionScopeSource.MicrosoftKeyVault +1. EncryptionScopeSource.MicrosoftStorage +1. EncryptionScopeState.Disabled +1. EncryptionScopeState.Enabled +1. ExtendedLocationTypes.EdgeZone +1. GetShareExpand.Stats +1. HTTPProtocol.HTTPS +1. HTTPProtocol.Httpshttp +1. ImmutabilityPolicyState.Locked +1. ImmutabilityPolicyState.Unlocked +1. ImmutabilityPolicyUpdateType.Extend +1. ImmutabilityPolicyUpdateType.Lock +1. ImmutabilityPolicyUpdateType.Put +1. KeyPermission.Full +1. KeyPermission.Read +1. Kind.BlobStorage +1. Kind.BlockBlobStorage +1. Kind.FileStorage +1. Kind.Storage +1. Kind.StorageV2 +1. LeaseDuration.Fixed +1. LeaseDuration.Infinite +1. ListContainersInclude.Deleted +1. ListKeyExpand.Kerb +1. MinimumTLSVersion.TLS10 +1. MinimumTLSVersion.TLS11 +1. MinimumTLSVersion.TLS12 +1. Name.AccessTimeTracking +1. Permissions.A +1. Permissions.C +1. Permissions.D +1. Permissions.L +1. Permissions.P +1. Permissions.R +1. Permissions.U +1. Permissions.W +1. PrivateEndpointServiceConnectionStatus.Approved +1. PrivateEndpointServiceConnectionStatus.Pending +1. PrivateEndpointServiceConnectionStatus.Rejected +1. ProvisioningState.Creating +1. ProvisioningState.ResolvingDNS +1. ProvisioningState.Succeeded +1. PutSharesExpand.Snapshots +1. Reason.AccountNameInvalid +1. Reason.AlreadyExists +1. ReasonCode.NotAvailableForSubscription +1. ReasonCode.QuotaID +1. RootSquashType.AllSquash +1. RootSquashType.NoRootSquash +1. RootSquashType.RootSquash +1. RoutingChoice.InternetRouting +1. RoutingChoice.MicrosoftRouting +1. Services.B +1. Services.F +1. Services.Q +1. Services.T +1. SkuName.PremiumLRS +1. SkuName.PremiumZRS +1. SkuName.StandardGRS +1. SkuName.StandardGZRS +1. SkuName.StandardLRS +1. SkuName.StandardRAGRS +1. SkuName.StandardRAGZRS +1. SkuName.StandardZRS +1. SkuTier.Premium +1. SkuTier.Standard +1. UsageUnit.Bytes +1. UsageUnit.BytesPerSecond +1. UsageUnit.Count +1. UsageUnit.CountsPerSecond +1. UsageUnit.Percent +1. UsageUnit.Seconds diff --git a/services/storage/mgmt/2021-02-01/storage/_meta.json b/services/storage/mgmt/2021-02-01/storage/_meta.json index ea07f8785457..fbb285a5a50d 100644 --- a/services/storage/mgmt/2021-02-01/storage/_meta.json +++ b/services/storage/mgmt/2021-02-01/storage/_meta.json @@ -1,11 +1,11 @@ { - "commit": "ea5bc27ee9cadeb67767d774c82095be2420bcad", + "commit": "719b74f77b92eb1ec3814be6c4488bcf6b651733", "readme": "/_/azure-rest-api-specs/specification/storage/resource-manager/readme.md", "tag": "package-2021-02", "use": "@microsoft.azure/autorest.go@2.1.180", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2021-02 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION --enum-prefix /_/azure-rest-api-specs/specification/storage/resource-manager/readme.md", + "autorest_command": "autorest --use=@microsoft.azure/autorest.go@2.1.180 --tag=package-2021-02 --go-sdk-folder=/_/azure-sdk-for-go --go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION /_/azure-rest-api-specs/specification/storage/resource-manager/readme.md", "additional_properties": { - "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION --enum-prefix" + "additional_options": "--go --verbose --use-onever --version=V2 --go.license-header=MICROSOFT_MIT_NO_VERSION" } } \ No newline at end of file diff --git a/services/storage/mgmt/2021-02-01/storage/enums.go b/services/storage/mgmt/2021-02-01/storage/enums.go index 65368dba60af..8dad5f099537 100644 --- a/services/storage/mgmt/2021-02-01/storage/enums.go +++ b/services/storage/mgmt/2021-02-01/storage/enums.go @@ -10,15 +10,15 @@ package storage type AccessTier string const ( - // AccessTierCool ... - AccessTierCool AccessTier = "Cool" - // AccessTierHot ... - AccessTierHot AccessTier = "Hot" + // Cool ... + Cool AccessTier = "Cool" + // Hot ... + Hot AccessTier = "Hot" ) // PossibleAccessTierValues returns an array of possible values for the AccessTier const type. func PossibleAccessTierValues() []AccessTier { - return []AccessTier{AccessTierCool, AccessTierHot} + return []AccessTier{Cool, Hot} } // AccountExpand enumerates the values for account expand. @@ -40,104 +40,104 @@ func PossibleAccountExpandValues() []AccountExpand { type AccountStatus string const ( - // AccountStatusAvailable ... - AccountStatusAvailable AccountStatus = "available" - // AccountStatusUnavailable ... - AccountStatusUnavailable AccountStatus = "unavailable" + // Available ... + Available AccountStatus = "available" + // Unavailable ... + Unavailable AccountStatus = "unavailable" ) // PossibleAccountStatusValues returns an array of possible values for the AccountStatus const type. func PossibleAccountStatusValues() []AccountStatus { - return []AccountStatus{AccountStatusAvailable, AccountStatusUnavailable} + return []AccountStatus{Available, Unavailable} } // Action enumerates the values for action. type Action string const ( - // ActionAllow ... - ActionAllow Action = "Allow" + // Allow ... + Allow Action = "Allow" ) // PossibleActionValues returns an array of possible values for the Action const type. func PossibleActionValues() []Action { - return []Action{ActionAllow} + return []Action{Allow} } // Action1 enumerates the values for action 1. type Action1 string const ( - // Action1Acquire ... - Action1Acquire Action1 = "Acquire" - // Action1Break ... - Action1Break Action1 = "Break" - // Action1Change ... - Action1Change Action1 = "Change" - // Action1Release ... - Action1Release Action1 = "Release" - // Action1Renew ... - Action1Renew Action1 = "Renew" + // Acquire ... + Acquire Action1 = "Acquire" + // Break ... + Break Action1 = "Break" + // Change ... + Change Action1 = "Change" + // Release ... + Release Action1 = "Release" + // Renew ... + Renew Action1 = "Renew" ) // PossibleAction1Values returns an array of possible values for the Action1 const type. func PossibleAction1Values() []Action1 { - return []Action1{Action1Acquire, Action1Break, Action1Change, Action1Release, Action1Renew} + return []Action1{Acquire, Break, Change, Release, Renew} } // BlobRestoreProgressStatus enumerates the values for blob restore progress status. type BlobRestoreProgressStatus string const ( - // BlobRestoreProgressStatusComplete ... - BlobRestoreProgressStatusComplete BlobRestoreProgressStatus = "Complete" - // BlobRestoreProgressStatusFailed ... - BlobRestoreProgressStatusFailed BlobRestoreProgressStatus = "Failed" - // BlobRestoreProgressStatusInProgress ... - BlobRestoreProgressStatusInProgress BlobRestoreProgressStatus = "InProgress" + // Complete ... + Complete BlobRestoreProgressStatus = "Complete" + // Failed ... + Failed BlobRestoreProgressStatus = "Failed" + // InProgress ... + InProgress BlobRestoreProgressStatus = "InProgress" ) // PossibleBlobRestoreProgressStatusValues returns an array of possible values for the BlobRestoreProgressStatus const type. func PossibleBlobRestoreProgressStatusValues() []BlobRestoreProgressStatus { - return []BlobRestoreProgressStatus{BlobRestoreProgressStatusComplete, BlobRestoreProgressStatusFailed, BlobRestoreProgressStatusInProgress} + return []BlobRestoreProgressStatus{Complete, Failed, InProgress} } // Bypass enumerates the values for bypass. type Bypass string const ( - // BypassAzureServices ... - BypassAzureServices Bypass = "AzureServices" - // BypassLogging ... - BypassLogging Bypass = "Logging" - // BypassMetrics ... - BypassMetrics Bypass = "Metrics" - // BypassNone ... - BypassNone Bypass = "None" + // AzureServices ... + AzureServices Bypass = "AzureServices" + // Logging ... + Logging Bypass = "Logging" + // Metrics ... + Metrics Bypass = "Metrics" + // None ... + None Bypass = "None" ) // PossibleBypassValues returns an array of possible values for the Bypass const type. func PossibleBypassValues() []Bypass { - return []Bypass{BypassAzureServices, BypassLogging, BypassMetrics, BypassNone} + return []Bypass{AzureServices, Logging, Metrics, None} } // CreatedByType enumerates the values for created by type. type CreatedByType string const ( - // CreatedByTypeApplication ... - CreatedByTypeApplication CreatedByType = "Application" - // CreatedByTypeKey ... - CreatedByTypeKey CreatedByType = "Key" - // CreatedByTypeManagedIdentity ... - CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" - // CreatedByTypeUser ... - CreatedByTypeUser CreatedByType = "User" + // Application ... + Application CreatedByType = "Application" + // Key ... + Key CreatedByType = "Key" + // ManagedIdentity ... + ManagedIdentity CreatedByType = "ManagedIdentity" + // User ... + User CreatedByType = "User" ) // PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type. func PossibleCreatedByTypeValues() []CreatedByType { - return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser} + return []CreatedByType{Application, Key, ManagedIdentity, User} } // DefaultAction enumerates the values for default action. @@ -176,58 +176,58 @@ func PossibleDirectoryServiceOptionsValues() []DirectoryServiceOptions { type EnabledProtocols string const ( - // EnabledProtocolsNFS ... - EnabledProtocolsNFS EnabledProtocols = "NFS" - // EnabledProtocolsSMB ... - EnabledProtocolsSMB EnabledProtocols = "SMB" + // NFS ... + NFS EnabledProtocols = "NFS" + // SMB ... + SMB EnabledProtocols = "SMB" ) // PossibleEnabledProtocolsValues returns an array of possible values for the EnabledProtocols const type. func PossibleEnabledProtocolsValues() []EnabledProtocols { - return []EnabledProtocols{EnabledProtocolsNFS, EnabledProtocolsSMB} + return []EnabledProtocols{NFS, SMB} } // EncryptionScopeSource enumerates the values for encryption scope source. type EncryptionScopeSource string const ( - // EncryptionScopeSourceMicrosoftKeyVault ... - EncryptionScopeSourceMicrosoftKeyVault EncryptionScopeSource = "Microsoft.KeyVault" - // EncryptionScopeSourceMicrosoftStorage ... - EncryptionScopeSourceMicrosoftStorage EncryptionScopeSource = "Microsoft.Storage" + // MicrosoftKeyVault ... + MicrosoftKeyVault EncryptionScopeSource = "Microsoft.KeyVault" + // MicrosoftStorage ... + MicrosoftStorage EncryptionScopeSource = "Microsoft.Storage" ) // PossibleEncryptionScopeSourceValues returns an array of possible values for the EncryptionScopeSource const type. func PossibleEncryptionScopeSourceValues() []EncryptionScopeSource { - return []EncryptionScopeSource{EncryptionScopeSourceMicrosoftKeyVault, EncryptionScopeSourceMicrosoftStorage} + return []EncryptionScopeSource{MicrosoftKeyVault, MicrosoftStorage} } // EncryptionScopeState enumerates the values for encryption scope state. type EncryptionScopeState string const ( - // EncryptionScopeStateDisabled ... - EncryptionScopeStateDisabled EncryptionScopeState = "Disabled" - // EncryptionScopeStateEnabled ... - EncryptionScopeStateEnabled EncryptionScopeState = "Enabled" + // Disabled ... + Disabled EncryptionScopeState = "Disabled" + // Enabled ... + Enabled EncryptionScopeState = "Enabled" ) // PossibleEncryptionScopeStateValues returns an array of possible values for the EncryptionScopeState const type. func PossibleEncryptionScopeStateValues() []EncryptionScopeState { - return []EncryptionScopeState{EncryptionScopeStateDisabled, EncryptionScopeStateEnabled} + return []EncryptionScopeState{Disabled, Enabled} } // ExtendedLocationTypes enumerates the values for extended location types. type ExtendedLocationTypes string const ( - // ExtendedLocationTypesEdgeZone ... - ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone" + // EdgeZone ... + EdgeZone ExtendedLocationTypes = "EdgeZone" ) // PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type. func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes { - return []ExtendedLocationTypes{ExtendedLocationTypesEdgeZone} + return []ExtendedLocationTypes{EdgeZone} } // GeoReplicationStatus enumerates the values for geo replication status. @@ -251,28 +251,28 @@ func PossibleGeoReplicationStatusValues() []GeoReplicationStatus { type GetShareExpand string const ( - // GetShareExpandStats ... - GetShareExpandStats GetShareExpand = "stats" + // Stats ... + Stats GetShareExpand = "stats" ) // PossibleGetShareExpandValues returns an array of possible values for the GetShareExpand const type. func PossibleGetShareExpandValues() []GetShareExpand { - return []GetShareExpand{GetShareExpandStats} + return []GetShareExpand{Stats} } // HTTPProtocol enumerates the values for http protocol. type HTTPProtocol string const ( - // HTTPProtocolHTTPS ... - HTTPProtocolHTTPS HTTPProtocol = "https" - // HTTPProtocolHttpshttp ... - HTTPProtocolHttpshttp HTTPProtocol = "https,http" + // HTTPS ... + HTTPS HTTPProtocol = "https" + // Httpshttp ... + Httpshttp HTTPProtocol = "https,http" ) // PossibleHTTPProtocolValues returns an array of possible values for the HTTPProtocol const type. func PossibleHTTPProtocolValues() []HTTPProtocol { - return []HTTPProtocol{HTTPProtocolHTTPS, HTTPProtocolHttpshttp} + return []HTTPProtocol{HTTPS, Httpshttp} } // IdentityType enumerates the values for identity type. @@ -298,47 +298,47 @@ func PossibleIdentityTypeValues() []IdentityType { type ImmutabilityPolicyState string const ( - // ImmutabilityPolicyStateLocked ... - ImmutabilityPolicyStateLocked ImmutabilityPolicyState = "Locked" - // ImmutabilityPolicyStateUnlocked ... - ImmutabilityPolicyStateUnlocked ImmutabilityPolicyState = "Unlocked" + // Locked ... + Locked ImmutabilityPolicyState = "Locked" + // Unlocked ... + Unlocked ImmutabilityPolicyState = "Unlocked" ) // PossibleImmutabilityPolicyStateValues returns an array of possible values for the ImmutabilityPolicyState const type. func PossibleImmutabilityPolicyStateValues() []ImmutabilityPolicyState { - return []ImmutabilityPolicyState{ImmutabilityPolicyStateLocked, ImmutabilityPolicyStateUnlocked} + return []ImmutabilityPolicyState{Locked, Unlocked} } // ImmutabilityPolicyUpdateType enumerates the values for immutability policy update type. type ImmutabilityPolicyUpdateType string const ( - // ImmutabilityPolicyUpdateTypeExtend ... - ImmutabilityPolicyUpdateTypeExtend ImmutabilityPolicyUpdateType = "extend" - // ImmutabilityPolicyUpdateTypeLock ... - ImmutabilityPolicyUpdateTypeLock ImmutabilityPolicyUpdateType = "lock" - // ImmutabilityPolicyUpdateTypePut ... - ImmutabilityPolicyUpdateTypePut ImmutabilityPolicyUpdateType = "put" + // Extend ... + Extend ImmutabilityPolicyUpdateType = "extend" + // Lock ... + Lock ImmutabilityPolicyUpdateType = "lock" + // Put ... + Put ImmutabilityPolicyUpdateType = "put" ) // PossibleImmutabilityPolicyUpdateTypeValues returns an array of possible values for the ImmutabilityPolicyUpdateType const type. func PossibleImmutabilityPolicyUpdateTypeValues() []ImmutabilityPolicyUpdateType { - return []ImmutabilityPolicyUpdateType{ImmutabilityPolicyUpdateTypeExtend, ImmutabilityPolicyUpdateTypeLock, ImmutabilityPolicyUpdateTypePut} + return []ImmutabilityPolicyUpdateType{Extend, Lock, Put} } // KeyPermission enumerates the values for key permission. type KeyPermission string const ( - // KeyPermissionFull ... - KeyPermissionFull KeyPermission = "Full" - // KeyPermissionRead ... - KeyPermissionRead KeyPermission = "Read" + // Full ... + Full KeyPermission = "Full" + // Read ... + Read KeyPermission = "Read" ) // PossibleKeyPermissionValues returns an array of possible values for the KeyPermission const type. func PossibleKeyPermissionValues() []KeyPermission { - return []KeyPermission{KeyPermissionFull, KeyPermissionRead} + return []KeyPermission{Full, Read} } // KeySource enumerates the values for key source. @@ -375,21 +375,21 @@ func PossibleKeyTypeValues() []KeyType { type Kind string const ( - // KindBlobStorage ... - KindBlobStorage Kind = "BlobStorage" - // KindBlockBlobStorage ... - KindBlockBlobStorage Kind = "BlockBlobStorage" - // KindFileStorage ... - KindFileStorage Kind = "FileStorage" - // KindStorage ... - KindStorage Kind = "Storage" - // KindStorageV2 ... - KindStorageV2 Kind = "StorageV2" + // BlobStorage ... + BlobStorage Kind = "BlobStorage" + // BlockBlobStorage ... + BlockBlobStorage Kind = "BlockBlobStorage" + // FileStorage ... + FileStorage Kind = "FileStorage" + // Storage ... + Storage Kind = "Storage" + // StorageV2 ... + StorageV2 Kind = "StorageV2" ) // PossibleKindValues returns an array of possible values for the Kind const type. func PossibleKindValues() []Kind { - return []Kind{KindBlobStorage, KindBlockBlobStorage, KindFileStorage, KindStorage, KindStorageV2} + return []Kind{BlobStorage, BlockBlobStorage, FileStorage, Storage, StorageV2} } // LargeFileSharesState enumerates the values for large file shares state. @@ -411,15 +411,15 @@ func PossibleLargeFileSharesStateValues() []LargeFileSharesState { type LeaseDuration string const ( - // LeaseDurationFixed ... - LeaseDurationFixed LeaseDuration = "Fixed" - // LeaseDurationInfinite ... - LeaseDurationInfinite LeaseDuration = "Infinite" + // Fixed ... + Fixed LeaseDuration = "Fixed" + // Infinite ... + Infinite LeaseDuration = "Infinite" ) // PossibleLeaseDurationValues returns an array of possible values for the LeaseDuration const type. func PossibleLeaseDurationValues() []LeaseDuration { - return []LeaseDuration{LeaseDurationFixed, LeaseDurationInfinite} + return []LeaseDuration{Fixed, Infinite} } // LeaseState enumerates the values for lease state. @@ -462,26 +462,26 @@ func PossibleLeaseStatusValues() []LeaseStatus { type ListContainersInclude string const ( - // ListContainersIncludeDeleted ... - ListContainersIncludeDeleted ListContainersInclude = "deleted" + // Deleted ... + Deleted ListContainersInclude = "deleted" ) // PossibleListContainersIncludeValues returns an array of possible values for the ListContainersInclude const type. func PossibleListContainersIncludeValues() []ListContainersInclude { - return []ListContainersInclude{ListContainersIncludeDeleted} + return []ListContainersInclude{Deleted} } // ListKeyExpand enumerates the values for list key expand. type ListKeyExpand string const ( - // ListKeyExpandKerb ... - ListKeyExpandKerb ListKeyExpand = "kerb" + // Kerb ... + Kerb ListKeyExpand = "kerb" ) // PossibleListKeyExpandValues returns an array of possible values for the ListKeyExpand const type. func PossibleListKeyExpandValues() []ListKeyExpand { - return []ListKeyExpand{ListKeyExpandKerb} + return []ListKeyExpand{Kerb} } // ListSharesExpand enumerates the values for list shares expand. @@ -503,57 +503,57 @@ func PossibleListSharesExpandValues() []ListSharesExpand { type MinimumTLSVersion string const ( - // MinimumTLSVersionTLS10 ... - MinimumTLSVersionTLS10 MinimumTLSVersion = "TLS1_0" - // MinimumTLSVersionTLS11 ... - MinimumTLSVersionTLS11 MinimumTLSVersion = "TLS1_1" - // MinimumTLSVersionTLS12 ... - MinimumTLSVersionTLS12 MinimumTLSVersion = "TLS1_2" + // TLS10 ... + TLS10 MinimumTLSVersion = "TLS1_0" + // TLS11 ... + TLS11 MinimumTLSVersion = "TLS1_1" + // TLS12 ... + TLS12 MinimumTLSVersion = "TLS1_2" ) // PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type. func PossibleMinimumTLSVersionValues() []MinimumTLSVersion { - return []MinimumTLSVersion{MinimumTLSVersionTLS10, MinimumTLSVersionTLS11, MinimumTLSVersionTLS12} + return []MinimumTLSVersion{TLS10, TLS11, TLS12} } // Name enumerates the values for name. type Name string const ( - // NameAccessTimeTracking ... - NameAccessTimeTracking Name = "AccessTimeTracking" + // AccessTimeTracking ... + AccessTimeTracking Name = "AccessTimeTracking" ) // PossibleNameValues returns an array of possible values for the Name const type. func PossibleNameValues() []Name { - return []Name{NameAccessTimeTracking} + return []Name{AccessTimeTracking} } // Permissions enumerates the values for permissions. type Permissions string const ( - // PermissionsA ... - PermissionsA Permissions = "a" - // PermissionsC ... - PermissionsC Permissions = "c" - // PermissionsD ... - PermissionsD Permissions = "d" - // PermissionsL ... - PermissionsL Permissions = "l" - // PermissionsP ... - PermissionsP Permissions = "p" - // PermissionsR ... - PermissionsR Permissions = "r" - // PermissionsU ... - PermissionsU Permissions = "u" - // PermissionsW ... - PermissionsW Permissions = "w" + // A ... + A Permissions = "a" + // C ... + C Permissions = "c" + // D ... + D Permissions = "d" + // L ... + L Permissions = "l" + // P ... + P Permissions = "p" + // R ... + R Permissions = "r" + // U ... + U Permissions = "u" + // W ... + W Permissions = "w" ) // PossiblePermissionsValues returns an array of possible values for the Permissions const type. func PossiblePermissionsValues() []Permissions { - return []Permissions{PermissionsA, PermissionsC, PermissionsD, PermissionsL, PermissionsP, PermissionsR, PermissionsU, PermissionsW} + return []Permissions{A, C, D, L, P, R, U, W} } // PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection @@ -580,34 +580,34 @@ func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpoin type PrivateEndpointServiceConnectionStatus string const ( - // PrivateEndpointServiceConnectionStatusApproved ... - PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" - // PrivateEndpointServiceConnectionStatusPending ... - PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" - // PrivateEndpointServiceConnectionStatusRejected ... - PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" + // Approved ... + Approved PrivateEndpointServiceConnectionStatus = "Approved" + // Pending ... + Pending PrivateEndpointServiceConnectionStatus = "Pending" + // Rejected ... + Rejected PrivateEndpointServiceConnectionStatus = "Rejected" ) // PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type. func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus { - return []PrivateEndpointServiceConnectionStatus{PrivateEndpointServiceConnectionStatusApproved, PrivateEndpointServiceConnectionStatusPending, PrivateEndpointServiceConnectionStatusRejected} + return []PrivateEndpointServiceConnectionStatus{Approved, Pending, Rejected} } // ProvisioningState enumerates the values for provisioning state. type ProvisioningState string const ( - // ProvisioningStateCreating ... - ProvisioningStateCreating ProvisioningState = "Creating" - // ProvisioningStateResolvingDNS ... - ProvisioningStateResolvingDNS ProvisioningState = "ResolvingDNS" - // ProvisioningStateSucceeded ... - ProvisioningStateSucceeded ProvisioningState = "Succeeded" + // Creating ... + Creating ProvisioningState = "Creating" + // ResolvingDNS ... + ResolvingDNS ProvisioningState = "ResolvingDNS" + // Succeeded ... + Succeeded ProvisioningState = "Succeeded" ) // PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. func PossibleProvisioningStateValues() []ProvisioningState { - return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateResolvingDNS, ProvisioningStateSucceeded} + return []ProvisioningState{Creating, ResolvingDNS, Succeeded} } // PublicAccess enumerates the values for public access. @@ -631,94 +631,94 @@ func PossiblePublicAccessValues() []PublicAccess { type PutSharesExpand string const ( - // PutSharesExpandSnapshots ... - PutSharesExpandSnapshots PutSharesExpand = "snapshots" + // Snapshots ... + Snapshots PutSharesExpand = "snapshots" ) // PossiblePutSharesExpandValues returns an array of possible values for the PutSharesExpand const type. func PossiblePutSharesExpandValues() []PutSharesExpand { - return []PutSharesExpand{PutSharesExpandSnapshots} + return []PutSharesExpand{Snapshots} } // Reason enumerates the values for reason. type Reason string const ( - // ReasonAccountNameInvalid ... - ReasonAccountNameInvalid Reason = "AccountNameInvalid" - // ReasonAlreadyExists ... - ReasonAlreadyExists Reason = "AlreadyExists" + // AccountNameInvalid ... + AccountNameInvalid Reason = "AccountNameInvalid" + // AlreadyExists ... + AlreadyExists Reason = "AlreadyExists" ) // PossibleReasonValues returns an array of possible values for the Reason const type. func PossibleReasonValues() []Reason { - return []Reason{ReasonAccountNameInvalid, ReasonAlreadyExists} + return []Reason{AccountNameInvalid, AlreadyExists} } // ReasonCode enumerates the values for reason code. type ReasonCode string const ( - // ReasonCodeNotAvailableForSubscription ... - ReasonCodeNotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" - // ReasonCodeQuotaID ... - ReasonCodeQuotaID ReasonCode = "QuotaId" + // NotAvailableForSubscription ... + NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" + // QuotaID ... + QuotaID ReasonCode = "QuotaId" ) // PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type. func PossibleReasonCodeValues() []ReasonCode { - return []ReasonCode{ReasonCodeNotAvailableForSubscription, ReasonCodeQuotaID} + return []ReasonCode{NotAvailableForSubscription, QuotaID} } // RootSquashType enumerates the values for root squash type. type RootSquashType string const ( - // RootSquashTypeAllSquash ... - RootSquashTypeAllSquash RootSquashType = "AllSquash" - // RootSquashTypeNoRootSquash ... - RootSquashTypeNoRootSquash RootSquashType = "NoRootSquash" - // RootSquashTypeRootSquash ... - RootSquashTypeRootSquash RootSquashType = "RootSquash" + // AllSquash ... + AllSquash RootSquashType = "AllSquash" + // NoRootSquash ... + NoRootSquash RootSquashType = "NoRootSquash" + // RootSquash ... + RootSquash RootSquashType = "RootSquash" ) // PossibleRootSquashTypeValues returns an array of possible values for the RootSquashType const type. func PossibleRootSquashTypeValues() []RootSquashType { - return []RootSquashType{RootSquashTypeAllSquash, RootSquashTypeNoRootSquash, RootSquashTypeRootSquash} + return []RootSquashType{AllSquash, NoRootSquash, RootSquash} } // RoutingChoice enumerates the values for routing choice. type RoutingChoice string const ( - // RoutingChoiceInternetRouting ... - RoutingChoiceInternetRouting RoutingChoice = "InternetRouting" - // RoutingChoiceMicrosoftRouting ... - RoutingChoiceMicrosoftRouting RoutingChoice = "MicrosoftRouting" + // InternetRouting ... + InternetRouting RoutingChoice = "InternetRouting" + // MicrosoftRouting ... + MicrosoftRouting RoutingChoice = "MicrosoftRouting" ) // PossibleRoutingChoiceValues returns an array of possible values for the RoutingChoice const type. func PossibleRoutingChoiceValues() []RoutingChoice { - return []RoutingChoice{RoutingChoiceInternetRouting, RoutingChoiceMicrosoftRouting} + return []RoutingChoice{InternetRouting, MicrosoftRouting} } // Services enumerates the values for services. type Services string const ( - // ServicesB ... - ServicesB Services = "b" - // ServicesF ... - ServicesF Services = "f" - // ServicesQ ... - ServicesQ Services = "q" - // ServicesT ... - ServicesT Services = "t" + // B ... + B Services = "b" + // F ... + F Services = "f" + // Q ... + Q Services = "q" + // T ... + T Services = "t" ) // PossibleServicesValues returns an array of possible values for the Services const type. func PossibleServicesValues() []Services { - return []Services{ServicesB, ServicesF, ServicesQ, ServicesT} + return []Services{B, F, Q, T} } // ShareAccessTier enumerates the values for share access tier. @@ -780,42 +780,42 @@ func PossibleSignedResourceTypesValues() []SignedResourceTypes { type SkuName string const ( - // SkuNamePremiumLRS ... - SkuNamePremiumLRS SkuName = "Premium_LRS" - // SkuNamePremiumZRS ... - SkuNamePremiumZRS SkuName = "Premium_ZRS" - // SkuNameStandardGRS ... - SkuNameStandardGRS SkuName = "Standard_GRS" - // SkuNameStandardGZRS ... - SkuNameStandardGZRS SkuName = "Standard_GZRS" - // SkuNameStandardLRS ... - SkuNameStandardLRS SkuName = "Standard_LRS" - // SkuNameStandardRAGRS ... - SkuNameStandardRAGRS SkuName = "Standard_RAGRS" - // SkuNameStandardRAGZRS ... - SkuNameStandardRAGZRS SkuName = "Standard_RAGZRS" - // SkuNameStandardZRS ... - SkuNameStandardZRS SkuName = "Standard_ZRS" + // PremiumLRS ... + PremiumLRS SkuName = "Premium_LRS" + // PremiumZRS ... + PremiumZRS SkuName = "Premium_ZRS" + // StandardGRS ... + StandardGRS SkuName = "Standard_GRS" + // StandardGZRS ... + StandardGZRS SkuName = "Standard_GZRS" + // StandardLRS ... + StandardLRS SkuName = "Standard_LRS" + // StandardRAGRS ... + StandardRAGRS SkuName = "Standard_RAGRS" + // StandardRAGZRS ... + StandardRAGZRS SkuName = "Standard_RAGZRS" + // StandardZRS ... + StandardZRS SkuName = "Standard_ZRS" ) // PossibleSkuNameValues returns an array of possible values for the SkuName const type. func PossibleSkuNameValues() []SkuName { - return []SkuName{SkuNamePremiumLRS, SkuNamePremiumZRS, SkuNameStandardGRS, SkuNameStandardGZRS, SkuNameStandardLRS, SkuNameStandardRAGRS, SkuNameStandardRAGZRS, SkuNameStandardZRS} + return []SkuName{PremiumLRS, PremiumZRS, StandardGRS, StandardGZRS, StandardLRS, StandardRAGRS, StandardRAGZRS, StandardZRS} } // SkuTier enumerates the values for sku tier. type SkuTier string const ( - // SkuTierPremium ... - SkuTierPremium SkuTier = "Premium" - // SkuTierStandard ... - SkuTierStandard SkuTier = "Standard" + // Premium ... + Premium SkuTier = "Premium" + // Standard ... + Standard SkuTier = "Standard" ) // PossibleSkuTierValues returns an array of possible values for the SkuTier const type. func PossibleSkuTierValues() []SkuTier { - return []SkuTier{SkuTierPremium, SkuTierStandard} + return []SkuTier{Premium, Standard} } // State enumerates the values for state. @@ -843,21 +843,21 @@ func PossibleStateValues() []State { type UsageUnit string const ( - // UsageUnitBytes ... - UsageUnitBytes UsageUnit = "Bytes" - // UsageUnitBytesPerSecond ... - UsageUnitBytesPerSecond UsageUnit = "BytesPerSecond" - // UsageUnitCount ... - UsageUnitCount UsageUnit = "Count" - // UsageUnitCountsPerSecond ... - UsageUnitCountsPerSecond UsageUnit = "CountsPerSecond" - // UsageUnitPercent ... - UsageUnitPercent UsageUnit = "Percent" - // UsageUnitSeconds ... - UsageUnitSeconds UsageUnit = "Seconds" + // Bytes ... + Bytes UsageUnit = "Bytes" + // BytesPerSecond ... + BytesPerSecond UsageUnit = "BytesPerSecond" + // Count ... + Count UsageUnit = "Count" + // CountsPerSecond ... + CountsPerSecond UsageUnit = "CountsPerSecond" + // Percent ... + Percent UsageUnit = "Percent" + // Seconds ... + Seconds UsageUnit = "Seconds" ) // PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type. func PossibleUsageUnitValues() []UsageUnit { - return []UsageUnit{UsageUnitBytes, UsageUnitBytesPerSecond, UsageUnitCount, UsageUnitCountsPerSecond, UsageUnitPercent, UsageUnitSeconds} + return []UsageUnit{Bytes, BytesPerSecond, Count, CountsPerSecond, Percent, Seconds} } diff --git a/services/storage/mgmt/2021-02-01/storage/models.go b/services/storage/mgmt/2021-02-01/storage/models.go index cf613e6e4089..3111b2fcee3f 100644 --- a/services/storage/mgmt/2021-02-01/storage/models.go +++ b/services/storage/mgmt/2021-02-01/storage/models.go @@ -25,7 +25,7 @@ type Account struct { autorest.Response `json:"-"` // Sku - READ-ONLY; Gets the SKU. Sku *Sku `json:"sku,omitempty"` - // Kind - READ-ONLY; Gets the Kind. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' + // Kind - READ-ONLY; Gets the Kind. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` @@ -184,7 +184,7 @@ type AccountCheckNameAvailabilityParameters struct { type AccountCreateParameters struct { // Sku - Required. Gets or sets the SKU name. Sku *Sku `json:"sku,omitempty"` - // Kind - Required. Indicates the type of storage account. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' + // Kind - Required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Location - Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Location *string `json:"location,omitempty"` @@ -322,7 +322,7 @@ type AccountKey struct { KeyName *string `json:"keyName,omitempty"` // Value - READ-ONLY; Base 64-encoded value of the key. Value *string `json:"value,omitempty"` - // Permissions - READ-ONLY; Permissions for the key -- read-only or full permissions. Possible values include: 'KeyPermissionRead', 'KeyPermissionFull' + // Permissions - READ-ONLY; Permissions for the key -- read-only or full permissions. Possible values include: 'Read', 'Full' Permissions KeyPermission `json:"permissions,omitempty"` // CreationTime - READ-ONLY; Creation time of the key, in round trip date format. CreationTime *date.Time `json:"creationTime,omitempty"` @@ -513,19 +513,19 @@ type AccountMicrosoftEndpoints struct { // AccountProperties properties of the storage account. type AccountProperties struct { - // ProvisioningState - READ-ONLY; Gets the status of the storage account at the time the operation was called. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateResolvingDNS', 'ProvisioningStateSucceeded' + // ProvisioningState - READ-ONLY; Gets the status of the storage account at the time the operation was called. Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // PrimaryEndpoints - READ-ONLY; Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. PrimaryEndpoints *Endpoints `json:"primaryEndpoints,omitempty"` // PrimaryLocation - READ-ONLY; Gets the location of the primary data center for the storage account. PrimaryLocation *string `json:"primaryLocation,omitempty"` - // StatusOfPrimary - READ-ONLY; Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: 'AccountStatusAvailable', 'AccountStatusUnavailable' + // StatusOfPrimary - READ-ONLY; Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: 'Available', 'Unavailable' StatusOfPrimary AccountStatus `json:"statusOfPrimary,omitempty"` // LastGeoFailoverTime - READ-ONLY; Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. LastGeoFailoverTime *date.Time `json:"lastGeoFailoverTime,omitempty"` // SecondaryLocation - READ-ONLY; Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. SecondaryLocation *string `json:"secondaryLocation,omitempty"` - // StatusOfSecondary - READ-ONLY; Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: 'AccountStatusAvailable', 'AccountStatusUnavailable' + // StatusOfSecondary - READ-ONLY; Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: 'Available', 'Unavailable' StatusOfSecondary AccountStatus `json:"statusOfSecondary,omitempty"` // CreationTime - READ-ONLY; Gets the creation date and time of the storage account in UTC. CreationTime *date.Time `json:"creationTime,omitempty"` @@ -541,7 +541,7 @@ type AccountProperties struct { SecondaryEndpoints *Endpoints `json:"secondaryEndpoints,omitempty"` // Encryption - READ-ONLY; Gets the encryption settings on the account. If unspecified, the account is unencrypted. Encryption *Encryption `json:"encryption,omitempty"` - // AccessTier - READ-ONLY; Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'AccessTierHot', 'AccessTierCool' + // AccessTier - READ-ONLY; Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` @@ -565,7 +565,7 @@ type AccountProperties struct { BlobRestoreStatus *BlobRestoreStatus `json:"blobRestoreStatus,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` - // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS11', 'MinimumTLSVersionTLS12' + // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` // AllowSharedKeyAccess - Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` @@ -618,7 +618,7 @@ type AccountPropertiesCreateParameters struct { Encryption *Encryption `json:"encryption,omitempty"` // NetworkRuleSet - Network rule set NetworkRuleSet *NetworkRuleSet `json:"networkAcls,omitempty"` - // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'AccessTierHot', 'AccessTierCool' + // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` @@ -632,7 +632,7 @@ type AccountPropertiesCreateParameters struct { RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` - // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS11', 'MinimumTLSVersionTLS12' + // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` // AllowSharedKeyAccess - Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` @@ -650,7 +650,7 @@ type AccountPropertiesUpdateParameters struct { SasPolicy *SasPolicy `json:"sasPolicy,omitempty"` // KeyPolicy - KeyPolicy assigned to the storage account. KeyPolicy *KeyPolicy `json:"keyPolicy,omitempty"` - // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'AccessTierHot', 'AccessTierCool' + // AccessTier - Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' AccessTier AccessTier `json:"accessTier,omitempty"` // AzureFilesIdentityBasedAuthentication - Provides the identity based authentication settings for Azure Files. AzureFilesIdentityBasedAuthentication *AzureFilesIdentityBasedAuthentication `json:"azureFilesIdentityBasedAuthentication,omitempty"` @@ -664,7 +664,7 @@ type AccountPropertiesUpdateParameters struct { RoutingPreference *RoutingPreference `json:"routingPreference,omitempty"` // AllowBlobPublicAccess - Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. AllowBlobPublicAccess *bool `json:"allowBlobPublicAccess,omitempty"` - // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS11', 'MinimumTLSVersionTLS12' + // MinimumTLSVersion - Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS10', 'TLS11', 'TLS12' MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` // AllowSharedKeyAccess - Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. AllowSharedKeyAccess *bool `json:"allowSharedKeyAccess,omitempty"` @@ -678,15 +678,15 @@ type AccountRegenerateKeyParameters struct { // AccountSasParameters the parameters to list SAS credentials of a storage account. type AccountSasParameters struct { - // Services - The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: 'ServicesB', 'ServicesQ', 'ServicesT', 'ServicesF' + // Services - The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Possible values include: 'B', 'Q', 'T', 'F' Services Services `json:"signedServices,omitempty"` // ResourceTypes - The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Possible values include: 'SignedResourceTypesS', 'SignedResourceTypesC', 'SignedResourceTypesO' ResourceTypes SignedResourceTypes `json:"signedResourceTypes,omitempty"` - // Permissions - The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'PermissionsR', 'PermissionsD', 'PermissionsW', 'PermissionsL', 'PermissionsA', 'PermissionsC', 'PermissionsU', 'PermissionsP' + // Permissions - The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'R', 'D', 'W', 'L', 'A', 'C', 'U', 'P' Permissions Permissions `json:"signedPermission,omitempty"` // IPAddressOrRange - An IP address or a range of IP addresses from which to accept requests. IPAddressOrRange *string `json:"signedIp,omitempty"` - // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'HTTPProtocolHttpshttp', 'HTTPProtocolHTTPS' + // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'Httpshttp', 'HTTPS' Protocols HTTPProtocol `json:"signedProtocol,omitempty"` // SharedAccessStartTime - The time at which the SAS becomes valid. SharedAccessStartTime *date.Time `json:"signedStart,omitempty"` @@ -830,7 +830,7 @@ type AccountUpdateParameters struct { Identity *Identity `json:"identity,omitempty"` // AccountPropertiesUpdateParameters - The parameters used when updating a storage account. *AccountPropertiesUpdateParameters `json:"properties,omitempty"` - // Kind - Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' + // Kind - Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` } @@ -1199,7 +1199,7 @@ type BlobRestoreRange struct { // BlobRestoreStatus blob restore status. type BlobRestoreStatus struct { autorest.Response `json:"-"` - // Status - READ-ONLY; The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. Possible values include: 'BlobRestoreProgressStatusInProgress', 'BlobRestoreProgressStatusComplete', 'BlobRestoreProgressStatusFailed' + // Status - READ-ONLY; The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. Possible values include: 'InProgress', 'Complete', 'Failed' Status BlobRestoreProgressStatus `json:"status,omitempty"` // FailureReason - READ-ONLY; Failure reason when blob restore is failed. FailureReason *string `json:"failureReason,omitempty"` @@ -1335,7 +1335,7 @@ type CheckNameAvailabilityResult struct { autorest.Response `json:"-"` // NameAvailable - READ-ONLY; Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. NameAvailable *bool `json:"nameAvailable,omitempty"` - // Reason - READ-ONLY; Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'ReasonAccountNameInvalid', 'ReasonAlreadyExists' + // Reason - READ-ONLY; Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'AccountNameInvalid', 'AlreadyExists' Reason Reason `json:"reason,omitempty"` // Message - READ-ONLY; Gets an error message explaining the Reason value in more detail. Message *string `json:"message,omitempty"` @@ -1380,7 +1380,7 @@ type ContainerProperties struct { LeaseStatus LeaseStatus `json:"leaseStatus,omitempty"` // LeaseState - READ-ONLY; Lease state of the container. Possible values include: 'LeaseStateAvailable', 'LeaseStateLeased', 'LeaseStateExpired', 'LeaseStateBreaking', 'LeaseStateBroken' LeaseState LeaseState `json:"leaseState,omitempty"` - // LeaseDuration - READ-ONLY; Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'LeaseDurationInfinite', 'LeaseDurationFixed' + // LeaseDuration - READ-ONLY; Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'Infinite', 'Fixed' LeaseDuration LeaseDuration `json:"leaseDuration,omitempty"` // Metadata - A name-value pair to associate with the container as metadata. Metadata map[string]*string `json:"metadata"` @@ -2001,9 +2001,9 @@ func NewEncryptionScopeListResultPage(cur EncryptionScopeListResult, getNextPage // EncryptionScopeProperties properties of the encryption scope. type EncryptionScopeProperties struct { - // Source - The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: 'EncryptionScopeSourceMicrosoftStorage', 'EncryptionScopeSourceMicrosoftKeyVault' + // Source - The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. Possible values include: 'MicrosoftStorage', 'MicrosoftKeyVault' Source EncryptionScopeSource `json:"source,omitempty"` - // State - The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: 'EncryptionScopeStateEnabled', 'EncryptionScopeStateDisabled' + // State - The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. Possible values include: 'Enabled', 'Disabled' State EncryptionScopeState `json:"state,omitempty"` // CreationTime - READ-ONLY; Gets the creation date and time of the encryption scope in UTC. CreationTime *date.Time `json:"creationTime,omitempty"` @@ -2118,7 +2118,7 @@ type ErrorResponseBody struct { type ExtendedLocation struct { // Name - The name of the extended location. Name *string `json:"name,omitempty"` - // Type - The type of the extended location. Possible values include: 'ExtendedLocationTypesEdgeZone' + // Type - The type of the extended location. Possible values include: 'EdgeZone' Type ExtendedLocationTypes `json:"type,omitempty"` } @@ -2558,9 +2558,9 @@ type FileShareProperties struct { Metadata map[string]*string `json:"metadata"` // ShareQuota - The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. ShareQuota *int32 `json:"shareQuota,omitempty"` - // EnabledProtocols - The authentication protocol that is used for the file share. Can only be specified when creating a share. Possible values include: 'EnabledProtocolsSMB', 'EnabledProtocolsNFS' + // EnabledProtocols - The authentication protocol that is used for the file share. Can only be specified when creating a share. Possible values include: 'SMB', 'NFS' EnabledProtocols EnabledProtocols `json:"enabledProtocols,omitempty"` - // RootSquash - The property is for NFS share only. The default is NoRootSquash. Possible values include: 'RootSquashTypeNoRootSquash', 'RootSquashTypeRootSquash', 'RootSquashTypeAllSquash' + // RootSquash - The property is for NFS share only. The default is NoRootSquash. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash' RootSquash RootSquashType `json:"rootSquash,omitempty"` // Version - READ-ONLY; The version of the share. Version *string `json:"version,omitempty"` @@ -2788,7 +2788,7 @@ func (ipp *ImmutabilityPolicyProperties) UnmarshalJSON(body []byte) error { type ImmutabilityPolicyProperty struct { // ImmutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` - // State - READ-ONLY; The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'ImmutabilityPolicyStateLocked', 'ImmutabilityPolicyStateUnlocked' + // State - READ-ONLY; The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. Possible values include: 'Locked', 'Unlocked' State ImmutabilityPolicyState `json:"state,omitempty"` // AllowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` @@ -2810,7 +2810,7 @@ func (ipp ImmutabilityPolicyProperty) MarshalJSON() ([]byte, error) { type IPRule struct { // IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. IPAddressOrRange *string `json:"value,omitempty"` - // Action - The action of IP ACL rule. Possible values include: 'ActionAllow' + // Action - The action of IP ACL rule. Possible values include: 'Allow' Action Action `json:"action,omitempty"` } @@ -2859,7 +2859,7 @@ func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error) { type LastAccessTimeTrackingPolicy struct { // Enable - When set to true last access time based tracking is enabled. Enable *bool `json:"enable,omitempty"` - // Name - Name of the policy. The valid value is AccessTimeTracking. This field is currently read only. Possible values include: 'NameAccessTimeTracking' + // Name - Name of the policy. The valid value is AccessTimeTracking. This field is currently read only. Possible values include: 'AccessTimeTracking' Name Name `json:"name,omitempty"` // TrackingGranularityInDays - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1 TrackingGranularityInDays *int32 `json:"trackingGranularityInDays,omitempty"` @@ -2869,7 +2869,7 @@ type LastAccessTimeTrackingPolicy struct { // LeaseContainerRequest lease Container request schema. type LeaseContainerRequest struct { - // Action - Specifies the lease action. Can be one of the available actions. Possible values include: 'Action1Acquire', 'Action1Renew', 'Action1Change', 'Action1Release', 'Action1Break' + // Action - Specifies the lease action. Can be one of the available actions. Possible values include: 'Acquire', 'Renew', 'Change', 'Release', 'Break' Action Action1 `json:"action,omitempty"` // LeaseID - Identifies the lease. Can be specified in any valid GUID string format. LeaseID *string `json:"leaseId,omitempty"` @@ -3809,7 +3809,7 @@ type Multichannel struct { // NetworkRuleSet network rule set type NetworkRuleSet struct { - // Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: 'BypassNone', 'BypassLogging', 'BypassMetrics', 'BypassAzureServices' + // Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' Bypass Bypass `json:"bypass,omitempty"` // ResourceAccessRules - Sets the resource access rules ResourceAccessRules *[]ResourceAccessRule `json:"resourceAccessRules,omitempty"` @@ -4258,7 +4258,7 @@ func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error) { // PrivateLinkServiceConnectionState a collection of information about the state of the connection between // service consumer and provider. type PrivateLinkServiceConnectionState struct { - // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected' + // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'Pending', 'Approved', 'Rejected' Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` // Description - The reason for approval/rejection of the connection. Description *string `json:"description,omitempty"` @@ -4500,7 +4500,7 @@ type Restriction struct { Type *string `json:"type,omitempty"` // Values - READ-ONLY; The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Values *[]string `json:"values,omitempty"` - // ReasonCode - The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Possible values include: 'ReasonCodeQuotaID', 'ReasonCodeNotAvailableForSubscription' + // ReasonCode - The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. Possible values include: 'QuotaID', 'NotAvailableForSubscription' ReasonCode ReasonCode `json:"reasonCode,omitempty"` } @@ -4516,7 +4516,7 @@ func (r Restriction) MarshalJSON() ([]byte, error) { // RoutingPreference routing preference defines the type of network, either microsoft or internet routing // to be used to deliver the user data, the default option is microsoft routing type RoutingPreference struct { - // RoutingChoice - Routing Choice defines the kind of network routing opted by the user. Possible values include: 'RoutingChoiceMicrosoftRouting', 'RoutingChoiceInternetRouting' + // RoutingChoice - Routing Choice defines the kind of network routing opted by the user. Possible values include: 'MicrosoftRouting', 'InternetRouting' RoutingChoice RoutingChoice `json:"routingChoice,omitempty"` // PublishMicrosoftEndpoints - A boolean flag which indicates whether microsoft routing storage endpoints are to be published PublishMicrosoftEndpoints *bool `json:"publishMicrosoftEndpoints,omitempty"` @@ -4538,11 +4538,11 @@ type ServiceSasParameters struct { CanonicalizedResource *string `json:"canonicalizedResource,omitempty"` // Resource - The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). Possible values include: 'SignedResourceB', 'SignedResourceC', 'SignedResourceF', 'SignedResourceS' Resource SignedResource `json:"signedResource,omitempty"` - // Permissions - The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'PermissionsR', 'PermissionsD', 'PermissionsW', 'PermissionsL', 'PermissionsA', 'PermissionsC', 'PermissionsU', 'PermissionsP' + // Permissions - The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: 'R', 'D', 'W', 'L', 'A', 'C', 'U', 'P' Permissions Permissions `json:"signedPermission,omitempty"` // IPAddressOrRange - An IP address or a range of IP addresses from which to accept requests. IPAddressOrRange *string `json:"signedIp,omitempty"` - // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'HTTPProtocolHttpshttp', 'HTTPProtocolHTTPS' + // Protocols - The protocol permitted for a request made with the account SAS. Possible values include: 'Httpshttp', 'HTTPS' Protocols HTTPProtocol `json:"signedProtocol,omitempty"` // SharedAccessStartTime - The time at which the SAS becomes valid. SharedAccessStartTime *date.Time `json:"signedStart,omitempty"` @@ -4580,9 +4580,9 @@ type ServiceSpecification struct { // Sku the SKU of the storage account. type Sku struct { - // Name - Possible values include: 'SkuNameStandardLRS', 'SkuNameStandardGRS', 'SkuNameStandardRAGRS', 'SkuNameStandardZRS', 'SkuNamePremiumLRS', 'SkuNamePremiumZRS', 'SkuNameStandardGZRS', 'SkuNameStandardRAGZRS' + // Name - Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' Name SkuName `json:"name,omitempty"` - // Tier - Possible values include: 'SkuTierStandard', 'SkuTierPremium' + // Tier - Possible values include: 'Standard', 'Premium' Tier SkuTier `json:"tier,omitempty"` } @@ -4597,13 +4597,13 @@ type SKUCapability struct { // SkuInformation storage SKU and its properties type SkuInformation struct { - // Name - Possible values include: 'SkuNameStandardLRS', 'SkuNameStandardGRS', 'SkuNameStandardRAGRS', 'SkuNameStandardZRS', 'SkuNamePremiumLRS', 'SkuNamePremiumZRS', 'SkuNameStandardGZRS', 'SkuNameStandardRAGZRS' + // Name - Possible values include: 'StandardLRS', 'StandardGRS', 'StandardRAGRS', 'StandardZRS', 'PremiumLRS', 'PremiumZRS', 'StandardGZRS', 'StandardRAGZRS' Name SkuName `json:"name,omitempty"` - // Tier - Possible values include: 'SkuTierStandard', 'SkuTierPremium' + // Tier - Possible values include: 'Standard', 'Premium' Tier SkuTier `json:"tier,omitempty"` // ResourceType - READ-ONLY; The type of the resource, usually it is 'storageAccounts'. ResourceType *string `json:"resourceType,omitempty"` - // Kind - READ-ONLY; Indicates the type of storage account. Possible values include: 'KindStorage', 'KindStorageV2', 'KindBlobStorage', 'KindFileStorage', 'KindBlockBlobStorage' + // Kind - READ-ONLY; Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage' Kind Kind `json:"kind,omitempty"` // Locations - READ-ONLY; The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). Locations *[]string `json:"locations,omitempty"` @@ -4653,13 +4653,13 @@ type SmbSetting struct { type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` - // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' + // CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` - // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' + // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` @@ -4876,7 +4876,7 @@ func (tr TrackedResource) MarshalJSON() ([]byte, error) { // UpdateHistoryProperty an update history of the ImmutabilityPolicy of a blob container. type UpdateHistoryProperty struct { - // Update - READ-ONLY; The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'ImmutabilityPolicyUpdateTypePut', 'ImmutabilityPolicyUpdateTypeLock', 'ImmutabilityPolicyUpdateTypeExtend' + // Update - READ-ONLY; The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. Possible values include: 'Put', 'Lock', 'Extend' Update ImmutabilityPolicyUpdateType `json:"update,omitempty"` // ImmutabilityPeriodSinceCreationInDays - READ-ONLY; The immutability period for the blobs in the container since the policy creation, in days. ImmutabilityPeriodSinceCreationInDays *int32 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` @@ -4892,7 +4892,7 @@ type UpdateHistoryProperty struct { // Usage describes Storage Resource Usage. type Usage struct { - // Unit - READ-ONLY; Gets the unit of measurement. Possible values include: 'UsageUnitCount', 'UsageUnitBytes', 'UsageUnitSeconds', 'UsageUnitPercent', 'UsageUnitCountsPerSecond', 'UsageUnitBytesPerSecond' + // Unit - READ-ONLY; Gets the unit of measurement. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', 'BytesPerSecond' Unit UsageUnit `json:"unit,omitempty"` // CurrentValue - READ-ONLY; Gets the current count of the allocated resources in the subscription. CurrentValue *int32 `json:"currentValue,omitempty"` @@ -4929,7 +4929,7 @@ type UserAssignedIdentity struct { type VirtualNetworkRule struct { // VirtualNetworkResourceID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. VirtualNetworkResourceID *string `json:"id,omitempty"` - // Action - The action of virtual network rule. Possible values include: 'ActionAllow' + // Action - The action of virtual network rule. Possible values include: 'Allow' Action Action `json:"action,omitempty"` // State - Gets the state of virtual network rule. Possible values include: 'StateProvisioning', 'StateDeprovisioning', 'StateSucceeded', 'StateFailed', 'StateNetworkSourceDeleted' State State `json:"state,omitempty"`