-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #521 from ZengTaoxu/custom-ip-prefix
Update command model for `az network custom-ip prefix`
- Loading branch information
Showing
11 changed files
with
1,190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...wdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2N1c3RvbWlwcHJlZml4ZXM=/2023-11-01.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/customipprefixes", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvY3VzdG9tSXBQcmVmaXhlcw==/V/MjAyMy0xMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9jdXN0b21JcFByZWZpeGVz/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network custom-ip prefix", "commands": [{"name": "list", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/customipprefixes", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvY3VzdG9tSXBQcmVmaXhlcw==/V/MjAyMy0xMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9jdXN0b21JcFByZWZpeGVz/V/MjAyMy0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_CustomIPPrefixes_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_CustomIPPrefixes_ListAll", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_CustomIPPrefixes_List"], "operationId": "CustomIPPrefixes_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/customIpPrefixes/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "asn"}, {"type": "string", "name": "authorizationMessage"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "childCustomIpPrefixes", "item": {"type": "@SubResource_read"}}, {"type": "string", "name": "cidr"}, {"type": "string", "name": "commissionedState", "enum": {"items": [{"value": "Commissioned"}, {"value": "CommissionedNoInternetAdvertise"}, {"value": "Commissioning"}, {"value": "Decommissioning"}, {"value": "Deprovisioned"}, {"value": "Deprovisioning"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "object", "name": "customIpPrefixParent", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "boolean", "name": "expressRouteAdvertise"}, {"readOnly": true, "type": "string", "name": "failedReason"}, {"type": "string", "name": "geo", "enum": {"items": [{"value": "AFRI"}, {"value": "APAC"}, {"value": "AQ"}, {"value": "EURO"}, {"value": "GLOBAL"}, {"value": "LATAM"}, {"value": "ME"}, {"value": "NAM"}, {"value": "OCEANIA"}]}}, {"type": "boolean", "name": "noInternetAdvertise"}, {"type": "string", "name": "prefixType", "enum": {"items": [{"value": "Child"}, {"value": "Parent"}, {"value": "Singular"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "publicIpPrefixes", "item": {"type": "@SubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "string", "name": "signedMessage"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array<string>", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_CustomIPPrefixes_ListAll"], "operationId": "CustomIPPrefixes_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/customIpPrefixes/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "asn"}, {"type": "string", "name": "authorizationMessage"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "childCustomIpPrefixes", "item": {"type": "@SubResource_read"}}, {"type": "string", "name": "cidr"}, {"type": "string", "name": "commissionedState", "enum": {"items": [{"value": "Commissioned"}, {"value": "CommissionedNoInternetAdvertise"}, {"value": "Commissioning"}, {"value": "Decommissioning"}, {"value": "Deprovisioned"}, {"value": "Deprovisioning"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "customIpPrefixParent"}, {"type": "boolean", "name": "expressRouteAdvertise"}, {"readOnly": true, "type": "string", "name": "failedReason"}, {"type": "string", "name": "geo", "enum": {"items": [{"value": "AFRI"}, {"value": "APAC"}, {"value": "AQ"}, {"value": "EURO"}, {"value": "GLOBAL"}, {"value": "LATAM"}, {"value": "ME"}, {"value": "NAM"}, {"value": "OCEANIA"}]}}, {"type": "boolean", "name": "noInternetAdvertise"}, {"type": "string", "name": "prefixType", "enum": {"items": [{"value": "Child"}, {"value": "Parent"}, {"value": "Singular"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "publicIpPrefixes", "item": {"type": "@SubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "string", "name": "signedMessage"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array<string>", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} |
Oops, something went wrong.