Skip to content

Commit

Permalink
re-generate vm/servicefabric (Azure#25991)
Browse files Browse the repository at this point in the history
  • Loading branch information
necusjz authored Mar 30, 2023
1 parent a64e1a8 commit afb08bb
Show file tree
Hide file tree
Showing 9 changed files with 198 additions and 198 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2400,8 +2400,8 @@ def _build_schema_public_ip_address_create(cls, _builder):

_elements = _builder.get(".properties.ipTags[]")
if _elements is not None:
_elements.set_prop("ipTagType", AAZStrType, "@PublicIPAddress_create.ip_tags.[].ip_tag_type")
_elements.set_prop("tag", AAZStrType, "@PublicIPAddress_create.ip_tags.[].tag")
_elements.set_prop("ipTagType", AAZStrType, ".ip_tag_type")
_elements.set_prop("tag", AAZStrType, ".tag")

nat_gateway = _builder.get(".properties.natGateway")
if nat_gateway is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1136,29 +1136,29 @@ def _build_schema_network_security_group_update(cls, _builder):

_elements = _builder.get(".properties.securityRules[]")
if _elements is not None:
_elements.set_prop("etag", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].etag")
_elements.set_prop("id", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].id")
_elements.set_prop("name", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].name")
_elements.set_prop("etag", AAZStrType, ".etag")
_elements.set_prop("id", AAZStrType, ".id")
_elements.set_prop("name", AAZStrType, ".name")
_elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

properties = _builder.get(".properties.securityRules[].properties")
if properties is not None:
properties.set_prop("access", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].access", typ_kwargs={"flags": {"required": True}})
properties.set_prop("description", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].description")
properties.set_prop("destinationAddressPrefix", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].destination_address_prefix")
properties.set_prop("destinationAddressPrefixes", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].destination_address_prefixes")
properties.set_prop("destinationApplicationSecurityGroups", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].destination_application_security_groups")
properties.set_prop("destinationPortRange", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].destination_port_range")
properties.set_prop("destinationPortRanges", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].destination_port_ranges")
properties.set_prop("direction", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].direction", typ_kwargs={"flags": {"required": True}})
properties.set_prop("priority", AAZIntType, "@NetworkSecurityGroup_update.security_rules.[].priority")
properties.set_prop("protocol", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].protocol", typ_kwargs={"flags": {"required": True}})
properties.set_prop("provisioningState", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].provisioning_state")
properties.set_prop("sourceAddressPrefix", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].source_address_prefix")
properties.set_prop("sourceAddressPrefixes", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].source_address_prefixes")
properties.set_prop("sourceApplicationSecurityGroups", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].source_application_security_groups")
properties.set_prop("sourcePortRange", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].source_port_range")
properties.set_prop("sourcePortRanges", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].source_port_ranges")
properties.set_prop("access", AAZStrType, ".access", typ_kwargs={"flags": {"required": True}})
properties.set_prop("description", AAZStrType, ".description")
properties.set_prop("destinationAddressPrefix", AAZStrType, ".destination_address_prefix")
properties.set_prop("destinationAddressPrefixes", AAZListType, ".destination_address_prefixes")
properties.set_prop("destinationApplicationSecurityGroups", AAZListType, ".destination_application_security_groups")
properties.set_prop("destinationPortRange", AAZStrType, ".destination_port_range")
properties.set_prop("destinationPortRanges", AAZListType, ".destination_port_ranges")
properties.set_prop("direction", AAZStrType, ".direction", typ_kwargs={"flags": {"required": True}})
properties.set_prop("priority", AAZIntType, ".priority")
properties.set_prop("protocol", AAZStrType, ".protocol", typ_kwargs={"flags": {"required": True}})
properties.set_prop("provisioningState", AAZStrType, ".provisioning_state")
properties.set_prop("sourceAddressPrefix", AAZStrType, ".source_address_prefix")
properties.set_prop("sourceAddressPrefixes", AAZListType, ".source_address_prefixes")
properties.set_prop("sourceApplicationSecurityGroups", AAZListType, ".source_application_security_groups")
properties.set_prop("sourcePortRange", AAZStrType, ".source_port_range")
properties.set_prop("sourcePortRanges", AAZListType, ".source_port_ranges")

destination_address_prefixes = _builder.get(".properties.securityRules[].properties.destinationAddressPrefixes")
if destination_address_prefixes is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Show(AAZCommand):
:example: Show the latest version of the Docker extension.
az vm extension image list-versions --publisher Microsoft.Azure.Extensions -l westus -n DockerExtension --query "[].name" -o tsv | sort | tail -n 1
az vm extension image show -l westus --publisher Microsoft.Azure.Extensions -n DockerExtension --version LatestVersion
az vm extension image show -l westus \\ --publisher Microsoft.Azure.Extensions -n DockerExtension --version LatestVersion
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1136,29 +1136,29 @@ def _build_schema_network_security_group_update(cls, _builder):

_elements = _builder.get(".properties.securityRules[]")
if _elements is not None:
_elements.set_prop("etag", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].etag")
_elements.set_prop("id", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].id")
_elements.set_prop("name", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].name")
_elements.set_prop("etag", AAZStrType, ".etag")
_elements.set_prop("id", AAZStrType, ".id")
_elements.set_prop("name", AAZStrType, ".name")
_elements.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

properties = _builder.get(".properties.securityRules[].properties")
if properties is not None:
properties.set_prop("access", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].access", typ_kwargs={"flags": {"required": True}})
properties.set_prop("description", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].description")
properties.set_prop("destinationAddressPrefix", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].destination_address_prefix")
properties.set_prop("destinationAddressPrefixes", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].destination_address_prefixes")
properties.set_prop("destinationApplicationSecurityGroups", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].destination_application_security_groups")
properties.set_prop("destinationPortRange", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].destination_port_range")
properties.set_prop("destinationPortRanges", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].destination_port_ranges")
properties.set_prop("direction", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].direction", typ_kwargs={"flags": {"required": True}})
properties.set_prop("priority", AAZIntType, "@NetworkSecurityGroup_update.security_rules.[].priority")
properties.set_prop("protocol", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].protocol", typ_kwargs={"flags": {"required": True}})
properties.set_prop("provisioningState", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].provisioning_state")
properties.set_prop("sourceAddressPrefix", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].source_address_prefix")
properties.set_prop("sourceAddressPrefixes", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].source_address_prefixes")
properties.set_prop("sourceApplicationSecurityGroups", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].source_application_security_groups")
properties.set_prop("sourcePortRange", AAZStrType, "@NetworkSecurityGroup_update.security_rules.[].source_port_range")
properties.set_prop("sourcePortRanges", AAZListType, "@NetworkSecurityGroup_update.security_rules.[].source_port_ranges")
properties.set_prop("access", AAZStrType, ".access", typ_kwargs={"flags": {"required": True}})
properties.set_prop("description", AAZStrType, ".description")
properties.set_prop("destinationAddressPrefix", AAZStrType, ".destination_address_prefix")
properties.set_prop("destinationAddressPrefixes", AAZListType, ".destination_address_prefixes")
properties.set_prop("destinationApplicationSecurityGroups", AAZListType, ".destination_application_security_groups")
properties.set_prop("destinationPortRange", AAZStrType, ".destination_port_range")
properties.set_prop("destinationPortRanges", AAZListType, ".destination_port_ranges")
properties.set_prop("direction", AAZStrType, ".direction", typ_kwargs={"flags": {"required": True}})
properties.set_prop("priority", AAZIntType, ".priority")
properties.set_prop("protocol", AAZStrType, ".protocol", typ_kwargs={"flags": {"required": True}})
properties.set_prop("provisioningState", AAZStrType, ".provisioning_state")
properties.set_prop("sourceAddressPrefix", AAZStrType, ".source_address_prefix")
properties.set_prop("sourceAddressPrefixes", AAZListType, ".source_address_prefixes")
properties.set_prop("sourceApplicationSecurityGroups", AAZListType, ".source_application_security_groups")
properties.set_prop("sourcePortRange", AAZStrType, ".source_port_range")
properties.set_prop("sourcePortRanges", AAZListType, ".source_port_ranges")

destination_address_prefixes = _builder.get(".properties.securityRules[].properties.destinationAddressPrefixes")
if destination_address_prefixes is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Show(AAZCommand):
:example: Show the latest version of the Docker extension.
az vm extension image list-versions --publisher Microsoft.Azure.Extensions -l westus -n DockerExtension --query "[].name" -o tsv | sort | tail -n 1
az vm extension image show -l westus --publisher Microsoft.Azure.Extensions -n DockerExtension --version LatestVersion
az vm extension image show -l westus \\ --publisher Microsoft.Azure.Extensions -n DockerExtension --version LatestVersion
"""

_aaz_info = {
Expand Down
Loading

0 comments on commit afb08bb

Please sign in to comment.