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", "name": "value", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "string", "name": "relativeName"}, {"type": "integer64", "name": "ttl"}]}, {"type": "array", "name": "endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}, {"type": "integer64", "name": "maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}}, {"type": "integer64", "name": "intervalInSeconds"}, {"type": "string", "name": "path"}, {"type": "integer64", "name": "port"}, {"type": "string", "name": "profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Profiles_ListBySubscription"], "operationId": "Profiles_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles", "request": {"method": "get", "path": {"params": [{"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", "name": "value", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "string", "name": "relativeName"}, {"type": "integer64", "name": "ttl"}]}, {"type": "array", "name": "endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}, {"type": "integer64", "name": "maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}}, {"type": "integer64", "name": "intervalInSeconds"}, {"type": "string", "name": "path"}, {"type": "integer64", "name": "port"}, {"type": "string", "name": "profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.xml new file mode 100644 index 000000000..66afda2b9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.xml @@ -0,0 +1,393 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.md new file mode 100644 index 000000000..9644646a4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles 2022-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2022-04-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.json new file mode 100644 index 000000000..49814cd2f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "commandGroups": [{"name": "network traffic-manager profile", "commands": [{"name": "show", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["n", "name", "profile-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Traffic Manager profile."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Profiles_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "string", "name": "relativeName"}, {"type": "integer64", "name": "ttl"}]}, {"type": "array", "name": "endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}, {"type": "integer64", "name": "maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}}, {"type": "integer64", "name": "intervalInSeconds"}, {"type": "string", "name": "path"}, {"type": "integer64", "name": "port"}, {"type": "string", "name": "profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "The name of the Traffic Manager profile to be deleted."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Profiles_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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": [{"readOnly": true, "type": "boolean", "name": "boolean"}]}}}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Traffic manager profile name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "DnsConfig", "args": [{"type": "string", "var": "$parameters.properties.dnsConfig.relativeName", "options": ["unique-dns-name"], "group": "DnsConfig", "help": {"short": "Relative DNS name for the traffic manager profile. Resulting FQDN will be `.trafficmanager.net` and must be globally unique."}}, {"type": "integer64", "var": "$parameters.properties.dnsConfig.ttl", "options": ["ttl"], "group": "DnsConfig", "help": {"short": "DNS config time-to-live in seconds."}, "default": {"value": 30}}]}, {"name": "Monitor Configuration", "args": [{"type": "array", "var": "$parameters.properties.monitorConfig.customHeaders", "options": ["custom-headers"], "group": "Monitor Configuration", "help": {"short": "Space-separated list of names or values."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.monitorConfig.customHeaders[].name", "options": ["name"], "help": {"short": "Header name."}}, {"type": "string", "var": "$parameters.properties.monitorConfig.customHeaders[].value", "options": ["value"], "help": {"short": "Header value."}}]}}, {"type": "array", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges", "options": ["status-code-ranges"], "group": "Monitor Configuration", "help": {"short": "Space-separated list of status codes in shorthand-syntax format."}, "item": {"type": "object", "args": [{"type": "integer", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max", "options": ["max"], "help": {"short": "Max status code."}}, {"type": "integer", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].min", "options": ["min"], "help": {"short": "Min status code."}}]}}, {"type": "integer64", "var": "$parameters.properties.monitorConfig.intervalInSeconds", "options": ["interval"], "group": "Monitor Configuration", "help": {"short": "The interval in seconds at which health checks are conducted."}}, {"type": "string", "var": "$parameters.properties.monitorConfig.path", "options": ["path"], "group": "Monitor Configuration", "help": {"short": "Path to monitor. Use \"\"('\"\"' in PowerShell) for none."}}, {"type": "integer64", "var": "$parameters.properties.monitorConfig.port", "options": ["port"], "group": "Monitor Configuration", "help": {"short": "Port to monitor."}, "default": {"value": 80}}, {"type": "string", "var": "$parameters.properties.monitorConfig.protocol", "options": ["protocol"], "group": "Monitor Configuration", "help": {"short": "Monitor protocol."}, "default": {"value": "HTTP"}, "enum": {"items": [{"name": "HTTP", "value": "HTTP"}, {"name": "HTTPS", "value": "HTTPS"}, {"name": "TCP", "value": "TCP"}]}}, {"type": "integer64", "var": "$parameters.properties.monitorConfig.timeoutInSeconds", "options": ["timeout"], "group": "Monitor Configuration", "help": {"short": "The time in seconds allowed for endpoints to respond to a health check."}}, {"type": "integer64", "var": "$parameters.properties.monitorConfig.toleratedNumberOfFailures", "options": ["max-failures"], "group": "Monitor Configuration", "help": {"short": "The number of consecutive failed health checks tolerated before an endpoint is considered degraded."}}]}, {"name": "MonitorConfig", "args": [{"type": "string", "var": "$parameters.properties.monitorConfig.profileMonitorStatus", "options": ["profile-monitor-status"], "hide": true, "group": "MonitorConfig", "help": {"short": "The profile-level monitoring status of the Traffic Manager profile."}, "enum": {"items": [{"name": "CheckingEndpoints", "value": "CheckingEndpoints"}, {"name": "Degraded", "value": "Degraded"}, {"name": "Disabled", "value": "Disabled"}, {"name": "Inactive", "value": "Inactive"}, {"name": "Online", "value": "Online"}]}}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}"}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "The Azure Region where the resource lives"}, "default": {"value": "global"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$parameters.type", "options": ["type"], "hide": true, "group": "Parameters", "help": {"short": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles."}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.allowedEndpointRecordTypes", "options": ["allowed-endpoint-record-types"], "hide": true, "group": "Properties", "help": {"short": "The list of allowed endpoint record types."}, "item": {"type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "DomainName", "value": "DomainName"}, {"name": "IPv4Address", "value": "IPv4Address"}, {"name": "IPv6Address", "value": "IPv6Address"}]}}}, {"type": "array", "var": "$parameters.properties.endpoints", "options": ["endpoints"], "hide": true, "group": "Properties", "help": {"short": "The list of endpoints in the Traffic Manager profile."}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$parameters.properties.endpoints[].id", "options": ["id"], "help": {"short": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}"}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "var": "$parameters.properties.endpoints[].name", "options": ["name"], "help": {"short": "The name of the resource"}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.alwaysServe", "options": ["always-serve"], "group": "Properties", "help": {"short": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "array", "var": "$parameters.properties.endpoints[].properties.customHeaders", "options": ["custom-headers"], "group": "Properties", "help": {"short": "List of custom headers."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.endpoints[].properties.customHeaders[].name", "options": ["name"], "help": {"short": "Header name."}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.customHeaders[].value", "options": ["value"], "help": {"short": "Header value."}}]}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.endpointLocation", "options": ["endpoint-location"], "group": "Properties", "help": {"short": "Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method."}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.endpointMonitorStatus", "options": ["endpoint-monitor-status"], "group": "Properties", "help": {"short": "The monitoring status of the endpoint."}, "enum": {"items": [{"name": "CheckingEndpoint", "value": "CheckingEndpoint"}, {"name": "Degraded", "value": "Degraded"}, {"name": "Disabled", "value": "Disabled"}, {"name": "Inactive", "value": "Inactive"}, {"name": "Online", "value": "Online"}, {"name": "Stopped", "value": "Stopped"}, {"name": "Unmonitored", "value": "Unmonitored"}]}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.endpointStatus", "options": ["endpoint-status"], "group": "Properties", "help": {"short": "The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "array", "var": "$parameters.properties.endpoints[].properties.geoMapping", "options": ["geo-mapping"], "group": "Properties", "help": {"short": "The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values."}, "item": {"type": "string"}}, {"type": "integer64", "var": "$parameters.properties.endpoints[].properties.minChildEndpoints", "options": ["min-child-endpoints"], "group": "Properties", "help": {"short": "The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv4", "options": ["min-child-endpoints-i-pv4"], "group": "Properties", "help": {"short": "The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv6", "options": ["min-child-endpoints-i-pv6"], "group": "Properties", "help": {"short": "The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.endpoints[].properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value."}}, {"type": "array", "var": "$parameters.properties.endpoints[].properties.subnets", "options": ["subnets"], "group": "Properties", "help": {"short": "The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.endpoints[].properties.subnets[].first", "options": ["first"], "help": {"short": "First address in the subnet."}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.subnets[].last", "options": ["last"], "help": {"short": "Last address in the subnet."}}, {"type": "integer", "var": "$parameters.properties.endpoints[].properties.subnets[].scope", "options": ["scope"], "help": {"short": "Block size (number of leading bits in the subnet mask)."}}]}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.target", "options": ["target"], "group": "Properties", "help": {"short": "The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint."}}, {"type": "string", "var": "$parameters.properties.endpoints[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.endpoints[].properties.weight", "options": ["weight"], "group": "Properties", "help": {"short": "The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000."}}, {"type": "string", "var": "$parameters.properties.endpoints[].type", "options": ["type"], "help": {"short": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles."}}]}}, {"type": "integer64", "var": "$parameters.properties.maxReturn", "options": ["max-return"], "group": "Properties", "help": {"short": "Maximum number of endpoints to be returned for MultiValue routing type."}}, {"type": "string", "var": "$parameters.properties.profileStatus", "options": ["status"], "group": "Properties", "help": {"short": "Status of the Traffic Manager profile."}, "default": {"value": "Enabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$parameters.properties.trafficRoutingMethod", "options": ["routing-method"], "group": "Properties", "help": {"short": "Routing method."}, "enum": {"items": [{"name": "Geographic", "value": "Geographic"}, {"name": "MultiValue", "value": "MultiValue"}, {"name": "Performance", "value": "Performance"}, {"name": "Priority", "value": "Priority"}, {"name": "Subnet", "value": "Subnet"}, {"name": "Weighted", "value": "Weighted"}]}}, {"type": "string", "var": "$parameters.properties.trafficViewEnrollmentStatus", "options": ["traffic-view-enrollment-status"], "hide": true, "group": "Properties", "help": {"short": "Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"operationId": "Profiles_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "string", "name": "name", "arg": "$Path.profileName"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "arg": "$parameters.properties.allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"type": "string", "name": "relativeName", "arg": "$parameters.properties.dnsConfig.relativeName"}, {"type": "integer64", "name": "ttl", "arg": "$parameters.properties.dnsConfig.ttl"}]}, {"type": "array", "name": "endpoints", "arg": "$parameters.properties.endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.endpoints[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.endpoints[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "arg": "$parameters.properties.endpoints[].properties.alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "arg": "$parameters.properties.endpoints[].properties.customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.endpoints[].properties.customHeaders[].name"}, {"type": "string", "name": "value", "arg": "$parameters.properties.endpoints[].properties.customHeaders[].value"}]}}, {"type": "string", "name": "endpointLocation", "arg": "$parameters.properties.endpoints[].properties.endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "arg": "$parameters.properties.endpoints[].properties.endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "arg": "$parameters.properties.endpoints[].properties.endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "arg": "$parameters.properties.endpoints[].properties.geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints", "arg": "$parameters.properties.endpoints[].properties.minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4", "arg": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6", "arg": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority", "arg": "$parameters.properties.endpoints[].properties.priority"}, {"type": "array", "name": "subnets", "arg": "$parameters.properties.endpoints[].properties.subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first", "arg": "$parameters.properties.endpoints[].properties.subnets[].first"}, {"type": "string", "name": "last", "arg": "$parameters.properties.endpoints[].properties.subnets[].last"}, {"type": "integer", "name": "scope", "arg": "$parameters.properties.endpoints[].properties.subnets[].scope"}]}}, {"type": "string", "name": "target", "arg": "$parameters.properties.endpoints[].properties.target"}, {"type": "string", "name": "targetResourceId", "arg": "$parameters.properties.endpoints[].properties.targetResourceId"}, {"type": "integer64", "name": "weight", "arg": "$parameters.properties.endpoints[].properties.weight"}], "clientFlatten": true}, {"type": "string", "name": "type", "arg": "$parameters.properties.endpoints[].type"}]}}, {"type": "integer64", "name": "maxReturn", "arg": "$parameters.properties.maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "arg": "$parameters.properties.monitorConfig.customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.monitorConfig.customHeaders[].name"}, {"type": "string", "name": "value", "arg": "$parameters.properties.monitorConfig.customHeaders[].value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max"}, {"type": "integer", "name": "min", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].min"}]}}, {"type": "integer64", "name": "intervalInSeconds", "arg": "$parameters.properties.monitorConfig.intervalInSeconds"}, {"type": "string", "name": "path", "arg": "$parameters.properties.monitorConfig.path"}, {"type": "integer64", "name": "port", "arg": "$parameters.properties.monitorConfig.port"}, {"type": "string", "name": "profileMonitorStatus", "arg": "$parameters.properties.monitorConfig.profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.monitorConfig.protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds", "arg": "$parameters.properties.monitorConfig.timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures", "arg": "$parameters.properties.monitorConfig.toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "arg": "$parameters.properties.profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "arg": "$parameters.properties.trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "arg": "$parameters.properties.trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type", "arg": "$parameters.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "string", "name": "relativeName"}, {"type": "integer64", "name": "ttl"}]}, {"type": "array", "name": "endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}, {"type": "integer64", "name": "maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}}, {"type": "integer64", "name": "intervalInSeconds"}, {"type": "string", "name": "path"}, {"type": "integer64", "name": "port"}, {"type": "string", "name": "profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.profileName", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "The name of the Traffic Manager profile."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "DnsConfig", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.dnsConfig.relativeName", "options": ["unique-dns-name"], "hide": true, "group": "DnsConfig", "help": {"short": "Relative DNS name for the traffic manager profile. Resulting FQDN will be `.trafficmanager.net` and must be globally unique."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.dnsConfig.ttl", "options": ["ttl"], "group": "DnsConfig", "help": {"short": "DNS config time-to-live in seconds."}}]}, {"name": "Monitor Configuration", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.monitorConfig.customHeaders", "options": ["custom-headers"], "group": "Monitor Configuration", "help": {"short": "Space-separated list of names or values."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitorConfig.customHeaders[].name", "options": ["name"], "help": {"short": "Header name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.monitorConfig.customHeaders[].value", "options": ["value"], "help": {"short": "Header value."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges", "options": ["status-code-ranges"], "group": "Monitor Configuration", "help": {"short": "Space-separated list of status codes in shorthand-syntax format."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "integer", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max", "options": ["max"], "help": {"short": "Max status code."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].min", "options": ["min"], "help": {"short": "Min status code."}}]}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.monitorConfig.intervalInSeconds", "options": ["interval"], "group": "Monitor Configuration", "help": {"short": "The interval in seconds at which health checks are conducted."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.monitorConfig.path", "options": ["path"], "group": "Monitor Configuration", "help": {"short": "Path to monitor. Use \"\"('\"\"' in PowerShell) for none."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.monitorConfig.port", "options": ["port"], "group": "Monitor Configuration", "help": {"short": "Port to monitor."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.monitorConfig.protocol", "options": ["protocol"], "group": "Monitor Configuration", "help": {"short": "Monitor protocol. Allowed values: HTTP, HTTPS, TCP."}, "enum": {"items": [{"name": "HTTP", "value": "HTTP"}, {"name": "HTTPS", "value": "HTTPS"}, {"name": "TCP", "value": "TCP"}]}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.monitorConfig.timeoutInSeconds", "options": ["timeout"], "group": "Monitor Configuration", "help": {"short": "The time in seconds allowed for endpoints to respond to a health check."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.monitorConfig.toleratedNumberOfFailures", "options": ["max-failures"], "group": "Monitor Configuration", "help": {"short": "The number of consecutive failed health checks tolerated before an endpoint is considered degraded."}}]}, {"name": "MonitorConfig", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitorConfig.profileMonitorStatus", "options": ["profile-monitor-status"], "hide": true, "group": "MonitorConfig", "help": {"short": "The profile-level monitoring status of the Traffic Manager profile."}, "enum": {"items": [{"name": "CheckingEndpoints", "value": "CheckingEndpoints"}, {"name": "Degraded", "value": "Degraded"}, {"name": "Disabled", "value": "Disabled"}, {"name": "Inactive", "value": "Inactive"}, {"name": "Online", "value": "Online"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}"}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "string", "var": "$parameters.type", "options": ["type"], "hide": true, "group": "Parameters", "help": {"short": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.allowedEndpointRecordTypes", "options": ["allowed-endpoint-record-types"], "hide": true, "group": "Properties", "help": {"short": "The list of allowed endpoint record types."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Any", "value": "Any"}, {"name": "DomainName", "value": "DomainName"}, {"name": "IPv4Address", "value": "IPv4Address"}, {"name": "IPv6Address", "value": "IPv6Address"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.endpoints", "options": ["endpoints"], "hide": true, "group": "Properties", "help": {"short": "The list of endpoints in the Traffic Manager profile."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.properties.endpoints[].id", "options": ["id"], "help": {"short": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}"}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].name", "options": ["name"], "help": {"short": "The name of the resource"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.alwaysServe", "options": ["always-serve"], "group": "Properties", "help": {"short": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.endpoints[].properties.customHeaders", "options": ["custom-headers"], "group": "Properties", "help": {"short": "List of custom headers."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.customHeaders[].name", "options": ["name"], "help": {"short": "Header name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.customHeaders[].value", "options": ["value"], "help": {"short": "Header value."}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.endpointLocation", "options": ["endpoint-location"], "group": "Properties", "help": {"short": "Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.endpointMonitorStatus", "options": ["endpoint-monitor-status"], "group": "Properties", "help": {"short": "The monitoring status of the endpoint."}, "enum": {"items": [{"name": "CheckingEndpoint", "value": "CheckingEndpoint"}, {"name": "Degraded", "value": "Degraded"}, {"name": "Disabled", "value": "Disabled"}, {"name": "Inactive", "value": "Inactive"}, {"name": "Online", "value": "Online"}, {"name": "Stopped", "value": "Stopped"}, {"name": "Unmonitored", "value": "Unmonitored"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.endpointStatus", "options": ["endpoint-status"], "group": "Properties", "help": {"short": "The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.endpoints[].properties.geoMapping", "options": ["geo-mapping"], "group": "Properties", "help": {"short": "The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.endpoints[].properties.minChildEndpoints", "options": ["min-child-endpoints"], "group": "Properties", "help": {"short": "The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv4", "options": ["min-child-endpoints-i-pv4"], "group": "Properties", "help": {"short": "The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv6", "options": ["min-child-endpoints-i-pv6"], "group": "Properties", "help": {"short": "The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.endpoints[].properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.endpoints[].properties.subnets", "options": ["subnets"], "group": "Properties", "help": {"short": "The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.subnets[].first", "options": ["first"], "help": {"short": "First address in the subnet."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.subnets[].last", "options": ["last"], "help": {"short": "Last address in the subnet."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.endpoints[].properties.subnets[].scope", "options": ["scope"], "help": {"short": "Block size (number of leading bits in the subnet mask)."}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.target", "options": ["target"], "group": "Properties", "help": {"short": "The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.endpoints[].properties.weight", "options": ["weight"], "group": "Properties", "help": {"short": "The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpoints[].type", "options": ["type"], "help": {"short": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles."}}]}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.maxReturn", "options": ["max-return"], "group": "Properties", "help": {"short": "Maximum number of endpoints to be returned for MultiValue routing type."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.profileStatus", "options": ["status"], "group": "Properties", "help": {"short": "Status of the Traffic Manager profile. Allowed values: Disabled, Enabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.trafficRoutingMethod", "options": ["routing-method"], "group": "Properties", "help": {"short": "Routing method."}, "enum": {"items": [{"name": "Geographic", "value": "Geographic"}, {"name": "MultiValue", "value": "MultiValue"}, {"name": "Performance", "value": "Performance"}, {"name": "Priority", "value": "Priority"}, {"name": "Subnet", "value": "Subnet"}, {"name": "Weighted", "value": "Weighted"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.trafficViewEnrollmentStatus", "options": ["traffic-view-enrollment-status"], "hide": true, "group": "Properties", "help": {"short": "Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"operationId": "Profiles_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"readOnly": true, "type": "string", "name": "fqdn"}, {"type": "string", "name": "relativeName"}, {"type": "integer64", "name": "ttl"}]}, {"type": "array", "name": "endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}, {"type": "integer64", "name": "maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}}, {"type": "integer64", "name": "intervalInSeconds"}, {"type": "string", "name": "path"}, {"type": "integer64", "name": "port"}, {"type": "string", "name": "profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type"}], "cls": "Profile_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}"}}, {"type": "string", "name": "name", "arg": "$Path.profileName"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "allowedEndpointRecordTypes", "arg": "$parameters.properties.allowedEndpointRecordTypes", "item": {"type": "string", "enum": {"items": [{"value": "Any"}, {"value": "DomainName"}, {"value": "IPv4Address"}, {"value": "IPv6Address"}]}}}, {"type": "object", "name": "dnsConfig", "props": [{"type": "string", "name": "relativeName", "arg": "$parameters.properties.dnsConfig.relativeName"}, {"type": "integer64", "name": "ttl", "arg": "$parameters.properties.dnsConfig.ttl"}]}, {"type": "array", "name": "endpoints", "arg": "$parameters.properties.endpoints", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.endpoints[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.endpoints[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "arg": "$parameters.properties.endpoints[].properties.alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "arg": "$parameters.properties.endpoints[].properties.customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.endpoints[].properties.customHeaders[].name"}, {"type": "string", "name": "value", "arg": "$parameters.properties.endpoints[].properties.customHeaders[].value"}]}}, {"type": "string", "name": "endpointLocation", "arg": "$parameters.properties.endpoints[].properties.endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "arg": "$parameters.properties.endpoints[].properties.endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "arg": "$parameters.properties.endpoints[].properties.endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "arg": "$parameters.properties.endpoints[].properties.geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints", "arg": "$parameters.properties.endpoints[].properties.minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4", "arg": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6", "arg": "$parameters.properties.endpoints[].properties.minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority", "arg": "$parameters.properties.endpoints[].properties.priority"}, {"type": "array", "name": "subnets", "arg": "$parameters.properties.endpoints[].properties.subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first", "arg": "$parameters.properties.endpoints[].properties.subnets[].first"}, {"type": "string", "name": "last", "arg": "$parameters.properties.endpoints[].properties.subnets[].last"}, {"type": "integer", "name": "scope", "arg": "$parameters.properties.endpoints[].properties.subnets[].scope"}]}}, {"type": "string", "name": "target", "arg": "$parameters.properties.endpoints[].properties.target"}, {"type": "string", "name": "targetResourceId", "arg": "$parameters.properties.endpoints[].properties.targetResourceId"}, {"type": "integer64", "name": "weight", "arg": "$parameters.properties.endpoints[].properties.weight"}], "clientFlatten": true}, {"type": "string", "name": "type", "arg": "$parameters.properties.endpoints[].type"}]}}, {"type": "integer64", "name": "maxReturn", "arg": "$parameters.properties.maxReturn"}, {"type": "object", "name": "monitorConfig", "props": [{"type": "array", "name": "customHeaders", "arg": "$parameters.properties.monitorConfig.customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.monitorConfig.customHeaders[].name"}, {"type": "string", "name": "value", "arg": "$parameters.properties.monitorConfig.customHeaders[].value"}]}}, {"type": "array", "name": "expectedStatusCodeRanges", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges", "item": {"type": "object", "props": [{"type": "integer", "name": "max", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max"}, {"type": "integer", "name": "min", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].min"}]}}, {"type": "integer64", "name": "intervalInSeconds", "arg": "$parameters.properties.monitorConfig.intervalInSeconds"}, {"type": "string", "name": "path", "arg": "$parameters.properties.monitorConfig.path"}, {"type": "integer64", "name": "port", "arg": "$parameters.properties.monitorConfig.port"}, {"type": "string", "name": "profileMonitorStatus", "arg": "$parameters.properties.monitorConfig.profileMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoints"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}]}}, {"type": "string", "name": "protocol", "arg": "$parameters.properties.monitorConfig.protocol", "enum": {"items": [{"value": "HTTP"}, {"value": "HTTPS"}, {"value": "TCP"}]}}, {"type": "integer64", "name": "timeoutInSeconds", "arg": "$parameters.properties.monitorConfig.timeoutInSeconds"}, {"type": "integer64", "name": "toleratedNumberOfFailures", "arg": "$parameters.properties.monitorConfig.toleratedNumberOfFailures"}]}, {"type": "string", "name": "profileStatus", "arg": "$parameters.properties.profileStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "trafficRoutingMethod", "arg": "$parameters.properties.trafficRoutingMethod", "enum": {"items": [{"value": "Geographic"}, {"value": "MultiValue"}, {"value": "Performance"}, {"value": "Priority"}, {"value": "Subnet"}, {"value": "Weighted"}]}}, {"type": "string", "name": "trafficViewEnrollmentStatus", "arg": "$parameters.properties.trafficViewEnrollmentStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "type", "arg": "$parameters.type"}], "clientFlatten": true}}}}, {"operationId": "Profiles_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Profile_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml new file mode 100644 index 000000000..587681325 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2022-04-01.xml @@ -0,0 +1,1407 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.json new file mode 100644 index 000000000..1536bc377 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "commandGroups": [{"name": "network traffic-manager endpoint", "commands": [{"name": "show", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.endpointName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "Endpoint name."}}, {"type": "string", "var": "$Path.endpointType", "options": ["t", "type"], "required": true, "idPart": "child_type_1", "help": {"short": "Endpoint type. Allowed values: azureEndpoints, externalEndpoints, nestedEndpoints."}, "enum": {"items": [{"name": "AzureEndpoints", "value": "AzureEndpoints"}, {"name": "ExternalEndpoints", "value": "ExternalEndpoints"}, {"name": "NestedEndpoints", "value": "NestedEndpoints"}]}}, {"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of parent profile."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Endpoints_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "endpointName", "arg": "$Path.endpointName", "required": true}, {"type": "string", "name": "endpointType", "arg": "$Path.endpointType", "required": true, "enum": {"items": [{"value": "AzureEndpoints"}, {"value": "ExternalEndpoints"}, {"value": "NestedEndpoints"}]}}, {"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.endpointName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "Endpoint name."}}, {"type": "string", "var": "$Path.endpointType", "options": ["t", "type"], "required": true, "idPart": "child_type_1", "help": {"short": "Endpoint type."}, "enum": {"items": [{"name": "AzureEndpoints", "value": "AzureEndpoints"}, {"name": "ExternalEndpoints", "value": "ExternalEndpoints"}, {"name": "NestedEndpoints", "value": "NestedEndpoints"}]}}, {"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of parent profile."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Endpoints_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "endpointName", "arg": "$Path.endpointName", "required": true}, {"type": "string", "name": "endpointType", "arg": "$Path.endpointType", "required": true, "enum": {"items": [{"value": "AzureEndpoints"}, {"value": "ExternalEndpoints"}, {"value": "NestedEndpoints"}]}}, {"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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": [{"readOnly": true, "type": "boolean", "name": "boolean"}]}}}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.endpointName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "Endpoint name."}}, {"type": "string", "var": "$Path.endpointType", "options": ["t", "type"], "required": true, "idPart": "child_type_1", "help": {"short": "Endpoint type."}, "enum": {"items": [{"name": "AzureEndpoints", "value": "AzureEndpoints"}, {"name": "ExternalEndpoints", "value": "ExternalEndpoints"}, {"name": "NestedEndpoints", "value": "NestedEndpoints"}]}}, {"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of parent profile."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$parameters.properties.alwaysServe", "options": ["always-serve"], "group": "", "help": {"short": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}"}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "var": "$parameters.type", "options": ["resource-type"], "hide": true, "group": "Parameters", "help": {"short": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles."}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.customHeaders", "options": ["custom-headers"], "group": "Properties", "help": {"short": "Space-separated list of custom headers in KEY=VALUE format."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.customHeaders[].name", "options": ["name"], "help": {"short": "Header name."}}, {"type": "string", "var": "$parameters.properties.customHeaders[].value", "options": ["value"], "help": {"short": "Header value."}}]}}, {"type": "string", "var": "$parameters.properties.endpointLocation", "options": ["endpoint-location"], "group": "Properties", "help": {"short": "Location of the external or nested endpoints when using the 'Performance' routing method."}}, {"type": "string", "var": "$parameters.properties.endpointMonitorStatus", "options": ["endpoint-monitor-status"], "group": "Properties", "help": {"short": "The monitoring status of the endpoint."}, "enum": {"items": [{"name": "CheckingEndpoint", "value": "CheckingEndpoint"}, {"name": "Degraded", "value": "Degraded"}, {"name": "Disabled", "value": "Disabled"}, {"name": "Inactive", "value": "Inactive"}, {"name": "Online", "value": "Online"}, {"name": "Stopped", "value": "Stopped"}, {"name": "Unmonitored", "value": "Unmonitored"}]}}, {"type": "string", "var": "$parameters.properties.endpointStatus", "options": ["endpoint-status"], "group": "Properties", "help": {"short": "The status of the endpoint. If enabled the endpoint is probed for endpoint health and included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "array", "var": "$parameters.properties.geoMapping", "options": ["geo-mapping"], "group": "Properties", "help": {"short": "Space-separated list of country/region codes mapped to this endpoint when using the 'Geographic' routing method. Values from: az network traffic-manager endpoint show-geographic-hierarchy."}, "item": {"type": "string"}}, {"type": "integer64", "var": "$parameters.properties.minChildEndpoints", "options": ["min-child-endpoints"], "group": "Properties", "help": {"short": "The minimum number of endpoints that must be available in the child profile for the parent profile to be considered available. Only applicable to an endpoint of type 'NestedEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.minChildEndpointsIPv4", "options": ["min-child-ipv4"], "group": "Properties", "help": {"short": "The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.minChildEndpointsIPv6", "options": ["min-child-ipv6"], "group": "Properties", "help": {"short": "The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority of the endpoint when using the 'Priority' traffic routing method. Values range from 1 to 1000, with lower values representing higher priority."}}, {"type": "array", "var": "$parameters.properties.subnets", "options": ["subnets"], "group": "Properties", "help": {"short": "Space-separated list of subnet CIDR prefixes or subnet ranges."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.subnets[].first", "options": ["first"], "help": {"short": "First address in the subnet."}}, {"type": "string", "var": "$parameters.properties.subnets[].last", "options": ["last"], "help": {"short": "Last address in the subnet."}}, {"type": "integer", "var": "$parameters.properties.subnets[].scope", "options": ["scope"], "help": {"short": "Block size (number of leading bits in the subnet mask)."}}]}}, {"type": "string", "var": "$parameters.properties.target", "options": ["target"], "group": "Properties", "help": {"short": "Fully-qualified DNS name of the endpoint."}}, {"type": "string", "var": "$parameters.properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The Azure Resource URI of the endpoint. Not applicable for endpoints of type 'ExternalEndpoints'."}}, {"type": "integer64", "var": "$parameters.properties.weight", "options": ["weight"], "group": "Properties", "help": {"short": "Weight of the endpoint when using the 'Weighted' traffic routing method. Values range from 1 to 1000."}}]}], "operations": [{"operationId": "Endpoints_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "endpointName", "arg": "$Path.endpointName", "required": true}, {"type": "string", "name": "endpointType", "arg": "$Path.endpointType", "required": true, "enum": {"items": [{"value": "AzureEndpoints"}, {"value": "ExternalEndpoints"}, {"value": "NestedEndpoints"}]}}, {"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name", "arg": "$Path.endpointName"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "arg": "$parameters.properties.alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "arg": "$parameters.properties.customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.customHeaders[].name"}, {"type": "string", "name": "value", "arg": "$parameters.properties.customHeaders[].value"}]}}, {"type": "string", "name": "endpointLocation", "arg": "$parameters.properties.endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "arg": "$parameters.properties.endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "arg": "$parameters.properties.endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "arg": "$parameters.properties.geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints", "arg": "$parameters.properties.minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4", "arg": "$parameters.properties.minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6", "arg": "$parameters.properties.minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority", "arg": "$parameters.properties.priority"}, {"type": "array", "name": "subnets", "arg": "$parameters.properties.subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first", "arg": "$parameters.properties.subnets[].first"}, {"type": "string", "name": "last", "arg": "$parameters.properties.subnets[].last"}, {"type": "integer", "name": "scope", "arg": "$parameters.properties.subnets[].scope"}]}}, {"type": "string", "name": "target", "arg": "$parameters.properties.target"}, {"type": "string", "name": "targetResourceId", "arg": "$parameters.properties.targetResourceId"}, {"type": "integer64", "name": "weight", "arg": "$parameters.properties.weight"}], "clientFlatten": true}, {"type": "string", "name": "type", "arg": "$parameters.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2022-04-01", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyMi0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.endpointName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "Endpoint name."}}, {"type": "string", "var": "$Path.endpointType", "options": ["t", "type"], "required": true, "idPart": "child_type_1", "help": {"short": "Endpoint type. Allowed values: azureEndpoints, externalEndpoints, nestedEndpoints."}, "enum": {"items": [{"name": "AzureEndpoints", "value": "AzureEndpoints"}, {"name": "ExternalEndpoints", "value": "ExternalEndpoints"}, {"name": "NestedEndpoints", "value": "NestedEndpoints"}]}}, {"type": "string", "var": "$Path.profileName", "options": ["profile-name"], "required": true, "idPart": "name", "help": {"short": "Name of parent profile."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "string", "var": "$parameters.properties.alwaysServe", "options": ["always-serve"], "group": "", "help": {"short": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}"}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"nullable": true, "type": "string", "var": "$parameters.type", "options": ["resource-type"], "hide": true, "group": "Parameters", "help": {"short": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.customHeaders", "options": ["custom-headers"], "group": "Properties", "help": {"short": "Space-separated list of custom headers in KEY=VALUE format."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.customHeaders[].name", "options": ["name"], "help": {"short": "Header name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.customHeaders[].value", "options": ["value"], "help": {"short": "Header value."}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpointLocation", "options": ["endpoint-location"], "group": "Properties", "help": {"short": "Location of the external or nested endpoints when using the 'Performance' routing method."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpointMonitorStatus", "options": ["endpoint-monitor-status"], "group": "Properties", "help": {"short": "The monitoring status of the endpoint."}, "enum": {"items": [{"name": "CheckingEndpoint", "value": "CheckingEndpoint"}, {"name": "Degraded", "value": "Degraded"}, {"name": "Disabled", "value": "Disabled"}, {"name": "Inactive", "value": "Inactive"}, {"name": "Online", "value": "Online"}, {"name": "Stopped", "value": "Stopped"}, {"name": "Unmonitored", "value": "Unmonitored"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.endpointStatus", "options": ["endpoint-status"], "group": "Properties", "help": {"short": "The status of the endpoint. If enabled the endpoint is probed for endpoint health and included in the traffic routing method."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.geoMapping", "options": ["geo-mapping"], "group": "Properties", "help": {"short": "Space-separated list of country/region codes mapped to this endpoint when using the 'Geographic' routing method."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.minChildEndpoints", "options": ["min-child-endpoints"], "group": "Properties", "help": {"short": "The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.minChildEndpointsIPv4", "options": ["min-child-ipv4"], "group": "Properties", "help": {"short": "The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.minChildEndpointsIPv6", "options": ["min-child-ipv6"], "group": "Properties", "help": {"short": "The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority of the endpoint when using the 'Priority' traffic routing method. Values range from 1 to 1000, with lower values representing higher priority."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.subnets", "options": ["subnets"], "group": "Properties", "help": {"short": "Space-separated list of subnet CIDR prefixes or subnet ranges."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.subnets[].first", "options": ["first"], "help": {"short": "First address in the subnet."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.subnets[].last", "options": ["last"], "help": {"short": "Last address in the subnet."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.subnets[].scope", "options": ["scope"], "help": {"short": "Block size (number of leading bits in the subnet mask)."}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.target", "options": ["target"], "group": "Properties", "help": {"short": "Fully-qualified DNS name of the endpoint."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.targetResourceId", "options": ["target-resource-id"], "group": "Properties", "help": {"short": "The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.weight", "options": ["weight"], "group": "Properties", "help": {"short": "Weight of the endpoint when using the 'Weighted' traffic routing method. Values range from 1 to 1000."}}]}], "operations": [{"operationId": "Endpoints_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "endpointName", "arg": "$Path.endpointName", "required": true}, {"type": "string", "name": "endpointType", "arg": "$Path.endpointType", "required": true, "enum": {"items": [{"value": "AzureEndpoints"}, {"value": "ExternalEndpoints"}, {"value": "NestedEndpoints"}]}}, {"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority"}, {"type": "array", "name": "subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first"}, {"type": "string", "name": "last"}, {"type": "integer", "name": "scope"}]}}, {"type": "string", "name": "target"}, {"type": "string", "name": "targetResourceId"}, {"type": "integer64", "name": "weight"}], "clientFlatten": true}, {"type": "string", "name": "type"}], "cls": "Endpoint_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/trafficmanagerprofiles/{}/{}/{}"}}, {"type": "string", "name": "name", "arg": "$Path.endpointName"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "alwaysServe", "arg": "$parameters.properties.alwaysServe", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "customHeaders", "arg": "$parameters.properties.customHeaders", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.customHeaders[].name"}, {"type": "string", "name": "value", "arg": "$parameters.properties.customHeaders[].value"}]}}, {"type": "string", "name": "endpointLocation", "arg": "$parameters.properties.endpointLocation"}, {"type": "string", "name": "endpointMonitorStatus", "arg": "$parameters.properties.endpointMonitorStatus", "enum": {"items": [{"value": "CheckingEndpoint"}, {"value": "Degraded"}, {"value": "Disabled"}, {"value": "Inactive"}, {"value": "Online"}, {"value": "Stopped"}, {"value": "Unmonitored"}]}}, {"type": "string", "name": "endpointStatus", "arg": "$parameters.properties.endpointStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "array", "name": "geoMapping", "arg": "$parameters.properties.geoMapping", "item": {"type": "string"}}, {"type": "integer64", "name": "minChildEndpoints", "arg": "$parameters.properties.minChildEndpoints"}, {"type": "integer64", "name": "minChildEndpointsIPv4", "arg": "$parameters.properties.minChildEndpointsIPv4"}, {"type": "integer64", "name": "minChildEndpointsIPv6", "arg": "$parameters.properties.minChildEndpointsIPv6"}, {"type": "integer64", "name": "priority", "arg": "$parameters.properties.priority"}, {"type": "array", "name": "subnets", "arg": "$parameters.properties.subnets", "item": {"type": "object", "props": [{"type": "string", "name": "first", "arg": "$parameters.properties.subnets[].first"}, {"type": "string", "name": "last", "arg": "$parameters.properties.subnets[].last"}, {"type": "integer", "name": "scope", "arg": "$parameters.properties.subnets[].scope"}]}}, {"type": "string", "name": "target", "arg": "$parameters.properties.target"}, {"type": "string", "name": "targetResourceId", "arg": "$parameters.properties.targetResourceId"}, {"type": "integer64", "name": "weight", "arg": "$parameters.properties.weight"}], "clientFlatten": true}, {"type": "string", "name": "type", "arg": "$parameters.type"}], "clientFlatten": true}}}}, {"operationId": "Endpoints_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "endpointName", "arg": "$Path.endpointName", "required": true}, {"type": "string", "name": "endpointType", "arg": "$Path.endpointType", "required": true, "enum": {"items": [{"value": "AzureEndpoints"}, {"value": "ExternalEndpoints"}, {"value": "NestedEndpoints"}]}}, {"type": "string", "name": "profileName", "arg": "$Path.profileName", "required": true}, {"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}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Endpoint_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml new file mode 100644 index 000000000..4f5d3e80e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2022-04-01.xml @@ -0,0 +1,782 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +