From adf613f3332694f7183ad881578612b81aeb7cf9 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 13 May 2019 22:03:49 +0000 Subject: [PATCH] Generated from 2e806e86935e828ee44e79dd1f02919c98d67c64 Add AutoGrow flag for MariaDB, MySQL and PostgreSQL --- profiles/latest/mariadb/mgmt/mariadb/models.go | 10 ++++++++++ profiles/latest/mysql/mgmt/mysql/models.go | 10 ++++++++++ .../latest/postgresql/mgmt/postgresql/models.go | 10 ++++++++++ profiles/preview/mariadb/mgmt/mariadb/models.go | 10 ++++++++++ profiles/preview/mysql/mgmt/mysql/models.go | 10 ++++++++++ .../postgresql/mgmt/postgresql/models.go | 10 ++++++++++ .../mariadb/mgmt/2018-06-01/mariadb/models.go | 17 +++++++++++++++++ services/mysql/mgmt/2017-12-01/mysql/models.go | 17 +++++++++++++++++ .../mgmt/2017-12-01/postgresql/models.go | 17 +++++++++++++++++ 9 files changed, 111 insertions(+) diff --git a/profiles/latest/mariadb/mgmt/mariadb/models.go b/profiles/latest/mariadb/mgmt/mariadb/models.go index 6054a30a7a21..58043e5fe43a 100644 --- a/profiles/latest/mariadb/mgmt/mariadb/models.go +++ b/profiles/latest/mariadb/mgmt/mariadb/models.go @@ -91,6 +91,13 @@ const ( SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled ) +type StorageAutogrow = original.StorageAutogrow + +const ( + StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled + StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled +) + type VirtualNetworkRuleState = original.VirtualNetworkRuleState const ( @@ -273,6 +280,9 @@ func PossibleSkuTierValues() []SkuTier { func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return original.PossibleSslEnforcementEnumValues() } +func PossibleStorageAutogrowValues() []StorageAutogrow { + return original.PossibleStorageAutogrowValues() +} func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return original.PossibleVirtualNetworkRuleStateValues() } diff --git a/profiles/latest/mysql/mgmt/mysql/models.go b/profiles/latest/mysql/mgmt/mysql/models.go index b07917e5c7c4..ee9b5df9a05d 100644 --- a/profiles/latest/mysql/mgmt/mysql/models.go +++ b/profiles/latest/mysql/mgmt/mysql/models.go @@ -91,6 +91,13 @@ const ( SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled ) +type StorageAutogrow = original.StorageAutogrow + +const ( + StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled + StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled +) + type VirtualNetworkRuleState = original.VirtualNetworkRuleState const ( @@ -273,6 +280,9 @@ func PossibleSkuTierValues() []SkuTier { func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return original.PossibleSslEnforcementEnumValues() } +func PossibleStorageAutogrowValues() []StorageAutogrow { + return original.PossibleStorageAutogrowValues() +} func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return original.PossibleVirtualNetworkRuleStateValues() } diff --git a/profiles/latest/postgresql/mgmt/postgresql/models.go b/profiles/latest/postgresql/mgmt/postgresql/models.go index 36593024131f..ec5f576ba96b 100644 --- a/profiles/latest/postgresql/mgmt/postgresql/models.go +++ b/profiles/latest/postgresql/mgmt/postgresql/models.go @@ -94,6 +94,13 @@ const ( SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled ) +type StorageAutogrow = original.StorageAutogrow + +const ( + StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled + StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled +) + type VirtualNetworkRuleState = original.VirtualNetworkRuleState const ( @@ -276,6 +283,9 @@ func PossibleSkuTierValues() []SkuTier { func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return original.PossibleSslEnforcementEnumValues() } +func PossibleStorageAutogrowValues() []StorageAutogrow { + return original.PossibleStorageAutogrowValues() +} func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return original.PossibleVirtualNetworkRuleStateValues() } diff --git a/profiles/preview/mariadb/mgmt/mariadb/models.go b/profiles/preview/mariadb/mgmt/mariadb/models.go index 8bba9e77e497..16f9a386b5c1 100644 --- a/profiles/preview/mariadb/mgmt/mariadb/models.go +++ b/profiles/preview/mariadb/mgmt/mariadb/models.go @@ -91,6 +91,13 @@ const ( SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled ) +type StorageAutogrow = original.StorageAutogrow + +const ( + StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled + StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled +) + type VirtualNetworkRuleState = original.VirtualNetworkRuleState const ( @@ -273,6 +280,9 @@ func PossibleSkuTierValues() []SkuTier { func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return original.PossibleSslEnforcementEnumValues() } +func PossibleStorageAutogrowValues() []StorageAutogrow { + return original.PossibleStorageAutogrowValues() +} func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return original.PossibleVirtualNetworkRuleStateValues() } diff --git a/profiles/preview/mysql/mgmt/mysql/models.go b/profiles/preview/mysql/mgmt/mysql/models.go index 639791bd363e..70398c8ab209 100644 --- a/profiles/preview/mysql/mgmt/mysql/models.go +++ b/profiles/preview/mysql/mgmt/mysql/models.go @@ -91,6 +91,13 @@ const ( SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled ) +type StorageAutogrow = original.StorageAutogrow + +const ( + StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled + StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled +) + type VirtualNetworkRuleState = original.VirtualNetworkRuleState const ( @@ -273,6 +280,9 @@ func PossibleSkuTierValues() []SkuTier { func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return original.PossibleSslEnforcementEnumValues() } +func PossibleStorageAutogrowValues() []StorageAutogrow { + return original.PossibleStorageAutogrowValues() +} func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return original.PossibleVirtualNetworkRuleStateValues() } diff --git a/profiles/preview/postgresql/mgmt/postgresql/models.go b/profiles/preview/postgresql/mgmt/postgresql/models.go index 8525a276bf00..1e96368f36ce 100644 --- a/profiles/preview/postgresql/mgmt/postgresql/models.go +++ b/profiles/preview/postgresql/mgmt/postgresql/models.go @@ -94,6 +94,13 @@ const ( SslEnforcementEnumEnabled SslEnforcementEnum = original.SslEnforcementEnumEnabled ) +type StorageAutogrow = original.StorageAutogrow + +const ( + StorageAutogrowDisabled StorageAutogrow = original.StorageAutogrowDisabled + StorageAutogrowEnabled StorageAutogrow = original.StorageAutogrowEnabled +) + type VirtualNetworkRuleState = original.VirtualNetworkRuleState const ( @@ -276,6 +283,9 @@ func PossibleSkuTierValues() []SkuTier { func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return original.PossibleSslEnforcementEnumValues() } +func PossibleStorageAutogrowValues() []StorageAutogrow { + return original.PossibleStorageAutogrowValues() +} func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return original.PossibleVirtualNetworkRuleStateValues() } diff --git a/services/mariadb/mgmt/2018-06-01/mariadb/models.go b/services/mariadb/mgmt/2018-06-01/mariadb/models.go index 369f5142e3a7..24274d04bac3 100644 --- a/services/mariadb/mgmt/2018-06-01/mariadb/models.go +++ b/services/mariadb/mgmt/2018-06-01/mariadb/models.go @@ -163,6 +163,21 @@ func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return []SslEnforcementEnum{SslEnforcementEnumDisabled, SslEnforcementEnumEnabled} } +// StorageAutogrow enumerates the values for storage autogrow. +type StorageAutogrow string + +const ( + // StorageAutogrowDisabled ... + StorageAutogrowDisabled StorageAutogrow = "Disabled" + // StorageAutogrowEnabled ... + StorageAutogrowEnabled StorageAutogrow = "Enabled" +) + +// PossibleStorageAutogrowValues returns an array of possible values for the StorageAutogrow const type. +func PossibleStorageAutogrowValues() []StorageAutogrow { + return []StorageAutogrow{StorageAutogrowDisabled, StorageAutogrowEnabled} +} + // VirtualNetworkRuleState enumerates the values for virtual network rule state. type VirtualNetworkRuleState string @@ -1745,6 +1760,8 @@ type StorageProfile struct { GeoRedundantBackup GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` // StorageMB - Max storage allowed for a server. StorageMB *int32 `json:"storageMB,omitempty"` + // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'StorageAutogrowEnabled', 'StorageAutogrowDisabled' + StorageAutogrow StorageAutogrow `json:"storageAutogrow,omitempty"` } // TrackedResource resource properties including location and tags for track resources. diff --git a/services/mysql/mgmt/2017-12-01/mysql/models.go b/services/mysql/mgmt/2017-12-01/mysql/models.go index 17eaecd66de9..43cea5eed431 100644 --- a/services/mysql/mgmt/2017-12-01/mysql/models.go +++ b/services/mysql/mgmt/2017-12-01/mysql/models.go @@ -163,6 +163,21 @@ func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return []SslEnforcementEnum{SslEnforcementEnumDisabled, SslEnforcementEnumEnabled} } +// StorageAutogrow enumerates the values for storage autogrow. +type StorageAutogrow string + +const ( + // StorageAutogrowDisabled ... + StorageAutogrowDisabled StorageAutogrow = "Disabled" + // StorageAutogrowEnabled ... + StorageAutogrowEnabled StorageAutogrow = "Enabled" +) + +// PossibleStorageAutogrowValues returns an array of possible values for the StorageAutogrow const type. +func PossibleStorageAutogrowValues() []StorageAutogrow { + return []StorageAutogrow{StorageAutogrowDisabled, StorageAutogrowEnabled} +} + // VirtualNetworkRuleState enumerates the values for virtual network rule state. type VirtualNetworkRuleState string @@ -1745,6 +1760,8 @@ type StorageProfile struct { GeoRedundantBackup GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` // StorageMB - Max storage allowed for a server. StorageMB *int32 `json:"storageMB,omitempty"` + // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'StorageAutogrowEnabled', 'StorageAutogrowDisabled' + StorageAutogrow StorageAutogrow `json:"storageAutogrow,omitempty"` } // TrackedResource resource properties including location and tags for track resources. diff --git a/services/postgresql/mgmt/2017-12-01/postgresql/models.go b/services/postgresql/mgmt/2017-12-01/postgresql/models.go index 5ed2a356380c..c7a9a5645d3c 100644 --- a/services/postgresql/mgmt/2017-12-01/postgresql/models.go +++ b/services/postgresql/mgmt/2017-12-01/postgresql/models.go @@ -169,6 +169,21 @@ func PossibleSslEnforcementEnumValues() []SslEnforcementEnum { return []SslEnforcementEnum{SslEnforcementEnumDisabled, SslEnforcementEnumEnabled} } +// StorageAutogrow enumerates the values for storage autogrow. +type StorageAutogrow string + +const ( + // StorageAutogrowDisabled ... + StorageAutogrowDisabled StorageAutogrow = "Disabled" + // StorageAutogrowEnabled ... + StorageAutogrowEnabled StorageAutogrow = "Enabled" +) + +// PossibleStorageAutogrowValues returns an array of possible values for the StorageAutogrow const type. +func PossibleStorageAutogrowValues() []StorageAutogrow { + return []StorageAutogrow{StorageAutogrowDisabled, StorageAutogrowEnabled} +} + // VirtualNetworkRuleState enumerates the values for virtual network rule state. type VirtualNetworkRuleState string @@ -1751,6 +1766,8 @@ type StorageProfile struct { GeoRedundantBackup GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` // StorageMB - Max storage allowed for a server. StorageMB *int32 `json:"storageMB,omitempty"` + // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'StorageAutogrowEnabled', 'StorageAutogrowDisabled' + StorageAutogrow StorageAutogrow `json:"storageAutogrow,omitempty"` } // TrackedResource resource properties including location and tags for track resources.