diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py b/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py index 3f32d3e0dc2d..b5051a22b7d6 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py @@ -414,6 +414,7 @@ IdentityType, ManagedServerCreateMode, ManagedInstanceLicenseType, + ManagedInstanceProxyOverride, OperationOrigin, SyncAgentState, SyncMemberDbType, @@ -712,6 +713,7 @@ 'IdentityType', 'ManagedServerCreateMode', 'ManagedInstanceLicenseType', + 'ManagedInstanceProxyOverride', 'OperationOrigin', 'SyncAgentState', 'SyncMemberDbType', diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/database.py b/azure-mgmt-sql/azure/mgmt/sql/models/database.py index f3f66d024a7a..0cd833b70f46 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/database.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/database.py @@ -30,7 +30,17 @@ class Database(TrackedResource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param sku: The name and tier of the SKU. + :param sku: The database SKU. + The list of SKUs may vary by region and support offer. To determine the + SKUs (including the SKU name, tier/edition, family, and capacity) that are + available to your subscription in an Azure region, use the + `Capabilities_ListByLocation` REST API or one of the following commands: + ```azurecli + az sql db list-editions -l -o table + ```` + ```powershell + Get-AzSqlServerServiceObjective -Location + ```` :type sku: ~azure.mgmt.sql.models.Sku :ivar kind: Kind of database. This is metadata used for the Azure portal experience. @@ -85,7 +95,8 @@ class Database(TrackedResource): 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', - 'Paused', 'Resuming', 'Scaling' + 'Paused', 'Resuming', 'Scaling', 'OfflineChangingDwPerformanceTiers', + 'OnlineChangingDwPerformanceTiers' :vartype status: str or ~azure.mgmt.sql.models.DatabaseStatus :ivar database_id: The ID of the database. :vartype database_id: str @@ -146,6 +157,12 @@ class Database(TrackedResource): :type read_scale: str or ~azure.mgmt.sql.models.DatabaseReadScale :ivar current_sku: The name and tier of the SKU. :vartype current_sku: ~azure.mgmt.sql.models.Sku + :param auto_pause_delay: Time in minutes after which database is + automatically paused. A value of -1 means that automatic pause is disabled + :type auto_pause_delay: int + :param min_capacity: Minimal capacity that database will always have + allocated, if not paused + :type min_capacity: float """ _validation = { @@ -202,6 +219,8 @@ class Database(TrackedResource): 'earliest_restore_date': {'key': 'properties.earliestRestoreDate', 'type': 'iso-8601'}, 'read_scale': {'key': 'properties.readScale', 'type': 'str'}, 'current_sku': {'key': 'properties.currentSku', 'type': 'Sku'}, + 'auto_pause_delay': {'key': 'properties.autoPauseDelay', 'type': 'int'}, + 'min_capacity': {'key': 'properties.minCapacity', 'type': 'float'}, } def __init__(self, **kwargs): @@ -235,3 +254,5 @@ def __init__(self, **kwargs): self.earliest_restore_date = None self.read_scale = kwargs.get('read_scale', None) self.current_sku = None + self.auto_pause_delay = kwargs.get('auto_pause_delay', None) + self.min_capacity = kwargs.get('min_capacity', None) diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py index 9cfb4d07a7e6..5c4f3f5868d8 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py @@ -30,7 +30,17 @@ class Database(TrackedResource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param sku: The name and tier of the SKU. + :param sku: The database SKU. + The list of SKUs may vary by region and support offer. To determine the + SKUs (including the SKU name, tier/edition, family, and capacity) that are + available to your subscription in an Azure region, use the + `Capabilities_ListByLocation` REST API or one of the following commands: + ```azurecli + az sql db list-editions -l -o table + ```` + ```powershell + Get-AzSqlServerServiceObjective -Location + ```` :type sku: ~azure.mgmt.sql.models.Sku :ivar kind: Kind of database. This is metadata used for the Azure portal experience. @@ -85,7 +95,8 @@ class Database(TrackedResource): 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', - 'Paused', 'Resuming', 'Scaling' + 'Paused', 'Resuming', 'Scaling', 'OfflineChangingDwPerformanceTiers', + 'OnlineChangingDwPerformanceTiers' :vartype status: str or ~azure.mgmt.sql.models.DatabaseStatus :ivar database_id: The ID of the database. :vartype database_id: str @@ -146,6 +157,12 @@ class Database(TrackedResource): :type read_scale: str or ~azure.mgmt.sql.models.DatabaseReadScale :ivar current_sku: The name and tier of the SKU. :vartype current_sku: ~azure.mgmt.sql.models.Sku + :param auto_pause_delay: Time in minutes after which database is + automatically paused. A value of -1 means that automatic pause is disabled + :type auto_pause_delay: int + :param min_capacity: Minimal capacity that database will always have + allocated, if not paused + :type min_capacity: float """ _validation = { @@ -202,9 +219,11 @@ class Database(TrackedResource): 'earliest_restore_date': {'key': 'properties.earliestRestoreDate', 'type': 'iso-8601'}, 'read_scale': {'key': 'properties.readScale', 'type': 'str'}, 'current_sku': {'key': 'properties.currentSku', 'type': 'Sku'}, + 'auto_pause_delay': {'key': 'properties.autoPauseDelay', 'type': 'int'}, + 'min_capacity': {'key': 'properties.minCapacity', 'type': 'float'}, } - def __init__(self, *, location: str, tags=None, sku=None, create_mode=None, collation: str=None, max_size_bytes: int=None, sample_name=None, elastic_pool_id: str=None, source_database_id: str=None, restore_point_in_time=None, source_database_deletion_date=None, recovery_services_recovery_point_id: str=None, long_term_retention_backup_resource_id: str=None, recoverable_database_id: str=None, restorable_dropped_database_id: str=None, catalog_collation=None, zone_redundant: bool=None, license_type=None, read_scale=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, sku=None, create_mode=None, collation: str=None, max_size_bytes: int=None, sample_name=None, elastic_pool_id: str=None, source_database_id: str=None, restore_point_in_time=None, source_database_deletion_date=None, recovery_services_recovery_point_id: str=None, long_term_retention_backup_resource_id: str=None, recoverable_database_id: str=None, restorable_dropped_database_id: str=None, catalog_collation=None, zone_redundant: bool=None, license_type=None, read_scale=None, auto_pause_delay: int=None, min_capacity: float=None, **kwargs) -> None: super(Database, self).__init__(location=location, tags=tags, **kwargs) self.sku = sku self.kind = None @@ -235,3 +254,5 @@ def __init__(self, *, location: str, tags=None, sku=None, create_mode=None, coll self.earliest_restore_date = None self.read_scale = read_scale self.current_sku = None + self.auto_pause_delay = auto_pause_delay + self.min_capacity = min_capacity diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/database_update.py b/azure-mgmt-sql/azure/mgmt/sql/models/database_update.py index d4d4cbdf4270..3d9d701da6ca 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/database_update.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/database_update.py @@ -68,7 +68,8 @@ class DatabaseUpdate(Model): 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', - 'Paused', 'Resuming', 'Scaling' + 'Paused', 'Resuming', 'Scaling', 'OfflineChangingDwPerformanceTiers', + 'OnlineChangingDwPerformanceTiers' :vartype status: str or ~azure.mgmt.sql.models.DatabaseStatus :ivar database_id: The ID of the database. :vartype database_id: str @@ -129,6 +130,12 @@ class DatabaseUpdate(Model): :type read_scale: str or ~azure.mgmt.sql.models.DatabaseReadScale :ivar current_sku: The name and tier of the SKU. :vartype current_sku: ~azure.mgmt.sql.models.Sku + :param auto_pause_delay: Time in minutes after which database is + automatically paused. A value of -1 means that automatic pause is disabled + :type auto_pause_delay: int + :param min_capacity: Minimal capacity that database will always have + allocated, if not paused + :type min_capacity: float :param tags: Resource tags. :type tags: dict[str, str] """ @@ -174,6 +181,8 @@ class DatabaseUpdate(Model): 'earliest_restore_date': {'key': 'properties.earliestRestoreDate', 'type': 'iso-8601'}, 'read_scale': {'key': 'properties.readScale', 'type': 'str'}, 'current_sku': {'key': 'properties.currentSku', 'type': 'Sku'}, + 'auto_pause_delay': {'key': 'properties.autoPauseDelay', 'type': 'int'}, + 'min_capacity': {'key': 'properties.minCapacity', 'type': 'float'}, 'tags': {'key': 'tags', 'type': '{str}'}, } @@ -206,4 +215,6 @@ def __init__(self, **kwargs): self.earliest_restore_date = None self.read_scale = kwargs.get('read_scale', None) self.current_sku = None + self.auto_pause_delay = kwargs.get('auto_pause_delay', None) + self.min_capacity = kwargs.get('min_capacity', None) self.tags = kwargs.get('tags', None) diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/database_update_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/database_update_py3.py index 5a9a6f3b742d..080a1d783c1d 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/database_update_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/database_update_py3.py @@ -68,7 +68,8 @@ class DatabaseUpdate(Model): 'Online', 'Restoring', 'RecoveryPending', 'Recovering', 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode', 'AutoClosed', 'Copying', 'Creating', 'Inaccessible', 'OfflineSecondary', 'Pausing', - 'Paused', 'Resuming', 'Scaling' + 'Paused', 'Resuming', 'Scaling', 'OfflineChangingDwPerformanceTiers', + 'OnlineChangingDwPerformanceTiers' :vartype status: str or ~azure.mgmt.sql.models.DatabaseStatus :ivar database_id: The ID of the database. :vartype database_id: str @@ -129,6 +130,12 @@ class DatabaseUpdate(Model): :type read_scale: str or ~azure.mgmt.sql.models.DatabaseReadScale :ivar current_sku: The name and tier of the SKU. :vartype current_sku: ~azure.mgmt.sql.models.Sku + :param auto_pause_delay: Time in minutes after which database is + automatically paused. A value of -1 means that automatic pause is disabled + :type auto_pause_delay: int + :param min_capacity: Minimal capacity that database will always have + allocated, if not paused + :type min_capacity: float :param tags: Resource tags. :type tags: dict[str, str] """ @@ -174,10 +181,12 @@ class DatabaseUpdate(Model): 'earliest_restore_date': {'key': 'properties.earliestRestoreDate', 'type': 'iso-8601'}, 'read_scale': {'key': 'properties.readScale', 'type': 'str'}, 'current_sku': {'key': 'properties.currentSku', 'type': 'Sku'}, + 'auto_pause_delay': {'key': 'properties.autoPauseDelay', 'type': 'int'}, + 'min_capacity': {'key': 'properties.minCapacity', 'type': 'float'}, 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, sku=None, create_mode=None, collation: str=None, max_size_bytes: int=None, sample_name=None, elastic_pool_id: str=None, source_database_id: str=None, restore_point_in_time=None, source_database_deletion_date=None, recovery_services_recovery_point_id: str=None, long_term_retention_backup_resource_id: str=None, recoverable_database_id: str=None, restorable_dropped_database_id: str=None, catalog_collation=None, zone_redundant: bool=None, license_type=None, read_scale=None, tags=None, **kwargs) -> None: + def __init__(self, *, sku=None, create_mode=None, collation: str=None, max_size_bytes: int=None, sample_name=None, elastic_pool_id: str=None, source_database_id: str=None, restore_point_in_time=None, source_database_deletion_date=None, recovery_services_recovery_point_id: str=None, long_term_retention_backup_resource_id: str=None, recoverable_database_id: str=None, restorable_dropped_database_id: str=None, catalog_collation=None, zone_redundant: bool=None, license_type=None, read_scale=None, auto_pause_delay: int=None, min_capacity: float=None, tags=None, **kwargs) -> None: super(DatabaseUpdate, self).__init__(**kwargs) self.sku = sku self.create_mode = create_mode @@ -206,4 +215,6 @@ def __init__(self, *, sku=None, create_mode=None, collation: str=None, max_size_ self.earliest_restore_date = None self.read_scale = read_scale self.current_sku = None + self.auto_pause_delay = auto_pause_delay + self.min_capacity = min_capacity self.tags = tags diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py index 10a28ea0f6e3..34926d4a176e 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py @@ -30,7 +30,14 @@ class ElasticPool(TrackedResource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param sku: + :param sku: The elastic pool SKU. + The list of SKUs may vary by region and support offer. To determine the + SKUs (including the SKU name, tier/edition, family, and capacity) that are + available to your subscription in an Azure region, use the + `Capabilities_ListByLocation` REST API or the following command: + ```azurecli + az sql elastic-pool list-editions -l -o table + ```` :type sku: ~azure.mgmt.sql.models.Sku :ivar kind: Kind of elastic pool. This is metadata used for the Azure portal experience. diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py index eb092529ac3b..d487ba2c7e28 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py @@ -30,7 +30,14 @@ class ElasticPool(TrackedResource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param sku: + :param sku: The elastic pool SKU. + The list of SKUs may vary by region and support offer. To determine the + SKUs (including the SKU name, tier/edition, family, and capacity) that are + available to your subscription in an Azure region, use the + `Capabilities_ListByLocation` REST API or the following command: + ```azurecli + az sql elastic-pool list-editions -l -o table + ```` :type sku: ~azure.mgmt.sql.models.Sku :ivar kind: Kind of elastic pool. This is metadata used for the Azure portal experience. diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/import_request.py b/azure-mgmt-sql/azure/mgmt/sql/models/import_request.py index a1683ffad9b4..b5598c478e76 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/import_request.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/import_request.py @@ -37,9 +37,19 @@ class ImportRequest(ExportRequest): :param database_name: Required. The name of the database to import. :type database_name: str :param edition: Required. The edition for the database being created. - Possible values include: 'Web', 'Business', 'Basic', 'Standard', + The list of SKUs may vary by region and support offer. To determine the + SKUs (including the SKU name, tier/edition, family, and capacity) that are + available to your subscription in an Azure region, use the + `Capabilities_ListByLocation` REST API or one of the following commands: + ```azurecli + az sql db list-editions -l -o table + ```` + ```powershell + Get-AzSqlServerServiceObjective -Location + ```` + . Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', - 'System2' + 'System2', 'GeneralPurpose', 'BusinessCritical', 'Hyperscale' :type edition: str or ~azure.mgmt.sql.models.DatabaseEdition :param service_objective_name: Required. The name of the service objective to assign to the database. Possible values include: 'System', 'System0', diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/import_request_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/import_request_py3.py index 68b97ae814a3..915db6297521 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/import_request_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/import_request_py3.py @@ -37,9 +37,19 @@ class ImportRequest(ExportRequest): :param database_name: Required. The name of the database to import. :type database_name: str :param edition: Required. The edition for the database being created. - Possible values include: 'Web', 'Business', 'Basic', 'Standard', + The list of SKUs may vary by region and support offer. To determine the + SKUs (including the SKU name, tier/edition, family, and capacity) that are + available to your subscription in an Azure region, use the + `Capabilities_ListByLocation` REST API or one of the following commands: + ```azurecli + az sql db list-editions -l -o table + ```` + ```powershell + Get-AzSqlServerServiceObjective -Location + ```` + . Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', - 'System2' + 'System2', 'GeneralPurpose', 'BusinessCritical', 'Hyperscale' :type edition: str or ~azure.mgmt.sql.models.DatabaseEdition :param service_objective_name: Required. The name of the service objective to assign to the database. Possible values include: 'System', 'System0', diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py index a3f070a69d6e..309df9ce615a 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py @@ -86,8 +86,10 @@ class ManagedInstance(TrackedResource): :param restore_point_in_time: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. :type restore_point_in_time: datetime - :param proxy_override: Proxy override of the managed instance. - :type proxy_override: str + :param proxy_override: Connection type used for connecting to the + instance. Possible values include: 'Proxy', 'Redirect', 'Default' + :type proxy_override: str or + ~azure.mgmt.sql.models.ManagedInstanceProxyOverride :param timezone_id: Id of the timezone. Allowed values are timezones supported by Windows. Windows keeps details on supported timezones, including the id, in diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py index 38dc3f8d34e8..01bfe2801b29 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py @@ -86,8 +86,10 @@ class ManagedInstance(TrackedResource): :param restore_point_in_time: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. :type restore_point_in_time: datetime - :param proxy_override: Proxy override of the managed instance. - :type proxy_override: str + :param proxy_override: Connection type used for connecting to the + instance. Possible values include: 'Proxy', 'Redirect', 'Default' + :type proxy_override: str or + ~azure.mgmt.sql.models.ManagedInstanceProxyOverride :param timezone_id: Id of the timezone. Allowed values are timezones supported by Windows. Windows keeps details on supported timezones, including the id, in @@ -144,7 +146,7 @@ class ManagedInstance(TrackedResource): 'instance_pool_id': {'key': 'properties.instancePoolId', 'type': 'str'}, } - def __init__(self, *, location: str, tags=None, identity=None, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override: str=None, timezone_id: str=None, instance_pool_id: str=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, identity=None, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override=None, timezone_id: str=None, instance_pool_id: str=None, **kwargs) -> None: super(ManagedInstance, self).__init__(location=location, tags=tags, **kwargs) self.identity = identity self.sku = sku diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update.py index 86e250bc3393..d4d9bf3ba75d 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update.py @@ -70,8 +70,10 @@ class ManagedInstanceUpdate(Model): :param restore_point_in_time: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. :type restore_point_in_time: datetime - :param proxy_override: Proxy override of the managed instance. - :type proxy_override: str + :param proxy_override: Connection type used for connecting to the + instance. Possible values include: 'Proxy', 'Redirect', 'Default' + :type proxy_override: str or + ~azure.mgmt.sql.models.ManagedInstanceProxyOverride :param timezone_id: Id of the timezone. Allowed values are timezones supported by Windows. Windows keeps details on supported timezones, including the id, in diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update_py3.py index 68f2ee53cc18..d18fe0b5da00 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_update_py3.py @@ -70,8 +70,10 @@ class ManagedInstanceUpdate(Model): :param restore_point_in_time: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. :type restore_point_in_time: datetime - :param proxy_override: Proxy override of the managed instance. - :type proxy_override: str + :param proxy_override: Connection type used for connecting to the + instance. Possible values include: 'Proxy', 'Redirect', 'Default' + :type proxy_override: str or + ~azure.mgmt.sql.models.ManagedInstanceProxyOverride :param timezone_id: Id of the timezone. Allowed values are timezones supported by Windows. Windows keeps details on supported timezones, including the id, in @@ -121,7 +123,7 @@ class ManagedInstanceUpdate(Model): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override: str=None, timezone_id: str=None, instance_pool_id: str=None, tags=None, **kwargs) -> None: + def __init__(self, *, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override=None, timezone_id: str=None, instance_pool_id: str=None, tags=None, **kwargs) -> None: super(ManagedInstanceUpdate, self).__init__(**kwargs) self.sku = sku self.managed_instance_create_mode = managed_instance_create_mode diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool.py b/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool.py index 0d80a9a31ac9..e7668f77203f 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool.py @@ -26,7 +26,8 @@ class RecommendedElasticPool(ProxyResource): :vartype type: str :ivar database_edition: The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions. Possible - values include: 'Basic', 'Standard', 'Premium' + values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', + 'BusinessCritical' :vartype database_edition: str or ~azure.mgmt.sql.models.ElasticPoolEdition :param dtu: The DTU for the recommended elastic pool. diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool_py3.py index 2f8a14d6abfa..75250679f962 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool_py3.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/recommended_elastic_pool_py3.py @@ -26,7 +26,8 @@ class RecommendedElasticPool(ProxyResource): :vartype type: str :ivar database_edition: The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions. Possible - values include: 'Basic', 'Standard', 'Premium' + values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', + 'BusinessCritical' :vartype database_edition: str or ~azure.mgmt.sql.models.ElasticPoolEdition :param dtu: The DTU for the recommended elastic pool. diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/sql_management_client_enums.py b/azure-mgmt-sql/azure/mgmt/sql/models/sql_management_client_enums.py index 50fe30422cb7..d9a8d3cf7e6d 100644 --- a/azure-mgmt-sql/azure/mgmt/sql/models/sql_management_client_enums.py +++ b/azure-mgmt-sql/azure/mgmt/sql/models/sql_management_client_enums.py @@ -85,6 +85,9 @@ class DatabaseEdition(str, Enum): data_warehouse = "DataWarehouse" system = "System" system2 = "System2" + general_purpose = "GeneralPurpose" + business_critical = "BusinessCritical" + hyperscale = "Hyperscale" class ServiceObjectiveName(str, Enum): @@ -203,6 +206,8 @@ class ElasticPoolEdition(str, Enum): basic = "Basic" standard = "Standard" premium = "Premium" + general_purpose = "GeneralPurpose" + business_critical = "BusinessCritical" class ReplicationRole(str, Enum): @@ -337,6 +342,13 @@ class ManagedInstanceLicenseType(str, Enum): base_price = "BasePrice" +class ManagedInstanceProxyOverride(str, Enum): + + proxy = "Proxy" + redirect = "Redirect" + default = "Default" + + class OperationOrigin(str, Enum): user = "user" @@ -617,6 +629,8 @@ class DatabaseStatus(str, Enum): paused = "Paused" resuming = "Resuming" scaling = "Scaling" + offline_changing_dw_performance_tiers = "OfflineChangingDwPerformanceTiers" + online_changing_dw_performance_tiers = "OnlineChangingDwPerformanceTiers" class DatabaseLicenseType(str, Enum):