Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update command model for az network custom-ip prefix #521

Merged
merged 1 commit into from
Jul 11, 2024
Merged
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
11 changes: 11 additions & 0 deletions Commands/network/custom-ip/prefix/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a custom IP prefix resource.
```bash
network custom-ip prefix create --location westus2 --name MyCustomIpPrefix --resource-group MyResourceGroup
```

### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2N1c3RvbWlwcHJlZml4ZXMve30=/2023-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{} 2023-11-01 -->

#### examples

- Create a custom IP prefix resource.
```bash
network custom-ip prefix create --location westus2 --name MyCustomIpPrefix --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/custom-ip/prefix/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a custom IP prefix resource.
```bash
network custom-ip prefix delete --name MyCustomIpPrefix --resource-group MyResourceGroup
```

### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2N1c3RvbWlwcHJlZml4ZXMve30=/2023-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{} 2023-11-01 -->

#### examples

- Delete a custom IP prefix resource.
```bash
network custom-ip prefix delete --name MyCustomIpPrefix --resource-group MyResourceGroup
```
12 changes: 12 additions & 0 deletions Commands/network/custom-ip/prefix/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ List custom IP prefix resources.
```bash
network custom-ip prefix list --resource-group MyResourceGroup
```

### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2N1c3RvbWlwcHJlZml4ZXM=/2023-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/customipprefixes 2023-11-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes 2023-11-01 -->

#### examples

- List custom IP prefix resources.
```bash
network custom-ip prefix list --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/custom-ip/prefix/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Get the details of a custom IP prefix resource.
```bash
network custom-ip prefix show --name MyCustomIpPrefix --resource-group MyResourceGroup --subscription MySubscription
```

### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2N1c3RvbWlwcHJlZml4ZXMve30=/2023-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{} 2023-11-01 -->

#### examples

- Get the details of a custom IP prefix resource.
```bash
network custom-ip prefix show --name MyCustomIpPrefix --resource-group MyResourceGroup --subscription MySubscription
```
11 changes: 11 additions & 0 deletions Commands/network/custom-ip/prefix/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Update a custom IP prefix resource.
```bash
network custom-ip prefix update --name MyCustomIpPrefix --resource-group MyResourceGroup --tags foo=bar
```

### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2N1c3RvbWlwcHJlZml4ZXMve30=/2023-11-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{} 2023-11-01 -->

#### examples

- Update a custom IP prefix resource.
```bash
network custom-ip prefix update --name MyCustomIpPrefix --resource-group MyResourceGroup --tags foo=bar
```
95 changes: 95 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -85153,6 +85153,24 @@
"version": "2023-09-01"
}
]
},
{
"examples": [
{
"commands": [
"network custom-ip prefix create --location westus2 --name MyCustomIpPrefix --resource-group MyResourceGroup"
],
"name": "Create a custom IP prefix resource."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -85202,6 +85220,24 @@
"version": "2023-09-01"
}
]
},
{
"examples": [
{
"commands": [
"network custom-ip prefix delete --name MyCustomIpPrefix --resource-group MyResourceGroup"
],
"name": "Delete a custom IP prefix resource."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -85261,6 +85297,29 @@
"version": "2023-09-01"
}
]
},
{
"examples": [
{
"commands": [
"network custom-ip prefix list --resource-group MyResourceGroup"
],
"name": "List custom IP prefix resources."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.network/customipprefixes",
"plane": "mgmt-plane",
"version": "2023-11-01"
},
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -85310,6 +85369,24 @@
"version": "2023-09-01"
}
]
},
{
"examples": [
{
"commands": [
"network custom-ip prefix show --name MyCustomIpPrefix --resource-group MyResourceGroup --subscription MySubscription"
],
"name": "Get the details of a custom IP prefix resource."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -85359,6 +85436,24 @@
"version": "2023-09-01"
}
]
},
{
"examples": [
{
"commands": [
"network custom-ip prefix update --name MyCustomIpPrefix --resource-group MyResourceGroup --tags foo=bar"
],
"name": "Update a custom IP prefix resource."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/customipprefixes/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
}
Expand Down
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"}]}]}]}
Loading
Loading