diff --git a/src/vmware/HISTORY.md b/src/vmware/HISTORY.md index f4050d34f3a..f4a562d9e21 100644 --- a/src/vmware/HISTORY.md +++ b/src/vmware/HISTORY.md @@ -1,5 +1,19 @@ # Release History +## 8.0.0 (2025-07) + +- Bump minimum required Az CLI version to `2.70.0` +- Upgrade default API version from `2023-09-01` to `2024-09-01` +- Add `--management-network` and `--uplink-network` to `az vmware addon hcx create` and `az vmware addon hcx update` +- Add `--zones` to `az vmware private-cloud create` +- Add `az vmware script-execution get-execution-log` command +- Add `az vmware cluster host` command group +- Add `az vmware datastores pure-storage-volume` command group +- Add `az vmware provisioned-network` command group +- Add `az vmware pure-storage-policy` command group +- Add `az vmware skus` command group +- [BREAKING CHANGE] Remove `--nsxt-password` and `--vcenter-password` as parameters for `az vmware private-cloud create` and `az vmware private-cloud update` + ## 7.2.0 (2025-02) - Bump minimum required Az CLI version to `2.67.0` diff --git a/src/vmware/azext_vmware/_help.py b/src/vmware/azext_vmware/_help.py index 3519c8c5a69..9cdf5cd5548 100644 --- a/src/vmware/azext_vmware/_help.py +++ b/src/vmware/azext_vmware/_help.py @@ -311,6 +311,19 @@ text: az vmware datastore elastic-san-volume create --name ElasticSANDatastore --resource-group MyResourceGroup --cluster Cluster-1 --private-cloud MyPrivateCloud --elastic-san-volume elasticsan """ +helps['vmware datastore pure-storage-volume'] = """ + type: group + short-summary: Manage Pure Storage volume resource. +""" + +helps['vmware datastore pure-storage-volume create'] = """ + type: command + short-summary: Create a Pure Storage volume in a private cloud cluster using PureStorage.Block provider. + examples: + - name: Create a new PureStorage.Block provided Pure Storage volume based datastore. + text: az vmware datastore pure-storage-volume create --name PureStorageDatastore --resource-group MyResourceGroup --cluster Cluster-1 --private-cloud MyPrivateCloud --storage-pool-id "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/PureStorage.Block/storagePools/storagePool1" --size-gb 64 +""" + helps['vmware datastore show'] = """ type: command short-summary: Show details of a datastore in a private cloud cluster. diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_create.py index a769b5a6e61..794f02a10fb 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_create.py @@ -16,9 +16,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2024-09-01"], ] } @@ -90,11 +90,19 @@ def _build_arguments_schema(cls, *args, **kwargs): ) hcx = cls._args_schema.hcx + hcx.management_network = AAZStrArg( + options=["management-network"], + help="HCX management network.", + ) hcx.offer = AAZStrArg( options=["offer"], help="The HCX offer, example VMware MaaS Cloud Provider (Enterprise)", required=True, ) + hcx.uplink_network = AAZStrArg( + options=["uplink-network"], + help="HCX uplink network", + ) srm = cls._args_schema.srm srm.license_key = AAZStrArg( @@ -195,7 +203,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -220,7 +228,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -239,7 +247,9 @@ def content(self): disc_hcx = _builder.get(".properties{addonType:HCX}") if disc_hcx is not None: + disc_hcx.set_prop("managementNetwork", AAZStrType, ".hcx.management_network") disc_hcx.set_prop("offer", AAZStrType, ".hcx.offer", typ_kwargs={"flags": {"required": True}}) + disc_hcx.set_prop("uplinkNetwork", AAZStrType, ".hcx.uplink_network") disc_srm = _builder.get(".properties{addonType:SRM}") if disc_srm is not None: @@ -275,7 +285,9 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, @@ -300,9 +312,15 @@ def _build_schema_on_200_201(cls): ) disc_hcx = cls._schema_on_200_201.properties.discriminate_by("addon_type", "HCX") + disc_hcx.management_network = AAZStrType( + serialized_name="managementNetwork", + ) disc_hcx.offer = AAZStrType( flags={"required": True}, ) + disc_hcx.uplink_network = AAZStrType( + serialized_name="uplinkNetwork", + ) disc_srm = cls._schema_on_200_201.properties.discriminate_by("addon_type", "SRM") disc_srm.license_key = AAZStrType( diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_delete.py index 996ed910543..18091acc8c5 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_delete.py @@ -16,9 +16,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2024-09-01"], ] } @@ -152,7 +152,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_list.py index 7adbdfce84c..a7e2873a1bc 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons", "2024-09-01"], ] } @@ -121,7 +121,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -171,7 +171,9 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, @@ -196,9 +198,15 @@ def _build_schema_on_200(cls): ) disc_hcx = cls._schema_on_200.value.Element.properties.discriminate_by("addon_type", "HCX") + disc_hcx.management_network = AAZStrType( + serialized_name="managementNetwork", + ) disc_hcx.offer = AAZStrType( flags={"required": True}, ) + disc_hcx.uplink_network = AAZStrType( + serialized_name="uplinkNetwork", + ) disc_srm = cls._schema_on_200.value.Element.properties.discriminate_by("addon_type", "SRM") disc_srm.license_key = AAZStrType( diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_show.py index f166b8dfbc8..d18061d1b4d 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_show.py @@ -16,9 +16,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2024-09-01"], ] } @@ -130,7 +130,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -169,7 +169,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, @@ -194,9 +196,15 @@ def _build_schema_on_200(cls): ) disc_hcx = cls._schema_on_200.properties.discriminate_by("addon_type", "HCX") + disc_hcx.management_network = AAZStrType( + serialized_name="managementNetwork", + ) disc_hcx.offer = AAZStrType( flags={"required": True}, ) + disc_hcx.uplink_network = AAZStrType( + serialized_name="uplinkNetwork", + ) disc_srm = cls._schema_on_200.properties.discriminate_by("addon_type", "SRM") disc_srm.license_key = AAZStrType( diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_update.py index 1e8d634eecc..8eb9aee066c 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/addon/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/addon/_update.py @@ -16,9 +16,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/addons/{}", "2024-09-01"], ] } @@ -95,10 +95,20 @@ def _build_arguments_schema(cls, *args, **kwargs): ) hcx = cls._args_schema.hcx + hcx.management_network = AAZStrArg( + options=["management-network"], + help="HCX management network.", + nullable=True, + ) hcx.offer = AAZStrArg( options=["offer"], help="The HCX offer, example VMware MaaS Cloud Provider (Enterprise)", ) + hcx.uplink_network = AAZStrArg( + options=["uplink-network"], + help="HCX uplink network", + nullable=True, + ) srm = cls._args_schema.srm srm.license_key = AAZStrArg( @@ -196,7 +206,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -299,7 +309,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -357,7 +367,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -376,7 +386,9 @@ def _update_instance(self, instance): disc_hcx = _builder.get(".properties{addonType:HCX}") if disc_hcx is not None: + disc_hcx.set_prop("managementNetwork", AAZStrType, ".hcx.management_network") disc_hcx.set_prop("offer", AAZStrType, ".hcx.offer", typ_kwargs={"flags": {"required": True}}) + disc_hcx.set_prop("uplinkNetwork", AAZStrType, ".hcx.uplink_network") disc_srm = _builder.get(".properties{addonType:SRM}") if disc_srm is not None: @@ -421,7 +433,9 @@ def _build_schema_addon_read(cls, _schema): addon_read.name = AAZStrType( flags={"read_only": True}, ) - addon_read.properties = AAZObjectType() + addon_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) addon_read.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, @@ -446,9 +460,15 @@ def _build_schema_addon_read(cls, _schema): ) disc_hcx = _schema_addon_read.properties.discriminate_by("addon_type", "HCX") + disc_hcx.management_network = AAZStrType( + serialized_name="managementNetwork", + ) disc_hcx.offer = AAZStrType( flags={"required": True}, ) + disc_hcx.uplink_network = AAZStrType( + serialized_name="uplinkNetwork", + ) disc_srm = _schema_addon_read.properties.discriminate_by("addon_type", "SRM") disc_srm.license_key = AAZStrType( diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_create.py index d5d863cdb52..625181c960d 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_create.py @@ -19,9 +19,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2024-09-01"], ] } @@ -157,7 +157,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_delete.py index 9c1da9b00c8..c330937d625 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_delete.py @@ -20,9 +20,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2024-09-01"], ] } @@ -156,7 +156,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_list.py index 8372e43c896..1aef435b7a2 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations", "2024-09-01"], ] } @@ -121,7 +121,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_show.py index 6b5d9caad5f..a10315ce966 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2024-09-01"], ] } @@ -133,7 +133,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_wait.py index ff5f6cb382c..c6f02361a57 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/authorization/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/authorizations/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_create.py index 78e3dc8e792..339c09b8bd3 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_create.py @@ -18,13 +18,13 @@ class Create(AAZCommand): """Create a cloud link in a private cloud :example: Create a cloud link. - az vmware cloud-link create --resource-group group1 --private-cloud cloud1 --name cloudLink1 --linked-cloud "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2 + az vmware cloud-link create --resource-group group1 --private-cloud cloud1 --cloud-link-name cloudLink1 --linked-cloud /subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2024-09-01"], ] } @@ -160,7 +160,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_delete.py index c080b52f8fd..9a697918ac7 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a cloud link in a private cloud :example: Delete a cloud link. - az vmware cloud-link delete --resource-group group1 --private-cloud cloud1 --name cloudLink1 + az vmware cloud-link delete --resource-group group1 --private-cloud cloud1 --cloud-link-name cloudLink1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_list.py index 2057a0f2c08..dcd737d3559 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_show.py index cc5262c6f75..684621736d7 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_show.py @@ -18,13 +18,13 @@ class Show(AAZCommand): """Show details of a cloud link in a private cloud. :example: Show a cloud link. - az vmware cloud-link show --resource-group group1 --private-cloud cloud1 --name cloudLink1 + az vmware cloud-link show --resource-group group1 --private-cloud cloud1 --cloud-link-name cloudLink1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_update.py index 9cab4fa459b..fe65a62af6d 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_update.py @@ -19,9 +19,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -262,7 +262,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_wait.py index 0b8cc551bad..1c3ca6ffe64 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cloud_link/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/cloudlinks/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_create.py index ee652ea4b45..4b33f38c4b9 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_create.py @@ -21,9 +21,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2024-09-01"], ] } @@ -182,7 +182,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_delete.py index 71e197faeb8..658f82e02a5 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_delete.py @@ -22,9 +22,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2024-09-01"], ] } @@ -158,7 +158,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list.py index fa24c035397..92041abebdc 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list.py @@ -21,9 +21,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters", "2024-09-01"], ] } @@ -123,7 +123,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list_zones.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list_zones.py index 5548db55bc1..0cf608c604e 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list_zones.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_list_zones.py @@ -21,9 +21,9 @@ class ListZones(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/listzones", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/listzones", "2024-09-01"], ] } @@ -135,7 +135,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_show.py index 0849d50b018..7b1e5c92467 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_show.py @@ -21,9 +21,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2024-09-01"], ] } @@ -135,7 +135,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_update.py index 4dba1708253..9bc1895e4d7 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_update.py @@ -21,9 +21,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2024-09-01"], ] } @@ -180,7 +180,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -283,7 +283,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_wait.py index 96b989e076c..c9a23910c4c 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/__cmd_group.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/__cmd_group.py new file mode 100644 index 00000000000..4ad3170ca8e --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "vmware cluster host", +) +class __CMDGroup(AAZCommandGroup): + """Commands to list and show host resources. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/__init__.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/__init__.py new file mode 100644 index 00000000000..2df85698253 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/__init__.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * +from ._show import * diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/_list.py new file mode 100644 index 00000000000..dffeddf18d0 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/_list.py @@ -0,0 +1,262 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "vmware cluster host list", +) +class List(AAZCommand): + """List hosts in a cluster. + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/hosts", "2024-09-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["--cluster-name"], + help="Name of the cluster", + required=True, + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HostsList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class HostsList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "clusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.sku = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + _element.zones = AAZListType() + + properties = cls._schema_on_200.value.Element.properties + properties.display_name = AAZStrType( + serialized_name="displayName", + ) + properties.fault_domain = AAZStrType( + serialized_name="faultDomain", + flags={"read_only": True}, + ) + properties.fqdn = AAZStrType( + flags={"read_only": True}, + ) + properties.kind = AAZStrType( + flags={"required": True}, + ) + properties.maintenance = AAZStrType() + properties.mo_ref_id = AAZStrType( + serialized_name="moRefId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + sku = cls._schema_on_200.value.Element.sku + sku.capacity = AAZIntType() + sku.family = AAZStrType() + sku.name = AAZStrType( + flags={"required": True}, + ) + sku.size = AAZStrType() + sku.tier = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + zones = cls._schema_on_200.value.Element.zones + zones.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/_show.py new file mode 100644 index 00000000000..528912b8d5f --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/cluster/host/_show.py @@ -0,0 +1,264 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "vmware cluster host show", +) +class Show(AAZCommand): + """Get a host by name in a cluster. + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/hosts/{}", "2024-09-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["--cluster-name"], + help="Name of the cluster", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.host_id = AAZStrArg( + options=["-n", "--name", "--host-id"], + help="The host identifier.", + required=True, + id_part="child_name_2", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HostsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class HostsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "clusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "hostId", self.ctx.args.host_id, + required=True, + ), + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.sku = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.zones = AAZListType() + + properties = cls._schema_on_200.properties + properties.display_name = AAZStrType( + serialized_name="displayName", + ) + properties.fault_domain = AAZStrType( + serialized_name="faultDomain", + flags={"read_only": True}, + ) + properties.fqdn = AAZStrType( + flags={"read_only": True}, + ) + properties.kind = AAZStrType( + flags={"required": True}, + ) + properties.maintenance = AAZStrType() + properties.mo_ref_id = AAZStrType( + serialized_name="moRefId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + sku = cls._schema_on_200.sku + sku.capacity = AAZIntType() + sku.family = AAZStrType() + sku.name = AAZStrType( + flags={"required": True}, + ) + sku.size = AAZStrType() + sku.tier = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + zones = cls._schema_on_200.zones + zones.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_create.py index d6ea970cb28..0ff3ec42009 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_create.py @@ -16,9 +16,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2024-09-01"], ] } @@ -105,6 +105,20 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="NetAppVolume", help="Azure resource ID of the NetApp volume", ) + + # define Arg Group "PureStorageVolume" + + _args_schema = cls._args_schema + _args_schema.size_gb = AAZIntArg( + options=["--size-gb"], + arg_group="PureStorageVolume", + help="Volume size to be used to create a Virtual Volumes (vVols) datastore", + ) + _args_schema.storage_pool_id = AAZResourceIdArg( + options=["--storage-pool-id"], + arg_group="PureStorageVolume", + help="Azure resource ID of the Pure Storage Pool", + ) return cls._args_schema def _execute_operations(self): @@ -196,7 +210,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -228,6 +242,7 @@ def content(self): properties.set_prop("diskPoolVolume", AAZObjectType) properties.set_prop("elasticSanVolume", AAZObjectType) properties.set_prop("netAppVolume", AAZObjectType) + properties.set_prop("pureStorageVolume", AAZObjectType) disk_pool_volume = _builder.get(".properties.diskPoolVolume") if disk_pool_volume is not None: @@ -243,6 +258,11 @@ def content(self): if net_app_volume is not None: net_app_volume.set_prop("id", AAZStrType, ".net_app_volume", typ_kwargs={"flags": {"required": True}}) + pure_storage_volume = _builder.get(".properties.pureStorageVolume") + if pure_storage_volume is not None: + pure_storage_volume.set_prop("sizeGb", AAZIntType, ".size_gb", typ_kwargs={"flags": {"required": True}}) + pure_storage_volume.set_prop("storagePoolId", AAZStrType, ".storage_pool_id", typ_kwargs={"flags": {"required": True}}) + return self.serialize_content(_content_value) def on_200_201(self, session): @@ -294,6 +314,9 @@ def _build_schema_on_200_201(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.pure_storage_volume = AAZObjectType( + serialized_name="pureStorageVolume", + ) properties.status = AAZStrType( flags={"read_only": True}, ) @@ -325,6 +348,16 @@ def _build_schema_on_200_201(cls): flags={"required": True}, ) + pure_storage_volume = cls._schema_on_200_201.properties.pure_storage_volume + pure_storage_volume.size_gb = AAZIntType( + serialized_name="sizeGb", + flags={"required": True}, + ) + pure_storage_volume.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + system_data = cls._schema_on_200_201.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_delete.py index 9b7a4cb1120..98ca99f25ca 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_delete.py @@ -20,9 +20,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2024-09-01"], ] } @@ -169,7 +169,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_list.py index 37880993c8f..0235b5890ac 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores", "2024-09-01"], ] } @@ -133,7 +133,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -208,6 +208,9 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.pure_storage_volume = AAZObjectType( + serialized_name="pureStorageVolume", + ) properties.status = AAZStrType( flags={"read_only": True}, ) @@ -239,6 +242,16 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + pure_storage_volume = cls._schema_on_200.value.Element.properties.pure_storage_volume + pure_storage_volume.size_gb = AAZIntType( + serialized_name="sizeGb", + flags={"required": True}, + ) + pure_storage_volume.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_show.py index 6d31116dbc1..bfcb33649a9 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2024-09-01"], ] } @@ -146,7 +146,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -210,6 +210,9 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.pure_storage_volume = AAZObjectType( + serialized_name="pureStorageVolume", + ) properties.status = AAZStrType( flags={"read_only": True}, ) @@ -241,6 +244,16 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + pure_storage_volume = cls._schema_on_200.properties.pure_storage_volume + pure_storage_volume.size_gb = AAZIntType( + serialized_name="sizeGb", + flags={"required": True}, + ) + pure_storage_volume.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_wait.py index 1f732b3434a..acf4fa62d6b 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/datastore/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/datastores/{}", "2024-09-01"], ] } @@ -145,7 +145,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -209,6 +209,9 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.pure_storage_volume = AAZObjectType( + serialized_name="pureStorageVolume", + ) properties.status = AAZStrType( flags={"read_only": True}, ) @@ -240,6 +243,16 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + pure_storage_volume = cls._schema_on_200.properties.pure_storage_volume + pure_storage_volume.size_gb = AAZIntType( + serialized_name="sizeGb", + flags={"required": True}, + ) + pure_storage_volume.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_create.py index 396593c29be..a8ce8b2b135 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_create.py @@ -19,9 +19,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2024-09-01"], ] } @@ -167,7 +167,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_delete.py index 09a385ba3e1..3971e151118 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_delete.py @@ -20,9 +20,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2024-09-01"], ] } @@ -156,7 +156,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_list.py index 7232a52601a..9185a2662b3 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections", "2024-09-01"], ] } @@ -121,7 +121,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_show.py index f7a9a8de454..1227e82a19c 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2024-09-01"], ] } @@ -133,7 +133,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_wait.py index 77a0d09b447..385eb96cd66 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/global_reach_connection/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/globalreachconnections/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_create.py index 1ce80d42742..3f2871ee364 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_create.py @@ -19,9 +19,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites/{}", "2024-09-01"], ] } @@ -131,7 +131,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_delete.py index d0188fc25a9..e04794fd52e 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_delete.py @@ -20,9 +20,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_list.py index f5b4c39703e..f21ac140fb2 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites", "2024-09-01"], ] } @@ -121,7 +121,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_show.py index 23a8aa2dec4..54fda96f047 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/hcx_enterprise_site/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/hcxenterprisesites/{}", "2024-09-01"], ] } @@ -133,7 +133,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_create.py index b8961dc1f2e..22202da12a3 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_create.py @@ -19,9 +19,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2024-09-01"], ] } @@ -145,7 +145,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_delete.py index f14d20991e2..dfa4f019035 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_delete.py @@ -20,9 +20,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2024-09-01"], ] } @@ -143,7 +143,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_list.py index 7d6f5607e1c..1f1bf9100e0 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths", "2024-09-01"], ] } @@ -121,7 +121,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_show.py index 4f679146f2e..403a55ea614 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2024-09-01"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_wait.py index f62b2702184..383dfb28028 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/iscsi_path/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/iscsipaths/default", "2024-09-01"], ] } @@ -119,7 +119,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_quota_availability.py b/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_quota_availability.py index 2ef9a4cfb45..b6f907399dd 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_quota_availability.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_quota_availability.py @@ -19,9 +19,9 @@ class CheckQuotaAvailability(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/locations/{}/checkquotaavailability", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/locations/{}/checkquotaavailability", "2024-09-01"], ] } @@ -108,7 +108,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_trial_availability.py b/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_trial_availability.py index 41065e09ac3..69a9bf7f3ab 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_trial_availability.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/location/_check_trial_availability.py @@ -19,9 +19,9 @@ class CheckTrialAvailability(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/locations/{}/checktrialavailability", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/locations/{}/checktrialavailability", "2024-09-01"], ] } @@ -117,7 +117,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_create.py index 10187515e42..a92a39d00b9 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_create.py @@ -16,9 +16,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2024-09-01"], ] } @@ -157,7 +157,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class PlacementPoliciesCreateOrUpdate(AAZHttpOperation): @@ -232,7 +232,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -257,7 +257,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -319,7 +319,9 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_delete.py index cba260a518e..1ff753bd5dd 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_delete.py @@ -16,9 +16,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2024-09-01"], ] } @@ -165,7 +165,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_list.py index 4857ebcf272..3cefeb0891a 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies", "2024-09-01"], ] } @@ -80,7 +80,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -186,7 +186,9 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_show.py index a3d3499dae5..7f9181ff645 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2024-09-01"], ] } @@ -90,7 +90,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class PlacementPoliciesGet(AAZHttpOperation): @@ -149,7 +149,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -188,7 +188,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_update.py index cb1828d8b50..0c4baca9173 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/placement_policy/_update.py @@ -16,9 +16,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/placementpolicies/{}", "2024-09-01"], ] } @@ -170,7 +170,7 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class PlacementPoliciesGet(AAZHttpOperation): @@ -229,7 +229,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -336,7 +336,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -394,7 +394,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -463,7 +463,9 @@ def _build_schema_placement_policy_read(cls, _schema): placement_policy_read.name = AAZStrType( flags={"read_only": True}, ) - placement_policy_read.properties = AAZObjectType() + placement_policy_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) placement_policy_read.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_create.py index 17abd2a8e52..076152046a5 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_create.py @@ -20,9 +20,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2024-09-01"], ] } @@ -105,6 +105,11 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="PrivateCloud", help="Resource tags", ) + _args_schema.zones = AAZListArg( + options=["--zones"], + arg_group="PrivateCloud", + help="The availability zones.", + ) identity = cls._args_schema.identity identity.type = AAZStrArg( @@ -117,9 +122,18 @@ def _build_arguments_schema(cls, *args, **kwargs): tags = cls._args_schema.tags tags.Element = AAZStrArg() + zones = cls._args_schema.zones + zones.Element = AAZStrArg() + # define Arg Group "Properties" _args_schema = cls._args_schema + _args_schema.dns_zone_type = AAZStrArg( + options=["--dns-zone-type"], + arg_group="Properties", + help="The type of DNS zone to use.", + enum={"Private": "Private", "Public": "Public"}, + ) _args_schema.extended_network_blocks = AAZListArg( options=["--ext-nw-blocks", "--extended-network-blocks"], arg_group="Properties", @@ -137,24 +151,6 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22", ) - _args_schema.nsxt_password = AAZPasswordArg( - options=["--nsxt-password"], - arg_group="Properties", - help="Optionally, set the NSX-T Manager password when the private cloud is created", - blank=AAZPromptPasswordInput( - msg="NSX-T Manager Password:", - confirm=True, - ), - ) - _args_schema.vcenter_password = AAZPasswordArg( - options=["--vcenter-password"], - arg_group="Properties", - help="Optionally, set the vCenter admin password when the private cloud is created", - blank=AAZPromptPasswordInput( - msg="vCenter Admin Password:", - confirm=True, - ), - ) _args_schema.virtual_network_id = AAZResourceIdArg( options=["--virtual-network-id"], arg_group="Properties", @@ -256,7 +252,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -286,6 +282,7 @@ def content(self): _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) _builder.set_prop("sku", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) _builder.set_prop("tags", AAZDictType, ".tags") + _builder.set_prop("zones", AAZListType, ".zones") identity = _builder.get(".identity") if identity is not None: @@ -294,12 +291,11 @@ def content(self): properties = _builder.get(".properties") if properties is not None: properties.set_prop("availability", AAZObjectType) + properties.set_prop("dnsZoneType", AAZStrType, ".dns_zone_type") properties.set_prop("extendedNetworkBlocks", AAZListType, ".extended_network_blocks") properties.set_prop("internet", AAZStrType, ".internet") properties.set_prop("managementCluster", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) properties.set_prop("networkBlock", AAZStrType, ".network_block", typ_kwargs={"flags": {"required": True}}) - properties.set_prop("nsxtPassword", AAZStrType, ".nsxt_password", typ_kwargs={"flags": {"secret": True}}) - properties.set_prop("vcenterPassword", AAZStrType, ".vcenter_password", typ_kwargs={"flags": {"secret": True}}) properties.set_prop("virtualNetworkId", AAZStrType, ".virtual_network_id") availability = _builder.get(".properties.availability") @@ -324,6 +320,10 @@ def content(self): if tags is not None: tags.set_elements(AAZStrType, ".") + zones = _builder.get(".zones") + if zones is not None: + zones.set_elements(AAZStrType, ".") + return self.serialize_content(_content_value) def on_200_201(self, session): @@ -368,6 +368,7 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) + _schema_on_200_201.zones = AAZListType() identity = cls._schema_on_200_201.identity identity.principal_id = AAZStrType( @@ -600,6 +601,9 @@ def _build_schema_on_200_201(cls): tags = cls._schema_on_200_201.tags tags.Element = AAZStrType() + zones = cls._schema_on_200_201.zones + zones.Element = AAZStrType() + return cls._schema_on_200_201 diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_delete.py index bc293e0e4cf..fc59b1b83eb 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_delete.py @@ -20,9 +20,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2024-09-01"], ] } @@ -143,7 +143,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list.py index 70725acfa32..62310cfb6b2 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list.py @@ -19,10 +19,10 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/privateclouds", "2023-09-01"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/privateclouds", "2024-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds", "2024-09-01"], ] } @@ -109,7 +109,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -177,6 +177,7 @@ def _build_schema_on_200(cls): _element.type = AAZStrType( flags={"read_only": True}, ) + _element.zones = AAZListType() identity = cls._schema_on_200.value.Element.identity identity.principal_id = AAZStrType( @@ -409,6 +410,9 @@ def _build_schema_on_200(cls): tags = cls._schema_on_200.value.Element.tags tags.Element = AAZStrType() + zones = cls._schema_on_200.value.Element.zones + zones.Element = AAZStrType() + return cls._schema_on_200 class PrivateCloudsList(AAZHttpOperation): @@ -455,7 +459,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -523,6 +527,7 @@ def _build_schema_on_200(cls): _element.type = AAZStrType( flags={"read_only": True}, ) + _element.zones = AAZListType() identity = cls._schema_on_200.value.Element.identity identity.principal_id = AAZStrType( @@ -755,6 +760,9 @@ def _build_schema_on_200(cls): tags = cls._schema_on_200.value.Element.tags tags.Element = AAZStrType() + zones = cls._schema_on_200.value.Element.zones + zones.Element = AAZStrType() + return cls._schema_on_200 diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list_admin_credentials.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list_admin_credentials.py index 2165fe8304a..58575d9361f 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list_admin_credentials.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_list_admin_credentials.py @@ -19,9 +19,9 @@ class ListAdminCredentials(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/listadmincredentials", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/listadmincredentials", "2024-09-01"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_nsxt_password.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_nsxt_password.py index a0512ca60c0..344ea9ab1ce 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_nsxt_password.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_nsxt_password.py @@ -13,19 +13,19 @@ @register_command( "vmware private-cloud rotate-nsxt-password", - confirmation="Any services connected using these credentials will stop working and may cause you to be locked out of your account.\n\nCheck if you're using your cloudadmin credentials for any connected services like backup and disaster recovery appliances, VMware HCX, or any vRealize suite products. Verify you're not using cloudadmin credentials for connected services before generating a new password.\n\nIf you are using cloudadmin for connected services, learn how you can setup a connection to an external identity source to create and manage new credentials for your connected services: https://learn.microsoft.com/en-us/azure/azure-vmware/configure-identity-source-vcenter\n\nPress Y to confirm no services are using my cloudadmin credentials to connect to vCenter", + confirmation="Any services connected using these credentials will stop working and may cause you to be locked out of your account.\n\nCheck if you're using your cloudadmin credentials for any connected services like backup and disaster recovery appliances, VMware HCX, or any vRealize suite products. Verify you're not using cloudadmin credentials for connected services before generating a new password.\n\nIf you are using cloudadmin for connected services, learn how you can setup a connection to an external identity source to create and manage new credentials for your connected services: https://docs.microsoft.com/en-us/azure/azure-vmware/configure-identity-source-vcenter\n\nPress Y to confirm no services are using my cloudadmin credentials to connect to vCenter", ) class RotateNsxtPassword(AAZCommand): """Rotate the NSX-T Manager password :example: Rotate the NSX-T password - az rotate-nsxt-password --resource-group MyResourceGroup --private-cloud MyPrivateCloud + az vmware private-cloud rotate-nsxt-password --resource-group group1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/rotatensxtpassword", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/rotatensxtpassword", "2024-09-01"], ] } @@ -150,7 +150,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -207,6 +207,7 @@ def _build_schema_on_200(cls): _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) + _schema_on_200.zones = AAZListType() identity = cls._schema_on_200.identity identity.principal_id = AAZStrType( @@ -439,6 +440,9 @@ def _build_schema_on_200(cls): tags = cls._schema_on_200.tags tags.Element = AAZStrType() + zones = cls._schema_on_200.zones + zones.Element = AAZStrType() + return cls._schema_on_200 def on_204(self, session): diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_vcenter_password.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_vcenter_password.py index bd9d3b9b036..6e628829271 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_vcenter_password.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_rotate_vcenter_password.py @@ -13,19 +13,19 @@ @register_command( "vmware private-cloud rotate-vcenter-password", - confirmation="Any services connected using these credentials will stop working and may cause you to be locked out of your account.\n\nCheck if you're using your cloudadmin credentials for any connected services like backup and disaster recovery appliances, VMware HCX, or any vRealize suite products. Verify you're not using cloudadmin credentials for connected services before generating a new password.\n\nIf you are using cloudadmin for connected services, learn how you can setup a connection to an external identity source to create and manage new credentials for your connected services: https://learn.microsoft.com/en-us/azure/azure-vmware/configure-identity-source-vcenter\n\nPress Y to confirm no services are using my cloudadmin credentials to connect to vCenter", + confirmation="Any services connected using these credentials will stop working and may cause you to be locked out of your account.\n\nCheck if you're using your cloudadmin credentials for any connected services like backup and disaster recovery appliances, VMware HCX, or any vRealize suite products. Verify you're not using cloudadmin credentials for connected services before generating a new password.\n\nIf you are using cloudadmin for connected services, learn how you can setup a connection to an external identity source to create and manage new credentials for your connected services: https://docs.microsoft.com/en-us/azure/azure-vmware/configure-identity-source-vcenter\n\nPress Y to confirm no services are using my cloudadmin credentials to connect to vCenter", ) class RotateVcenterPassword(AAZCommand): """Rotate the vCenter password :example: Rotate the vCenter password. - az vmware private-cloud rotate-vcenter-password --resource-group MyResourceGroup --private-cloud MyPrivateCloud + az vmware private-cloud rotate-vcenter-password --resource-group group1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/rotatevcenterpassword", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/rotatevcenterpassword", "2024-09-01"], ] } @@ -150,7 +150,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -207,6 +207,7 @@ def _build_schema_on_200(cls): _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) + _schema_on_200.zones = AAZListType() identity = cls._schema_on_200.identity identity.principal_id = AAZStrType( @@ -439,6 +440,9 @@ def _build_schema_on_200(cls): tags = cls._schema_on_200.tags tags.Element = AAZStrType() + zones = cls._schema_on_200.zones + zones.Element = AAZStrType() + return cls._schema_on_200 def on_204(self, session): diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_show.py index 3c13b315ebb..e4b9b794380 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2024-09-01"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -177,6 +177,7 @@ def _build_schema_on_200(cls): _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) + _schema_on_200.zones = AAZListType() identity = cls._schema_on_200.identity identity.principal_id = AAZStrType( @@ -409,6 +410,9 @@ def _build_schema_on_200(cls): tags = cls._schema_on_200.tags tags.Element = AAZStrType() + zones = cls._schema_on_200.zones + zones.Element = AAZStrType() + return cls._schema_on_200 diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_update.py index b0d8d1cc3d6..9e8491b4983 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_update.py @@ -19,9 +19,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2024-09-01"], ] } @@ -152,24 +152,6 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22", ) - _args_schema.nsxt_password = AAZPasswordArg( - options=["--nsxt-password"], - arg_group="Properties", - help="Optionally, set the NSX-T Manager password when the private cloud is created", - nullable=True, - blank=AAZPromptPasswordInput( - msg="Password:", - ), - ) - _args_schema.vcenter_password = AAZPasswordArg( - options=["--vcenter-password"], - arg_group="Properties", - help="Optionally, set the vCenter admin password when the private cloud is created", - nullable=True, - blank=AAZPromptPasswordInput( - msg="Password:", - ), - ) encryption = cls._args_schema.encryption encryption.key_vault_properties = AAZObjectArg( @@ -348,7 +330,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -447,7 +429,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -523,8 +505,6 @@ def _update_instance(self, instance): properties.set_prop("internet", AAZStrType, ".internet") properties.set_prop("managementCluster", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) properties.set_prop("networkBlock", AAZStrType, ".network_block", typ_kwargs={"flags": {"required": True}}) - properties.set_prop("nsxtPassword", AAZStrType, ".nsxt_password", typ_kwargs={"flags": {"secret": True}}) - properties.set_prop("vcenterPassword", AAZStrType, ".vcenter_password", typ_kwargs={"flags": {"secret": True}}) encryption = _builder.get(".properties.encryption") if encryption is not None: @@ -636,6 +616,7 @@ def _build_schema_private_cloud_read(cls, _schema): _schema.system_data = cls._schema_private_cloud_read.system_data _schema.tags = cls._schema_private_cloud_read.tags _schema.type = cls._schema_private_cloud_read.type + _schema.zones = cls._schema_private_cloud_read.zones return cls._schema_private_cloud_read = _schema_private_cloud_read = AAZObjectType() @@ -665,6 +646,7 @@ def _build_schema_private_cloud_read(cls, _schema): private_cloud_read.type = AAZStrType( flags={"read_only": True}, ) + private_cloud_read.zones = AAZListType() identity = _schema_private_cloud_read.identity identity.principal_id = AAZStrType( @@ -897,6 +879,9 @@ def _build_schema_private_cloud_read(cls, _schema): tags = _schema_private_cloud_read.tags tags.Element = AAZStrType() + zones = _schema_private_cloud_read.zones + zones.Element = AAZStrType() + _schema.id = cls._schema_private_cloud_read.id _schema.identity = cls._schema_private_cloud_read.identity _schema.location = cls._schema_private_cloud_read.location @@ -906,6 +891,7 @@ def _build_schema_private_cloud_read(cls, _schema): _schema.system_data = cls._schema_private_cloud_read.system_data _schema.tags = cls._schema_private_cloud_read.tags _schema.type = cls._schema_private_cloud_read.type + _schema.zones = cls._schema_private_cloud_read.zones __all__ = ["Update"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_wait.py index 57f741da67b..a7cb4a3d55d 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}", "2024-09-01"], ] } @@ -119,7 +119,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -176,6 +176,7 @@ def _build_schema_on_200(cls): _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) + _schema_on_200.zones = AAZListType() identity = cls._schema_on_200.identity identity.principal_id = AAZStrType( @@ -408,6 +409,9 @@ def _build_schema_on_200(cls): tags = cls._schema_on_200.tags tags.Element = AAZStrType() + zones = cls._schema_on_200.zones + zones.Element = AAZStrType() + return cls._schema_on_200 diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/__cmd_group.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/__cmd_group.py new file mode 100644 index 00000000000..8ef7575b714 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/__cmd_group.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class __CMDGroup(AAZCommandGroup): + """Commands to list and show provisioned network resources. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/__init__.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/__init__.py new file mode 100644 index 00000000000..2df85698253 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/__init__.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * +from ._show import * diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/_list.py new file mode 100644 index 00000000000..021e9bd40a3 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/_list.py @@ -0,0 +1,223 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class List(AAZCommand): + """List ProvisionedNetwork resources by PrivateCloud + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/provisionednetworks", "2024-09-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ProvisionedNetworksList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class ProvisionedNetworksList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.address_prefix = AAZStrType( + serialized_name="addressPrefix", + flags={"read_only": True}, + ) + properties.network_type = AAZStrType( + serialized_name="networkType", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/_show.py new file mode 100644 index 00000000000..11b89bbf513 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/provisioned_network/_show.py @@ -0,0 +1,224 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class Show(AAZCommand): + """Get a provisioned network by name in a private cloud. + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/provisionednetworks/{}", "2024-09-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.provisioned_network_name = AAZStrArg( + options=["-n", "--name", "--provisioned-network-name"], + help="Name of the cloud link.", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ProvisionedNetworksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ProvisionedNetworksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "provisionedNetworkName", self.ctx.args.provisioned_network_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.address_prefix = AAZStrType( + serialized_name="addressPrefix", + flags={"read_only": True}, + ) + properties.network_type = AAZStrType( + serialized_name="networkType", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/__cmd_group.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/__cmd_group.py new file mode 100644 index 00000000000..3a678a95ad3 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/__cmd_group.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class __CMDGroup(AAZCommandGroup): + """Commands to manage a Pure Storage policy. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/__init__.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/__init__.py new file mode 100644 index 00000000000..c401f439385 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update import * diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_create.py new file mode 100644 index 00000000000..a3c1fd6bfcb --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_create.py @@ -0,0 +1,277 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class Create(AAZCommand): + """Create a Pure Storage policy for a private cloud. + + :example: Create a Pure Storage policy. + az vmware private-cloud pure-storage-policy create --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 --storage-policy-definition storagePolicyDefinition1 --storage-pool-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1 + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/purestoragepolicies/{}", "2024-09-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.storage_policy_name = AAZStrArg( + options=["-n", "--name", "--storage-policy-name"], + help="Name of the storage policy.", + required=True, + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.storage_policy_definition = AAZStrArg( + options=["--definition", "--storage-policy-definition"], + arg_group="Properties", + help="Definition of a Pure Storage Policy Based Management policy", + required=True, + ) + _args_schema.storage_pool_id = AAZStrArg( + options=["--storage-pool-id"], + arg_group="Properties", + help="Azure resource ID of the Pure Storage Pool associated with the storage policy", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.PureStoragePoliciesCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class PureStoragePoliciesCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "storagePolicyName", self.ctx.args.storage_policy_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("storagePolicyDefinition", AAZStrType, ".storage_policy_definition", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("storagePoolId", AAZStrType, ".storage_pool_id", typ_kwargs={"flags": {"required": True}}) + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.storage_policy_definition = AAZStrType( + serialized_name="storagePolicyDefinition", + flags={"required": True}, + ) + properties.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_delete.py new file mode 100644 index 00000000000..8f5b5beb0b8 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_delete.py @@ -0,0 +1,175 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class Delete(AAZCommand): + """Delete a Pure Storage policy for a private cloud. + + :example: Delete a Pure Storage policy. + az vmware private-cloud pure-storage-policy delete --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/purestoragepolicies/{}", "2024-09-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.storage_policy_name = AAZStrArg( + options=["-n", "--name", "--storage-policy-name"], + help="Name of the storage policy.", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.PureStoragePoliciesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class PureStoragePoliciesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "storagePolicyName", self.ctx.args.storage_policy_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + def on_200_201(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_list.py new file mode 100644 index 00000000000..27eaa97d7eb --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_list.py @@ -0,0 +1,226 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class List(AAZCommand): + """List Pure Storage policies for a private cloud. + + :example: List Pure Storage policies. + az vmware private-cloud pure-storage-policy list --resource-group group1 --private-cloud-name cloud1 + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/purestoragepolicies", "2024-09-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.PureStoragePoliciesList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class PureStoragePoliciesList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.storage_policy_definition = AAZStrType( + serialized_name="storagePolicyDefinition", + flags={"required": True}, + ) + properties.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_show.py new file mode 100644 index 00000000000..81aed82c632 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_show.py @@ -0,0 +1,227 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class Show(AAZCommand): + """Show details of a Pure Storage policy for a private cloud. + + :example: Show details of a Pure Storage policy. + az vmware private-cloud pure-storage-policy show --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/purestoragepolicies/{}", "2024-09-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.storage_policy_name = AAZStrArg( + options=["-n", "--name", "--storage-policy-name"], + help="Name of the storage policy.", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.PureStoragePoliciesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class PureStoragePoliciesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "storagePolicyName", self.ctx.args.storage_policy_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.storage_policy_definition = AAZStrType( + serialized_name="storagePolicyDefinition", + flags={"required": True}, + ) + properties.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_update.py new file mode 100644 index 00000000000..9be4c225254 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/pure_storage_policy/_update.py @@ -0,0 +1,418 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class Update(AAZCommand): + """Update a Pure Storage policy for a private cloud. + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/purestoragepolicies/{}", "2024-09-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + AZ_SUPPORT_GENERIC_UPDATE = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.storage_policy_name = AAZStrArg( + options=["-n", "--name", "--storage-policy-name"], + help="Name of the storage policy.", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.storage_policy_definition = AAZStrArg( + options=["--storage-policy-definition"], + arg_group="Properties", + help="Definition of a Pure Storage Policy Based Management policy", + ) + _args_schema.storage_pool_id = AAZStrArg( + options=["--storage-pool-id"], + arg_group="Properties", + help="Azure resource ID of the Pure Storage Pool associated with the storage policy", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.PureStoragePoliciesGet(ctx=self.ctx)() + self.pre_instance_update(self.ctx.vars.instance) + self.InstanceUpdateByJson(ctx=self.ctx)() + self.InstanceUpdateByGeneric(ctx=self.ctx)() + self.post_instance_update(self.ctx.vars.instance) + yield self.PureStoragePoliciesCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + @register_callback + def pre_instance_update(self, instance): + pass + + @register_callback + def post_instance_update(self, instance): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class PureStoragePoliciesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "storagePolicyName", self.ctx.args.storage_policy_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + _UpdateHelper._build_schema_pure_storage_policy_read(cls._schema_on_200) + + return cls._schema_on_200 + + class PureStoragePoliciesCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "storagePolicyName", self.ctx.args.storage_policy_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + value=self.ctx.vars.instance, + ) + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + _UpdateHelper._build_schema_pure_storage_policy_read(cls._schema_on_200_201) + + return cls._schema_on_200_201 + + class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance(self.ctx.vars.instance) + + def _update_instance(self, instance): + _instance_value, _builder = self.new_content_builder( + self.ctx.args, + value=instance, + typ=AAZObjectType + ) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("storagePolicyDefinition", AAZStrType, ".storage_policy_definition", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("storagePoolId", AAZStrType, ".storage_pool_id", typ_kwargs={"flags": {"required": True}}) + + return _instance_value + + class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance_by_generic( + self.ctx.vars.instance, + self.ctx.generic_update_args + ) + + +class _UpdateHelper: + """Helper class for Update""" + + _schema_pure_storage_policy_read = None + + @classmethod + def _build_schema_pure_storage_policy_read(cls, _schema): + if cls._schema_pure_storage_policy_read is not None: + _schema.id = cls._schema_pure_storage_policy_read.id + _schema.name = cls._schema_pure_storage_policy_read.name + _schema.properties = cls._schema_pure_storage_policy_read.properties + _schema.system_data = cls._schema_pure_storage_policy_read.system_data + _schema.type = cls._schema_pure_storage_policy_read.type + return + + cls._schema_pure_storage_policy_read = _schema_pure_storage_policy_read = AAZObjectType() + + pure_storage_policy_read = _schema_pure_storage_policy_read + pure_storage_policy_read.id = AAZStrType( + flags={"read_only": True}, + ) + pure_storage_policy_read.name = AAZStrType( + flags={"read_only": True}, + ) + pure_storage_policy_read.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + pure_storage_policy_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + pure_storage_policy_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_pure_storage_policy_read.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.storage_policy_definition = AAZStrType( + serialized_name="storagePolicyDefinition", + flags={"required": True}, + ) + properties.storage_pool_id = AAZStrType( + serialized_name="storagePoolId", + flags={"required": True}, + ) + + system_data = _schema_pure_storage_policy_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + _schema.id = cls._schema_pure_storage_policy_read.id + _schema.name = cls._schema_pure_storage_policy_read.name + _schema.properties = cls._schema_pure_storage_policy_read.properties + _schema.system_data = cls._schema_pure_storage_policy_read.system_data + _schema.type = cls._schema_pure_storage_policy_read.type + + +__all__ = ["Update"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/__cmd_group.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/__cmd_group.py new file mode 100644 index 00000000000..5791abd840c --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/__cmd_group.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class __CMDGroup(AAZCommandGroup): + """Manage Script Execution + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/__init__.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/__init__.py new file mode 100644 index 00000000000..88a4244ad11 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/__init__.py @@ -0,0 +1,12 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._get_execution_log import * diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/_get_execution_log.py b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/_get_execution_log.py new file mode 100644 index 00000000000..79eb0af4801 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/private_cloud/script_execution/_get_execution_log.py @@ -0,0 +1,388 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +class GetExecutionLog(AAZCommand): + """Return the logs for a script execution resource + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}/getexecutionlogs", "2024-09-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.private_cloud_name = AAZStrArg( + options=["--private-cloud-name"], + help="Name of the private cloud", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.script_execution_name = AAZStrArg( + options=["--script-execution-name"], + help="Name of the script cmdlet.", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[-\\w\\._]+$", + ), + ) + _args_schema.script_output_stream_type = AAZListArg( + options=["--type", "--script-output-stream-type"], + help="Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.", + ) + + script_output_stream_type = cls._args_schema.script_output_stream_type + script_output_stream_type.Element = AAZStrArg( + enum={"Error": "Error", "Information": "Information", "Output": "Output", "Warning": "Warning"}, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ScriptExecutionsGetExecutionLogs(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ScriptExecutionsGetExecutionLogs(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "privateCloudName", self.ctx.args.private_cloud_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "scriptExecutionName", self.ctx.args.script_execution_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args.script_output_stream_type, + typ=AAZListType, + ) + _builder.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.errors = AAZListType( + flags={"read_only": True}, + ) + properties.failure_reason = AAZStrType( + serialized_name="failureReason", + ) + properties.finished_at = AAZStrType( + serialized_name="finishedAt", + flags={"read_only": True}, + ) + properties.hidden_parameters = AAZListType( + serialized_name="hiddenParameters", + ) + properties.information = AAZListType( + flags={"read_only": True}, + ) + properties.named_outputs = AAZDictType( + serialized_name="namedOutputs", + ) + properties.output = AAZListType() + properties.parameters = AAZListType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.retention = AAZStrType() + properties.script_cmdlet_id = AAZStrType( + serialized_name="scriptCmdletId", + ) + properties.started_at = AAZStrType( + serialized_name="startedAt", + flags={"read_only": True}, + ) + properties.submitted_at = AAZStrType( + serialized_name="submittedAt", + flags={"read_only": True}, + ) + properties.timeout = AAZStrType( + flags={"required": True}, + ) + properties.warnings = AAZListType( + flags={"read_only": True}, + ) + + errors = cls._schema_on_200.properties.errors + errors.Element = AAZStrType() + + hidden_parameters = cls._schema_on_200.properties.hidden_parameters + hidden_parameters.Element = AAZObjectType() + _GetExecutionLogHelper._build_schema_script_execution_parameter_read(hidden_parameters.Element) + + information = cls._schema_on_200.properties.information + information.Element = AAZStrType() + + named_outputs = cls._schema_on_200.properties.named_outputs + named_outputs.Element = AAZDictType() + + _element = cls._schema_on_200.properties.named_outputs.Element + _element.Element = AAZAnyType() + + output = cls._schema_on_200.properties.output + output.Element = AAZStrType() + + parameters = cls._schema_on_200.properties.parameters + parameters.Element = AAZObjectType() + _GetExecutionLogHelper._build_schema_script_execution_parameter_read(parameters.Element) + + warnings = cls._schema_on_200.properties.warnings + warnings.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _GetExecutionLogHelper: + """Helper class for GetExecutionLog""" + + _schema_script_execution_parameter_read = None + + @classmethod + def _build_schema_script_execution_parameter_read(cls, _schema): + if cls._schema_script_execution_parameter_read is not None: + _schema.name = cls._schema_script_execution_parameter_read.name + _schema.type = cls._schema_script_execution_parameter_read.type + _schema.discriminate_by( + "type", + "Credential", + cls._schema_script_execution_parameter_read.discriminate_by( + "type", + "Credential", + ) + ) + _schema.discriminate_by( + "type", + "SecureValue", + cls._schema_script_execution_parameter_read.discriminate_by( + "type", + "SecureValue", + ) + ) + _schema.discriminate_by( + "type", + "Value", + cls._schema_script_execution_parameter_read.discriminate_by( + "type", + "Value", + ) + ) + return + + cls._schema_script_execution_parameter_read = _schema_script_execution_parameter_read = AAZObjectType() + + script_execution_parameter_read = _schema_script_execution_parameter_read + script_execution_parameter_read.name = AAZStrType( + flags={"required": True}, + ) + script_execution_parameter_read.type = AAZStrType( + flags={"required": True}, + ) + + disc_credential = _schema_script_execution_parameter_read.discriminate_by("type", "Credential") + disc_credential.password = AAZStrType( + flags={"secret": True}, + ) + disc_credential.username = AAZStrType() + + disc_secure_value = _schema_script_execution_parameter_read.discriminate_by("type", "SecureValue") + disc_secure_value.secure_value = AAZStrType( + serialized_name="secureValue", + flags={"secret": True}, + ) + + disc_value = _schema_script_execution_parameter_read.discriminate_by("type", "Value") + disc_value.value = AAZStrType() + + _schema.name = cls._schema_script_execution_parameter_read.name + _schema.type = cls._schema_script_execution_parameter_read.type + _schema.discriminate_by( + "type", + "Credential", + cls._schema_script_execution_parameter_read.discriminate_by( + "type", + "Credential", + ) + ) + _schema.discriminate_by( + "type", + "SecureValue", + cls._schema_script_execution_parameter_read.discriminate_by( + "type", + "SecureValue", + ) + ) + _schema.discriminate_by( + "type", + "Value", + cls._schema_script_execution_parameter_read.discriminate_by( + "type", + "Value", + ) + ) + + +__all__ = ["GetExecutionLog"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_list.py index 7fe1c16e0af..029b0a7ab19 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_list.py @@ -18,13 +18,13 @@ class List(AAZCommand): """List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud :example: List script cmdlet resources. - az vmware script-cmdlet list --resource-group group1 --private-cloud cloud1 --script-package package1 + az vmware script-cmdlet list --resource-group group1 --private-cloud cloud1 --script-package package@1.0.2 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages/{}/scriptcmdlets", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages/{}/scriptcmdlets", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_show.py index 0ef4ab20d83..247080eda08 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_cmdlet/_show.py @@ -18,13 +18,13 @@ class Show(AAZCommand): """Get information about a script cmdlet resource in a specific package on a private cloud :example: Show a script cmdlet. - az vmware script-cmdlet show --resource-group group1 --private-cloud cloud1 --script-package package1 --name cmdlet1 + az vmware script-cmdlet show --resource-group group1 --private-cloud cloud1 --script-package package@1.0.2 --script-cmdlet-name New-ExternalSsoDomain """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages/{}/scriptcmdlets/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages/{}/scriptcmdlets/{}", "2024-09-01"], ] } @@ -149,7 +149,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_create.py index c25a322abdf..3633a1dbc31 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_create.py @@ -16,9 +16,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2024-09-01"], ] } @@ -110,10 +110,13 @@ def _build_arguments_schema(cls, *args, **kwargs): cls._build_args_script_execution_parameter_create(hidden_parameters.Element) named_outputs = cls._args_schema.named_outputs - named_outputs.Element = AAZFreeFormDictArg( + named_outputs.Element = AAZDictArg( blank={}, ) + _element = cls._args_schema.named_outputs.Element + _element.Element = AAZAnyTypeArg() + output = cls._args_schema.output output.Element = AAZStrArg() @@ -263,7 +266,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -307,11 +310,11 @@ def content(self): named_outputs = _builder.get(".properties.namedOutputs") if named_outputs is not None: - named_outputs.set_elements(AAZFreeFormDictType, ".") + named_outputs.set_elements(AAZDictType, ".") _elements = _builder.get(".properties.namedOutputs{}") if _elements is not None: - _elements.set_anytype_elements(".") + _elements.set_elements(AAZAnyType, ".") output = _builder.get(".properties.output") if output is not None: @@ -414,7 +417,10 @@ def _build_schema_on_200_201(cls): information.Element = AAZStrType() named_outputs = cls._schema_on_200_201.properties.named_outputs - named_outputs.Element = AAZFreeFormDictType() + named_outputs.Element = AAZDictType() + + _element = cls._schema_on_200_201.properties.named_outputs.Element + _element.Element = AAZAnyType() output = cls._schema_on_200_201.properties.output output.Element = AAZStrType() diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_delete.py index 5b5bb21d676..0f9fe991edd 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a ScriptExecution in a private cloud :example: Delete a script execution. - az vmware script-execution delete --resource-group group1 --private-cloud cloud1 --name addSsoServer + az vmware script-execution delete --resource-group group1 --private-cloud cloud1 --script-execution-name addSsoServer """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_list.py index 88ad150898f..adaa00c5076 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -241,7 +241,10 @@ def _build_schema_on_200(cls): information.Element = AAZStrType() named_outputs = cls._schema_on_200.value.Element.properties.named_outputs - named_outputs.Element = AAZFreeFormDictType() + named_outputs.Element = AAZDictType() + + _element = cls._schema_on_200.value.Element.properties.named_outputs.Element + _element.Element = AAZAnyType() output = cls._schema_on_200.value.Element.properties.output output.Element = AAZStrType() diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_show.py index da8539395be..492ae823b7f 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_show.py @@ -18,13 +18,13 @@ class Show(AAZCommand): """Get an script execution by name in a private cloud :example: Show a script execution. - az vmware script-execution show --resource-group group1 --private-cloud cloud1 --name addSsoServer + az vmware script-execution show --resource-group group1 --private-cloud cloud1 --script-execution-name addSsoServer """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -242,7 +242,10 @@ def _build_schema_on_200(cls): information.Element = AAZStrType() named_outputs = cls._schema_on_200.properties.named_outputs - named_outputs.Element = AAZFreeFormDictType() + named_outputs.Element = AAZDictType() + + _element = cls._schema_on_200.properties.named_outputs.Element + _element.Element = AAZAnyType() output = cls._schema_on_200.properties.output output.Element = AAZStrType() diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_wait.py index d7b66146877..2e3499c6175 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_execution/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptexecutions/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -238,7 +238,10 @@ def _build_schema_on_200(cls): information.Element = AAZStrType() named_outputs = cls._schema_on_200.properties.named_outputs - named_outputs.Element = AAZFreeFormDictType() + named_outputs.Element = AAZDictType() + + _element = cls._schema_on_200.properties.named_outputs.Element + _element.Element = AAZAnyType() output = cls._schema_on_200.properties.output output.Element = AAZStrType() diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_list.py index 8cc3f3b8e62..1187c15e56a 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_show.py index 55dbbbfc742..adb645c5765 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/script_package/_show.py @@ -18,13 +18,13 @@ class Show(AAZCommand): """Get a script package available to run on a private cloud :example: Show a script package. - az vmware script-package show --resource-group group1 --private-cloud cloud1 --name package1 + az vmware script-package show --resource-group group1 --private-cloud cloud1 --script-package-name Microsoft.AVS.Management@3.0.48 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/scriptpackages/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/skus/__cmd_group.py b/src/vmware/azext_vmware/aaz/latest/vmware/skus/__cmd_group.py new file mode 100644 index 00000000000..38386cb40df --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/skus/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "vmware skus", +) +class __CMDGroup(AAZCommandGroup): + """Commands to manage SKUs. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/skus/__init__.py b/src/vmware/azext_vmware/aaz/latest/vmware/skus/__init__.py new file mode 100644 index 00000000000..d63ae5a6fc9 --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/skus/__init__.py @@ -0,0 +1,12 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/skus/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/skus/_list.py new file mode 100644 index 00000000000..8aeaacc21ba --- /dev/null +++ b/src/vmware/azext_vmware/aaz/latest/vmware/skus/_list.py @@ -0,0 +1,273 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "vmware skus list", +) +class List(AAZCommand): + """List available SKUs in a subscription. + + :example: List available SKUs. + az vmware skus list + """ + + _aaz_info = { + "version": "2024-09-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.avs/skus", "2024-09-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.SkusList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class SkusList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/skus", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2024-09-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.capabilities = AAZListType() + _element.family = AAZStrType() + _element.location_info = AAZListType( + serialized_name="locationInfo", + flags={"required": True}, + ) + _element.locations = AAZListType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"required": True}, + ) + _element.resource_type = AAZStrType( + serialized_name="resourceType", + flags={"required": True}, + ) + _element.restrictions = AAZListType( + flags={"required": True}, + ) + _element.size = AAZStrType() + _element.tier = AAZStrType() + + capabilities = cls._schema_on_200.value.Element.capabilities + capabilities.Element = AAZObjectType() + _ListHelper._build_schema_resource_sku_capabilities_read(capabilities.Element) + + location_info = cls._schema_on_200.value.Element.location_info + location_info.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.location_info.Element + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.zone_details = AAZListType( + serialized_name="zoneDetails", + flags={"required": True}, + ) + _element.zones = AAZListType( + flags={"required": True}, + ) + + zone_details = cls._schema_on_200.value.Element.location_info.Element.zone_details + zone_details.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.location_info.Element.zone_details.Element + _element.capabilities = AAZListType( + flags={"required": True}, + ) + _element.name = AAZListType( + flags={"required": True}, + ) + + capabilities = cls._schema_on_200.value.Element.location_info.Element.zone_details.Element.capabilities + capabilities.Element = AAZObjectType() + _ListHelper._build_schema_resource_sku_capabilities_read(capabilities.Element) + + name = cls._schema_on_200.value.Element.location_info.Element.zone_details.Element.name + name.Element = AAZStrType() + + zones = cls._schema_on_200.value.Element.location_info.Element.zones + zones.Element = AAZStrType() + + locations = cls._schema_on_200.value.Element.locations + locations.Element = AAZStrType() + + restrictions = cls._schema_on_200.value.Element.restrictions + restrictions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.restrictions.Element + _element.reason_code = AAZStrType( + serialized_name="reasonCode", + ) + _element.restriction_info = AAZObjectType( + serialized_name="restrictionInfo", + flags={"required": True}, + ) + _element.type = AAZStrType() + _element.values = AAZListType( + flags={"required": True}, + ) + + restriction_info = cls._schema_on_200.value.Element.restrictions.Element.restriction_info + restriction_info.locations = AAZListType() + restriction_info.zones = AAZListType() + + locations = cls._schema_on_200.value.Element.restrictions.Element.restriction_info.locations + locations.Element = AAZStrType() + + zones = cls._schema_on_200.value.Element.restrictions.Element.restriction_info.zones + zones.Element = AAZStrType() + + values = cls._schema_on_200.value.Element.restrictions.Element.values + values.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_resource_sku_capabilities_read = None + + @classmethod + def _build_schema_resource_sku_capabilities_read(cls, _schema): + if cls._schema_resource_sku_capabilities_read is not None: + _schema.name = cls._schema_resource_sku_capabilities_read.name + _schema.value = cls._schema_resource_sku_capabilities_read.value + return + + cls._schema_resource_sku_capabilities_read = _schema_resource_sku_capabilities_read = AAZObjectType() + + resource_sku_capabilities_read = _schema_resource_sku_capabilities_read + resource_sku_capabilities_read.name = AAZStrType( + flags={"required": True}, + ) + resource_sku_capabilities_read.value = AAZStrType( + flags={"required": True}, + ) + + _schema.name = cls._schema_resource_sku_capabilities_read.name + _schema.value = cls._schema_resource_sku_capabilities_read.value + + +__all__ = ["List"] diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/vm/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/vm/_list.py index 50336169334..8feca8d7ddf 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/vm/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/vm/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/virtualmachines", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/virtualmachines", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/vm/_restrict_movement.py b/src/vmware/azext_vmware/aaz/latest/vmware/vm/_restrict_movement.py index 9a7cf3ae3ce..fde8f5d1fce 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/vm/_restrict_movement.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/vm/_restrict_movement.py @@ -11,9 +11,6 @@ from azure.cli.core.aaz import * -@register_command( - "vmware vm restrict-movement", -) class RestrictMovement(AAZCommand): """Enable or disable DRS-driven VM movement restriction @@ -22,9 +19,9 @@ class RestrictMovement(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/virtualmachines/{}/restrictmovement", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/virtualmachines/{}/restrictmovement", "2024-09-01"], ] } @@ -172,7 +169,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/vm/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/vm/_show.py index c422d878a9b..3030fb5479d 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/vm/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/vm/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2022-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/virtualmachines/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/clusters/{}/virtualmachines/{}", "2022-05-01"], ] } @@ -49,30 +49,21 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the cluster in the private cloud", required=True, id_part="child_name_1", - fmt=AAZStrArgFormat( - pattern="^[-\\w\\._]+$", - ), ) _args_schema.private_cloud = AAZStrArg( options=["-c", "--private-cloud"], help="Name of the private cloud", required=True, id_part="name", - fmt=AAZStrArgFormat( - pattern="^[-\\w\\._]+$", - ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, ) _args_schema.virtual_machine = AAZStrArg( options=["-n", "--name", "--virtual-machine"], - help="ID of the virtual machine.", + help="Virtual Machine identifier", required=True, id_part="child_name_2", - fmt=AAZStrArgFormat( - pattern="^[-\\w\\._]+$", - ), ) return cls._args_schema @@ -149,7 +140,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2022-05-01", required=True, ), } @@ -191,10 +182,6 @@ def _build_schema_on_200(cls): _schema_on_200.properties = AAZObjectType( flags={"client_flatten": True}, ) - _schema_on_200.system_data = AAZObjectType( - serialized_name="systemData", - flags={"read_only": True}, - ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -212,33 +199,8 @@ def _build_schema_on_200(cls): serialized_name="moRefId", flags={"read_only": True}, ) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) properties.restrict_movement = AAZStrType( serialized_name="restrictMovement", - flags={"read_only": True}, - ) - - system_data = cls._schema_on_200.system_data - system_data.created_at = AAZStrType( - serialized_name="createdAt", - ) - system_data.created_by = AAZStrType( - serialized_name="createdBy", - ) - system_data.created_by_type = AAZStrType( - serialized_name="createdByType", - ) - system_data.last_modified_at = AAZStrType( - serialized_name="lastModifiedAt", - ) - system_data.last_modified_by = AAZStrType( - serialized_name="lastModifiedBy", - ) - system_data.last_modified_by_type = AAZStrType( - serialized_name="lastModifiedByType", ) return cls._schema_on_200 diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_create.py index 4aa2c56eab6..965d73eb49b 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_create.py @@ -13,12 +13,15 @@ class Create(AAZCommand): """Create dhcp by id in a private cloud workload network. + + :example: Create a DHCP by ID in a workload network. + az vmware workload-network dhcp create --resource-group group1 --private-cloud cloud1 --dhcp dhcp1 --display-name dhcpConfigurations1 --revision 1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2024-09-01"], ] } @@ -190,7 +193,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -215,7 +218,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -265,7 +268,9 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_delete.py index 9f2dbcf07f7..e74b0cb68c8 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_delete.py @@ -13,12 +13,15 @@ class Delete(AAZCommand): """Delete dhcp by id in a private cloud workload network. + + :example: Delete a DHCP by ID in a workload network. + az vmware workload-network dhcp delete --resource-group group1 --private-cloud cloud1 --dhcp dhcp1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2024-09-01"], ] } @@ -152,7 +155,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_list.py index be7d6ff9fec..b346207164a 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -174,7 +174,9 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_show.py index 678c42d6439..2e0b4977cea 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_show.py @@ -18,13 +18,13 @@ class Show(AAZCommand): """Get dhcp by id in a private cloud workload network. :example: Get DHCP by ID in a workload network. - az vmware workload-network dhcp show --resource-group group1 --private-cloud cloud1 --dhcp dhcp1 + az vmware workload-network dhcp show --resource-group group1 --dhcp dhcp1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -175,7 +175,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_update.py index e16688d5258..891b4aa3d6a 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dhcp/_update.py @@ -13,12 +13,15 @@ class Update(AAZCommand): """Update dhcp by id in a private cloud workload network. + + :example: Update DHCP by ID in a private cloud workload network. + az vmware workload-network dhcp update --resource-group group1 --private-cloud cloud1 --dhcp dhcp1 --display-name dhcpConfigurations1 --revision 1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dhcpconfigurations/{}", "2024-09-01"], ] } @@ -198,7 +201,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -301,7 +304,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -359,7 +362,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -418,7 +421,9 @@ def _build_schema_workload_network_dhcp_read(cls, _schema): workload_network_dhcp_read.name = AAZStrType( flags={"read_only": True}, ) - workload_network_dhcp_read.properties = AAZObjectType() + workload_network_dhcp_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) workload_network_dhcp_read.system_data = AAZObjectType( serialized_name="systemData", flags={"read_only": True}, diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_create.py index 99c1e9271bc..c9a003a1d80 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_create.py @@ -18,13 +18,13 @@ class Create(AAZCommand): """Create a DNS service by id in a private cloud workload network. :example: Create a DNS service by ID in a workload network. - az vmware workload-network dns-service create --resource-group group1 --private-cloud cloud1 --dns-service dnsService1 --display-name dnsService1 --dns-service-ip 5.5.5.5 --default-dns-zone defaultDnsZone1 --fqdn-zones fqdnZone1 --log-level INFO --revision 1 + az vmware workload-network dns-service create --resource-group group1 --private-cloud cloud1 --dns-service dnsService1 --display-name dnsService1 --dns-service-ip 5.5.5.5 --default-dns-zone defaultDnsZone1 --fqdn-zones "[fqdnZone1]" --log-level INFO --revision 1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2024-09-01"], ] } @@ -189,7 +189,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_delete.py index 46f688ac582..83164048adb 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a DNS service by id in a private cloud workload network. :example: Delete a DNS service by ID in a workload network. - az vmware workload-network dns-service delete --resource-group group1 --private-cloud cloud1 --dns-service dnsService1 + az vmware workload-network dns-service delete --resource-group group1 --dns-service dnsService1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_list.py index 5d0d101a2f6..44dc1b8da47 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_show.py index 67797ec55cc..3b92bc518e9 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_update.py index 6fb7106ffb5..1916f4fb0be 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2024-09-01"], ] } @@ -198,7 +198,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -301,7 +301,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_wait.py index fc7eb46d277..08a9893126a 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_service/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnsservices/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_create.py index ed76f0d2c77..6a29649566e 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_create.py @@ -18,13 +18,13 @@ class Create(AAZCommand): """Create a DNS zone by id in a private cloud workload network. :example: Create a DNS zone by ID in a workload network. - az vmware workload-network dns-zone create --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1 --display-name dnsZone1 --domain domain1 --dns-server-ips 1.1.1.1 --source-ip 8.8.8.8 --dns-services 1 --revision 1 + az vmware workload-network dns-zone create --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1 --display-name dnsZone1 --domain "[]" --dns-server-ips "[1.1.1.1]" --source-ip 8.8.8.8 --revision 1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2024-09-01"], ] } @@ -191,7 +191,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_delete.py index 36ca0ac55fb..276f6effbf8 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a DNS zone by id in a private cloud workload network. :example: Delete a DNS zone by ID in a workload network. - az vmware workload-network dns-zone delete --resource-group group1 --private-cloud cloud1 --dns-zone dnsZone1 + az vmware workload-network dns-zone delete --resource-group group1 --dns-zone dnsZone1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_list.py index 0d55364bf51..0a6b914285d 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_show.py index e8b7ab3502b..f50357b3597 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_update.py index 91cc8e83e21..157b481c687 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2024-09-01"], ] } @@ -202,7 +202,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -305,7 +305,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_wait.py index ab85ff0d18b..58fb7e772e5 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/dns_zone/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/dnszones/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_list.py index 8e87f2c3c0b..db091e29cfd 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/gateways", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/gateways", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_show.py index 306402065d1..ecc4611e5ef 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/gateway/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/gateways/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/gateways/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_create.py index 6822388085c..04682935b5a 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2024-09-01"], ] } @@ -181,7 +181,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_delete.py index 184277c86ba..18eebbecd12 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a port mirroring profile by id in a private cloud workload network. :example: Delete a port mirroring profile by ID in a workload network. - az vmware workload-network port-mirroring delete --resource-group group1 --private-cloud cloud1 --port-mirroring portMirroring1 + az vmware workload-network port-mirroring delete --resource-group group1 --port-mirroring portMirroring1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_list.py index b94ce07076f..3d5fc50a989 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_show.py index 7938f4fe73d..5401c1fa75f 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_update.py index 589ed071f12..9c5beaf0ea6 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2024-09-01"], ] } @@ -187,7 +187,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -290,7 +290,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_wait.py index 728adeabb38..12b24dc3796 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/port_mirroring/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/portmirroringprofiles/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_create.py index 9e4fffa9dd9..7db45b3330f 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2024-09-01"], ] } @@ -165,7 +165,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_delete.py index 99d39603739..c6d9f1d68e3 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a Public IP Block by id in a private cloud workload network. :example: Delete a Public IP Block by ID in a workload network. - az vmware workload-network public-ip delete --resource-group group1 --private-cloud cloud1 --public-ip publicIP1 + az vmware workload-network public-ip delete --resource-group group1 --public-ip publicIP1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_list.py index 0c2df6a5b61..e5aec2417a2 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_show.py index 6489ff0ca73..39af32f11a0 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_wait.py index 922f6f64419..820f02fb1aa 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/public_ip/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/publicips/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_create.py index 395b2bde9a3..1dd45af6b98 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_create.py @@ -18,13 +18,13 @@ class Create(AAZCommand): """Create a segment by id in a private cloud workload network. :example: Create a segment by ID in a workload network. - az vmware workload-network segment create --resource-group group1 --private-cloud cloud1 --segment segment1 --display-name segment1 --connected-gateway /infra/tier-1s/gateway --revision 1 --dhcp-ranges 40.20.0.0 40.20.0.1 --gateway-address 40.20.20.20/16 + az vmware workload-network segment create --resource-group group1 --private-cloud cloud1 --segment segment1 --display-name segment1 --connected-gateway /infra/tier-1s/gateway --dhcp-ranges "[40.20.0.0-40.20.0.1]" --gateway-address 40.20.20.20/16 --revision 1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2024-09-01"], ] } @@ -187,7 +187,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_delete.py index 6fa77effc93..3b5780e59f8 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_list.py index b1bacb1b4f0..030347ae872 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_show.py index bc6a3280829..ad910bed826 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_update.py index 9ea6329c07c..2e75b1925ff 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2024-09-01"], ] } @@ -195,7 +195,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -298,7 +298,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_wait.py index 63bddc37dd2..8e6a7415868 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/segment/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/segments/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_list.py index b07deca9f31..0cd8dd5a005 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/virtualmachines", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/virtualmachines", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_show.py index 0a523e2c7b1..8fbcccc3fc2 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/virtualmachines/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/virtualmachines/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_create.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_create.py index 5f35e1ced94..f662c313578 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_create.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_create.py @@ -18,13 +18,13 @@ class Create(AAZCommand): """Create a vm group by id in a private cloud workload network. :example: Create a VM Group by ID in a workload network. - az vmware workload-network vm-group create --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1 --display-name vmGroup1 --members 564d43da-fefc-2a3b-1d92-42855622fa50 --revision 1 + az vmware workload-network vm-group create --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1 --display-name vmGroup1 --members "[564d43da-fefc-2a3b-1d92-42855622fa50]" --revision 1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2024-09-01"], ] } @@ -173,7 +173,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_delete.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_delete.py index efa098be69b..7c050093339 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_delete.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_delete.py @@ -19,13 +19,13 @@ class Delete(AAZCommand): """Delete a vm group by id in a private cloud workload network. :example: Delete a VM Group by ID in a private cloud workload network. - az vmware workload-network vm-group delete --resource-group group1 --private-cloud cloud1 --vm-group vmGroup1 + az vmware workload-network vm-group delete --resource-group group1 --vm-group vmGroup1 --private-cloud cloud1 """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2024-09-01"], ] } @@ -159,7 +159,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_list.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_list.py index 7e24d33002e..84933387cf1 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_list.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups", "2024-09-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_show.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_show.py index e255e463254..d8818f1aca1 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_show.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2024-09-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_update.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_update.py index 6adbb0128d4..5088b52f4d6 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_update.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-09-01", + "version": "2024-09-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2024-09-01"], ] } @@ -179,7 +179,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } @@ -282,7 +282,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_wait.py b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_wait.py index cdc3234f1f5..49d5235f5de 100644 --- a/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_wait.py +++ b/src/vmware/azext_vmware/aaz/latest/vmware/workload_network/vm_group/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2023-09-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.avs/privateclouds/{}/workloadnetworks/default/vmgroups/{}", "2024-09-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-09-01", + "api-version", "2024-09-01", required=True, ), } diff --git a/src/vmware/azext_vmware/azext_metadata.json b/src/vmware/azext_vmware/azext_metadata.json index de41d2919d7..33493b06498 100644 --- a/src/vmware/azext_vmware/azext_metadata.json +++ b/src/vmware/azext_vmware/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isPreview": false, - "azext.minCliCoreVersion": "2.67.0" + "azext.minCliCoreVersion": "2.70.0" } \ No newline at end of file diff --git a/src/vmware/azext_vmware/commands.py b/src/vmware/azext_vmware/commands.py index 366246f553b..6be8f0c6f44 100644 --- a/src/vmware/azext_vmware/commands.py +++ b/src/vmware/azext_vmware/commands.py @@ -9,9 +9,12 @@ def load_command_table(self, _): load_private_cloud_commands(self) load_location_commands(self) load_datastore_commands(self) + load_provisioned_network_commands(self) + load_pure_storage_policy_commands(self) load_script_execution_commands(self) load_placement_policy_commands(self) load_workload_network_commands(self) + load_vm_commands(self) def load_private_cloud_commands(self): @@ -42,6 +45,22 @@ def load_location_commands(self): g.custom_command('checktrialavailability', 'check_trial_availability', deprecate_info=g.deprecate(redirect='az vmware location check-trial-availability', hide=True)) +def load_provisioned_network_commands(self): + with self.command_group("vmware provisioned-network"): + from .operations.provisioned_network import ProvisionedNetworkList, ProvisionedNetworkShow + self.command_table["vmware provisioned-network list"] = ProvisionedNetworkList(loader=self) + self.command_table["vmware provisioned-network show"] = ProvisionedNetworkShow(loader=self) + + +def load_pure_storage_policy_commands(self): + with self.command_group("vmware pure-storage-policy"): + from .operations.pure_storage_policy import PureStoragePolicyList, PureStoragePolicyShow, PureStoragePolicyCreate, PureStoragePolicyDelete + self.command_table["vmware pure-storage-policy list"] = PureStoragePolicyList(loader=self) + self.command_table["vmware pure-storage-policy show"] = PureStoragePolicyShow(loader=self) + self.command_table["vmware pure-storage-policy create"] = PureStoragePolicyCreate(loader=self) + self.command_table["vmware pure-storage-policy delete"] = PureStoragePolicyDelete(loader=self) + + def load_datastore_commands(self): with self.command_group('vmware datastore') as g: g.custom_command('create', 'datastore_create', deprecate_info=g.deprecate(redirect='"az vmware datastore netapp-volume create" or "az vmware datastore disk-pool-volume create"', hide=True)) @@ -58,10 +77,16 @@ def load_datastore_commands(self): from .operations.datastore import DatastoreElasticVsanVolumeCreate self.command_table['vmware datastore elastic-san-volume create'] = DatastoreElasticVsanVolumeCreate(loader=self) + with self.command_group('vmware datastore pure-storage-volume'): + from .operations.datastore import DatastorePureStorageVolumeCreate + self.command_table['vmware datastore pure-storage-volume create'] = DatastorePureStorageVolumeCreate(loader=self) + def load_script_execution_commands(self): with self.command_group('vmware script-execution') as g: + from .operations.script_execution import ScriptExecutionGetExecutionLog g.custom_command('create', 'script_execution_create') + self.command_table["vmware script-execution get-execution-log"] = ScriptExecutionGetExecutionLog(loader=self) def load_placement_policy_commands(self): @@ -79,6 +104,12 @@ def load_placement_policy_commands(self): self.command_table['vmware placement-policy vm-host delete'] = PlacementPolicyVMHostDelete(loader=self) +def load_vm_commands(self): + with self.command_group('vmware vm'): + from .operations.virtual_machines import VmRestrictMovement + self.command_table['vmware vm restrict-movement'] = VmRestrictMovement(loader=self) + + def load_workload_network_commands(self): load_workload_network_vr_commands(self) load_workload_network_hcx_commands(self) diff --git a/src/vmware/azext_vmware/operations/addon.py b/src/vmware/azext_vmware/operations/addon.py index 0e267c6a0df..0d441be2298 100644 --- a/src/vmware/azext_vmware/operations/addon.py +++ b/src/vmware/azext_vmware/operations/addon.py @@ -171,6 +171,14 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The HCX offer, example VMware MaaS Cloud Provider (Enterprise)", required=True, ) + args_schema.management_network = AAZStrArg( + options=["--management-network"], + help="HCX management network.", + ) + args_schema.uplink_network = AAZStrArg( + options=["--uplink-network"], + help="HCX uplink network.", + ) setattr(args_schema.vr, '_registered', False) setattr(args_schema.hcx, '_registered', False) @@ -186,6 +194,8 @@ def pre_operations(self): args.addon_name = "hcx" args.hcx.offer = args.offer + args.hcx.management_network = args.management_network + args.hcx.uplink_network = args.uplink_network @register_command( @@ -209,6 +219,14 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The HCX offer, example VMware MaaS Cloud Provider (Enterprise)", required=True, ) + args_schema.management_network = AAZStrArg( + options=["--management-network"], + help="HCX management network.", + ) + args_schema.uplink_network = AAZStrArg( + options=["--uplink-network"], + help="HCX uplink network.", + ) setattr(args_schema.vr, '_registered', False) setattr(args_schema.hcx, '_registered', False) @@ -224,6 +242,8 @@ def pre_operations(self): args.addon_name = "hcx" args.hcx.offer = args.offer + args.hcx.management_network = args.management_network + args.hcx.uplink_network = args.uplink_network @register_command( diff --git a/src/vmware/azext_vmware/operations/datastore.py b/src/vmware/azext_vmware/operations/datastore.py index 71b4f8f201d..e76eff3385d 100644 --- a/src/vmware/azext_vmware/operations/datastore.py +++ b/src/vmware/azext_vmware/operations/datastore.py @@ -24,6 +24,9 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.mount_option, '_registered', False) setattr(args_schema.target_id, '_registered', False) setattr(args_schema.elastic_san_volume, '_registered', False) + setattr(args_schema.size_gb, '_registered', False) + setattr(args_schema.storage_pool_id, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) return args_schema @@ -43,6 +46,9 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.lun_name, '_required', True) setattr(args_schema.target_id, '_required', True) setattr(args_schema.elastic_san_volume, '_registered', False) + setattr(args_schema.size_gb, '_registered', False) + setattr(args_schema.storage_pool_id, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) return args_schema @@ -63,5 +69,34 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.mount_option, '_registered', False) setattr(args_schema.target_id, '_registered', False) setattr(args_schema.elastic_san_volume, '_required', True) + setattr(args_schema.size_gb, '_registered', False) + setattr(args_schema.storage_pool_id, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) + + return args_schema + + +@register_command( + "vmware datastore pure-storage-volume create", +) +class DatastorePureStorageVolumeCreate(_DatastoreCreate): + """Create a Pure Storage volume in a private cloud cluster using PureStorage.Block provider. + + :example: Create a Pure Storage volume in a private cloud. + az vmware datastore pure-storage-volume create --name PureStorageDatastore1 --resource-group ResourceGroup1 --private-cloud PrivateCloud1 --cluster Cluster1 --storage-pool-id StoragePool1 --size-gb 64 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + + setattr(args_schema.net_app_volume, '_registered', False) + setattr(args_schema.lun_name, '_registered', False) + setattr(args_schema.mount_option, '_registered', False) + setattr(args_schema.target_id, '_registered', False) + setattr(args_schema.elastic_san_volume, '_registered', False) + setattr(args_schema.size_gb, '_required', True) + setattr(args_schema.storage_pool_id, '_required', True) + setattr(args_schema.no_wait, '_registered', False) return args_schema diff --git a/src/vmware/azext_vmware/operations/placement_policy.py b/src/vmware/azext_vmware/operations/placement_policy.py index e22fcd97fda..cf08e1177f9 100644 --- a/src/vmware/azext_vmware/operations/placement_policy.py +++ b/src/vmware/azext_vmware/operations/placement_policy.py @@ -41,6 +41,7 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.vm_host, '_registered', False) setattr(args_schema.vm_vm, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) return args_schema def pre_operations(self): @@ -145,6 +146,7 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.vm_host, '_registered', False) setattr(args_schema.vm_vm, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) return args_schema def pre_operations(self): diff --git a/src/vmware/azext_vmware/operations/provisioned_network.py b/src/vmware/azext_vmware/operations/provisioned_network.py new file mode 100644 index 00000000000..d95a7237de3 --- /dev/null +++ b/src/vmware/azext_vmware/operations/provisioned_network.py @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + +from ..aaz.latest.vmware.private_cloud.provisioned_network import List, Show +from azure.cli.core.aaz import register_command_group, register_command, AAZCommandGroup + + +@register_command_group( + "vmware provisioned-network", +) +class __CMDGroup(AAZCommandGroup): # pylint: disable=too-few-public-methods + """Commands to list and show provisioned network resources. + """ + + +__all__ = ["__CMDGroup"] + + +@register_command( + "vmware provisioned-network list", +) +class ProvisionedNetworkList(List): + """List ProvisionedNetwork resources by PrivateCloud. + + :example: List ProvisionedNetwork resources. + az vmware provisioned-network list --resource-group group1 --private-cloud-name cloud1 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + return args_schema + + +@register_command( + "vmware provisioned-network show", +) +class ProvisionedNetworkShow(Show): + """ Get a provisioned network by name in a private cloud. + + :example: Get a provisioned network by name. + az vmware provisioned-network show --resource-group group1 --private-cloud-name cloud1 --provisioned-network-name network1 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + return args_schema diff --git a/src/vmware/azext_vmware/operations/pure_storage_policy.py b/src/vmware/azext_vmware/operations/pure_storage_policy.py new file mode 100644 index 00000000000..9e34c9b86cd --- /dev/null +++ b/src/vmware/azext_vmware/operations/pure_storage_policy.py @@ -0,0 +1,85 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + +from ..aaz.latest.vmware.private_cloud.pure_storage_policy import List, Show, Create, Delete +from azure.cli.core.aaz import register_command_group, register_command, AAZCommandGroup + + +@register_command_group( + "vmware pure-storage-policy", +) +class __CMDGroup(AAZCommandGroup): # pylint: disable=too-few-public-methods + """Commands to manage Pure Storage policy resources. + """ + + +__all__ = ["__CMDGroup"] + + +@register_command( + "vmware pure-storage-policy list", +) +class PureStoragePolicyList(List): + """List Pure Storage policy resources by PrivateCloud. + + :example: List ProvisionedNetwork resources. + az vmware pure-storage-policy list --resource-group group1 --private-cloud-name cloud1 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + return args_schema + + +@register_command( + "vmware pure-storage-policy show", +) +class PureStoragePolicyShow(Show): + """Show details of a Pure Storage policy for a private cloud. + + :example: Show details of a Pure Storage policy. + az vmware pure-storage-policy show --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + return args_schema + + +@register_command( + "vmware pure-storage-policy create", +) +class PureStoragePolicyCreate(Create): + """Create a Pure Storage policy for a private cloud. + + :example: Create a Pure Storage policy. + az vmware pure-storage-policy create --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 --storage-policy-definition storagePolicyDefinition1 --storage-pool-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + setattr(args_schema.no_wait, '_registered', False) + return args_schema + + +@register_command( + "vmware pure-storage-policy delete", + confirmation="This will delete the Pure Storage policy. Are you sure?", +) +class PureStoragePolicyDelete(Delete): + """Delete a Pure Storage policy for a private cloud. + + :example: Delete a Pure Storage policy. + az vmware pure-storage-policy delete --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + return args_schema diff --git a/src/vmware/azext_vmware/operations/script_execution.py b/src/vmware/azext_vmware/operations/script_execution.py new file mode 100644 index 00000000000..a5601c94b3e --- /dev/null +++ b/src/vmware/azext_vmware/operations/script_execution.py @@ -0,0 +1,30 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + +from ..aaz.latest.vmware.private_cloud.script_execution import GetExecutionLog +from azure.cli.core.aaz import register_command + + +@register_command( + "vmware script-execution get-execution-log", +) +class ScriptExecutionGetExecutionLog(GetExecutionLog): + """Return the logs for a script execution resource in a private cloud. + + :example: Return the logs for a script execution resource. + az vmware script-execution get-execution-log --resource-group group1 --private-cloud-name cloud1 --script-execution-name addSsoServer --script-output-stream-type "[Information]" + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + return args_schema + + def pre_operations(self): + super().pre_operations() + args = self.ctx.args + if not getattr(args, 'script_output_stream_type', None): + args.script_output_stream_type = ["Information", "Warning", "Output", "Error"] diff --git a/src/vmware/azext_vmware/operations/virtual_machines.py b/src/vmware/azext_vmware/operations/virtual_machines.py new file mode 100644 index 00000000000..57f8b76cb45 --- /dev/null +++ b/src/vmware/azext_vmware/operations/virtual_machines.py @@ -0,0 +1,26 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + +from ..aaz.latest.vmware.vm import RestrictMovement +from azure.cli.core.aaz import register_command + + +@register_command( + "vmware vm restrict-movement", +) +class VmRestrictMovement(RestrictMovement): + """ Enable or disable DRS-driven VM movement restriction. + + :example: Enable or disable DRS-driven VM movement restriction. + az vmware vm restrict-movement --resource-group group1 --private-cloud cloud1 --cluster-name cluster1 --virtual-machine vm-209 --restrict-movement Enabled + """ + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + setattr(args_schema.no_wait, '_registered', False) + + return args_schema diff --git a/src/vmware/azext_vmware/operations/workload_network.py b/src/vmware/azext_vmware/operations/workload_network.py index b2263a174f5..e0e32b997fc 100644 --- a/src/vmware/azext_vmware/operations/workload_network.py +++ b/src/vmware/azext_vmware/operations/workload_network.py @@ -35,6 +35,7 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.relay, '_registered', False) setattr(args_schema.server, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) return args_schema def pre_operations(self): @@ -118,6 +119,7 @@ def _build_arguments_schema(cls, *args, **kwargs): setattr(args_schema.relay, '_registered', False) setattr(args_schema.server, '_registered', False) + setattr(args_schema.no_wait, '_registered', False) return args_schema def pre_operations(self): diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware.yaml index 2cd91e5ccb3..c49525305e7 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware.yaml @@ -15,9 +15,9 @@ interactions: ParameterSetName: - --location User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/locations/centralus/checkQuotaAvailability?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/locations/centralus/checkQuotaAvailability?api-version=2024-09-01 response: body: string: '{"hostsRemaining":{"AV20":0,"AV36":999},"quotaEnabled":"Enabled"}' @@ -35,7 +35,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:02 GMT + - Mon, 16 Jun 2025 01:46:37 GMT server: - Rocket status: @@ -59,9 +59,9 @@ interactions: ParameterSetName: - --location --sku User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/locations/centralus/checkTrialAvailability?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/locations/centralus/checkTrialAvailability?api-version=2024-09-01 response: body: string: '{"status":"TrialAvailable","availableHosts":4}' @@ -79,7 +79,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:04 GMT + - Mon, 16 Jun 2025 01:46:39 GMT server: - Rocket status: @@ -99,12 +99,12 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}]}' headers: access-control-allow-credentials: - 'true' @@ -115,11 +115,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1860' + - '1897' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:07 GMT + - Mon, 16 Jun 2025 01:46:41 GMT server: - Rocket status: @@ -127,8 +127,7 @@ interactions: message: OK - request: body: '{"identity": {"type": "None"}, "location": "centralus", "properties": {"internet": - "Disabled", "managementCluster": {"clusterSize": 3}, "networkBlock": "192.168.48.0/22", - "nsxtPassword": "5rqdLj4GF3cePUe6(", "vcenterPassword": "UpfBXae9ZquZSDXk("}, + "Disabled", "managementCluster": {"clusterSize": 3}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "av20"}}' headers: Accept: @@ -140,19 +139,18 @@ interactions: Connection: - keep-alive Content-Length: - - '273' + - '196' Content-Type: - application/json ParameterSetName: - - -g -n --location --sku --cluster-size --network-block --nsxt-password --vcenter-password - --accept-eula + - -g -n --location --sku --cluster-size --network-block --accept-eula User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -163,11 +161,57 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:09 GMT + - Mon, 16 Jun 2025 01:46:43 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"identity": {"type": "None"}, "location": "centralus", "properties": {"internet": + "Disabled", "managementCluster": {"clusterSize": 3}, "networkBlock": "192.168.48.0/22"}, + "sku": {"name": "av20"}, "zones": ["1"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware private-cloud create + Connection: + - keep-alive + Content-Length: + - '212' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location --sku --cluster-size --network-block --zones --accept-eula + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '1414' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:45 GMT server: - Rocket status: @@ -187,12 +231,12 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}]}' headers: access-control-allow-credentials: - 'true' @@ -203,11 +247,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1860' + - '1897' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:12 GMT + - Mon, 16 Jun 2025 01:46:48 GMT server: - Rocket status: @@ -225,12 +269,12 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/privateClouds?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/privateClouds?api-version=2024-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22"},"sku":{"name":"AV36"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22"},"sku":{"name":"AV36"}}]}' headers: access-control-allow-credentials: - 'true' @@ -241,11 +285,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1715' + - '1752' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:14 GMT + - Mon, 16 Jun 2025 01:46:50 GMT server: - Rocket status: @@ -267,9 +311,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/listAdminCredentials?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/listAdminCredentials?api-version=2024-09-01 response: body: string: '{"nsxtUsername":"admin","nsxtPassword":"$(1X4Dkk","vcenterUsername":"cloudadmin@vsphere.local","vcenterPassword":""}' @@ -287,7 +331,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:17 GMT + - Mon, 16 Jun 2025 01:46:53 GMT server: - Rocket status: @@ -309,9 +353,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/rotateVcenterPassword?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/rotateVcenterPassword?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' @@ -329,7 +373,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:19 GMT + - Mon, 16 Jun 2025 01:46:55 GMT server: - Rocket status: @@ -351,9 +395,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/rotateNsxtPassword?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/rotateNsxtPassword?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' @@ -371,7 +415,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:22 GMT + - Mon, 16 Jun 2025 01:46:58 GMT server: - Rocket status: @@ -391,12 +435,12 @@ interactions: ParameterSetName: - -g -n --cluster-size User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -407,11 +451,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:24 GMT + - Mon, 16 Jun 2025 01:47:00 GMT server: - Rocket status: @@ -426,8 +470,9 @@ interactions: "domain1", "name": "group1", "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -438,18 +483,18 @@ interactions: Connection: - keep-alive Content-Length: - - '865' + - '904' Content-Type: - application/json ParameterSetName: - -g -n --cluster-size User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -460,11 +505,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:24 GMT + - Mon, 16 Jun 2025 01:47:00 GMT server: - Rocket status: @@ -484,12 +529,12 @@ interactions: ParameterSetName: - -g -n --internet User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -500,11 +545,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:27 GMT + - Mon, 16 Jun 2025 01:47:03 GMT server: - Rocket status: @@ -519,8 +564,9 @@ interactions: "domain1", "name": "group1", "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Enabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -531,18 +577,18 @@ interactions: Connection: - keep-alive Content-Length: - - '864' + - '903' Content-Type: - application/json ParameterSetName: - -g -n --internet User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -553,11 +599,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:27 GMT + - Mon, 16 Jun 2025 01:47:03 GMT server: - Rocket status: @@ -577,12 +623,12 @@ interactions: ParameterSetName: - -g -n --hosts User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -593,11 +639,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:30 GMT + - Mon, 16 Jun 2025 01:47:06 GMT server: - Rocket status: @@ -611,8 +657,9 @@ interactions: "groupAlias", "baseGroupDN": "ou=baseGroup", "baseUserDN": "ou=baseUser", "domain": "domain1", "name": "group1", "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": - {"clusterSize": 4, "hosts": ["[host1,", "host2,", "host3]"]}, "networkBlock": - "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + {"clusterSize": 4, "hosts": ["[host1,", "host2,", "host3]"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -623,18 +670,18 @@ interactions: Connection: - keep-alive Content-Length: - - '748' + - '787' Content-Type: - application/json ParameterSetName: - -g -n --hosts User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -645,11 +692,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:30 GMT + - Mon, 16 Jun 2025 01:47:06 GMT server: - Rocket status: @@ -669,12 +716,12 @@ interactions: ParameterSetName: - -g -n --vsan-datastore-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -685,11 +732,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:33 GMT + - Mon, 16 Jun 2025 01:47:09 GMT server: - Rocket status: @@ -723,12 +770,12 @@ interactions: ParameterSetName: - -g -n --vsan-datastore-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -739,11 +786,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:33 GMT + - Mon, 16 Jun 2025 01:47:09 GMT server: - Rocket status: @@ -763,9 +810,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1","name":"authorization1","type":"Microsoft.AVS/privateClouds/authorizations","properties":{"provisioningState":"Succeeded","expressRouteAuthorizationId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth","expressRouteAuthorizationKey":"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}]}' @@ -783,7 +830,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:35 GMT + - Mon, 16 Jun 2025 01:47:12 GMT server: - Rocket status: @@ -803,9 +850,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/myauthname?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/myauthname?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1","name":"authorization1","type":"Microsoft.AVS/privateClouds/authorizations","properties":{"provisioningState":"Succeeded","expressRouteAuthorizationId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth","expressRouteAuthorizationKey":"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}' @@ -823,7 +870,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:38 GMT + - Mon, 16 Jun 2025 01:47:14 GMT server: - Rocket status: @@ -847,9 +894,9 @@ interactions: ParameterSetName: - -g -c -n --express-route-id User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/myauthname?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/myauthname?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1","name":"authorization1","type":"Microsoft.AVS/privateClouds/authorizations","properties":{"provisioningState":"Succeeded","expressRouteAuthorizationId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth","expressRouteAuthorizationKey":"37b0db3b-3b17-4c7b-bf76-bf13b01bcadc","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}' @@ -867,7 +914,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:40 GMT + - Mon, 16 Jun 2025 01:47:15 GMT server: - Rocket status: @@ -889,9 +936,9 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/myauthname?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/myauthname?api-version=2024-09-01 response: body: string: '' @@ -909,7 +956,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:43 GMT + - Mon, 16 Jun 2025 01:47:19 GMT server: - Rocket status: @@ -930,7 +977,7 @@ interactions: - -g -c -n --alias --domain --base-user-dn --base-group-dn --primary-server --username --password User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-03-01 response: @@ -950,7 +997,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:45 GMT + - Mon, 16 Jun 2025 01:47:21 GMT server: - Rocket status: @@ -984,7 +1031,7 @@ interactions: - -g -c -n --alias --domain --base-user-dn --base-group-dn --primary-server --username --password User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-03-01 response: @@ -1004,7 +1051,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:45 GMT + - Mon, 16 Jun 2025 01:47:21 GMT server: - Rocket status: @@ -1024,7 +1071,7 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-03-01 response: @@ -1044,7 +1091,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:48 GMT + - Mon, 16 Jun 2025 01:47:24 GMT server: - Rocket status: @@ -1075,7 +1122,7 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-03-01 response: @@ -1095,7 +1142,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:48 GMT + - Mon, 16 Jun 2025 01:47:24 GMT server: - Rocket status: @@ -1115,9 +1162,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1","name":"cluster1","type":"Microsoft.AVS/privateClouds/clusters","properties":{"clusterSize":3,"provisioningState":"Succeeded","hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"]},"sku":{"name":"AV20"}}]}' @@ -1135,7 +1182,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:50 GMT + - Mon, 16 Jun 2025 01:47:27 GMT server: - Rocket status: @@ -1161,9 +1208,9 @@ interactions: ParameterSetName: - -g -c -n --sku --size --hosts --vsan-datastore-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1","name":"cluster1","type":"Microsoft.AVS/privateClouds/clusters","properties":{"clusterSize":3,"provisioningState":"Succeeded","hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"]},"sku":{"name":"AV20"}}' @@ -1181,7 +1228,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:53 GMT + - Mon, 16 Jun 2025 01:47:28 GMT server: - Rocket status: @@ -1205,9 +1252,9 @@ interactions: ParameterSetName: - -g -c -n --sku --size User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1","name":"cluster1","type":"Microsoft.AVS/privateClouds/clusters","properties":{"clusterSize":3,"provisioningState":"Succeeded","hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"]},"sku":{"name":"AV20"}}' @@ -1225,7 +1272,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:56 GMT + - Mon, 16 Jun 2025 01:47:31 GMT server: - Rocket status: @@ -1245,9 +1292,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1","name":"cluster1","type":"Microsoft.AVS/privateClouds/clusters","properties":{"clusterSize":3,"provisioningState":"Succeeded","hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"]},"sku":{"name":"AV20"}}]}' @@ -1265,7 +1312,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:58 GMT + - Mon, 16 Jun 2025 01:47:33 GMT server: - Rocket status: @@ -1285,9 +1332,9 @@ interactions: ParameterSetName: - -g -c -n --size User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1","name":"cluster1","type":"Microsoft.AVS/privateClouds/clusters","properties":{"clusterSize":4,"provisioningState":"Succeeded","hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center","fakehost25.nyc1.kubernetes.center"]},"sku":{"name":"AV20"}}' @@ -1305,7 +1352,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:01 GMT + - Mon, 16 Jun 2025 01:47:36 GMT server: - Rocket status: @@ -1331,9 +1378,9 @@ interactions: ParameterSetName: - -g -c -n --size User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1","name":"cluster1","type":"Microsoft.AVS/privateClouds/clusters","properties":{"clusterSize":3,"provisioningState":"Succeeded","hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"]},"sku":{"name":"AV20"}}' @@ -1351,7 +1398,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:01 GMT + - Mon, 16 Jun 2025 01:47:36 GMT server: - Rocket status: @@ -1371,12 +1418,12 @@ interactions: ParameterSetName: - -g -n --ext-nw-blocks User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -1387,11 +1434,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:03 GMT + - Mon, 16 Jun 2025 01:47:39 GMT server: - Rocket status: @@ -1407,8 +1454,9 @@ interactions: "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -1419,18 +1467,18 @@ interactions: Connection: - keep-alive Content-Length: - - '937' + - '976' Content-Type: - application/json ParameterSetName: - -g -n --ext-nw-blocks User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -1441,11 +1489,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:03 GMT + - Mon, 16 Jun 2025 01:47:39 GMT server: - Rocket status: @@ -1465,12 +1513,12 @@ interactions: ParameterSetName: - -g -n --ext-nw-blocks User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -1481,11 +1529,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:06 GMT + - Mon, 16 Jun 2025 01:47:42 GMT server: - Rocket status: @@ -1500,8 +1548,9 @@ interactions: "domain1", "name": "group1", "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -1512,18 +1561,18 @@ interactions: Connection: - keep-alive Content-Length: - - '865' + - '904' Content-Type: - application/json ParameterSetName: - -g -n --ext-nw-blocks User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -1534,11 +1583,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:06 GMT + - Mon, 16 Jun 2025 01:47:42 GMT server: - Rocket status: @@ -1558,12 +1607,12 @@ interactions: ParameterSetName: - -g -c --system-assigned User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -1574,11 +1623,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:08 GMT + - Mon, 16 Jun 2025 01:47:44 GMT server: - Rocket status: @@ -1593,8 +1642,9 @@ interactions: "domain1", "name": "group1", "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -1605,18 +1655,18 @@ interactions: Connection: - keep-alive Content-Length: - - '865' + - '904' Content-Type: - application/json ParameterSetName: - -g -c --system-assigned User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -1627,11 +1677,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:08 GMT + - Mon, 16 Jun 2025 01:47:44 GMT server: - Rocket status: @@ -1651,12 +1701,12 @@ interactions: ParameterSetName: - -c -g --enc-kv-key-name --enc-kv-url User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -1667,11 +1717,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:11 GMT + - Mon, 16 Jun 2025 01:47:47 GMT server: - Rocket status: @@ -1686,8 +1736,9 @@ interactions: "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -1698,18 +1749,18 @@ interactions: Connection: - keep-alive Content-Length: - - '842' + - '881' Content-Type: - application/json ParameterSetName: - -c -g --enc-kv-key-name --enc-kv-url User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -1720,11 +1771,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:11 GMT + - Mon, 16 Jun 2025 01:47:47 GMT server: - Rocket status: @@ -1744,12 +1795,12 @@ interactions: ParameterSetName: - -c -g --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"encryption":{"status":"Enabled","keyVaultProperties":{"keyName":"keyname1","keyVersion":"ver1.0","keyVaultUrl":"https://keyvault1-kmip-kvault.vault.azure.net/","keyState":"Connected","versionType":"Fixed"}},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect","expressRoutePrivatePeeringID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt42-cust-p01-dmo01/providers/Microsoft.Network/expressroutecircuits/tnt42-cust-p01-dmo01-er/peerings/AzurePrivatePeering"},"endpoints":{"nsxtManager":"https://nsx.290351365f5b41a19b77af.eastus.avslab.azure.com/","vcsa":"https://vc.290351365f5b41a19b77af.eastus.avslab.azure.com/","hcxCloudManager":"https://hcx.290351365f5b41a19b77af.eastus.avslab.azure.com/","nsxtManagerIp":"192.168.50.3","vcenterIp":"192.168.50.2","hcxCloudManagerIp":"192.168.50.4"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"},"identity":{"principalId":"881e5573-063f-49e4-8c08-79d7df0169d8","tenantId":"881e5573-063f-49e4-8c08-79d7df0169d8","type":"SystemAssigned"}}' headers: access-control-allow-credentials: - 'true' @@ -1760,11 +1811,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '2196' + - '2233' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:14 GMT + - Mon, 16 Jun 2025 01:47:50 GMT server: - Rocket status: @@ -1778,8 +1829,9 @@ interactions: "primaryServer": "ldaps://1.1.1.1:636/", "secondaryServer": "ldaps://1.1.1.2:636/", "ssl": "Enabled"}], "internet": "Disabled", "managementCluster": {"clusterSize": 4, "hosts": ["fakehost18.nyc1.kubernetes.center", "fakehost19.nyc1.kubernetes.center", - "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"]}, - "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, "tags": {}}' + "fakehost20.nyc1.kubernetes.center", "fakehost21.nyc1.kubernetes.center"], "vsanDatastoreName": + "vsanDatastore1"}, "networkBlock": "192.168.48.0/22"}, "sku": {"name": "AV36"}, + "tags": {}}' headers: Accept: - application/json @@ -1790,18 +1842,18 @@ interactions: Connection: - keep-alive Content-Length: - - '730' + - '769' Content-Type: - application/json ParameterSetName: - -c -g --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -1812,11 +1864,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:14 GMT + - Mon, 16 Jun 2025 01:47:50 GMT server: - Rocket status: @@ -1838,9 +1890,9 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: string: '' @@ -1858,7 +1910,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:17 GMT + - Mon, 16 Jun 2025 01:47:52 GMT server: - Rocket status: @@ -1880,9 +1932,9 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1?api-version=2024-09-01 response: body: string: '' @@ -1900,7 +1952,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:20 GMT + - Mon, 16 Jun 2025 01:47:55 GMT server: - Rocket status: @@ -1922,9 +1974,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1/listZones?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/pycluster1/listZones?api-version=2024-09-01 response: body: string: '{"zones":[{"hosts":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"zone":"2"}]}' @@ -1942,7 +1994,87 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:22 GMT + - Mon, 16 Jun 2025 01:47:58 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware cluster host list + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name --private-cloud-name + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts?api-version=2024-09-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com","name":"esx03-r52.1111111111111111111.westcentralus.prod.azure.com","type":"Microsoft.AVS/privateClouds/clusters/hosts","properties":{"kind":"General","displayName":"esx03-r52.1111111111111111111.westcentralus.prod.azure.com","moRefId":"host-209","fqdn":"esx03-r52.1111111111111111111.westcentralus.prod.azure.com","faultDomain":"1"},"zones":["1"],"sku":{"name":"av64"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r60.1111111111111111111.westcentralus.prod.azure.com","name":"esx03-r60.1111111111111111111.westcentralus.prod.azure.com","type":"Microsoft.AVS/privateClouds/clusters/hosts","properties":{"kind":"General","displayName":"esx03-r60.1111111111111111111.westcentralus.prod.azure.com","moRefId":"host-128","maintenance":"Replacement"},"zones":["1"],"sku":{"name":"av64"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/esx03-r65.1111111111111111111.westcentralus.prod.azure.com","name":"esx03-r65.1111111111111111111.westcentralus.prod.azure.com","type":"Microsoft.AVS/privateClouds/clusters/hosts","properties":{"kind":"Specialized"},"zones":["1"]}]}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '1496' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:48:00 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware cluster host show + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name --private-cloud-name --host-id + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/hosts/name?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/Hosts/esx03-r52.1111111111111111111.westcentralus.prod.azure.com","name":"esx03-r52.1111111111111111111.westcentralus.prod.azure.com","type":"Microsoft.AVS/privateClouds/clusters/hosts","properties":{"kind":"General","displayName":"esx03-r52.1111111111111111111.westcentralus.prod.azure.com","moRefId":"host-209","fqdn":"esx03-r52.1111111111111111111.westcentralus.prod.azure.com","faultDomain":"1"},"zones":["1"],"sku":{"name":"av64"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '580' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:48:02 GMT server: - Rocket status: @@ -1964,9 +2096,9 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: string: '' @@ -1984,7 +2116,45 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:25 GMT + - Mon, 16 Jun 2025 01:48:04 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware skus list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AVS/skus?api-version=2024-09-01 + response: + body: + string: '{"value":[{"resourceType":"privateClouds","name":"av36","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":["1"],"zoneDetails":[]}],"capabilities":[{"name":"CpuCoreCount","value":"36"},{"name":"RamGB","value":"576"},{"name":"StorageCacheTB","value":"3.2"},{"name":"StorageTB","value":"15.2"},{"name":"HostType","value":"he"}],"restrictions":[]},{"resourceType":"privateClouds","name":"av36p","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":["3"],"zoneDetails":[]}],"capabilities":[{"name":"CpuCoreCount","value":"36"},{"name":"RamGB","value":"768"},{"name":"StorageCacheTB","value":"1.5"},{"name":"StorageTB","value":"19.2"},{"name":"HostType","value":"he2"}],"restrictions":[]},{"resourceType":"privateClouds","name":"av36pt","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":["2","3"],"zoneDetails":[]}],"capabilities":[{"name":"CpuCoreCount","value":"36"},{"name":"RamGB","value":"768"},{"name":"StorageCacheTB","value":"1.5"},{"name":"StorageTB","value":"19.2"},{"name":"HostType","value":"he2"}],"restrictions":[]}]}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '1110' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:48:07 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_addon.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_addon.yaml index cfc758780af..c707812703f 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_addon.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_addon.yaml @@ -19,12 +19,12 @@ interactions: ParameterSetName: - -g -n --location --sku --cluster-size --network-block --accept-eula User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -35,11 +35,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:12 GMT + - Mon, 16 Jun 2025 01:45:47 GMT server: - Rocket status: @@ -59,9 +59,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -79,7 +79,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:15 GMT + - Mon, 16 Jun 2025 01:45:49 GMT server: - Rocket status: @@ -103,9 +103,9 @@ interactions: ParameterSetName: - -g -c --vrs-count User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:17 GMT + - Mon, 16 Jun 2025 01:45:52 GMT server: - Rocket status: @@ -143,9 +143,9 @@ interactions: ParameterSetName: - -g -c --vrs-count User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -163,7 +163,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:20 GMT + - Mon, 16 Jun 2025 01:45:54 GMT server: - Rocket status: @@ -187,9 +187,9 @@ interactions: ParameterSetName: - -g -c --vrs-count User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -207,7 +207,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:20 GMT + - Mon, 16 Jun 2025 01:45:54 GMT server: - Rocket status: @@ -227,9 +227,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -247,7 +247,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:22 GMT + - Mon, 16 Jun 2025 01:45:57 GMT server: - Rocket status: @@ -267,9 +267,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -287,7 +287,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:24 GMT + - Mon, 16 Jun 2025 01:45:59 GMT server: - Rocket status: @@ -309,9 +309,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/vr?api-version=2024-09-01 response: body: string: '' @@ -329,7 +329,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:26 GMT + - Mon, 16 Jun 2025 01:46:01 GMT server: - Rocket status: @@ -349,9 +349,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -369,7 +369,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:29 GMT + - Mon, 16 Jun 2025 01:46:04 GMT server: - Rocket status: @@ -393,9 +393,9 @@ interactions: ParameterSetName: - -g -c --license-key User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -413,7 +413,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:31 GMT + - Mon, 16 Jun 2025 01:46:06 GMT server: - Rocket status: @@ -433,9 +433,9 @@ interactions: ParameterSetName: - -g -c --license-key User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -453,7 +453,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:34 GMT + - Mon, 16 Jun 2025 01:46:09 GMT server: - Rocket status: @@ -477,9 +477,9 @@ interactions: ParameterSetName: - -g -c --license-key User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -497,7 +497,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:34 GMT + - Mon, 16 Jun 2025 01:46:09 GMT server: - Rocket status: @@ -521,9 +521,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -541,7 +541,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:36 GMT + - Mon, 16 Jun 2025 01:46:11 GMT server: - Rocket status: @@ -561,9 +561,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -581,7 +581,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:40 GMT + - Mon, 16 Jun 2025 01:46:14 GMT server: - Rocket status: @@ -605,9 +605,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -625,7 +625,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:40 GMT + - Mon, 16 Jun 2025 01:46:14 GMT server: - Rocket status: @@ -645,9 +645,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -665,7 +665,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:42 GMT + - Mon, 16 Jun 2025 01:46:17 GMT server: - Rocket status: @@ -685,9 +685,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -705,7 +705,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:44 GMT + - Mon, 16 Jun 2025 01:46:19 GMT server: - Rocket status: @@ -727,9 +727,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/srm?api-version=2024-09-01 response: body: string: '' @@ -747,7 +747,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:46 GMT + - Mon, 16 Jun 2025 01:46:21 GMT server: - Rocket status: @@ -771,9 +771,9 @@ interactions: ParameterSetName: - -g -c --offer User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -791,7 +791,481 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:50 GMT + - Mon, 16 Jun 2025 01:46:24 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "managementNetwork": "10.3.1.0/24", + "offer": "offerId"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx create + Connection: + - keep-alive + Content-Length: + - '92' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer --management-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:27 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "offer": "offerId", "uplinkNetwork": + "10.3.2.0/24"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx create + Connection: + - keep-alive + Content-Length: + - '88' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer --uplink-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:29 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "managementNetwork": "10.3.1.0/24", + "offer": "offerId", "uplinkNetwork": "10.3.2.0/24"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx create + Connection: + - keep-alive + Content-Length: + - '124' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer --management-network --uplink-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:32 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + ParameterSetName: + - -g -c --offer + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:34 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "offer": "offerId"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + Content-Length: + - '56' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:34 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + ParameterSetName: + - -g -c --offer --management-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:37 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "managementNetwork": "10.3.1.0/24", + "offer": "offerId"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + Content-Length: + - '92' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer --management-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:37 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + ParameterSetName: + - -g -c --offer --uplink-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:40 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "offer": "offerId", "uplinkNetwork": + "10.3.2.0/24"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + Content-Length: + - '88' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer --uplink-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:40 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + ParameterSetName: + - -g -c --offer --management-network --uplink-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:43 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"addonType": "HCX", "managementNetwork": "10.3.1.0/24", + "offer": "offerId", "uplinkNetwork": "10.3.2.0/24"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware addon hcx update + Connection: + - keep-alive + Content-Length: + - '124' + Content-Type: + - application/json + ParameterSetName: + - -g -c --offer --management-network --uplink-network + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '411' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:43 GMT server: - Rocket status: @@ -811,9 +1285,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -831,7 +1305,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:52 GMT + - Mon, 16 Jun 2025 01:46:45 GMT server: - Rocket status: @@ -853,9 +1327,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/hcx?api-version=2024-09-01 response: body: string: '' @@ -873,7 +1347,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:55 GMT + - Mon, 16 Jun 2025 01:46:47 GMT server: - Rocket status: @@ -897,9 +1371,9 @@ interactions: ParameterSetName: - -g -c --vcenter User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -917,7 +1391,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:57 GMT + - Mon, 16 Jun 2025 01:46:50 GMT server: - Rocket status: @@ -937,9 +1411,9 @@ interactions: ParameterSetName: - -g -c --vcenter User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -957,7 +1431,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:00 GMT + - Mon, 16 Jun 2025 01:46:53 GMT server: - Rocket status: @@ -981,9 +1455,9 @@ interactions: ParameterSetName: - -g -c --vcenter User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -1001,7 +1475,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:00 GMT + - Mon, 16 Jun 2025 01:46:53 GMT server: - Rocket status: @@ -1025,9 +1499,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -1045,7 +1519,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:02 GMT + - Mon, 16 Jun 2025 01:46:55 GMT server: - Rocket status: @@ -1065,9 +1539,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -1085,7 +1559,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:05 GMT + - Mon, 16 Jun 2025 01:46:58 GMT server: - Rocket status: @@ -1109,9 +1583,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -1129,7 +1603,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:05 GMT + - Mon, 16 Jun 2025 01:46:58 GMT server: - Rocket status: @@ -1149,9 +1623,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -1169,7 +1643,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:08 GMT + - Mon, 16 Jun 2025 01:47:00 GMT server: - Rocket status: @@ -1191,9 +1665,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons/arc?api-version=2024-09-01 response: body: string: '' @@ -1211,7 +1685,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:10 GMT + - Mon, 16 Jun 2025 01:47:03 GMT server: - Rocket status: @@ -1231,9 +1705,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_addon000001/providers/Microsoft.AVS/privateClouds/mycloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -1251,7 +1725,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:12 GMT + - Mon, 16 Jun 2025 01:47:06 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_cloud_link.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_cloud_link.yaml index b4f4e139bd8..51b8c2e0e2d 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_cloud_link.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_cloud_link.yaml @@ -17,9 +17,9 @@ interactions: ParameterSetName: - -g -c -n --linked-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1","name":"cloudLink1","type":"Microsoft.AVS/privateClouds/cloudLinks","properties":{"status":"Active","linkedCloud":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"}}' @@ -37,7 +37,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:12 GMT + - Mon, 16 Jun 2025 01:45:47 GMT server: - Rocket status: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1","name":"cloudLink1","type":"Microsoft.AVS/privateClouds/cloudLinks","properties":{"status":"Active","linkedCloud":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"}}]}' @@ -77,7 +77,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:15 GMT + - Mon, 16 Jun 2025 01:45:49 GMT server: - Rocket status: @@ -97,9 +97,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1","name":"cloudLink1","type":"Microsoft.AVS/privateClouds/cloudLinks","properties":{"status":"Active","linkedCloud":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"}}' @@ -117,7 +117,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:17 GMT + - Mon, 16 Jun 2025 01:45:52 GMT server: - Rocket status: @@ -139,9 +139,9 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/cloudLinks/cloudLink1?api-version=2024-09-01 response: body: string: '' @@ -159,7 +159,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:19 GMT + - Mon, 16 Jun 2025 01:45:54 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_datastores.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_datastores.yaml index 20907268370..23615cbe85f 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_datastores.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_datastores.yaml @@ -18,9 +18,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster --target-id --lun-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' @@ -38,7 +38,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:26 GMT + - Mon, 16 Jun 2025 01:46:01 GMT server: - Rocket status: @@ -58,9 +58,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' @@ -78,7 +78,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:29 GMT + - Mon, 16 Jun 2025 01:46:03 GMT server: - Rocket status: @@ -98,12 +98,12 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores?api-version=2024-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2","name":"datastore2","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","diskPoolVolume":{"targetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/DiskPool1/targets/Target1","lunName":"lun0","mountOption":"MOUNT","path":"/vmfs/devices/disks/naa.6001405f75f6bdf7f6f49db8b4b21723"},"status":"Accessible"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2","name":"datastore2","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","elasticSanVolume":{"targetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1"},"status":"Accessible"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2","name":"datastore2","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","diskPoolVolume":{"targetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.StoragePool/diskPools/DiskPool1/targets/Target1","lunName":"lun0","mountOption":"MOUNT","path":"/vmfs/devices/disks/naa.6001405f75f6bdf7f6f49db8b4b21723"},"status":"Accessible"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore2","name":"datastore2","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","elasticSanVolume":{"targetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.ElasticSan/elasticSans/ElasticSan1/volumeGroups/VolumeGroup1/volumes/Volume1"},"status":"Accessible"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore3","name":"datastore3","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","pureStorageVolume":{"storagePoolId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/PureStorage.Block/storagePools/storagePool1","sizeGb":64},"status":"Accessible"}}]}' headers: access-control-allow-credentials: - 'true' @@ -114,11 +114,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1660' + - '2162' content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:31 GMT + - Mon, 16 Jun 2025 01:46:06 GMT server: - Rocket status: @@ -142,9 +142,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster --net-app-volume User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/ANFDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/ANFDatastore1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' @@ -162,7 +162,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:33 GMT + - Mon, 16 Jun 2025 01:46:08 GMT server: - Rocket status: @@ -182,9 +182,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/ANFDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/ANFDatastore1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' @@ -202,7 +202,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:36 GMT + - Mon, 16 Jun 2025 01:46:11 GMT server: - Rocket status: @@ -224,9 +224,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2024-09-01 response: body: string: '' @@ -244,7 +244,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:37 GMT + - Mon, 16 Jun 2025 01:46:12 GMT server: - Rocket status: @@ -269,9 +269,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster --target-id --lun-name --mount-option User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/iSCSIDatastore1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' @@ -289,7 +289,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:41 GMT + - Mon, 16 Jun 2025 01:46:16 GMT server: - Rocket status: @@ -313,9 +313,9 @@ interactions: ParameterSetName: - --name --resource-group --private-cloud --cluster --elastic-san-volume User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/SANDatastore1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/SANDatastore1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' @@ -333,7 +333,51 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:43 GMT + - Mon, 16 Jun 2025 01:46:18 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"pureStorageVolume": {"sizeGb": 64, "storagePoolId": "id"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware datastore pure-storage-volume create + Connection: + - keep-alive + Content-Length: + - '76' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --private-cloud --cluster --storage-pool-id --size-gb + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rasivagu-sddc-rg/providers/Microsoft.AVS/privateClouds/rasivagu-mock-sddc/clusters/Cluster-1/datastores/PureStorageDatastore1?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/datastores/datastore1","name":"datastore1","type":"Microsoft.AVS/privateClouds/clusters/datastores","properties":{"provisioningState":"Succeeded","netAppVolume":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1"},"status":"Accessible"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '520' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:21 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_global_reach_connection.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_global_reach_connection.yaml index 4946c4a8cc5..faa6560f080 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_global_reach_connection.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_global_reach_connection.yaml @@ -2,8 +2,7 @@ interactions: - request: body: '{"identity": {"type": "None"}, "location": "westcentralus", "properties": {"internet": "Disabled", "managementCluster": {"clusterSize": 4}, "networkBlock": - "192.168.48.0/22", "nsxtPassword": "5rqdLj4GF3cePUe6", "vcenterPassword": "UpfBXae9ZquZSDXk"}, - "sku": {"name": "av20"}}' + "192.168.48.0/22"}, "sku": {"name": "av20"}}' headers: Accept: - application/json @@ -14,19 +13,18 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '200' Content-Type: - application/json ParameterSetName: - - -g -n --location --sku --cluster-size --network-block --nsxt-password --vcenter-password - --accept-eula + - -g -n --location --sku --cluster-size --network-block --accept-eula User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -37,11 +35,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:12 GMT + - Mon, 16 Jun 2025 01:45:47 GMT server: - Rocket status: @@ -61,9 +59,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1","name":"connection1","type":"Microsoft.AVS/privateClouds/globalReachConnections","properties":{"provisioningState":"Succeeded","addressPrefix":"10.2.3.16/29","authorizationKey":"01010101-0101-0101-0101-010101010101","circuitConnectionStatus":"Connected","peerExpressRouteCircuit":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}]}' @@ -81,7 +79,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:15 GMT + - Mon, 16 Jun 2025 01:45:49 GMT server: - Rocket status: @@ -107,9 +105,9 @@ interactions: ParameterSetName: - -g -c -n --peer-express-route-circuit --authorization-key --express-route-id User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1","name":"connection1","type":"Microsoft.AVS/privateClouds/globalReachConnections","properties":{"provisioningState":"Succeeded","addressPrefix":"10.2.3.16/29","authorizationKey":"01010101-0101-0101-0101-010101010101","circuitConnectionStatus":"Connected","peerExpressRouteCircuit":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}' @@ -127,7 +125,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:17 GMT + - Mon, 16 Jun 2025 01:45:52 GMT server: - Rocket status: @@ -147,9 +145,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1","name":"connection1","type":"Microsoft.AVS/privateClouds/globalReachConnections","properties":{"provisioningState":"Succeeded","addressPrefix":"10.2.3.16/29","authorizationKey":"01010101-0101-0101-0101-010101010101","circuitConnectionStatus":"Connected","peerExpressRouteCircuit":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}]}' @@ -167,7 +165,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:20 GMT + - Mon, 16 Jun 2025 01:45:54 GMT server: - Rocket status: @@ -187,9 +185,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1","name":"connection1","type":"Microsoft.AVS/privateClouds/globalReachConnections","properties":{"provisioningState":"Succeeded","addressPrefix":"10.2.3.16/29","authorizationKey":"01010101-0101-0101-0101-010101010101","circuitConnectionStatus":"Connected","peerExpressRouteCircuit":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}' @@ -207,7 +205,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:22 GMT + - Mon, 16 Jun 2025 01:45:57 GMT server: - Rocket status: @@ -229,9 +227,9 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1?api-version=2024-09-01 response: body: string: '' @@ -249,7 +247,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:24 GMT + - Mon, 16 Jun 2025 01:45:59 GMT server: - Rocket status: @@ -269,9 +267,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1","name":"connection1","type":"Microsoft.AVS/privateClouds/globalReachConnections","properties":{"provisioningState":"Succeeded","addressPrefix":"10.2.3.16/29","authorizationKey":"01010101-0101-0101-0101-010101010101","circuitConnectionStatus":"Connected","peerExpressRouteCircuit":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer","expressRouteId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"}}]}' @@ -289,7 +287,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:26 GMT + - Mon, 16 Jun 2025 01:46:01 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_hcx.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_hcx.yaml index b64645c2331..5c296a5449c 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_hcx.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_hcx.yaml @@ -2,8 +2,7 @@ interactions: - request: body: '{"identity": {"type": "None"}, "location": "westcentralus", "properties": {"internet": "Disabled", "managementCluster": {"clusterSize": 4}, "networkBlock": - "192.168.48.0/22", "nsxtPassword": "5rqdLj4GF3cePUe6(", "vcenterPassword": "UpfBXae9ZquZSDXk("}, - "sku": {"name": "av20"}}' + "192.168.48.0/22"}, "sku": {"name": "av20"}}' headers: Accept: - application/json @@ -14,19 +13,18 @@ interactions: Connection: - keep-alive Content-Length: - - '277' + - '200' Content-Type: - application/json ParameterSetName: - - -g -n --location --sku --cluster-size --network-block --nsxt-password --vcenter-password - --accept-eula + - -g -n --location --sku --cluster-size --network-block --accept-eula User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1?api-version=2024-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"]},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1","name":"cloud1","type":"Microsoft.AVS/privateClouds","tags":{},"location":"eastus2","properties":{"managementCluster":{"clusterSize":4,"clusterId":1,"hosts":["fakehost18.nyc1.kubernetes.center","fakehost19.nyc1.kubernetes.center","fakehost20.nyc1.kubernetes.center","fakehost21.nyc1.kubernetes.center"],"vsanDatastoreName":"vsanDatastore1"},"internet":"Disabled","identitySources":[{"name":"group1","alias":"groupAlias","domain":"domain1","baseUserDN":"ou=baseUser","baseGroupDN":"ou=baseGroup","primaryServer":"ldaps://1.1.1.1:636/","secondaryServer":"ldaps://1.1.1.2:636/","ssl":"Enabled"}],"availability":{"strategy":"SingleZone","zone":1},"provisioningState":"Succeeded","circuit":{"primarySubnet":"192.168.53.0/30","secondarySubnet":"192.168.53.4/30","expressRouteID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect"},"endpoints":{"nsxtManager":"https://192.168.50.3/","vcsa":"https://192.168.50.2/"},"networkBlock":"192.168.48.0/22","externalCloudLinks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2"]},"sku":{"name":"AV36"}}' headers: access-control-allow-credentials: - 'true' @@ -37,11 +35,11 @@ interactions: access-control-allow-origin: - '*' content-length: - - '1377' + - '1414' content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:12 GMT + - Mon, 16 Jun 2025 01:45:47 GMT server: - Rocket status: @@ -65,9 +63,9 @@ interactions: ParameterSetName: - -g -c --offer User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -85,7 +83,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:15 GMT + - Mon, 16 Jun 2025 01:45:49 GMT server: - Rocket status: @@ -105,9 +103,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -125,7 +123,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:17 GMT + - Mon, 16 Jun 2025 01:45:52 GMT server: - Rocket status: @@ -145,9 +143,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1","name":"site1","type":"Microsoft.AVS/privateClouds/hcxEnterpriseSites","properties":{"activationKey":"0276EF1A9A1749A5A362BF73EA9F8D0D","status":"Available"}}]}' @@ -165,7 +163,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:19 GMT + - Mon, 16 Jun 2025 01:45:54 GMT server: - Rocket status: @@ -189,9 +187,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/myhcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/myhcx?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1","name":"site1","type":"Microsoft.AVS/privateClouds/hcxEnterpriseSites","properties":{"activationKey":"0276EF1A9A1749A5A362BF73EA9F8D0D","status":"Available"}}' @@ -209,7 +207,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:22 GMT + - Mon, 16 Jun 2025 01:45:57 GMT server: - Rocket status: @@ -229,9 +227,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1","name":"site1","type":"Microsoft.AVS/privateClouds/hcxEnterpriseSites","properties":{"activationKey":"0276EF1A9A1749A5A362BF73EA9F8D0D","status":"Available"}}]}' @@ -249,7 +247,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:24 GMT + - Mon, 16 Jun 2025 01:45:59 GMT server: - Rocket status: @@ -269,9 +267,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/myhcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/myhcx?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1","name":"site1","type":"Microsoft.AVS/privateClouds/hcxEnterpriseSites","properties":{"activationKey":"0276EF1A9A1749A5A362BF73EA9F8D0D","status":"Available"}}' @@ -289,7 +287,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:26 GMT + - Mon, 16 Jun 2025 01:46:01 GMT server: - Rocket status: @@ -311,9 +309,9 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/myhcx?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/myhcx?api-version=2024-09-01 response: body: string: '' @@ -331,7 +329,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:29 GMT + - Mon, 16 Jun 2025 01:46:03 GMT server: - Rocket status: @@ -351,9 +349,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_hcx000001/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/hcxEnterpriseSites/site1","name":"site1","type":"Microsoft.AVS/privateClouds/hcxEnterpriseSites","properties":{"activationKey":"0276EF1A9A1749A5A362BF73EA9F8D0D","status":"Available"}}]}' @@ -371,7 +369,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:31 GMT + - Mon, 16 Jun 2025 01:46:06 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_host.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_host.yaml new file mode 100644 index 00000000000..8f64de236c9 --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_host.yaml @@ -0,0 +1,82 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware provisioned-network list + Connection: + - keep-alive + ParameterSetName: + - -g --private-cloud-name + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks?api-version=2024-09-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan","name":"vsan","type":"Microsoft.AVS/privateClouds/provisionedNetworks","properties":{"addressPrefix":"10.0.2.128/25","networkType":"vsan"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esxvmot","name":"esxvmot","type":"Microsoft.AVS/privateClouds/provisionedNetworks","properties":{"addressPrefix":"10.0.1.128/25","networkType":"esxvmot"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/mgmtvnet","name":"mgmtvnet","type":"Microsoft.AVS/privateClouds/provisionedNetworks","properties":{"addressPrefix":"10.0.3.128/26","networkType":"mgmtvnet"}}]}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '908' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:28 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware provisioned-network show + Connection: + - keep-alive + ParameterSetName: + - -g --private-cloud-name --n + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/esx03-r52.1111111111111111111.westcentralus.prod.azure.com?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/provisionedNetworks/vsan","name":"vsan","type":"Microsoft.AVS/privateClouds/provisionedNetworks","properties":{"addressPrefix":"10.0.2.128/25","networkType":"vsan"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '291' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:29 GMT + server: + - Rocket + status: + code: 200 + message: OK +version: 1 diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_iscsi_path.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_iscsi_path.yaml index 19e4891e4ca..ec372e5ad66 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_iscsi_path.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_iscsi_path.yaml @@ -17,9 +17,9 @@ interactions: ParameterSetName: - -c -g --network-block User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default","name":"default","type":"Microsoft.AVS/privateClouds/iscsiPaths","properties":{"provisioningState":"Succeeded","networkBlock":"192.168.0.0/24"}}' @@ -37,7 +37,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:33 GMT + - Mon, 16 Jun 2025 01:46:08 GMT server: - Rocket status: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -c -g User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default","name":"default","type":"Microsoft.AVS/privateClouds/iscsiPaths","properties":{"provisioningState":"Succeeded","networkBlock":"192.168.0.0/24"}}]}' @@ -77,7 +77,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:36 GMT + - Mon, 16 Jun 2025 01:46:11 GMT server: - Rocket status: @@ -99,9 +99,9 @@ interactions: ParameterSetName: - -c -g --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default?api-version=2024-09-01 response: body: string: '' @@ -119,7 +119,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:37 GMT + - Mon, 16 Jun 2025 01:46:13 GMT server: - Rocket status: @@ -139,9 +139,9 @@ interactions: ParameterSetName: - -c -g User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/iscsiPaths/default","name":"default","type":"Microsoft.AVS/privateClouds/iscsiPaths","properties":{"provisioningState":"Succeeded","networkBlock":"192.168.0.0/24"}}' @@ -159,7 +159,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:41 GMT + - Mon, 16 Jun 2025 01:46:16 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_placement_policy.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_placement_policy.yaml index bf923e6914b..a3346b1f1cd 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_placement_policy.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_placement_policy.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy2","name":"policy2","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmVm","state":"Enabled","displayName":"policy2","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"affinityType":"Affinity"}}]}' @@ -33,7 +33,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:37 GMT + - Mon, 16 Jun 2025 01:46:12 GMT server: - Rocket status: @@ -53,9 +53,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name --placement-policy-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -73,7 +73,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:40 GMT + - Mon, 16 Jun 2025 01:46:14 GMT server: - Rocket status: @@ -101,9 +101,9 @@ interactions: --display-name --vm-members --host-members --affinity-type --affinity-strength --azure-hybrid-benefit User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:42 GMT + - Mon, 16 Jun 2025 01:46:16 GMT server: - Rocket status: @@ -142,9 +142,9 @@ interactions: - --resource-group --private-cloud --cluster-name --placement-policy-name --state --vm-members --host-members --affinity-strength --azure-hybrid-benefit User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -162,7 +162,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:44 GMT + - Mon, 16 Jun 2025 01:46:19 GMT server: - Rocket status: @@ -189,9 +189,9 @@ interactions: - --resource-group --private-cloud --cluster-name --placement-policy-name --state --vm-members --host-members --affinity-strength --azure-hybrid-benefit User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -209,7 +209,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:44 GMT + - Mon, 16 Jun 2025 01:46:19 GMT server: - Rocket status: @@ -231,9 +231,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name --placement-policy-name --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '' @@ -251,7 +251,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:47 GMT + - Mon, 16 Jun 2025 01:46:21 GMT server: - Rocket status: @@ -277,9 +277,9 @@ interactions: - --resource-group --private-cloud --cluster-name --placement-policy-name --state --display-name --vm-members --affinity-type User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -297,7 +297,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:50 GMT + - Mon, 16 Jun 2025 01:46:24 GMT server: - Rocket status: @@ -318,9 +318,9 @@ interactions: - --resource-group --private-cloud --cluster-name --placement-policy-name --state --vm-members User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -338,7 +338,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:52 GMT + - Mon, 16 Jun 2025 01:46:27 GMT server: - Rocket status: @@ -364,9 +364,9 @@ interactions: - --resource-group --private-cloud --cluster-name --placement-policy-name --state --vm-members User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1","name":"policy1","type":"Microsoft.AVS/privateClouds/clusters/placementPolicies","properties":{"type":"VmHost","state":"Enabled","displayName":"policy1","provisioningState":"Succeeded","vmMembers":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-256"],"hostMembers":["fakehost22.nyc1.kubernetes.center","fakehost23.nyc1.kubernetes.center","fakehost24.nyc1.kubernetes.center"],"affinityType":"AntiAffinity","affinityStrength":"Must","azureHybridBenefitType":"SqlHost"}}' @@ -384,7 +384,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:52 GMT + - Mon, 16 Jun 2025 01:46:27 GMT server: - Rocket status: @@ -406,9 +406,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name --placement-policy-name --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_placement_policy000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/placementPolicies/policy1?api-version=2024-09-01 response: body: string: '' @@ -426,7 +426,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:56 GMT + - Mon, 16 Jun 2025 01:46:29 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_pure_storage_policy.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_pure_storage_policy.yaml new file mode 100644 index 00000000000..708743058fc --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_pure_storage_policy.yaml @@ -0,0 +1,169 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware pure-storage-policy list + Connection: + - keep-alive + ParameterSetName: + - -g --private-cloud-name + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/a/pureStoragePolicies?api-version=2024-09-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1","name":"storagePolicy1","type":"Microsoft.AVS/privateClouds/pureStoragePolicies","properties":{"storagePolicyDefinition":"storagePolicyDefinition1","storagePoolId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1","provisioningState":"Succeeded"}}]}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '501' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:21 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware pure-storage-policy show + Connection: + - keep-alive + ParameterSetName: + - -g --private-cloud-name -n + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: GET + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/a/pureStoragePolicies/storagePolicyName?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1","name":"storagePolicy1","type":"Microsoft.AVS/privateClouds/pureStoragePolicies","properties":{"storagePolicyDefinition":"storagePolicyDefinition1","storagePoolId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1","provisioningState":"Succeeded"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '489' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:25 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"storagePolicyDefinition": "storagePolicyDefinition", "storagePoolId": + "storagePoolId"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware pure-storage-policy create + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + ParameterSetName: + - -g --private-cloud-name -n --storage-policy-definition --storage-pool-id + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/a/pureStoragePolicies/storagePolicyName?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/pureStoragePolicies/storagePolicy1","name":"storagePolicy1","type":"Microsoft.AVS/privateClouds/pureStoragePolicies","properties":{"storagePolicyDefinition":"storagePolicyDefinition1","storagePoolId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1","provisioningState":"Succeeded"}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '489' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:27 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware pure-storage-policy delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --private-cloud-name -n --yes + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: DELETE + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.AVS/privateClouds/a/pureStoragePolicies/storagePolicyName?api-version=2024-09-01 + response: + body: + string: '' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '0' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:29 GMT + server: + - Rocket + status: + code: 204 + message: No Content +version: 1 diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml index ff9afc838f9..d920628d0ea 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml @@ -13,13 +13,15 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48","name":"Microsoft.AVS.Management@3.0.48","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various - cmdlets for elevated access to Private Cloud administrative functions","version":"3.0.48","company":"Microsoft","uri":"https://microsoft.com"}},{}]}' + cmdlets for elevated access to Private Cloud administrative functions","version":"3.0.48","company":"Microsoft","uri":"https://microsoft.com"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0.0","name":"JSDR.Configuration@1.0.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets by Jetstream for Private Cloud administration","version":"1.0.0","company":"Jetstream + Software","uri":"https://www.jetstreamsoft.com/about/support/"}}]}' headers: access-control-allow-credentials: - 'true' @@ -34,7 +36,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:51 GMT + - Mon, 16 Jun 2025 01:46:37 GMT server: - Rocket status: @@ -54,9 +56,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management%403.0.48?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management%403.0.48?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management@3.0.48","name":"Microsoft.AVS.Management@3.0.48","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various @@ -75,7 +77,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:52 GMT + - Mon, 16 Jun 2025 01:46:39 GMT server: - Rocket status: @@ -95,9 +97,9 @@ interactions: ParameterSetName: - -g -c -p User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management%403.0.48/scriptCmdlets?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management%403.0.48/scriptCmdlets?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/package@1.0.2/scriptCmdlets/Set-AvsStoragePolicy","name":"Set-AvsStoragePolicy","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Allow @@ -122,7 +124,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:55 GMT + - Mon, 16 Jun 2025 01:46:41 GMT server: - Rocket status: @@ -142,9 +144,9 @@ interactions: ParameterSetName: - -g -c -p -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management%403.0.48/scriptCmdlets/New-ExternalSsoDomain?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/Microsoft.AVS.Management%403.0.48/scriptCmdlets/New-ExternalSsoDomain?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/package@1.0.2/scriptCmdlets/New-ExternalSsoDomain","name":"New-ExternalSsoDomain","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Add @@ -166,7 +168,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:57 GMT + - Mon, 16 Jun 2025 01:46:44 GMT server: - Rocket status: @@ -196,9 +198,9 @@ interactions: - --resource-group --private-cloud --name --script-cmdlet-id --timeout --retention --parameter --parameter --hidden-parameter User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"type":"Value","name":"DomainName","value":"placeholderDomain.local"},{"type":"Value","name":"BaseUserDN","value":"DC=placeholder, @@ -219,7 +221,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:59 GMT + - Mon, 16 Jun 2025 01:46:46 GMT server: - Rocket status: @@ -239,9 +241,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"type":"Value","name":"DomainName","value":"placeholderDomain.local"},{"type":"Value","name":"BaseUserDN","value":"DC=placeholder, @@ -261,7 +263,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:02 GMT + - Mon, 16 Jun 2025 01:46:48 GMT server: - Rocket status: @@ -281,9 +283,9 @@ interactions: ParameterSetName: - -g -c -n User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"type":"Value","name":"DomainName","value":"placeholderDomain.local"},{"type":"Value","name":"BaseUserDN","value":"DC=placeholder, @@ -303,7 +305,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:04 GMT + - Mon, 16 Jun 2025 01:46:50 GMT server: - Rocket status: @@ -325,9 +327,9 @@ interactions: ParameterSetName: - -g -c -n --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2024-09-01 response: body: string: '' @@ -345,7 +347,103 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:07 GMT + - Mon, 16 Jun 2025 01:46:53 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '["Information", "Warning", "Output", "Error"]' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution get-execution-log + Connection: + - keep-alive + Content-Length: + - '45' + Content-Type: + - application/json + ParameterSetName: + - -g --private-cloud-name --script-execution-name + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer/getExecutionLogs?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","properties":{"timeout":"P0Y0M0D0H060M0S","submittedAt":null,"startedAt":null,"finishedAt":null,"output":["Most + recent output","Second most recent output"],"information":["Most recent information + output","Second most recent information output"],"warnings":["Most recent + warning output","Second most recent warning output"],"errors":["Most recent + error output","Second most error recent output"]}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '575' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:55 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '["Error", "Information", "Output", "Warning"]' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution get-execution-log + Connection: + - keep-alive + Content-Length: + - '45' + Content-Type: + - application/json + ParameterSetName: + - -g --private-cloud-name --script-execution-name --script-output-stream-type + User-Agent: + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: POST + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer/getExecutionLogs?api-version=2024-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","properties":{"timeout":"P0Y0M0D0H060M0S","submittedAt":null,"startedAt":null,"finishedAt":null,"output":["Most + recent output","Second most recent output"],"information":["Most recent information + output","Second most recent information output"],"warnings":["Most recent + warning output","Second most recent warning output"],"errors":["Most recent + error output","Second most error recent output"]}}' + headers: + access-control-allow-credentials: + - 'true' + access-control-allow-headers: + - '*' + access-control-allow-methods: + - PUT, GET, HEAD, POST, DELETE, PATCH, OPTIONS + access-control-allow-origin: + - '*' + content-length: + - '575' + content-type: + - application/json + date: + - Mon, 16 Jun 2025 01:46:58 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_virtual_machines.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_virtual_machines.yaml index 76f764e776f..3eaae7cc390 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_virtual_machines.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_virtual_machines.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_virtual_machines000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_virtual_machines000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209","name":"vm-209","type":"Microsoft.AVS/privateClouds/clusters/virtualMachines","properties":{"displayName":"contoso-vm1","moRefId":"vm-209","folderPath":"vm/folder-1","restrictMovement":"Disabled"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-128","name":"vm-128","type":"Microsoft.AVS/privateClouds/clusters/virtualMachines","properties":{"displayName":"contoso-vm2","moRefId":"vm-128","folderPath":"vm","restrictMovement":"Enabled"}}]}' @@ -33,7 +33,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:48 GMT + - Mon, 16 Jun 2025 01:46:37 GMT server: - Rocket status: @@ -53,9 +53,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name --virtual-machine User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_virtual_machines000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_virtual_machines000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209?api-version=2022-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209","name":"vm-209","type":"Microsoft.AVS/privateClouds/clusters/virtualMachines","properties":{"displayName":"contoso-vm","moRefId":"vm-209","folderPath":"vm/folder-1","restrictMovement":"Disabled"}}' @@ -73,7 +73,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:49 GMT + - Mon, 16 Jun 2025 01:46:39 GMT server: - Rocket status: @@ -97,9 +97,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --cluster-name --virtual-machine --restrict-movement User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_virtual_machines000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209/restrictMovement?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_virtual_machines000001/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1/virtualMachines/vm-209/restrictMovement?api-version=2024-09-01 response: body: string: '' @@ -117,7 +117,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:49:52 GMT + - Mon, 16 Jun 2025 01:46:41 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_vr_addon.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_vr_addon.yaml index 7758ec10fa4..332b47e5818 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_vr_addon.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_vr_addon.yaml @@ -17,9 +17,9 @@ interactions: ParameterSetName: - -g -c --vrs-count User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -37,7 +37,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:17 GMT + - Mon, 16 Jun 2025 01:47:10 GMT server: - Rocket status: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -c --vrs-count User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -77,7 +77,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:20 GMT + - Mon, 16 Jun 2025 01:47:13 GMT server: - Rocket status: @@ -101,9 +101,9 @@ interactions: ParameterSetName: - -g -c --vrs-count User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:20 GMT + - Mon, 16 Jun 2025 01:47:13 GMT server: - Rocket status: @@ -141,9 +141,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -161,7 +161,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:23 GMT + - Mon, 16 Jun 2025 01:47:15 GMT server: - Rocket status: @@ -181,9 +181,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc","name":"arc","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"Arc","provisioningState":"Succeeded","vCenter":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"}}' @@ -201,7 +201,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:24 GMT + - Mon, 16 Jun 2025 01:47:18 GMT server: - Rocket status: @@ -223,9 +223,9 @@ interactions: ParameterSetName: - -g -c --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr?api-version=2024-09-01 response: body: string: '' @@ -243,7 +243,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:27 GMT + - Mon, 16 Jun 2025 01:47:20 GMT server: - Rocket status: @@ -263,9 +263,9 @@ interactions: ParameterSetName: - -g -c User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmwarepc/providers/Microsoft.AVS/privateClouds/cloud1/addons?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm","name":"srm","type":"Microsoft.AVS/privateClouds/addons","properties":{"addonType":"SRM","provisioningState":"Succeeded","licenseKey":"41915178-A8FF-4A4D-B683-6D735AF5E3F5"}}]}' @@ -283,7 +283,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:30 GMT + - Mon, 16 Jun 2025 01:47:23 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_workload_network.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_workload_network.yaml index 90edffa8016..ca4aa0e3a96 100644 --- a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_workload_network.yaml +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_workload_network.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}]}' @@ -33,7 +33,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:00 GMT + - Mon, 16 Jun 2025 01:46:47 GMT server: - Rocket status: @@ -53,9 +53,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dhcp User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -73,7 +73,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:02 GMT + - Mon, 16 Jun 2025 01:46:50 GMT server: - Rocket status: @@ -98,9 +98,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dhcp --display-name --revision --server-addresses User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:04 GMT + - Mon, 16 Jun 2025 01:46:53 GMT server: - Rocket status: @@ -140,9 +140,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dhcp --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '' @@ -160,7 +160,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:07 GMT + - Mon, 16 Jun 2025 01:46:55 GMT server: - Rocket status: @@ -180,9 +180,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dhcp --display-name --revision --server-addresses User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -200,7 +200,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:09 GMT + - Mon, 16 Jun 2025 01:46:58 GMT server: - Rocket status: @@ -225,9 +225,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dhcp --display-name --revision --server-addresses User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -245,7 +245,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:09 GMT + - Mon, 16 Jun 2025 01:46:58 GMT server: - Rocket status: @@ -271,9 +271,9 @@ interactions: - --resource-group --private-cloud --dhcp --display-name --revision --server-address --lease-time User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -291,7 +291,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:12 GMT + - Mon, 16 Jun 2025 01:47:00 GMT server: - Rocket status: @@ -313,9 +313,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dhcp --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '' @@ -333,7 +333,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:14 GMT + - Mon, 16 Jun 2025 01:47:03 GMT server: - Rocket status: @@ -354,9 +354,9 @@ interactions: - --resource-group --private-cloud --dhcp --display-name --revision --server-address --lease-time User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -374,7 +374,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:17 GMT + - Mon, 16 Jun 2025 01:47:06 GMT server: - Rocket status: @@ -400,9 +400,9 @@ interactions: - --resource-group --private-cloud --dhcp --display-name --revision --server-address --lease-time User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcp1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dhcpConfigurations/dhcpConfigurations1","name":"dhcp1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations","properties":{"dhcpType":"SERVER","displayName":"dhcpConfigurations1","segments":["segment1","segment2"],"revision":1,"serverAddress":"40.1.5.1/24","leaseTime":86400}}' @@ -420,7 +420,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:17 GMT + - Mon, 16 Jun 2025 01:47:06 GMT server: - Rocket status: @@ -440,9 +440,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsServices","properties":{"displayName":"dnsService1","dnsServiceIp":"5.5.5.5","defaultDnsZone":"defaultDnsZone1","fqdnZones":["fqdnZone1"],"logLevel":"INFO","status":"SUCCESS","revision":1}}]}' @@ -460,7 +460,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:20 GMT + - Mon, 16 Jun 2025 01:47:08 GMT server: - Rocket status: @@ -480,9 +480,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dns-service User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsServices","properties":{"displayName":"dnsService1","dnsServiceIp":"5.5.5.5","defaultDnsZone":"defaultDnsZone1","fqdnZones":["fqdnZone1"],"logLevel":"INFO","status":"SUCCESS","revision":1}}' @@ -500,7 +500,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:22 GMT + - Mon, 16 Jun 2025 01:47:11 GMT server: - Rocket status: @@ -527,9 +527,9 @@ interactions: - --resource-group --private-cloud --dns-service --display-name --dns-service-ip --default-dns-zone --fqdn-zones --log-level --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1","name":"dnsService1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsServices","properties":{"displayName":"dnsService1","dnsServiceIp":"5.5.5.5","defaultDnsZone":"defaultDnsZone1","fqdnZones":["fqdnZone1"],"logLevel":"INFO","status":"SUCCESS","revision":1}}' @@ -547,7 +547,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:24 GMT + - Mon, 16 Jun 2025 01:47:13 GMT server: - Rocket status: @@ -568,9 +568,9 @@ interactions: - --resource-group --private-cloud --dns-service --display-name --dns-service-ip --default-dns-zone --fqdn-zones --log-level --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsServices","properties":{"displayName":"dnsService1","dnsServiceIp":"5.5.5.5","defaultDnsZone":"defaultDnsZone1","fqdnZones":["fqdnZone1"],"logLevel":"INFO","status":"SUCCESS","revision":1}}' @@ -588,7 +588,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:27 GMT + - Mon, 16 Jun 2025 01:47:15 GMT server: - Rocket status: @@ -615,9 +615,9 @@ interactions: - --resource-group --private-cloud --dns-service --display-name --dns-service-ip --default-dns-zone --fqdn-zones --log-level --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1","name":"dnsService1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsServices","properties":{"displayName":"dnsService1","dnsServiceIp":"5.5.5.5","defaultDnsZone":"defaultDnsZone1","fqdnZones":["fqdnZone1"],"logLevel":"INFO","status":"SUCCESS","revision":1}}' @@ -635,7 +635,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:27 GMT + - Mon, 16 Jun 2025 01:47:15 GMT server: - Rocket status: @@ -657,9 +657,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dns-service --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsServices/dnsService1?api-version=2024-09-01 response: body: string: '' @@ -677,7 +677,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:30 GMT + - Mon, 16 Jun 2025 01:47:18 GMT server: - Rocket status: @@ -697,9 +697,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsZones","properties":{"displayName":"dnsZone1","dnsServerIps":["1.1.1.1"],"sourceIp":"8.8.8.8","dnsServices":0,"revision":1}}]}' @@ -717,7 +717,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:33 GMT + - Mon, 16 Jun 2025 01:47:21 GMT server: - Rocket status: @@ -737,9 +737,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dns-zone User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsZones","properties":{"displayName":"dnsZone1","dnsServerIps":["1.1.1.1"],"sourceIp":"8.8.8.8","dnsServices":0,"revision":1}}' @@ -757,7 +757,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:35 GMT + - Mon, 16 Jun 2025 01:47:23 GMT server: - Rocket status: @@ -783,9 +783,9 @@ interactions: - --resource-group --private-cloud --dns-zone --display-name --domain --dns-server-ips --source-ip --dns-services --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1","name":"dnsZone1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsZones","properties":{"displayName":"dnsZone1","dnsServerIps":["1.1.1.1"],"sourceIp":"8.8.8.8","dnsServices":0,"revision":1}}' @@ -803,7 +803,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:38 GMT + - Mon, 16 Jun 2025 01:47:26 GMT server: - Rocket status: @@ -824,9 +824,9 @@ interactions: - --resource-group --private-cloud --dns-zone --display-name --domain --dns-server-ips --source-ip --dns-services --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsZones","properties":{"displayName":"dnsZone1","dnsServerIps":["1.1.1.1"],"sourceIp":"8.8.8.8","dnsServices":0,"revision":1}}' @@ -844,7 +844,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:40 GMT + - Mon, 16 Jun 2025 01:47:28 GMT server: - Rocket status: @@ -870,9 +870,9 @@ interactions: - --resource-group --private-cloud --dns-zone --display-name --domain --dns-server-ips --source-ip --dns-services --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1","name":"dnsZone1","type":"Microsoft.AVS/privateClouds/workloadNetworks/dnsZones","properties":{"displayName":"dnsZone1","dnsServerIps":["1.1.1.1"],"sourceIp":"8.8.8.8","dnsServices":0,"revision":1}}' @@ -890,7 +890,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:40 GMT + - Mon, 16 Jun 2025 01:47:28 GMT server: - Rocket status: @@ -912,9 +912,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --dns-zone --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/dnsZones/dnsZone1?api-version=2024-09-01 response: body: string: '' @@ -932,7 +932,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:43 GMT + - Mon, 16 Jun 2025 01:47:31 GMT server: - Rocket status: @@ -952,9 +952,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1","name":"cloud1","type":"Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles","properties":{"displayName":"portMirroring1","direction":"BIDIRECTIONAL","source":"vmGroup1","destination":"vmGroup2","status":"SUCCESS","revision":1}}]}' @@ -972,7 +972,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:45 GMT + - Mon, 16 Jun 2025 01:47:33 GMT server: - Rocket status: @@ -992,9 +992,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --port-mirroring User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles","properties":{"displayName":"portMirroring1","direction":"BIDIRECTIONAL","source":"vmGroup1","destination":"vmGroup2","status":"SUCCESS","revision":1}}' @@ -1012,7 +1012,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:48 GMT + - Mon, 16 Jun 2025 01:47:36 GMT server: - Rocket status: @@ -1038,9 +1038,9 @@ interactions: - --resource-group --private-cloud --port-mirroring --display-name --direction --source --destination --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles","properties":{"displayName":"portMirroring1","direction":"BIDIRECTIONAL","source":"vmGroup1","destination":"vmGroup2","status":"SUCCESS","revision":1}}' @@ -1058,7 +1058,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:50 GMT + - Mon, 16 Jun 2025 01:47:38 GMT server: - Rocket status: @@ -1079,9 +1079,9 @@ interactions: - --resource-group --private-cloud --port-mirroring --display-name --direction --source --destination --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles","properties":{"displayName":"portMirroring1","direction":"BIDIRECTIONAL","source":"vmGroup1","destination":"vmGroup2","status":"SUCCESS","revision":1}}' @@ -1099,7 +1099,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:53 GMT + - Mon, 16 Jun 2025 01:47:41 GMT server: - Rocket status: @@ -1125,9 +1125,9 @@ interactions: - --resource-group --private-cloud --port-mirroring --display-name --direction --source --destination --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1","name":"portMirroring1","type":"Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles","properties":{"displayName":"portMirroring1","direction":"BIDIRECTIONAL","source":"vmGroup1","destination":"vmGroup2","status":"SUCCESS","revision":1}}' @@ -1145,7 +1145,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:53 GMT + - Mon, 16 Jun 2025 01:47:41 GMT server: - Rocket status: @@ -1167,9 +1167,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --port-mirroring --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/portMirroringProfiles/portMirroring1?api-version=2024-09-01 response: body: string: '' @@ -1187,7 +1187,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:56 GMT + - Mon, 16 Jun 2025 01:47:43 GMT server: - Rocket status: @@ -1207,9 +1207,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1","name":"segment1","type":"Microsoft.AVS/privateClouds/workloadNetworks/segments","properties":{"displayName":"segment1","connectedGateway":"/infra/tier-1s/gateway","subnet":{"dhcpRanges":["40.20.0.0-40.20.0.1"],"gatewayAddress":"40.20.20.20/16"},"portVif":[{"portName":"vm1"}],"status":"SUCCESS","revision":1}}]}' @@ -1227,7 +1227,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:50:58 GMT + - Mon, 16 Jun 2025 01:47:46 GMT server: - Rocket status: @@ -1247,9 +1247,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --segment User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1","name":"segment1","type":"Microsoft.AVS/privateClouds/workloadNetworks/segments","properties":{"displayName":"segment1","connectedGateway":"/infra/tier-1s/gateway","subnet":{"dhcpRanges":["40.20.0.0-40.20.0.1"],"gatewayAddress":"40.20.20.20/16"},"portVif":[{"portName":"vm1"}],"status":"SUCCESS","revision":1}}' @@ -1267,7 +1267,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:01 GMT + - Mon, 16 Jun 2025 01:47:48 GMT server: - Rocket status: @@ -1294,9 +1294,9 @@ interactions: - --resource-group --private-cloud --segment --display-name --connected-gateway --revision --dhcp-ranges --gateway-address User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1","name":"segment1","type":"Microsoft.AVS/privateClouds/workloadNetworks/segments","properties":{"displayName":"segment1","connectedGateway":"/infra/tier-1s/gateway","subnet":{"dhcpRanges":["40.20.0.0-40.20.0.1"],"gatewayAddress":"40.20.20.20/16"},"status":"SUCCESS","revision":1}}' @@ -1314,7 +1314,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:03 GMT + - Mon, 16 Jun 2025 01:47:50 GMT server: - Rocket status: @@ -1335,9 +1335,9 @@ interactions: - --resource-group --private-cloud --segment --display-name --connected-gateway --revision --dhcp-ranges --gateway-address User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1","name":"segment1","type":"Microsoft.AVS/privateClouds/workloadNetworks/segments","properties":{"displayName":"segment1","connectedGateway":"/infra/tier-1s/gateway","subnet":{"dhcpRanges":["40.20.0.0-40.20.0.1"],"gatewayAddress":"40.20.20.20/16"},"portVif":[{"portName":"vm1"}],"status":"SUCCESS","revision":1}}' @@ -1355,7 +1355,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:06 GMT + - Mon, 16 Jun 2025 01:47:52 GMT server: - Rocket status: @@ -1382,9 +1382,9 @@ interactions: - --resource-group --private-cloud --segment --display-name --connected-gateway --revision --dhcp-ranges --gateway-address User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1","name":"segment1","type":"Microsoft.AVS/privateClouds/workloadNetworks/segments","properties":{"displayName":"segment1","connectedGateway":"/infra/tier-1s/gateway","subnet":{"dhcpRanges":["40.20.0.0-40.20.0.1"],"gatewayAddress":"40.20.20.20/16"},"status":"SUCCESS","revision":1}}' @@ -1402,7 +1402,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:06 GMT + - Mon, 16 Jun 2025 01:47:52 GMT server: - Rocket status: @@ -1424,9 +1424,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --segment --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/segments/segment1?api-version=2024-09-01 response: body: string: '' @@ -1444,7 +1444,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:08 GMT + - Mon, 16 Jun 2025 01:47:55 GMT server: - Rocket status: @@ -1464,9 +1464,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1","name":"publicIP1","type":"Microsoft.AVS/privateClouds/workloadNetworks/publicIPs","properties":{"displayName":"publicIP1","publicIPBlock":"20.20.40.50/32"}}]}' @@ -1484,7 +1484,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:11 GMT + - Mon, 16 Jun 2025 01:47:58 GMT server: - Rocket status: @@ -1504,9 +1504,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --public-ip User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1","name":"publicIP1","type":"Microsoft.AVS/privateClouds/workloadNetworks/publicIPs","properties":{"displayName":"publicIP1","publicIPBlock":"20.20.40.50/32"}}' @@ -1524,7 +1524,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:13 GMT + - Mon, 16 Jun 2025 01:48:00 GMT server: - Rocket status: @@ -1549,9 +1549,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --public-ip --display-name --number-of-public-ips User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1","name":"publicIP1","type":"Microsoft.AVS/privateClouds/workloadNetworks/publicIPs","properties":{"displayName":"publicIP1","publicIPBlock":"20.20.40.50/32"}}' @@ -1569,7 +1569,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:15 GMT + - Mon, 16 Jun 2025 01:48:02 GMT server: - Rocket status: @@ -1591,9 +1591,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --public-ip --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/publicIPs/publicIP1?api-version=2024-09-01 response: body: string: '' @@ -1611,7 +1611,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:18 GMT + - Mon, 16 Jun 2025 01:48:05 GMT server: - Rocket status: @@ -1631,9 +1631,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1","name":"cloud1","type":"Microsoft.AVS/privateClouds/workloadNetworks/vmGroups","properties":{"displayName":"vmGroup1","members":["564d43da-fefc-2a3b-1d92-42855622fa50"],"status":"SUCCESS","revision":1}}]}' @@ -1651,7 +1651,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:21 GMT + - Mon, 16 Jun 2025 01:48:08 GMT server: - Rocket status: @@ -1671,9 +1671,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --vm-group User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1","name":"cloud1","type":"Microsoft.AVS/privateClouds/workloadNetworks/vmGroups","properties":{"displayName":"vmGroup1","members":["564d43da-fefc-2a3b-1d92-42855622fa50"],"status":"SUCCESS","revision":1}}' @@ -1691,7 +1691,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:22 GMT + - Mon, 16 Jun 2025 01:48:10 GMT server: - Rocket status: @@ -1716,9 +1716,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --vm-group --display-name --members --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1","name":"vmGroup1","type":"Microsoft.AVS/privateClouds/workloadNetworks/vmGroups","properties":{"displayName":"vmGroup1","members":["564d43da-fefc-2a3b-1d92-42855622fa50"],"status":"SUCCESS","revision":1}}' @@ -1736,7 +1736,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:25 GMT + - Mon, 16 Jun 2025 01:48:13 GMT server: - Rocket status: @@ -1756,9 +1756,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --vm-group --display-name --members --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1","name":"cloud1","type":"Microsoft.AVS/privateClouds/workloadNetworks/vmGroups","properties":{"displayName":"vmGroup1","members":["564d43da-fefc-2a3b-1d92-42855622fa50"],"status":"SUCCESS","revision":1}}' @@ -1776,7 +1776,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:27 GMT + - Mon, 16 Jun 2025 01:48:15 GMT server: - Rocket status: @@ -1801,9 +1801,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --vm-group --display-name --members --revision User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1","name":"vmGroup1","type":"Microsoft.AVS/privateClouds/workloadNetworks/vmGroups","properties":{"displayName":"vmGroup1","members":["564d43da-fefc-2a3b-1d92-42855622fa50"],"status":"SUCCESS","revision":1}}' @@ -1821,7 +1821,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:27 GMT + - Mon, 16 Jun 2025 01:48:15 GMT server: - Rocket status: @@ -1843,9 +1843,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --vm-group --yes User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/vmGroups/vmGroup1?api-version=2024-09-01 response: body: string: '' @@ -1863,7 +1863,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:31 GMT + - Mon, 16 Jun 2025 01:48:18 GMT server: - Rocket status: @@ -1883,9 +1883,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1","name":"vm1","type":"Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines","properties":{"displayName":"vm1","vmType":"REGULAR"}}]}' @@ -1903,7 +1903,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:34 GMT + - Mon, 16 Jun 2025 01:48:21 GMT server: - Rocket status: @@ -1923,9 +1923,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --virtual-machine User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/virtualMachines/vm1","name":"vm1","type":"Microsoft.AVS/privateClouds/workloadNetworks/virtualMachines","properties":{"displayName":"vm1","vmType":"REGULAR"}}' @@ -1943,7 +1943,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:36 GMT + - Mon, 16 Jun 2025 01:48:23 GMT server: - Rocket status: @@ -1963,9 +1963,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways?api-version=2024-09-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1","name":"gateway1","type":"Microsoft.AVS/privateClouds/workloadNetworks/segments","properties":{"displayName":"gateway1","path":"/infra/tier-1s/gateway1"}}]}' @@ -1983,7 +1983,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:38 GMT + - Mon, 16 Jun 2025 01:48:25 GMT server: - Rocket status: @@ -2003,9 +2003,9 @@ interactions: ParameterSetName: - --resource-group --private-cloud --gateway User-Agent: - - AZURECLI/2.68.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.74.0 azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1?api-version=2023-09-01 + uri: https://localhost/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_workload_network000001/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1?api-version=2024-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/workloadNetworks/default/gateways/gateway1","name":"gateway1","type":"Microsoft.AVS/privateClouds/workloadNetworks/gateways","properties":{"displayName":"gateway1","path":"/infra/tier-1s/gateway1"}}' @@ -2023,7 +2023,7 @@ interactions: content-type: - application/json date: - - Thu, 13 Mar 2025 01:51:41 GMT + - Mon, 16 Jun 2025 01:48:27 GMT server: - Rocket status: diff --git a/src/vmware/azext_vmware/tests/latest/test_addon_scenario.py b/src/vmware/azext_vmware/tests/latest/test_addon_scenario.py index 97bc1d22118..6f1cb9f7341 100644 --- a/src/vmware/azext_vmware/tests/latest/test_addon_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_addon_scenario.py @@ -75,8 +75,20 @@ def test_vmware_addon(self): # Create an HCX addon self.cmd('az vmware addon hcx create -g {rg} -c {privatecloud} --offer offerId') - # # Update an HCX addon - # self.cmd('az vmware addon hcx update -g {rg} -c {privatecloud} --offer offerId') + self.cmd('az vmware addon hcx create -g {rg} -c {privatecloud} --offer offerId --management-network 10.3.1.0/24') + + self.cmd('az vmware addon hcx create -g {rg} -c {privatecloud} --offer offerId --uplink-network 10.3.2.0/24') + + self.cmd('az vmware addon hcx create -g {rg} -c {privatecloud} --offer offerId --management-network 10.3.1.0/24 --uplink-network 10.3.2.0/24') + + # Update an HCX addon + self.cmd('az vmware addon hcx update -g {rg} -c {privatecloud} --offer offerId') + + self.cmd('az vmware addon hcx update -g {rg} -c {privatecloud} --offer offerId --management-network 10.3.1.0/24') + + self.cmd('az vmware addon hcx update -g {rg} -c {privatecloud} --offer offerId --uplink-network 10.3.2.0/24') + + self.cmd('az vmware addon hcx update -g {rg} -c {privatecloud} --offer offerId --management-network 10.3.1.0/24 --uplink-network 10.3.2.0/24') # Show a HCX addon self.cmd('az vmware addon hcx show -g {rg} -c {privatecloud}') diff --git a/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py b/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py index 688e271565e..c5680733391 100644 --- a/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py @@ -17,7 +17,7 @@ def test_vmware_cloud_link(self): self.kwargs.update({ 'privatecloud': 'cloud1', 'cloud_link': 'cloudLink1', - 'linked_cloud': '/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2', + 'linked_cloud': '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2', }) rsp = self.cmd('az vmware cloud-link create -g {rg} -c {privatecloud} -n {cloud_link} --linked-cloud {linked_cloud}').get_output_in_json() diff --git a/src/vmware/azext_vmware/tests/latest/test_datastores_scenario.py b/src/vmware/azext_vmware/tests/latest/test_datastores_scenario.py index 045f36be3ee..18486b94258 100644 --- a/src/vmware/azext_vmware/tests/latest/test_datastores_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_datastores_scenario.py @@ -27,6 +27,8 @@ def test_vmware_datastores(self): 'volume_id': '/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/Microsoft.NetApp/netAppAccounts/NetAppAccount1/capacityPools/CapacityPool1/volumes/NFSVol1', 'target_id': '/subscriptions/ba75e79b-dd95-4025-9dbf-3a7ae8dff2b5/resourceGroups/rasivagu-df-rg/providers/Microsoft.StoragePool/diskPools/rasivagu-df-diskpool/iscsiTargets/rasivagu-df-target', 'san_volume': 'san-volumes', + 'storage_pool_id': 'id', + 'size_gb': 64, }) # Create a new iSCSI based datastore @@ -53,4 +55,7 @@ def test_vmware_datastores(self): self.cmd('az vmware datastore disk-pool-volume create --name iSCSIDatastore1 --resource-group {rg} --private-cloud {privatecloud} --cluster {cluster} --target-id {target_id} --lun-name lun0 --mount-option ATTACH') # Create a new Elastic SAN based datastore - self.cmd('az vmware datastore elastic-san-volume create --name SANDatastore1 --resource-group {rg} --private-cloud {privatecloud} --cluster {cluster} --elastic-san-volume {san_volume}') \ No newline at end of file + self.cmd('az vmware datastore elastic-san-volume create --name SANDatastore1 --resource-group {rg} --private-cloud {privatecloud} --cluster {cluster} --elastic-san-volume {san_volume}') + + # # Create a new Pure Storage based datastore + self.cmd('az vmware datastore pure-storage-volume create --name PureStorageDatastore1 --resource-group {rg} --private-cloud {privatecloud} --cluster {cluster} --storage-pool-id {storage_pool_id} --size-gb {size_gb}') \ No newline at end of file diff --git a/src/vmware/azext_vmware/tests/latest/test_global_reach_connection_scenario.py b/src/vmware/azext_vmware/tests/latest/test_global_reach_connection_scenario.py index 95248079050..98a41843503 100644 --- a/src/vmware/azext_vmware/tests/latest/test_global_reach_connection_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_global_reach_connection_scenario.py @@ -21,12 +21,12 @@ def test_vmware_global_reach_connection(self): 'loc': 'westcentralus', 'privatecloud': 'cloud1', 'global_reach_connection': 'connection1', - 'peer_express_route_circuit': '/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer', + 'peer_express_route_circuit': '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer', 'authorization_key': '01010101-0101-0101-0101-010101010101', 'express_route_id': '/subscriptions/{subscription-id}/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect' }) - self.cmd('az vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 4 --network-block 192.168.48.0/22 --nsxt-password 5rqdLj4GF3cePUe6 --vcenter-password UpfBXae9ZquZSDXk --accept-eula') + self.cmd('az vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 4 --network-block 192.168.48.0/22 --accept-eula') count = len(self.cmd('az vmware global-reach-connection list -g {rg} -c {privatecloud}').get_output_in_json()) self.assertEqual(count, 1, 'count expected to be 1') diff --git a/src/vmware/azext_vmware/tests/latest/test_hcx_scenario.py b/src/vmware/azext_vmware/tests/latest/test_hcx_scenario.py index 43ccb096341..3b50e14eeab 100644 --- a/src/vmware/azext_vmware/tests/latest/test_hcx_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_hcx_scenario.py @@ -23,7 +23,7 @@ def test_vmware_hcx(self): }) # create a private cloud - self.cmd('vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 4 --network-block 192.168.48.0/22 --nsxt-password 5rqdLj4GF3cePUe6( --vcenter-password UpfBXae9ZquZSDXk( --accept-eula') + self.cmd('vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 4 --network-block 192.168.48.0/22 --accept-eula') # Create a HCX addon self.cmd('az vmware addon hcx create -g {rg} -c {privatecloud} --offer "VMware MaaS Cloud Provider"') diff --git a/src/vmware/azext_vmware/tests/latest/test_provisioned_network_scenario.py b/src/vmware/azext_vmware/tests/latest/test_provisioned_network_scenario.py new file mode 100644 index 00000000000..190e1fcbe7d --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/test_provisioned_network_scenario.py @@ -0,0 +1,28 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +class VmwareProvisionedNetworkScenarioTest(ScenarioTest): + def setUp(self): + # https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching + self.vcr.match_on = ['scheme', 'method', 'path', 'query'] # not 'host', 'port' + super(VmwareProvisionedNetworkScenarioTest, self).setUp() + + @ResourceGroupPreparer(name_prefix='cli_test_provisioned_network_script') + def test_vmware_host(self): + self.kwargs.update({ + 'subscription': '00000000-0000-0000-0000-000000000000', + 'privatecloud': 'cloud1', + 'provisionednetworkname': "esx03-r52.1111111111111111111.westcentralus.prod.azure.com" + }) + + # list provisioned networks + count = len(self.cmd('az vmware provisioned-network list -g rg --private-cloud-name {privatecloud}').get_output_in_json()) + self.assertEqual(count, 3, 'count expected to be 3') + + # get a provisioned network + self.cmd('az vmware provisioned-network show -g rg --private-cloud-name {privatecloud} --n {provisionednetworkname}') diff --git a/src/vmware/azext_vmware/tests/latest/test_pure_storage_policy_scenario.py b/src/vmware/azext_vmware/tests/latest/test_pure_storage_policy_scenario.py new file mode 100644 index 00000000000..f5461493b87 --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/test_pure_storage_policy_scenario.py @@ -0,0 +1,37 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +class VmwarePureStoragePolicyScenarioTest(ScenarioTest): + def setUp(self): + # https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching + self.vcr.match_on = ['scheme', 'method', 'path', 'query'] # not 'host', 'port' + super(VmwarePureStoragePolicyScenarioTest, self).setUp() + + @ResourceGroupPreparer(name_prefix='cli_test_pure_storage_policy_script') + def test_vmware_pure_storage_policy(self): + self.kwargs.update({ + 'subscription': '00000000-0000-0000-0000-000000000000', + 'privatecloud': 'cloud1', + 'storagePolicyName': "storagePolicy1", + "storagePolicyDefinition": "Definition1", + "storagePoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1" + }) + + # list pure storage policies + count = len(self.cmd('az vmware pure-storage-policy list -g rg --private-cloud-name a').get_output_in_json()) + self.assertEqual(count, 1, 'count expected to be 1') + + # get a pure storage policy + self.cmd('az vmware pure-storage-policy show -g rg --private-cloud-name a -n storagePolicyName') + + # create a pure storage policy + self.cmd('az vmware pure-storage-policy create -g rg --private-cloud-name a -n storagePolicyName --storage-policy-definition storagePolicyDefinition --storage-pool-id storagePoolId') + + # delete a pure storage policy + self.cmd('az vmware pure-storage-policy delete -g rg --private-cloud-name a -n storagePolicyName --yes') + diff --git a/src/vmware/azext_vmware/tests/latest/test_script_scenario.py b/src/vmware/azext_vmware/tests/latest/test_script_scenario.py index 107f7c7e23a..81c8cd75dd3 100644 --- a/src/vmware/azext_vmware/tests/latest/test_script_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_script_scenario.py @@ -15,11 +15,12 @@ def setUp(self): @ResourceGroupPreparer(name_prefix='cli_test_vmware_script') def test_vmware_script(self): self.kwargs.update({ - 'subscription': '12341234-1234-1234-1234-123412341234', + 'subscription': '00000000-0000-0000-0000-000000000000', 'privatecloud': 'cloud1', 'scriptExecution': 'addSsoServer', 'scriptPackage': 'Microsoft.AVS.Management@3.0.48', - 'scriptCmdlet': 'New-ExternalSsoDomain' + 'scriptCmdlet': 'New-ExternalSsoDomain', + 'outputType': "\"[\'Error\', \'Information\', \'Output\', \'Warning\']\"" }) count = len(self.cmd('az vmware script-package list -g {rg} -c {privatecloud}').get_output_in_json()) @@ -49,3 +50,6 @@ def test_vmware_script(self): rsp = self.cmd('az vmware script-execution delete -g {rg} -c {privatecloud} -n {scriptExecution} --yes').output self.assertEqual(len(rsp), 0) + + self.cmd('az vmware script-execution get-execution-log -g {rg} --private-cloud-name {privatecloud} --script-execution-name {scriptExecution}') + self.cmd('az vmware script-execution get-execution-log -g {rg} --private-cloud-name {privatecloud} --script-execution-name {scriptExecution} --script-output-stream-type {outputType}') \ No newline at end of file diff --git a/src/vmware/azext_vmware/tests/latest/test_vmware_scenario.py b/src/vmware/azext_vmware/tests/latest/test_vmware_scenario.py index 107972258f3..9e99ea4c6d7 100644 --- a/src/vmware/azext_vmware/tests/latest/test_vmware_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_vmware_scenario.py @@ -25,7 +25,9 @@ def test_vmware(self): 'cluster': 'pycluster1', 'hosts': 'fakehost22.nyc1.kubernetes.center fakehost23.nyc1.kubernetes.center fakehost24.nyc1.kubernetes.center', 'key_vault_key': 'vmwarekey', - 'vault_url': 'https://keyvault1-kmip-kvault.vault.azure.net/' + 'vault_url': 'https://keyvault1-kmip-kvault.vault.azure.net/', + 'clustername': 'cluster1', + 'hostname': "name" }) # check quote availability @@ -39,7 +41,10 @@ def test_vmware(self): # create a private cloud self.cmd( - 'vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 3 --network-block 192.168.48.0/22 --nsxt-password 5rqdLj4GF3cePUe6( --vcenter-password UpfBXae9ZquZSDXk( --accept-eula') + 'vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 3 --network-block 192.168.48.0/22 --accept-eula') + + self.cmd( + 'vmware private-cloud create -g {rg} -n {privatecloud} --location {loc} --sku av20 --cluster-size 3 --network-block 192.168.48.0/22 --zones 1 --accept-eula') count = len(self.cmd('vmware private-cloud list -g {rg}').get_output_in_json()) self.assertEqual(count, 1, 'private cloud count expected to be 1') @@ -132,6 +137,16 @@ def test_vmware(self): # cluster list zone self.cmd('vmware cluster list-zones -g {rg} -c {privatecloud} -n {cluster}') + + # list hosts + count = len(self.cmd('az vmware cluster host list -g rg --cluster-name {clustername} --private-cloud-name {privatecloud}').get_output_in_json()) + self.assertEqual(count, 3, 'count expected to be 3') + + # get a host + self.cmd('az vmware cluster host show -g rg --cluster-name {clustername} --private-cloud-name {privatecloud} --host-id {hostname}') # delete the private cloud - self.cmd('vmware private-cloud delete -g {rg} -n {privatecloud} --yes') \ No newline at end of file + self.cmd('vmware private-cloud delete -g {rg} -n {privatecloud} --yes') + + # get sku list + self.cmd('vmware skus list') \ No newline at end of file diff --git a/src/vmware/setup.py b/src/vmware/setup.py index 436e9205d92..2119337accb 100644 --- a/src/vmware/setup.py +++ b/src/vmware/setup.py @@ -8,7 +8,7 @@ from io import open from setuptools import setup, find_packages -VERSION = "7.2.0" +VERSION = "8.0.0" with open('README.md', encoding='utf-8') as f: readme = f.read()