Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
368bdf4
Initial-Commit-multimodal
w-javed Oct 3, 2024
920c46c
Fix
w-javed Oct 4, 2024
17c7dac
Sync eng/common directory with azure-sdk-tools for PR 9092 (#37713)
azure-sdk Oct 3, 2024
5d8ca40
Removing private parameter from __call__ of AdversarialSimulator (#37…
nagkumar91 Oct 3, 2024
6e5bd48
Enabling option to disable response payload on writes (#37365)
FabianMeiswinkel Oct 3, 2024
10f9ac7
deprecate azure_germany (#37654)
xiangyan99 Oct 4, 2024
db68d9d
Add default impl to handle token challenges (#37652)
xiangyan99 Oct 4, 2024
793c3fc
Make Credentials Required for Content Safety and Protected Materials …
needuv Oct 4, 2024
4d4e5bc
addFeedRangesAndUseFeedRangeInQueryChangeFeed (#37687)
xinlian12 Oct 4, 2024
22f081c
Update release date for core (#37723)
xiangyan99 Oct 4, 2024
71e44d4
Improvements to mindependency dev_requirement conflict resolution (#3…
scbedd Oct 4, 2024
ee45fa1
Need to add environment to subscription configuration (#37726)
azure-sdk Oct 4, 2024
2e2366b
Enable samples for formrecognizer (#37676)
xiangyan99 Oct 4, 2024
0faf959
Merge branch 'main' into multi-moodal-sdk-support
w-javed Oct 5, 2024
088ed3b
multi-modal-changes
w-javed Oct 14, 2024
3ff2c2a
Merge-conflicts
w-javed Oct 14, 2024
5ff2668
fixes
w-javed Oct 14, 2024
5c270cd
Fix with latest
w-javed Oct 16, 2024
c473df7
merge-conflicts
w-javed Oct 16, 2024
99d0cf0
dict-fix
w-javed Oct 16, 2024
d570130
adding-protected-material
w-javed Oct 17, 2024
4bc8a34
Merge branch 'main' into multi-moodal-sdk-support
w-javed Oct 17, 2024
6ad0164
adding-protected-material
w-javed Oct 17, 2024
7655b9e
adding-protected-material
w-javed Oct 17, 2024
3c4b816
bumping-version
w-javed Oct 17, 2024
255add0
adding assets
w-javed Oct 17, 2024
49a8ad8
Added image in simulator
w-javed Oct 17, 2024
f64d4d3
Merge branch 'main' into multi-moodal-sdk-support
w-javed Oct 17, 2024
acad134
Added image in simulator
w-javed Oct 17, 2024
60eae73
bumping-version
w-javed Oct 18, 2024
e14c6d7
push-asset
w-javed Oct 18, 2024
b12ef57
merge-conflict-fix
w-javed Oct 18, 2024
e070237
assets
w-javed Oct 18, 2024
66548f5
pushing asset
w-javed Oct 18, 2024
f05726c
merge-conflicts
w-javed Oct 19, 2024
1fe065b
remove-containt-on-key
w-javed Oct 19, 2024
82fd655
asset
w-javed Oct 19, 2024
6dddb96
asset2
w-javed Oct 19, 2024
c5fa8cf
asset3
w-javed Oct 19, 2024
74b3582
asset4
w-javed Oct 19, 2024
2e11e9d
adding conftest
w-javed Oct 20, 2024
651fc00
conftest
w-javed Oct 20, 2024
3ed59e8
cred fix
w-javed Oct 20, 2024
4031d46
asset-new
w-javed Oct 20, 2024
b5fc1c5
fix
w-javed Oct 20, 2024
24a52aa
asset
w-javed Oct 20, 2024
73e62c6
adding multi-modal-without-tests
w-javed Oct 20, 2024
c89b341
asset-from-main
w-javed Oct 20, 2024
b63910d
asset-from-main
w-javed Oct 20, 2024
ca4c3e6
fix
w-javed Oct 20, 2024
8b28458
adding one test only
w-javed Oct 20, 2024
1eb9304
new asset
w-javed Oct 20, 2024
dd53e67
tests,fix: Sanitizer should replace with enum value not enum name
kdestin Oct 21, 2024
9fcd7f8
test-asset
w-javed Oct 21, 2024
d64704d
[AutoRelease] t2-containerservicefleet-2024-09-24-42036(can only be m…
azure-sdk Oct 21, 2024
78b11c9
[AutoRelease] t2-dns-2024-09-25-81486(can only be merged by SDK owner…
azure-sdk Oct 21, 2024
6962ca2
[AutoRelease] t2-appconfiguration-2024-10-09-68726(can only be merged…
azure-sdk Oct 21, 2024
aa2bb08
code and test (#37855)
azure-sdk Oct 21, 2024
52f3784
[AutoRelease] t2-servicefabricmanagedclusters-2024-10-08-57405(can on…
azure-sdk Oct 21, 2024
09724d8
[AutoRelease] t2-containerinstance-2024-10-21-66631(can only be merge…
azure-sdk Oct 21, 2024
9f5f7f9
[sdk generation pipeline] bump typespec-python 0.36.1 (#38008)
msyyc Oct 21, 2024
45e049c
[AutoRelease] t2-dnsresolver-2024-10-12-16936(can only be merged by S…
azure-sdk Oct 21, 2024
617f8aa
Merge branch 'main' into multi-moodal-sdk-support-one-test
w-javed Oct 21, 2024
706eea3
new asset after fix in conftest
w-javed Oct 21, 2024
bd08adf
asset
w-javed Oct 21, 2024
3c71da9
chore: Update assets.json
kdestin Oct 21, 2024
6d48318
Move perf pipelines to TME subscription (#38020)
azure-sdk Oct 21, 2024
14d4675
fix
w-javed Oct 21, 2024
d4b8272
after-comments
w-javed Oct 21, 2024
33e3075
fix
w-javed Oct 21, 2024
237443b
fix
w-javed Oct 21, 2024
525379e
asset
w-javed Oct 22, 2024
9603f21
Merge branch 'main' into multi-moodal-sdk-support-one-test
w-javed Oct 22, 2024
af143e8
new asset with 1 test recording only
w-javed Oct 22, 2024
511e4b5
chore: Update assets.json
kdestin Oct 22, 2024
ac94148
conftest fix
w-javed Oct 23, 2024
4f445f6
Merge branch 'main' into multi-moodal-sdk-support-one-test
w-javed Oct 23, 2024
dc7cb7d
assets change
w-javed Oct 23, 2024
48bec25
new test
w-javed Oct 23, 2024
307b4e4
few changes
w-javed Oct 23, 2024
20093f8
removing proxy start
w-javed Oct 23, 2024
e819a80
added all tests
w-javed Oct 24, 2024
6f1595e
merge with asset
w-javed Oct 24, 2024
60a823f
asset
w-javed Oct 24, 2024
b6334eb
fixes
w-javed Oct 25, 2024
9092831
Merge branch 'main' into multi-moodal-sdk-support-one-test
w-javed Oct 25, 2024
93ba2f0
fixes with asset
w-javed Oct 25, 2024
1be5ef1
asset-after-tax
w-javed Oct 25, 2024
78f8ec2
enabling 2 more tests
w-javed Oct 25, 2024
84d4eac
unit test fix
w-javed Oct 25, 2024
7a9eb2b
asset
w-javed Oct 25, 2024
30eba68
new asset
w-javed Oct 25, 2024
ca7cdfe
fixes per comments
w-javed Oct 25, 2024
9afeb5f
changes by black
w-javed Oct 25, 2024
dd67a01
merge fix
w-javed Oct 25, 2024
c5fb4f1
merge fix
w-javed Oct 25, 2024
1701076
pylint fix
w-javed Oct 25, 2024
9397aaf
merge conflict
w-javed Oct 25, 2024
a1d9be9
pylint fix
w-javed Oct 26, 2024
47ff5fd
ground test fix
w-javed Oct 26, 2024
a7689a2
fixes - pylint, black, mypy
w-javed Oct 26, 2024
9c09880
more tests
w-javed Oct 26, 2024
ebd21d3
docstring fixes
w-javed Oct 26, 2024
c9db879
merge conflict
w-javed Oct 26, 2024
9fdef18
doc string fix
w-javed Oct 26, 2024
058c37a
asset
w-javed Oct 26, 2024
1e15809
few updates after Nagkumar review
w-javed Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
code and test (#37855)
Co-authored-by: azure-sdk <PythonSdkPipelines>
  • Loading branch information
azure-sdk authored and w-javed committed Oct 21, 2024
commit aa2bb08860447e77f42e1b30caa993e2e52e91a1
10 changes: 10 additions & 0 deletions sdk/elasticsan/azure-mgmt-elasticsan/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions sdk/elasticsan/azure-mgmt-elasticsan/_meta.json
Original file line number Diff line number Diff line change
@@ -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/[email protected]"
],
"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/[email protected] --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/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/elasticsan/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -35,6 +36,7 @@
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
Expand All @@ -61,6 +63,7 @@

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
Expand All @@ -80,6 +83,7 @@
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"AutoScaleProperties",
"ElasticSan",
"ElasticSanList",
"ElasticSanProperties",
Expand Down Expand Up @@ -109,6 +113,7 @@
"ProxyResource",
"Resource",
"SKUCapability",
"ScaleUpProperties",
"Sku",
"SkuInformation",
"SkuInformationList",
Expand All @@ -134,6 +139,7 @@
"VolumeUpdateProperties",
"Action",
"ActionType",
"AutoScalePolicyEnforcement",
"CreatedByType",
"EncryptionType",
"IdentityType",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@
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.

Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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__(
Expand All @@ -280,6 +303,7 @@ def __init__(
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:
"""
Expand All @@ -296,6 +320,8 @@ def __init__(
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
Expand All @@ -310,6 +336,7 @@ def __init__(
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):
Expand Down Expand Up @@ -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__(
Expand All @@ -369,6 +399,7 @@ def __init__(
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:
"""
Expand All @@ -380,11 +411,14 @@ def __init__(
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):
Expand Down Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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")

Expand Down Expand Up @@ -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")

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading