Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11249,7 +11249,7 @@ interactions:
User-Agent:
- AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus2/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus2/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westus2\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5941,7 +5941,7 @@ interactions:
User-Agent:
- AZURECLI/2.86.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westcentralus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10588,7 +10588,7 @@ interactions:
User-Agent:
- AZURECLI/2.71.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westcentralus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7122,7 +7122,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down Expand Up @@ -14603,7 +14603,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7123,7 +7123,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.11.9 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7169,7 +7169,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.1 (Linux-6.8.0-1026-azure-x86_64-with-glibc2.31)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down Expand Up @@ -14696,7 +14696,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.1 (Linux-6.8.0-1026-azure-x86_64-with-glibc2.31)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7343,7 +7343,7 @@ interactions:
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://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down Expand Up @@ -15044,7 +15044,7 @@ interactions:
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://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2024-11-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2026-04-01
response:
body:
string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"1.4.105.0\",\r\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class ListVersions(AAZCommand):
"""

_aaz_info = {
"version": "2024-11-01",
"version": "2026-04-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmextension/types/{}/versions", "2024-11-01"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmextension/types/{}/versions", "2026-04-01"],
]
}

Expand Down Expand Up @@ -60,6 +60,11 @@ def _build_arguments_schema(cls, *args, **kwargs):
required=True,
id_part="child_name_3",
)
_args_schema.expand = AAZStrArg(
options=["--expand"],
help="Expand the response to include additional read-only metadata. Allowed values: `properties` — returns extended metadata (`releaseCategory`, `urgencyLevel`, `runProfile`).",
enum={"properties": "properties"},
)
_args_schema.filter = AAZStrArg(
options=["--filter"],
help="The filter to apply on the operation. Default value is None.",
Expand Down Expand Up @@ -142,6 +147,9 @@ def url_parameters(self):
@property
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"$expand", self.ctx.args.expand,
),
**self.serialize_query_param(
"$filter", self.ctx.args.filter,
),
Expand All @@ -152,7 +160,7 @@ def query_parameters(self):
"$top", self.ctx.args.top,
),
**self.serialize_query_param(
"api-version", "2024-11-01",
"api-version", "2026-04-01",
required=True,
),
}
Expand Down Expand Up @@ -200,6 +208,10 @@ def _build_schema_on_200(cls):
_element.properties = AAZObjectType(
flags={"client_flatten": True},
)
_element.system_data = AAZObjectType(
serialized_name="systemData",
flags={"read_only": True},
)
_element.tags = AAZDictType()
_element.type = AAZStrType(
flags={"read_only": True},
Expand All @@ -210,6 +222,10 @@ def _build_schema_on_200(cls):
serialized_name="computeRole",
flags={"required": True},
)
properties.extension_feature_metadata = AAZObjectType(
serialized_name="extensionFeatureMetadata",
flags={"read_only": True},
)
properties.handler_schema = AAZStrType(
serialized_name="handlerSchema",
flags={"required": True},
Expand All @@ -218,13 +234,63 @@ def _build_schema_on_200(cls):
serialized_name="operatingSystem",
flags={"required": True},
)
properties.release_category = AAZStrType(
serialized_name="releaseCategory",
flags={"read_only": True},
)
properties.release_notes = AAZStrType(
serialized_name="releaseNotes",
flags={"read_only": True},
)
properties.run_profile = AAZStrType(
serialized_name="runProfile",
flags={"read_only": True},
)
properties.supports_multiple_extensions = AAZBoolType(
serialized_name="supportsMultipleExtensions",
)
properties.urgency_level = AAZStrType(
serialized_name="urgencyLevel",
flags={"read_only": True},
)
properties.vm_scale_set_enabled = AAZBoolType(
serialized_name="vmScaleSetEnabled",
)

extension_feature_metadata = cls._schema_on_200.Element.properties.extension_feature_metadata
extension_feature_metadata.extension_feature_tags = AAZListType(
serialized_name="extensionFeatureTags",
)

extension_feature_tags = cls._schema_on_200.Element.properties.extension_feature_metadata.extension_feature_tags
extension_feature_tags.Element = AAZObjectType()

_element = cls._schema_on_200.Element.properties.extension_feature_metadata.extension_feature_tags.Element
_element.key = AAZStrType(
flags={"required": True},
)
_element.value = AAZStrType()

system_data = cls._schema_on_200.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",
)

tags = cls._schema_on_200.Element.tags
tags.Element = AAZStrType()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class Show(AAZCommand):
"""

_aaz_info = {
"version": "2024-11-01",
"version": "2026-04-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmextension/types/{}/versions/{}", "2024-11-01"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmextension/types/{}/versions/{}", "2026-04-01"],
]
}

Expand Down Expand Up @@ -145,7 +145,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2024-11-01",
"api-version", "2026-04-01",
required=True,
),
}
Expand Down Expand Up @@ -190,6 +190,10 @@ 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.tags = AAZDictType()
_schema_on_200.type = AAZStrType(
flags={"read_only": True},
Expand All @@ -200,6 +204,10 @@ def _build_schema_on_200(cls):
serialized_name="computeRole",
flags={"required": True},
)
properties.extension_feature_metadata = AAZObjectType(
serialized_name="extensionFeatureMetadata",
flags={"read_only": True},
)
properties.handler_schema = AAZStrType(
serialized_name="handlerSchema",
flags={"required": True},
Expand All @@ -208,13 +216,63 @@ def _build_schema_on_200(cls):
serialized_name="operatingSystem",
flags={"required": True},
)
properties.release_category = AAZStrType(
serialized_name="releaseCategory",
flags={"read_only": True},
)
properties.release_notes = AAZStrType(
serialized_name="releaseNotes",
flags={"read_only": True},
)
properties.run_profile = AAZStrType(
serialized_name="runProfile",
flags={"read_only": True},
)
properties.supports_multiple_extensions = AAZBoolType(
serialized_name="supportsMultipleExtensions",
)
properties.urgency_level = AAZStrType(
serialized_name="urgencyLevel",
flags={"read_only": True},
)
properties.vm_scale_set_enabled = AAZBoolType(
serialized_name="vmScaleSetEnabled",
)

extension_feature_metadata = cls._schema_on_200.properties.extension_feature_metadata
extension_feature_metadata.extension_feature_tags = AAZListType(
serialized_name="extensionFeatureTags",
)

extension_feature_tags = cls._schema_on_200.properties.extension_feature_metadata.extension_feature_tags
extension_feature_tags.Element = AAZObjectType()

_element = cls._schema_on_200.properties.extension_feature_metadata.extension_feature_tags.Element
_element.key = AAZStrType(
flags={"required": True},
)
_element.value = 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",
)

tags = cls._schema_on_200.tags
tags.Element = AAZStrType()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@

from .__cmd_group import *
from ._list_names import *
from ._list_versions import *
from ._show import *
Loading
Loading