Skip to content

Commit fdcedfb

Browse files
committed
public ip addresses
1 parent 579bbc2 commit fdcedfb

11 files changed

Lines changed: 6975 additions & 0 deletions

File tree

Commands/network/public-ip/_create.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,24 @@ Create a public IP address.
129129
```bash
130130
network public-ip create -g MyResourceGroup -n MyIp --zone 2
131131
```
132+
133+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
134+
135+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
136+
137+
#### examples
138+
139+
- Create a basic public IP resource.
140+
```bash
141+
network public-ip create -g MyResourceGroup -n MyIp
142+
```
143+
144+
- Create a static public IP resource for a DNS name label.
145+
```bash
146+
network public-ip create -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
147+
```
148+
149+
- Create a public IP resource in an availability zone in the current resource group region.
150+
```bash
151+
network public-ip create -g MyResourceGroup -n MyIp --zone 2
152+
```

Commands/network/public-ip/_delete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,14 @@ Delete a public IP address.
6969
```bash
7070
network public-ip delete -g MyResourceGroup -n MyIp
7171
```
72+
73+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
74+
75+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
76+
77+
#### examples
78+
79+
- Delete a public IP address.
80+
```bash
81+
network public-ip delete -g MyResourceGroup -n MyIp
82+
```

Commands/network/public-ip/_list.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,25 @@ List public IP addresses.
135135
```bash
136136
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
137137
```
138+
139+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2Vz/2024-07-01.xml) **Stable**
140+
141+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/publicipaddresses 2024-07-01 -->
142+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses 2024-07-01 -->
143+
144+
#### examples
145+
146+
- List all public IPs in a subscription.
147+
```bash
148+
network public-ip list
149+
```
150+
151+
- List all public IPs in a resource group.
152+
```bash
153+
network public-ip list -g MyResourceGroup
154+
```
155+
156+
- List all public IPs of a domain name label.
157+
```bash
158+
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
159+
```

Commands/network/public-ip/_show.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,19 @@ Get the details of a public IP address.
9999
```bash
100100
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
101101
```
102+
103+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
104+
105+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
106+
107+
#### examples
108+
109+
- Get information about a public IP resource.
110+
```bash
111+
network public-ip show -g MyResourceGroup -n MyIp
112+
```
113+
114+
- Get the FQDN and IP address of a public IP resource.
115+
```bash
116+
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
117+
```

Commands/network/public-ip/_update.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,19 @@ Update a public IP address.
8484
```bash
8585
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
8686
```
87+
88+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
89+
90+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
91+
92+
#### examples
93+
94+
- Update a public IP resource with a DNS name label and static allocation.
95+
```bash
96+
network public-ip update -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
97+
```
98+
99+
- Detach a DDoS protection plan in a public IP resource.
100+
```bash
101+
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
102+
```

Commands/tree.json

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142376,6 +142376,36 @@
142376142376
"version": "2022-11-01"
142377142377
}
142378142378
]
142379+
},
142380+
{
142381+
"examples": [
142382+
{
142383+
"commands": [
142384+
"network public-ip create -g MyResourceGroup -n MyIp"
142385+
],
142386+
"name": "Create a basic public IP resource."
142387+
},
142388+
{
142389+
"commands": [
142390+
"network public-ip create -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static"
142391+
],
142392+
"name": "Create a static public IP resource for a DNS name label."
142393+
},
142394+
{
142395+
"commands": [
142396+
"network public-ip create -g MyResourceGroup -n MyIp --zone 2"
142397+
],
142398+
"name": "Create a public IP resource in an availability zone in the current resource group region."
142399+
}
142400+
],
142401+
"name": "2024-07-01",
142402+
"resources": [
142403+
{
142404+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}",
142405+
"plane": "mgmt-plane",
142406+
"version": "2024-07-01"
142407+
}
142408+
]
142379142409
}
142380142410
]
142381142411
},
@@ -142496,6 +142526,24 @@
142496142526
"version": "2022-11-01"
142497142527
}
142498142528
]
142529+
},
142530+
{
142531+
"examples": [
142532+
{
142533+
"commands": [
142534+
"network public-ip delete -g MyResourceGroup -n MyIp"
142535+
],
142536+
"name": "Delete a public IP address."
142537+
}
142538+
],
142539+
"name": "2024-07-01",
142540+
"resources": [
142541+
{
142542+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}",
142543+
"plane": "mgmt-plane",
142544+
"version": "2024-07-01"
142545+
}
142546+
]
142499142547
}
142500142548
]
142501142549
},
@@ -142718,6 +142766,41 @@
142718142766
"version": "2022-11-01"
142719142767
}
142720142768
]
142769+
},
142770+
{
142771+
"examples": [
142772+
{
142773+
"commands": [
142774+
"network public-ip list"
142775+
],
142776+
"name": "List all public IPs in a subscription."
142777+
},
142778+
{
142779+
"commands": [
142780+
"network public-ip list -g MyResourceGroup"
142781+
],
142782+
"name": "List all public IPs in a resource group."
142783+
},
142784+
{
142785+
"commands": [
142786+
"network public-ip list -g MyResourceGroup --query \"[?dnsSettings.domainNameLabel=='MyLabel']\""
142787+
],
142788+
"name": "List all public IPs of a domain name label."
142789+
}
142790+
],
142791+
"name": "2024-07-01",
142792+
"resources": [
142793+
{
142794+
"id": "/subscriptions/{}/providers/microsoft.network/publicipaddresses",
142795+
"plane": "mgmt-plane",
142796+
"version": "2024-07-01"
142797+
},
142798+
{
142799+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses",
142800+
"plane": "mgmt-plane",
142801+
"version": "2024-07-01"
142802+
}
142803+
]
142721142804
}
142722142805
]
142723142806
},
@@ -142874,6 +142957,30 @@
142874142957
"version": "2022-11-01"
142875142958
}
142876142959
]
142960+
},
142961+
{
142962+
"examples": [
142963+
{
142964+
"commands": [
142965+
"network public-ip show -g MyResourceGroup -n MyIp"
142966+
],
142967+
"name": "Get information about a public IP resource."
142968+
},
142969+
{
142970+
"commands": [
142971+
"network public-ip show -g MyResourceGroup -n MyIp --query \"{fqdn: dnsSettings.fqdn,address: ipAddress}\""
142972+
],
142973+
"name": "Get the FQDN and IP address of a public IP resource."
142974+
}
142975+
],
142976+
"name": "2024-07-01",
142977+
"resources": [
142978+
{
142979+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}",
142980+
"plane": "mgmt-plane",
142981+
"version": "2024-07-01"
142982+
}
142983+
]
142877142984
}
142878142985
]
142879142986
},
@@ -143012,6 +143119,30 @@
143012143119
"version": "2022-11-01"
143013143120
}
143014143121
]
143122+
},
143123+
{
143124+
"examples": [
143125+
{
143126+
"commands": [
143127+
"network public-ip update -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static"
143128+
],
143129+
"name": "Update a public IP resource with a DNS name label and static allocation."
143130+
},
143131+
{
143132+
"commands": [
143133+
"network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null"
143134+
],
143135+
"name": "Detach a DDoS protection plan in a public IP resource."
143136+
}
143137+
],
143138+
"name": "2024-07-01",
143139+
"resources": [
143140+
{
143141+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{}",
143142+
"plane": "mgmt-plane",
143143+
"version": "2024-07-01"
143144+
}
143145+
]
143015143146
}
143016143147
]
143017143148
}

Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2Vz/2024-07-01.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)