Skip to content
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/nat/gateway/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a NAT gateway.
```bash
network nat gateway create --resource-group MyResourceGroup --name MyNatGateway --location MyLocation --public-ip-addresses MyPublicIp --public-ip-prefixes MyPublicIpPrefix --idle-timeout 4 --zone 2
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2025-07-01 -->

#### examples

- Create a NAT gateway.
```bash
network nat gateway create --resource-group MyResourceGroup --name MyNatGateway --location MyLocation --public-ip-addresses MyPublicIp --public-ip-prefixes MyPublicIpPrefix --idle-timeout 4 --zone 2
```
11 changes: 11 additions & 0 deletions Commands/network/nat/gateway/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a NAT gateway.
```bash
network nat gateway delete --resource-group MyResourceGroup --name MyNatGateway
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2025-07-01 -->

#### examples

- Delete a NAT gateway.
```bash
network nat gateway delete --resource-group MyResourceGroup --name MyNatGateway
```
12 changes: 12 additions & 0 deletions Commands/network/nat/gateway/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ List NAT gateways.
```bash
network nat gateway list -g MyResourceGroup
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlz/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/natgateways 2025-07-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways 2025-07-01 -->

#### examples

- List NAT gateways.
```bash
network nat gateway list -g MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/nat/gateway/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Show details of a NAT gateway.
```bash
network nat gateway show --ids {GatewayId}
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2025-07-01 -->

#### examples

- Show details of a NAT gateway.
```bash
network nat gateway show --resource-group MyResourceGroup --name MyNatGateway
```

- Show NAT gateway using ID.
```bash
network nat gateway show --ids {GatewayId}
```
11 changes: 11 additions & 0 deletions Commands/network/nat/gateway/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Update a NAT gateway.
```bash
network nat gateway update -g MyResourceGroup --name MyNatGateway --idle-timeout 5
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2025-07-01 -->

#### examples

- Update a NAT gateway.
```bash
network nat gateway update -g MyResourceGroup --name MyNatGateway --idle-timeout 5
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/natgateways", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmF0R2F0ZXdheXM=/V/MjAyNS0wNy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uYXRHYXRld2F5cw==/V/MjAyNS0wNy0wMQ=="}], "commandGroups": [{"name": "network nat gateway", "commands": [{"name": "list", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/natgateways", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmF0R2F0ZXdheXM=/V/MjAyNS0wNy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uYXRHYXRld2F5cw==/V/MjAyNS0wNy0wMQ=="}], "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_NatGateways_ListAll", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_NatGateways_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_NatGateways_ListAll"], "operationId": "NatGateways_ListAll", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/natGateways/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "idleTimeoutInMinutes"}, {"type": "string", "name": "nat64", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<object>", "name": "publicIpAddresses", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "CommonSubResource_read"}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpAddressesV6", "item": {"type": "@CommonSubResource_read"}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpPrefixes", "item": {"type": "@CommonSubResource_read"}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpPrefixesV6", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "@CommonSubResource_read", "name": "serviceGateway"}, {"type": "@CommonSubResource_read", "name": "sourceVirtualNetwork"}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "subnets", "item": {"type": "@CommonSubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "enum": {"items": [{"value": "Standard"}, {"value": "StandardV2"}]}}]}, {"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_NatGateways_List"], "operationId": "NatGateways_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/natGateways/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "idleTimeoutInMinutes"}, {"type": "string", "name": "nat64", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpAddresses", "item": {"type": "@CommonSubResource_read"}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpAddressesV6", "item": {"type": "@CommonSubResource_read"}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpPrefixes", "item": {"type": "@CommonSubResource_read"}}, {"type": "array<@CommonSubResource_read>", "name": "publicIpPrefixesV6", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "@CommonSubResource_read", "name": "serviceGateway"}, {"type": "@CommonSubResource_read", "name": "sourceVirtualNetwork"}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "subnets", "item": {"type": "@CommonSubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "enum": {"items": [{"value": "Standard"}, {"value": "StandardV2"}]}}]}, {"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"}], "confirmation": ""}]}]}
Loading
Loading