diff --git a/Commands/network/traffic-manager/endpoint/_create.md b/Commands/network/traffic-manager/endpoint/_create.md
index 38c906d8f..68b68c246 100644
--- a/Commands/network/traffic-manager/endpoint/_create.md
+++ b/Commands/network/traffic-manager/endpoint/_create.md
@@ -10,6 +10,22 @@ Create a traffic manager endpoint.
#### examples
+- Create an endpoint for a performance profile to point to an Azure Web App endpoint.
+ ```bash
+ network traffic-manager endpoint create -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints --target-resource-id $MyWebApp1Id --endpoint-status enabled
+ ```
+
+- Create an endpoint.
+ ```bash
+ network traffic-manager endpoint create -n MyTmEndpoint --profile-name MyTmProfile -g MyResourceGroup --type azureEndpoints --target-resource-id $MyWebApp1Id --subnets [{first:10.0.0.0}] --custom-headers [{name:test,value:best}]
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Create an endpoint for a performance profile to point to an Azure Web App endpoint.
```bash
network traffic-manager endpoint create -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints --target-resource-id $MyWebApp1Id --endpoint-status enabled
diff --git a/Commands/network/traffic-manager/endpoint/_delete.md b/Commands/network/traffic-manager/endpoint/_delete.md
index b5b1a8212..5d977e05c 100644
--- a/Commands/network/traffic-manager/endpoint/_delete.md
+++ b/Commands/network/traffic-manager/endpoint/_delete.md
@@ -10,6 +10,22 @@ Delete a traffic manager endpoint.
#### examples
+- Delete a traffic manager endpoint.
+ ```bash
+ network traffic-manager endpoint delete -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints
+ ```
+
+- Delete a traffic manager endpoint. (autogenerated)
+ ```bash
+ network traffic-manager endpoint delete --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --subscription MySubscription --type azureEndpoints
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Delete a traffic manager endpoint.
```bash
network traffic-manager endpoint delete -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints
diff --git a/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md b/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md
index 671358986..7056e864a 100644
--- a/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md
+++ b/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md
@@ -10,6 +10,17 @@ Get the default geographic hierarchy used by the geographic traffic routing meth
#### examples
+- Get the default geographic hierarchy used by the geographic traffic routing method.
+ ```bash
+ network traffic-manager endpoint show-geographic-hierarchy
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Get the default geographic hierarchy used by the geographic traffic routing method.
```bash
network traffic-manager endpoint show-geographic-hierarchy
diff --git a/Commands/network/traffic-manager/endpoint/_show.md b/Commands/network/traffic-manager/endpoint/_show.md
index 9d52a22e8..9f1d61021 100644
--- a/Commands/network/traffic-manager/endpoint/_show.md
+++ b/Commands/network/traffic-manager/endpoint/_show.md
@@ -10,6 +10,17 @@ Get the details of a traffic manager endpoint.
#### examples
+- Get the details of a traffic manager endpoint.
+ ```bash
+ network traffic-manager endpoint show -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Get the details of a traffic manager endpoint.
```bash
network traffic-manager endpoint show -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints
diff --git a/Commands/network/traffic-manager/endpoint/_update.md b/Commands/network/traffic-manager/endpoint/_update.md
index fccef96c5..c1e03bc36 100644
--- a/Commands/network/traffic-manager/endpoint/_update.md
+++ b/Commands/network/traffic-manager/endpoint/_update.md
@@ -10,6 +10,33 @@ Update a traffic manager endpoint.
#### examples
+- Update a traffic manager endpoint to change its weight.
+ ```bash
+ network traffic-manager endpoint update -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --weight 20 --type azureEndpoints
+ ```
+
+- Update a traffic manager endpoint. (autogenerated)
+ ```bash
+ network traffic-manager endpoint update --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --target webserver.mysite.com --type azureEndpoints
+ ```
+
+- Update a traffic manager endpoint. (autogenerated)
+ ```bash
+ network traffic-manager endpoint update --endpoint-status Enabled --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --type azureEndpoints
+ ```
+
+- Update a traffic manager endpoint.
+ ```bash
+ network traffic-manager endpoint update -n MyTmEndpoint --type azureEndpoints --profile-name MyTmProfile -g MyResourceGroup --subnets [{first:10.0.0.0,scope:24}]
+ network traffic-manager endpoint update -n MyTmEndpoint --type azureEndpoints --profile-name MyTmProfile -g MyResourceGroup --subnets [{first:10.0.0.0,last:11.0.0.0}]
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Update a traffic manager endpoint to change its weight.
```bash
network traffic-manager endpoint update -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --weight 20 --type azureEndpoints
diff --git a/Commands/network/traffic-manager/profile/_check-dns.md b/Commands/network/traffic-manager/profile/_check-dns.md
index 93c12142a..07883ebe4 100644
--- a/Commands/network/traffic-manager/profile/_check-dns.md
+++ b/Commands/network/traffic-manager/profile/_check-dns.md
@@ -10,6 +10,17 @@ Check the availability of a relative DNS name.
#### examples
+- Check the availability of 'mywebapp.trafficmanager.net' in Azure.
+ ```bash
+ network traffic-manager profile check-dns -n mywebapp
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Check the availability of 'mywebapp.trafficmanager.net' in Azure.
```bash
network traffic-manager profile check-dns -n mywebapp
diff --git a/Commands/network/traffic-manager/profile/_create.md b/Commands/network/traffic-manager/profile/_create.md
index 2e24ec235..5d8424762 100644
--- a/Commands/network/traffic-manager/profile/_create.md
+++ b/Commands/network/traffic-manager/profile/_create.md
@@ -10,6 +10,22 @@ Create a traffic manager profile.
#### examples
+- Create a traffic manager profile with performance routing.
+ ```bash
+ network traffic-manager profile create -g MyResourceGroup -n MyTmProfile --routing-method Performance --unique-dns-name mywebapp --ttl 30 --protocol HTTP --port 80 --path "/"
+ ```
+
+- Create a traffic manager profile.
+ ```bash
+ network traffic-manager profile create -n MyTmProfile -g MyResourceGroup --routing-method subnet --unique-dns-name mywebapp --custom-headers [{name:foo,value:bar}] --status-code-ranges [{min:200,max:202}] --path "/"
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Create a traffic manager profile with performance routing.
```bash
network traffic-manager profile create -g MyResourceGroup -n MyTmProfile --routing-method Performance --unique-dns-name mywebapp --ttl 30 --protocol HTTP --port 80 --path "/"
diff --git a/Commands/network/traffic-manager/profile/_delete.md b/Commands/network/traffic-manager/profile/_delete.md
index 427c5a481..75808647e 100644
--- a/Commands/network/traffic-manager/profile/_delete.md
+++ b/Commands/network/traffic-manager/profile/_delete.md
@@ -10,6 +10,22 @@ Delete a traffic manager profile.
#### examples
+- Delete a traffic manager profile.
+ ```bash
+ network traffic-manager profile delete -g MyResourceGroup -n MyTmProfile
+ ```
+
+- Delete a traffic manager profile. (autogenerated)
+ ```bash
+ network traffic-manager profile delete --name MyTmProfile --resource-group MyResourceGroup --subscription MySubscription
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Delete a traffic manager profile.
```bash
network traffic-manager profile delete -g MyResourceGroup -n MyTmProfile
diff --git a/Commands/network/traffic-manager/profile/_list.md b/Commands/network/traffic-manager/profile/_list.md
index 7627537fe..c430af463 100644
--- a/Commands/network/traffic-manager/profile/_list.md
+++ b/Commands/network/traffic-manager/profile/_list.md
@@ -11,6 +11,18 @@ List traffic manager profiles.
#### examples
+- List traffic manager profiles.
+ ```bash
+ network traffic-manager profile list -g MyResourceGroup
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.xml) **Stable**
+
+
+
+
+#### examples
+
- List traffic manager profiles.
```bash
network traffic-manager profile list -g MyResourceGroup
diff --git a/Commands/network/traffic-manager/profile/_show.md b/Commands/network/traffic-manager/profile/_show.md
index 01f5bf17c..fee5a3169 100644
--- a/Commands/network/traffic-manager/profile/_show.md
+++ b/Commands/network/traffic-manager/profile/_show.md
@@ -10,6 +10,17 @@ Get the details of a traffic manager profile.
#### examples
+- Get the details of a traffic manager profile.
+ ```bash
+ network traffic-manager profile show -g MyResourceGroup -n MyTmProfile
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Get the details of a traffic manager profile.
```bash
network traffic-manager profile show -g MyResourceGroup -n MyTmProfile
diff --git a/Commands/network/traffic-manager/profile/_update.md b/Commands/network/traffic-manager/profile/_update.md
index 6db4b44cc..0ca89358e 100644
--- a/Commands/network/traffic-manager/profile/_update.md
+++ b/Commands/network/traffic-manager/profile/_update.md
@@ -10,6 +10,27 @@ Update a traffic manager profile.
#### examples
+- Update a traffic manager profile to change the TTL to 300.
+ ```bash
+ network traffic-manager profile update -g MyResourceGroup -n MyTmProfile --ttl 300
+ ```
+
+- Update a traffic manager profile. (autogenerated)
+ ```bash
+ network traffic-manager profile update --name MyTmProfile --resource-group MyResourceGroup --status Enabled
+ ```
+
+- Update a traffic manager profile.
+ ```bash
+ network traffic-manager profile update -n MyTmProfile -g MyResourceGroup --status-code-ranges [{min:200,max:204}] --custom-headers [{name:foo,value:doo},{name:test,value:best}]
+ ```
+
+### [2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml) **Stable**
+
+
+
+#### examples
+
- Update a traffic manager profile to change the TTL to 300.
```bash
network traffic-manager profile update -g MyResourceGroup -n MyTmProfile --ttl 300
diff --git a/Commands/tree.json b/Commands/tree.json
index 07b1065b3..bc54fd2b7 100644
--- a/Commands/tree.json
+++ b/Commands/tree.json
@@ -51197,6 +51197,30 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager endpoint create -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints --target-resource-id $MyWebApp1Id --endpoint-status enabled"
+ ],
+ "name": "Create an endpoint for a performance profile to point to an Azure Web App endpoint."
+ },
+ {
+ "commands": [
+ "network traffic-manager endpoint create -n MyTmEndpoint --profile-name MyTmProfile -g MyResourceGroup --type azureEndpoints --target-resource-id $MyWebApp1Id --subnets [{first:10.0.0.0}] --custom-headers [{name:test,value:best}]"
+ ],
+ "name": "Create an endpoint."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51258,6 +51282,30 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager endpoint delete -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints"
+ ],
+ "name": "Delete a traffic manager endpoint."
+ },
+ {
+ "commands": [
+ "network traffic-manager endpoint delete --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --subscription MySubscription --type azureEndpoints"
+ ],
+ "name": "Delete a traffic manager endpoint. (autogenerated)"
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51307,6 +51355,24 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager endpoint show -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints"
+ ],
+ "name": "Get the details of a traffic manager endpoint."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51356,6 +51422,24 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager endpoint show-geographic-hierarchy"
+ ],
+ "name": "Get the default geographic hierarchy used by the geographic traffic routing method."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/providers/microsoft.network/trafficmanagergeographichierarchies/default",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51443,6 +51527,43 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager endpoint update -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --weight 20 --type azureEndpoints"
+ ],
+ "name": "Update a traffic manager endpoint to change its weight."
+ },
+ {
+ "commands": [
+ "network traffic-manager endpoint update --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --target webserver.mysite.com --type azureEndpoints"
+ ],
+ "name": "Update a traffic manager endpoint. (autogenerated)"
+ },
+ {
+ "commands": [
+ "network traffic-manager endpoint update --endpoint-status Enabled --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --type azureEndpoints"
+ ],
+ "name": "Update a traffic manager endpoint. (autogenerated)"
+ },
+ {
+ "commands": [
+ "network traffic-manager endpoint update -n MyTmEndpoint --type azureEndpoints --profile-name MyTmProfile -g MyResourceGroup --subnets [{first:10.0.0.0,scope:24}]",
+ "network traffic-manager endpoint update -n MyTmEndpoint --type azureEndpoints --profile-name MyTmProfile -g MyResourceGroup --subnets [{first:10.0.0.0,last:11.0.0.0}]"
+ ],
+ "name": "Update a traffic manager endpoint."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
}
@@ -51504,6 +51625,24 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager profile check-dns -n mywebapp"
+ ],
+ "name": "Check the availability of 'mywebapp.trafficmanager.net' in Azure."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/providers/microsoft.network/checktrafficmanagernameavailability",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51565,6 +51704,30 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager profile create -g MyResourceGroup -n MyTmProfile --routing-method Performance --unique-dns-name mywebapp --ttl 30 --protocol HTTP --port 80 --path \"/\""
+ ],
+ "name": "Create a traffic manager profile with performance routing."
+ },
+ {
+ "commands": [
+ "network traffic-manager profile create -n MyTmProfile -g MyResourceGroup --routing-method subnet --unique-dns-name mywebapp --custom-headers [{name:foo,value:bar}] --status-code-ranges [{min:200,max:202}] --path \"/\""
+ ],
+ "name": "Create a traffic manager profile."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51626,6 +51789,30 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager profile delete -g MyResourceGroup -n MyTmProfile"
+ ],
+ "name": "Delete a traffic manager profile."
+ },
+ {
+ "commands": [
+ "network traffic-manager profile delete --name MyTmProfile --resource-group MyResourceGroup --subscription MySubscription"
+ ],
+ "name": "Delete a traffic manager profile. (autogenerated)"
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51685,6 +51872,29 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager profile list -g MyResourceGroup"
+ ],
+ "name": "List traffic manager profiles."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ },
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51734,6 +51944,24 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager profile show -g MyResourceGroup -n MyTmProfile"
+ ],
+ "name": "Get the details of a traffic manager profile."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
},
@@ -51807,6 +52035,36 @@
"version": "2022-04-01-preview"
}
]
+ },
+ {
+ "examples": [
+ {
+ "commands": [
+ "network traffic-manager profile update -g MyResourceGroup -n MyTmProfile --ttl 300"
+ ],
+ "name": "Update a traffic manager profile to change the TTL to 300."
+ },
+ {
+ "commands": [
+ "network traffic-manager profile update --name MyTmProfile --resource-group MyResourceGroup --status Enabled"
+ ],
+ "name": "Update a traffic manager profile. (autogenerated)"
+ },
+ {
+ "commands": [
+ "network traffic-manager profile update -n MyTmProfile -g MyResourceGroup --status-code-ranges [{min:200,max:204}] --custom-headers [{name:foo,value:doo},{name:test,value:best}]"
+ ],
+ "name": "Update a traffic manager profile."
+ }
+ ],
+ "name": "2022-04-01",
+ "resources": [
+ {
+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}",
+ "plane": "mgmt-plane",
+ "version": "2022-04-01"
+ }
+ ]
}
]
}
diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.json
new file mode 100644
index 000000000..4a717c251
--- /dev/null
+++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.json
@@ -0,0 +1 @@
+{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.network/trafficmanagergeographichierarchies/default", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljTWFuYWdlckdlb2dyYXBoaWNIaWVyYXJjaGllcy9kZWZhdWx0/V/MjAyMi0wNC0wMQ=="}], "commandGroups": [{"name": "network traffic-manager endpoint", "commands": [{"name": "show-geographic-hierarchy", "version": "2022-04-01", "resources": [{"id": "/providers/microsoft.network/trafficmanagergeographichierarchies/default", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljTWFuYWdlckdlb2dyYXBoaWNIaWVyYXJjaGllcy9kZWZhdWx0/V/MjAyMi0wNC0wMQ=="}], "operations": [{"operationId": "GeographicHierarchies_GetDefault", "http": {"path": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default", "request": {"method": "get", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "geographicHierarchy", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "name"}, {"type": "array<@Region_read>", "name": "regions", "item": {"type": "@Region_read"}}], "cls": "Region_read"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
\ No newline at end of file
diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.xml
new file mode 100644
index 000000000..fb95342ce
--- /dev/null
+++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2022-04-01.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.json
new file mode 100644
index 000000000..856196be0
--- /dev/null
+++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.json
@@ -0,0 +1 @@
+{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.network/checktrafficmanagernameavailability", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9jaGVja1RyYWZmaWNNYW5hZ2VyTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyMi0wNC0wMQ=="}], "commandGroups": [{"name": "network traffic-manager profile", "commands": [{"name": "check-dns", "version": "2022-04-01", "resources": [{"id": "/providers/microsoft.network/checktrafficmanagernameavailability", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9jaGVja1RyYWZmaWNNYW5hZ2VyTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "Parameters", "args": [{"type": "string", "var": "$parameters.name", "options": ["n", "name"], "group": "Parameters", "help": {"short": "DNS prefix to verify availability for."}}, {"type": "string", "var": "$parameters.type", "options": ["type"], "group": "Parameters", "help": {"short": "The type of the resource."}, "default": {"value": "Microsoft.Network/trafficManagerProfiles"}}]}], "operations": [{"operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", "http": {"path": "/providers/Microsoft.Network/checkTrafficManagerNameAvailability", "request": {"method": "post", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.name"}, {"type": "string", "name": "type", "arg": "$parameters.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "message"}, {"type": "string", "name": "name"}, {"type": "boolean", "name": "nameAvailable"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
\ No newline at end of file
diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.xml
new file mode 100644
index 000000000..c24075773
--- /dev/null
+++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2022-04-01.xml
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.json
new file mode 100644
index 000000000..c335c2a92
--- /dev/null
+++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.json
@@ -0,0 +1 @@
+{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdHJhZmZpY21hbmFnZXJwcm9maWxlcw==/V/MjAyMi0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVz/V/MjAyMi0wNC0wMQ=="}], "commandGroups": [{"name": "network traffic-manager profile", "commands": [{"name": "list", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdHJhZmZpY21hbmFnZXJwcm9maWxlcw==/V/MjAyMi0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVz/V/MjAyMi0wNC0wMQ=="}], "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_Profiles_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Profiles_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Profiles_ListByResourceGroup"], "operationId": "Profiles_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array