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
21 changes: 21 additions & 0 deletions Commands/network/public-ip/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,24 @@ Create a public IP address.
```bash
network public-ip create -g MyResourceGroup -n MyIp --zone 2
```

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

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

#### examples

- Create a basic public IP resource.
```bash
network public-ip create -g MyResourceGroup -n MyIp
```

- Create a static public IP resource for a DNS name label.
```bash
network public-ip create -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
```

- Create a public IP resource in an availability zone in the current resource group region.
```bash
network public-ip create -g MyResourceGroup -n MyIp --zone 2
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,14 @@ Delete a public IP address.
```bash
network public-ip delete -g MyResourceGroup -n MyIp
```

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

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

#### examples

- Delete a public IP address.
```bash
network public-ip delete -g MyResourceGroup -n MyIp
```
22 changes: 22 additions & 0 deletions Commands/network/public-ip/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,25 @@ List public IP addresses.
```bash
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
```

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

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

#### examples

- List all public IPs in a subscription.
```bash
network public-ip list
```

- List all public IPs in a resource group.
```bash
network public-ip list -g MyResourceGroup
```

- List all public IPs of a domain name label.
```bash
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
```
16 changes: 16 additions & 0 deletions Commands/network/public-ip/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,19 @@ Get the details of a public IP address.
```bash
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
```

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

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

#### examples

- Get information about a public IP resource.
```bash
network public-ip show -g MyResourceGroup -n MyIp
```

- Get the FQDN and IP address of a public IP resource.
```bash
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
```
16 changes: 16 additions & 0 deletions Commands/network/public-ip/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,19 @@ Update a public IP address.
```bash
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
```

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

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

#### examples

- Update a public IP resource with a DNS name label and static allocation.
```bash
network public-ip update -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
```

- Detach a DDoS protection plan in a public IP resource.
```bash
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
```
2 changes: 1 addition & 1 deletion Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
: Manage resources with devcenter.

- [discovery](/Commands/discovery/readme.md)
: Manage Discovery
: Manage Microsoft Discovery resources.

- [disk](/Commands/disk/readme.md)
: Manage Azure Managed Disks.
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reference [/subscriptions/{}/providers/microsoft.network/publicipaddresses 2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2Vz/2025-07-01.xml)

Large diffs are not rendered by default.

Loading
Loading