зеркало из
1
0
Форкнуть 0
Co-authored-by: azure-sdk <PythonSdkPipelines>
This commit is contained in:
Azure SDK Bot 2024-10-20 20:15:30 -07:00 коммит произвёл GitHub
Родитель 2432cce010
Коммит 6ea0798156
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
86 изменённых файлов: 327 добавлений и 180 удалений

Просмотреть файл

@ -1,5 +1,15 @@
# Release History
## 1.2.0b1 (2024-10-20)
### Features Added
- Model `ElasticSanProperties` added property `auto_scale_properties`
- Model `ElasticSanUpdateProperties` added property `auto_scale_properties`
- Added enum `AutoScalePolicyEnforcement`
- Added model `AutoScaleProperties`
- Added model `ScaleUpProperties`
## 1.1.0 (2024-09-23)
### Features Added

Просмотреть файл

@ -1,11 +1,11 @@
{
"commit": "cd41ba31a6af51dae34b0a5930eeb2e77a04b481",
"commit": "fda3d5e4ae4c69aa72ddfdf5ca1b6d5795a03e71",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.17.0",
"@autorest/python@6.19.0",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/elasticsan/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.17.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/elasticsan/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/elasticsan/resource-manager/readme.md"
}

Просмотреть файл

@ -28,13 +28,13 @@ class ElasticSanMgmtClientConfiguration: # pylint: disable=too-many-instance-at
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-05-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-05-01")
api_version: str = kwargs.pop("api_version", "2024-06-01-preview")
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")

Просмотреть файл

@ -61,8 +61,8 @@ class ElasticSanMgmtClient: # pylint: disable=client-accepts-api-version-keywor
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-05-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.

Просмотреть файл

@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
VERSION = "1.1.0"
VERSION = "1.2.0b1"

Просмотреть файл

@ -28,13 +28,13 @@ class ElasticSanMgmtClientConfiguration: # pylint: disable=too-many-instance-at
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-05-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
"""
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-05-01")
api_version: str = kwargs.pop("api_version", "2024-06-01-preview")
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")

Просмотреть файл

@ -61,8 +61,8 @@ class ElasticSanMgmtClient: # pylint: disable=client-accepts-api-version-keywor
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-05-01". Note that overriding this
default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2024-06-01-preview". Note that overriding
this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.

Просмотреть файл

@ -6,6 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from ._models_py3 import AutoScaleProperties
from ._models_py3 import ElasticSan
from ._models_py3 import ElasticSanList
from ._models_py3 import ElasticSanProperties
@ -35,6 +36,7 @@ from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import SKUCapability
from ._models_py3 import ScaleUpProperties
from ._models_py3 import Sku
from ._models_py3 import SkuInformation
from ._models_py3 import SkuInformationList
@ -61,6 +63,7 @@ from ._models_py3 import VolumeUpdateProperties
from ._elastic_san_mgmt_client_enums import Action
from ._elastic_san_mgmt_client_enums import ActionType
from ._elastic_san_mgmt_client_enums import AutoScalePolicyEnforcement
from ._elastic_san_mgmt_client_enums import CreatedByType
from ._elastic_san_mgmt_client_enums import EncryptionType
from ._elastic_san_mgmt_client_enums import IdentityType
@ -80,6 +83,7 @@ from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import patch_sdk as _patch_sdk
__all__ = [
"AutoScaleProperties",
"ElasticSan",
"ElasticSanList",
"ElasticSanProperties",
@ -109,6 +113,7 @@ __all__ = [
"ProxyResource",
"Resource",
"SKUCapability",
"ScaleUpProperties",
"Sku",
"SkuInformation",
"SkuInformationList",
@ -134,6 +139,7 @@ __all__ = [
"VolumeUpdateProperties",
"Action",
"ActionType",
"AutoScalePolicyEnforcement",
"CreatedByType",
"EncryptionType",
"IdentityType",

Просмотреть файл

@ -22,6 +22,14 @@ class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
INTERNAL = "Internal"
class AutoScalePolicyEnforcement(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Enable or Disable scale up setting on Elastic San Appliance."""
NONE = "None"
ENABLED = "Enabled"
DISABLED = "Disabled"
class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The type of identity that created the resource."""

Просмотреть файл

@ -17,6 +17,26 @@ if TYPE_CHECKING:
from .. import models as _models
class AutoScaleProperties(_serialization.Model):
"""The auto scale settings on Elastic San Appliance.
:ivar scale_up_properties: Scale up settings on Elastic San Appliance.
:vartype scale_up_properties: ~azure.mgmt.elasticsan.models.ScaleUpProperties
"""
_attribute_map = {
"scale_up_properties": {"key": "scaleUpProperties", "type": "ScaleUpProperties"},
}
def __init__(self, *, scale_up_properties: Optional["_models.ScaleUpProperties"] = None, **kwargs: Any) -> None:
"""
:keyword scale_up_properties: Scale up settings on Elastic San Appliance.
:paramtype scale_up_properties: ~azure.mgmt.elasticsan.models.ScaleUpProperties
"""
super().__init__(**kwargs)
self.scale_up_properties = scale_up_properties
class Resource(_serialization.Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.
@ -242,6 +262,8 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and
"Disabled".
:vartype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
:ivar auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
:vartype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
"""
_validation = {
@ -270,6 +292,7 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
"total_size_ti_b": {"key": "totalSizeTiB", "type": "int"},
"private_endpoint_connections": {"key": "privateEndpointConnections", "type": "[PrivateEndpointConnection]"},
"public_network_access": {"key": "publicNetworkAccess", "type": "str"},
"auto_scale_properties": {"key": "autoScaleProperties", "type": "AutoScaleProperties"},
}
def __init__(
@ -280,6 +303,7 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
extended_capacity_size_ti_b: int,
availability_zones: Optional[List[str]] = None,
public_network_access: Optional[Union[str, "_models.PublicNetworkAccess"]] = None,
auto_scale_properties: Optional["_models.AutoScaleProperties"] = None,
**kwargs: Any
) -> None:
"""
@ -296,6 +320,8 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and
"Disabled".
:paramtype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
:keyword auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
:paramtype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
"""
super().__init__(**kwargs)
self.sku = sku
@ -310,6 +336,7 @@ class ElasticSanProperties(_serialization.Model): # pylint: disable=too-many-in
self.total_size_ti_b = None
self.private_endpoint_connections = None
self.public_network_access = public_network_access
self.auto_scale_properties = auto_scale_properties
class ElasticSanUpdate(_serialization.Model):
@ -355,12 +382,15 @@ class ElasticSanUpdateProperties(_serialization.Model):
Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are:
"Enabled" and "Disabled".
:vartype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
:ivar auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
:vartype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
"""
_attribute_map = {
"base_size_ti_b": {"key": "baseSizeTiB", "type": "int"},
"extended_capacity_size_ti_b": {"key": "extendedCapacitySizeTiB", "type": "int"},
"public_network_access": {"key": "publicNetworkAccess", "type": "str"},
"auto_scale_properties": {"key": "autoScaleProperties", "type": "AutoScaleProperties"},
}
def __init__(
@ -369,6 +399,7 @@ class ElasticSanUpdateProperties(_serialization.Model):
base_size_ti_b: Optional[int] = None,
extended_capacity_size_ti_b: Optional[int] = None,
public_network_access: Optional[Union[str, "_models.PublicNetworkAccess"]] = None,
auto_scale_properties: Optional["_models.AutoScaleProperties"] = None,
**kwargs: Any
) -> None:
"""
@ -380,11 +411,14 @@ class ElasticSanUpdateProperties(_serialization.Model):
Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are:
"Enabled" and "Disabled".
:paramtype public_network_access: str or ~azure.mgmt.elasticsan.models.PublicNetworkAccess
:keyword auto_scale_properties: Auto Scale Properties for Elastic San Appliance.
:paramtype auto_scale_properties: ~azure.mgmt.elasticsan.models.AutoScaleProperties
"""
super().__init__(**kwargs)
self.base_size_ti_b = base_size_ti_b
self.extended_capacity_size_ti_b = extended_capacity_size_ti_b
self.public_network_access = public_network_access
self.auto_scale_properties = auto_scale_properties
class EncryptionIdentity(_serialization.Model):
@ -1202,6 +1236,59 @@ class ProxyResource(Resource):
"""
class ScaleUpProperties(_serialization.Model):
"""Scale up properties on Elastic San Appliance.
:ivar unused_size_ti_b: Unused size on Elastic San appliance in TiB.
:vartype unused_size_ti_b: int
:ivar increase_capacity_unit_by_ti_b: Unit to increase Capacity Unit on Elastic San appliance
in TiB.
:vartype increase_capacity_unit_by_ti_b: int
:ivar capacity_unit_scale_up_limit_ti_b: Maximum scale up size on Elastic San appliance in TiB.
:vartype capacity_unit_scale_up_limit_ti_b: int
:ivar auto_scale_policy_enforcement: Enable or Disable scale up setting on Elastic San
Appliance. Known values are: "None", "Enabled", and "Disabled".
:vartype auto_scale_policy_enforcement: str or
~azure.mgmt.elasticsan.models.AutoScalePolicyEnforcement
"""
_attribute_map = {
"unused_size_ti_b": {"key": "unusedSizeTiB", "type": "int"},
"increase_capacity_unit_by_ti_b": {"key": "increaseCapacityUnitByTiB", "type": "int"},
"capacity_unit_scale_up_limit_ti_b": {"key": "capacityUnitScaleUpLimitTiB", "type": "int"},
"auto_scale_policy_enforcement": {"key": "autoScalePolicyEnforcement", "type": "str"},
}
def __init__(
self,
*,
unused_size_ti_b: Optional[int] = None,
increase_capacity_unit_by_ti_b: Optional[int] = None,
capacity_unit_scale_up_limit_ti_b: Optional[int] = None,
auto_scale_policy_enforcement: Optional[Union[str, "_models.AutoScalePolicyEnforcement"]] = None,
**kwargs: Any
) -> None:
"""
:keyword unused_size_ti_b: Unused size on Elastic San appliance in TiB.
:paramtype unused_size_ti_b: int
:keyword increase_capacity_unit_by_ti_b: Unit to increase Capacity Unit on Elastic San
appliance in TiB.
:paramtype increase_capacity_unit_by_ti_b: int
:keyword capacity_unit_scale_up_limit_ti_b: Maximum scale up size on Elastic San appliance in
TiB.
:paramtype capacity_unit_scale_up_limit_ti_b: int
:keyword auto_scale_policy_enforcement: Enable or Disable scale up setting on Elastic San
Appliance. Known values are: "None", "Enabled", and "Disabled".
:paramtype auto_scale_policy_enforcement: str or
~azure.mgmt.elasticsan.models.AutoScalePolicyEnforcement
"""
super().__init__(**kwargs)
self.unused_size_ti_b = unused_size_ti_b
self.increase_capacity_unit_by_ti_b = increase_capacity_unit_by_ti_b
self.capacity_unit_scale_up_limit_ti_b = capacity_unit_scale_up_limit_ti_b
self.auto_scale_policy_enforcement = auto_scale_policy_enforcement
class Sku(_serialization.Model):
"""The SKU name. Required for account creation; optional for update.

Просмотреть файл

@ -48,7 +48,7 @@ def build_list_by_subscription_request(subscription_id: str, **kwargs: Any) -> H
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -72,7 +72,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -104,7 +104,7 @@ def build_create_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -147,7 +147,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -190,7 +190,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -230,7 +230,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -43,7 +43,7 @@ def build_list_request(**kwargs: Any) -> HttpRequest:
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -54,7 +54,7 @@ def build_create_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -104,7 +104,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -151,7 +151,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -194,7 +194,7 @@ def build_list_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -43,7 +43,7 @@ def build_list_by_elastic_san_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -43,7 +43,7 @@ def build_list_request(subscription_id: str, *, filter: Optional[str] = None, **
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -50,7 +50,7 @@ def build_list_by_elastic_san_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -90,7 +90,7 @@ def build_create_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -141,7 +141,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -192,7 +192,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -240,7 +240,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -56,7 +56,7 @@ def build_list_by_volume_group_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -111,7 +111,7 @@ def build_create_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -175,7 +175,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -236,7 +236,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -55,7 +55,7 @@ def build_create_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -114,7 +114,7 @@ def build_update_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
accept = _headers.pop("Accept", "application/json")
@ -176,7 +176,7 @@ def build_delete_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -236,7 +236,7 @@ def build_get_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL
@ -287,7 +287,7 @@ def build_list_by_volume_group_request(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-05-01"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
accept = _headers.pop("Accept", "application/json")
# Construct URL

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -38,18 +36,26 @@ def main():
parameters={
"location": "France Central",
"properties": {
"availabilityZones": ["1"],
"baseSizeTiB": 5,
"extendedCapacitySizeTiB": 25,
"autoScaleProperties": {
"scaleUpProperties": {
"autoScalePolicyEnforcement": "None",
"capacityUnitScaleUpLimitTiB": 17,
"increaseCapacityUnitByTiB": 4,
"unusedSizeTiB": 24,
}
},
"availabilityZones": ["xoz"],
"baseSizeTiB": 1,
"extendedCapacitySizeTiB": 3,
"publicNetworkAccess": "Enabled",
"sku": {"name": "Premium_LRS", "tier": "Premium"},
},
"tags": {"key9316": "ihndtieqibtob"},
"tags": {"key9706": "haitqqakcntcpalkzqmjmcnifnhd"},
},
).result()
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Create_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -37,12 +35,12 @@ def main():
elastic_san_name="elasticsanname",
parameters={
"location": "France Central",
"properties": {"baseSizeTiB": 15, "extendedCapacitySizeTiB": 27, "sku": {"name": "Premium_LRS"}},
"properties": {"baseSizeTiB": 1, "extendedCapacitySizeTiB": 3, "sku": {"name": "Premium_LRS"}},
},
).result()
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Create_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Create_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Delete_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -36,6 +36,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Delete_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Delete_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Get_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -36,13 +34,25 @@ def main():
resource_group_name="resourcegroupname",
elastic_san_name="elasticsanname",
parameters={
"properties": {"baseSizeTiB": 13, "extendedCapacitySizeTiB": 29, "publicNetworkAccess": "Enabled"},
"tags": {"key1931": "yhjwkgmrrwrcoxblgwgzjqusch"},
"properties": {
"autoScaleProperties": {
"scaleUpProperties": {
"autoScalePolicyEnforcement": "None",
"capacityUnitScaleUpLimitTiB": 17,
"increaseCapacityUnitByTiB": 4,
"unusedSizeTiB": 24,
}
},
"baseSizeTiB": 21,
"extendedCapacitySizeTiB": 10,
"publicNetworkAccess": "Enabled",
},
"tags": {"key5945": "eufqmxresekerilkgvfzddolxzas"},
},
).result()
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/ElasticSans_Update_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Update_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Operations_List_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Operations_List_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Operations_List_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -51,6 +49,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -41,6 +39,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Skus_List_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -35,6 +35,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Skus_List_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Skus_List_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -57,6 +55,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Create_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Create_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Delete_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -37,6 +37,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Delete_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Delete_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Get_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -57,6 +55,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeGroups_Update_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Update_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -48,6 +46,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Create_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -48,6 +46,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Create_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Create_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Delete_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Delete_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Delete_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_Get_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -48,6 +46,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Create_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -42,6 +40,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Create_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Create_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Delete_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -38,6 +38,6 @@ def main():
).result()
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Delete_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Delete_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Get_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -39,6 +39,6 @@ def main():
print(item)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -6,8 +6,6 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from typing import Any, IO, Union
from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
@ -42,6 +40,6 @@ def main():
print(response)
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/examples/Volumes_Update_MaximumSet_Gen.json
# x-ms-original-file: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Update_MaximumSet_Gen.json
if __name__ == "__main__":
main()

Просмотреть файл

@ -22,7 +22,7 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
@recorded_by_proxy
def test_list_by_subscription(self, resource_group):
response = self.client.elastic_sans.list_by_subscription(
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself
@ -33,7 +33,7 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
def test_list_by_resource_group(self, resource_group):
response = self.client.elastic_sans.list_by_resource_group(
resource_group_name=resource_group.name,
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself
@ -51,6 +51,14 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
"baseSizeTiB": 0,
"extendedCapacitySizeTiB": 0,
"sku": {"name": "str", "tier": "str"},
"autoScaleProperties": {
"scaleUpProperties": {
"autoScalePolicyEnforcement": "str",
"capacityUnitScaleUpLimitTiB": 0,
"increaseCapacityUnitByTiB": 0,
"unusedSizeTiB": 0,
}
},
"availabilityZones": ["str"],
"privateEndpointConnections": [
{
@ -98,7 +106,7 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
"tags": {"str": "str"},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -111,10 +119,22 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
parameters={
"properties": {"baseSizeTiB": 0, "extendedCapacitySizeTiB": 0, "publicNetworkAccess": "str"},
"properties": {
"autoScaleProperties": {
"scaleUpProperties": {
"autoScalePolicyEnforcement": "str",
"capacityUnitScaleUpLimitTiB": 0,
"increaseCapacityUnitByTiB": 0,
"unusedSizeTiB": 0,
}
},
"baseSizeTiB": 0,
"extendedCapacitySizeTiB": 0,
"publicNetworkAccess": "str",
},
"tags": {"str": "str"},
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -126,7 +146,7 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
response = self.client.elastic_sans.begin_delete(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -138,7 +158,7 @@ class TestElasticSanMgmtElasticSansOperations(AzureMgmtRecordedTestCase):
response = self.client.elastic_sans.get(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -23,7 +23,7 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
@recorded_by_proxy_async
async def test_list_by_subscription(self, resource_group):
response = self.client.elastic_sans.list_by_subscription(
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself
@ -34,7 +34,7 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
async def test_list_by_resource_group(self, resource_group):
response = self.client.elastic_sans.list_by_resource_group(
resource_group_name=resource_group.name,
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself
@ -53,6 +53,14 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
"baseSizeTiB": 0,
"extendedCapacitySizeTiB": 0,
"sku": {"name": "str", "tier": "str"},
"autoScaleProperties": {
"scaleUpProperties": {
"autoScalePolicyEnforcement": "str",
"capacityUnitScaleUpLimitTiB": 0,
"increaseCapacityUnitByTiB": 0,
"unusedSizeTiB": 0,
}
},
"availabilityZones": ["str"],
"privateEndpointConnections": [
{
@ -100,7 +108,7 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
"tags": {"str": "str"},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -115,10 +123,22 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
parameters={
"properties": {"baseSizeTiB": 0, "extendedCapacitySizeTiB": 0, "publicNetworkAccess": "str"},
"properties": {
"autoScaleProperties": {
"scaleUpProperties": {
"autoScalePolicyEnforcement": "str",
"capacityUnitScaleUpLimitTiB": 0,
"increaseCapacityUnitByTiB": 0,
"unusedSizeTiB": 0,
}
},
"baseSizeTiB": 0,
"extendedCapacitySizeTiB": 0,
"publicNetworkAccess": "str",
},
"tags": {"str": "str"},
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -132,7 +152,7 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
await self.client.elastic_sans.begin_delete(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -145,7 +165,7 @@ class TestElasticSanMgmtElasticSansOperationsAsync(AzureMgmtRecordedTestCase):
response = await self.client.elastic_sans.get(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -22,7 +22,7 @@ class TestElasticSanMgmtOperations(AzureMgmtRecordedTestCase):
@recorded_by_proxy
def test_list(self, resource_group):
response = self.client.operations.list(
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -23,7 +23,7 @@ class TestElasticSanMgmtOperationsAsync(AzureMgmtRecordedTestCase):
@recorded_by_proxy_async
async def test_list(self, resource_group):
response = self.client.operations.list(
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -48,7 +48,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperations(AzureMgmtRecordedTe
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -61,7 +61,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperations(AzureMgmtRecordedTe
resource_group_name=resource_group.name,
elastic_san_name="str",
private_endpoint_connection_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself
@ -74,7 +74,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperations(AzureMgmtRecordedTe
resource_group_name=resource_group.name,
elastic_san_name="str",
private_endpoint_connection_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -86,7 +86,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperations(AzureMgmtRecordedTe
response = self.client.private_endpoint_connections.list(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -50,7 +50,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperationsAsync(AzureMgmtRecor
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -64,7 +64,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperationsAsync(AzureMgmtRecor
resource_group_name=resource_group.name,
elastic_san_name="str",
private_endpoint_connection_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself
@ -78,7 +78,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperationsAsync(AzureMgmtRecor
resource_group_name=resource_group.name,
elastic_san_name="str",
private_endpoint_connection_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -91,7 +91,7 @@ class TestElasticSanMgmtPrivateEndpointConnectionsOperationsAsync(AzureMgmtRecor
response = self.client.private_endpoint_connections.list(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -24,7 +24,7 @@ class TestElasticSanMgmtPrivateLinkResourcesOperations(AzureMgmtRecordedTestCase
response = self.client.private_link_resources.list_by_elastic_san(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -25,7 +25,7 @@ class TestElasticSanMgmtPrivateLinkResourcesOperationsAsync(AzureMgmtRecordedTes
response = await self.client.private_link_resources.list_by_elastic_san(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -22,7 +22,7 @@ class TestElasticSanMgmtSkusOperations(AzureMgmtRecordedTestCase):
@recorded_by_proxy
def test_list(self, resource_group):
response = self.client.skus.list(
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -23,7 +23,7 @@ class TestElasticSanMgmtSkusOperationsAsync(AzureMgmtRecordedTestCase):
@recorded_by_proxy_async
async def test_list(self, resource_group):
response = self.client.skus.list(
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -24,7 +24,7 @@ class TestElasticSanMgmtVolumeGroupsOperations(AzureMgmtRecordedTestCase):
response = self.client.volume_groups.list_by_elastic_san(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself
@ -99,7 +99,7 @@ class TestElasticSanMgmtVolumeGroupsOperations(AzureMgmtRecordedTestCase):
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -137,7 +137,7 @@ class TestElasticSanMgmtVolumeGroupsOperations(AzureMgmtRecordedTestCase):
"protocolType": "str",
},
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -150,7 +150,7 @@ class TestElasticSanMgmtVolumeGroupsOperations(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -163,7 +163,7 @@ class TestElasticSanMgmtVolumeGroupsOperations(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -25,7 +25,7 @@ class TestElasticSanMgmtVolumeGroupsOperationsAsync(AzureMgmtRecordedTestCase):
response = self.client.volume_groups.list_by_elastic_san(
resource_group_name=resource_group.name,
elastic_san_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself
@ -101,7 +101,7 @@ class TestElasticSanMgmtVolumeGroupsOperationsAsync(AzureMgmtRecordedTestCase):
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -141,7 +141,7 @@ class TestElasticSanMgmtVolumeGroupsOperationsAsync(AzureMgmtRecordedTestCase):
"protocolType": "str",
},
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -156,7 +156,7 @@ class TestElasticSanMgmtVolumeGroupsOperationsAsync(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -170,7 +170,7 @@ class TestElasticSanMgmtVolumeGroupsOperationsAsync(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -25,7 +25,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperations(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself
@ -58,7 +58,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperations(AzureMgmtRecordedTestCase):
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -72,7 +72,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperations(AzureMgmtRecordedTestCase):
elastic_san_name="str",
volume_group_name="str",
snapshot_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -86,7 +86,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperations(AzureMgmtRecordedTestCase):
elastic_san_name="str",
volume_group_name="str",
snapshot_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -26,7 +26,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperationsAsync(AzureMgmtRecordedTestCase
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself
@ -60,7 +60,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperationsAsync(AzureMgmtRecordedTestCase
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -76,7 +76,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperationsAsync(AzureMgmtRecordedTestCase
elastic_san_name="str",
volume_group_name="str",
snapshot_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -91,7 +91,7 @@ class TestElasticSanMgmtVolumeSnapshotsOperationsAsync(AzureMgmtRecordedTestCase
elastic_san_name="str",
volume_group_name="str",
snapshot_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself

Просмотреть файл

@ -53,7 +53,7 @@ class TestElasticSanMgmtVolumesOperations(AzureMgmtRecordedTestCase):
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -68,7 +68,7 @@ class TestElasticSanMgmtVolumesOperations(AzureMgmtRecordedTestCase):
volume_group_name="str",
volume_name="str",
parameters={"properties": {"managedBy": {"resourceId": "str"}, "sizeGiB": 0}},
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -82,7 +82,7 @@ class TestElasticSanMgmtVolumesOperations(AzureMgmtRecordedTestCase):
elastic_san_name="str",
volume_group_name="str",
volume_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
).result() # call '.result()' to poll until service return final result
# please add some check logic here by yourself
@ -96,7 +96,7 @@ class TestElasticSanMgmtVolumesOperations(AzureMgmtRecordedTestCase):
elastic_san_name="str",
volume_group_name="str",
volume_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself
@ -109,7 +109,7 @@ class TestElasticSanMgmtVolumesOperations(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -55,7 +55,7 @@ class TestElasticSanMgmtVolumesOperationsAsync(AzureMgmtRecordedTestCase):
},
"type": "str",
},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -72,7 +72,7 @@ class TestElasticSanMgmtVolumesOperationsAsync(AzureMgmtRecordedTestCase):
volume_group_name="str",
volume_name="str",
parameters={"properties": {"managedBy": {"resourceId": "str"}, "sizeGiB": 0}},
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -88,7 +88,7 @@ class TestElasticSanMgmtVolumesOperationsAsync(AzureMgmtRecordedTestCase):
elastic_san_name="str",
volume_group_name="str",
volume_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
).result() # call '.result()' to poll until service return final result
@ -103,7 +103,7 @@ class TestElasticSanMgmtVolumesOperationsAsync(AzureMgmtRecordedTestCase):
elastic_san_name="str",
volume_group_name="str",
volume_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
# please add some check logic here by yourself
@ -116,7 +116,7 @@ class TestElasticSanMgmtVolumesOperationsAsync(AzureMgmtRecordedTestCase):
resource_group_name=resource_group.name,
elastic_san_name="str",
volume_group_name="str",
api_version="2024-05-01",
api_version="2024-06-01-preview",
)
result = [r async for r in response]
# please add some check logic here by yourself

Просмотреть файл

@ -3,7 +3,7 @@ package_name = "azure-mgmt-elasticsan"
package_nspkg = "azure-mgmt-nspkg"
package_pprint_name = "Elasticsan Management"
package_doc_id = ""
is_stable = true
is_stable = false
is_arm = true
need_msrestazure = false
need_azuremgmtcore = true

Просмотреть файл

@ -49,7 +49,7 @@ setup(
url="https://github.com/Azure/azure-sdk-for-python",
keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product
classifiers=[
"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",