diff --git a/Commands/network/traffic-manager/endpoint/_create.md b/Commands/network/traffic-manager/endpoint/_create.md index 68b68c246..8674b2329 100644 --- a/Commands/network/traffic-manager/endpoint/_create.md +++ b/Commands/network/traffic-manager/endpoint/_create.md @@ -51,3 +51,19 @@ Create a traffic manager 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}] ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.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 + ``` + +- 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}] + ``` diff --git a/Commands/network/traffic-manager/endpoint/_delete.md b/Commands/network/traffic-manager/endpoint/_delete.md index 5d977e05c..1b47c509b 100644 --- a/Commands/network/traffic-manager/endpoint/_delete.md +++ b/Commands/network/traffic-manager/endpoint/_delete.md @@ -51,3 +51,19 @@ Delete a traffic manager endpoint. ```bash network traffic-manager endpoint delete --name MyEndpoint --profile-name MyTmProfile --resource-group MyResourceGroup --subscription MySubscription --type azureEndpoints ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.xml) **Stable** + + + +#### 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 + ``` diff --git a/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md b/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md index 7056e864a..f1541d5e9 100644 --- a/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md +++ b/Commands/network/traffic-manager/endpoint/_show-geographic-hierarchy.md @@ -36,3 +36,14 @@ Get the default geographic hierarchy used by the geographic traffic routing meth ```bash network traffic-manager endpoint show-geographic-hierarchy ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2024-04-01-preview.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 9f1d61021..612362bde 100644 --- a/Commands/network/traffic-manager/endpoint/_show.md +++ b/Commands/network/traffic-manager/endpoint/_show.md @@ -36,3 +36,14 @@ Get the details of a traffic manager endpoint. ```bash network traffic-manager endpoint show -g MyResourceGroup --profile-name MyTmProfile -n MyEndpoint --type azureEndpoints ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.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 c1e03bc36..7dedbf598 100644 --- a/Commands/network/traffic-manager/endpoint/_update.md +++ b/Commands/network/traffic-manager/endpoint/_update.md @@ -84,3 +84,30 @@ Update a traffic manager endpoint. 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}] ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.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 + ``` + +- 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}] + ``` diff --git a/Commands/network/traffic-manager/profile/_check-dns.md b/Commands/network/traffic-manager/profile/_check-dns.md index 07883ebe4..b8be2a9e1 100644 --- a/Commands/network/traffic-manager/profile/_check-dns.md +++ b/Commands/network/traffic-manager/profile/_check-dns.md @@ -36,3 +36,14 @@ Check the availability of a relative DNS name. ```bash network traffic-manager profile check-dns -n mywebapp ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01-preview.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 5d8424762..5f807154b 100644 --- a/Commands/network/traffic-manager/profile/_create.md +++ b/Commands/network/traffic-manager/profile/_create.md @@ -1,6 +1,6 @@ # [Command] _network traffic-manager profile create_ -Create a traffic manager profile. +Create a Traffic Manager profile. ## Versions @@ -51,3 +51,19 @@ 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 "/" ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.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 "/" + ``` + +- 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 "/" + ``` diff --git a/Commands/network/traffic-manager/profile/_delete.md b/Commands/network/traffic-manager/profile/_delete.md index 75808647e..d12a32ea4 100644 --- a/Commands/network/traffic-manager/profile/_delete.md +++ b/Commands/network/traffic-manager/profile/_delete.md @@ -1,6 +1,6 @@ # [Command] _network traffic-manager profile delete_ -Delete a traffic manager profile. +Delete a Traffic Manager profile. ## Versions @@ -51,3 +51,19 @@ Delete a traffic manager profile. ```bash network traffic-manager profile delete --name MyTmProfile --resource-group MyResourceGroup --subscription MySubscription ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.xml) **Stable** + + + +#### 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 + ``` diff --git a/Commands/network/traffic-manager/profile/_list.md b/Commands/network/traffic-manager/profile/_list.md index c430af463..0d7eacbd0 100644 --- a/Commands/network/traffic-manager/profile/_list.md +++ b/Commands/network/traffic-manager/profile/_list.md @@ -1,6 +1,6 @@ # [Command] _network traffic-manager profile list_ -List traffic manager profiles. +List all Traffic Manager profiles within a resource group. ## Versions @@ -39,3 +39,15 @@ List traffic manager profiles. ```bash network traffic-manager profile list -g MyResourceGroup ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.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 fee5a3169..f49a78121 100644 --- a/Commands/network/traffic-manager/profile/_show.md +++ b/Commands/network/traffic-manager/profile/_show.md @@ -1,6 +1,6 @@ # [Command] _network traffic-manager profile show_ -Get the details of a traffic manager profile. +Get a Traffic Manager profile. ## Versions @@ -36,3 +36,14 @@ Get the details of a traffic manager profile. ```bash network traffic-manager profile show -g MyResourceGroup -n MyTmProfile ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.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 0ca89358e..7e4e53f20 100644 --- a/Commands/network/traffic-manager/profile/_update.md +++ b/Commands/network/traffic-manager/profile/_update.md @@ -1,6 +1,6 @@ # [Command] _network traffic-manager profile update_ -Update a traffic manager profile. +Update a Traffic Manager profile. ## Versions @@ -66,3 +66,24 @@ 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}] ``` + +### [2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.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 + ``` + +- 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}] + ``` diff --git a/Commands/network/traffic-manager/profile/readme.md b/Commands/network/traffic-manager/profile/readme.md index 6d9ae199a..6e5219e5d 100644 --- a/Commands/network/traffic-manager/profile/readme.md +++ b/Commands/network/traffic-manager/profile/readme.md @@ -8,16 +8,16 @@ Manage Azure Traffic Manager profiles. : Check the availability of a relative DNS name. - [create](/Commands/network/traffic-manager/profile/_create.md) -: Create a traffic manager profile. +: Create a Traffic Manager profile. - [delete](/Commands/network/traffic-manager/profile/_delete.md) -: Delete a traffic manager profile. +: Delete a Traffic Manager profile. - [list](/Commands/network/traffic-manager/profile/_list.md) -: List traffic manager profiles. +: List all Traffic Manager profiles within a resource group. - [show](/Commands/network/traffic-manager/profile/_show.md) -: Get the details of a traffic manager profile. +: Get a Traffic Manager profile. - [update](/Commands/network/traffic-manager/profile/_update.md) -: Update a traffic manager profile. +: Update a Traffic Manager profile. diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2024-04-01-preview.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2024-04-01-preview.json new file mode 100644 index 000000000..b9f84e391 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2024-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.network/trafficmanagergeographichierarchies/default", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljTWFuYWdlckdlb2dyYXBoaWNIaWVyYXJjaGllcy9kZWZhdWx0/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network traffic-manager endpoint", "commands": [{"name": "show-geographic-hierarchy", "version": "2024-04-01-preview", "resources": [{"id": "/providers/microsoft.network/trafficmanagergeographichierarchies/default", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljTWFuYWdlckdlb2dyYXBoaWNIaWVyYXJjaGllcy9kZWZhdWx0/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "operations": [{"operationId": "GeographicHierarchies_GetDefault", "http": {"path": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default", "request": {"method": "get", "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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/2024-04-01-preview.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2024-04-01-preview.xml new file mode 100644 index 000000000..337960ab5 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay90cmFmZmljbWFuYWdlcmdlb2dyYXBoaWNoaWVyYXJjaGllcy9kZWZhdWx0/2024-04-01-preview.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01-preview.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01-preview.json new file mode 100644 index 000000000..ec2717fe2 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.network/checktrafficmanagernameavailability", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9jaGVja1RyYWZmaWNNYW5hZ2VyTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network traffic-manager profile", "commands": [{"name": "check-dns", "version": "2024-04-01-preview", "resources": [{"id": "/providers/microsoft.network/checktrafficmanagernameavailability", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9jaGVja1RyYWZmaWNNYW5hZ2VyTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "2024-04-01-preview"}, "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==/2024-04-01-preview.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01-preview.xml new file mode 100644 index 000000000..8cf6df22d --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubmV0d29yay9jaGVja3RyYWZmaWNtYW5hZ2VybmFtZWF2YWlsYWJpbGl0eQ==/2024-04-01-preview.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.json new file mode 100644 index 000000000..e5ba458b1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdHJhZmZpY21hbmFnZXJwcm9maWxlcw==/V/MjAyNC0wNC0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVz/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network traffic-manager profile", "commands": [{"name": "list", "version": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdHJhZmZpY21hbmFnZXJwcm9maWxlcw==/V/MjAyNC0wNC0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVz/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Profiles_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Profiles_ListBySubscription"], "operationId": "Profiles_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "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": "integer32", "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": "integer32", "name": "max"}, {"type": "integer32", "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": "recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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_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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "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": "integer32", "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": "integer32", "name": "max"}, {"type": "integer32", "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": "recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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=/2024-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.xml new file mode 100644 index 000000000..632768d4b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.xml @@ -0,0 +1,405 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.md new file mode 100644 index 000000000..9e8af2c9f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.network/trafficmanagerprofiles 2024-04-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXM=/2024-04-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.json new file mode 100644 index 000000000..a5405827b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network traffic-manager profile", "commands": [{"name": "show", "version": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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": "integer32", "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": "integer32", "name": "max"}, {"type": "integer32", "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": "recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "integer32", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max", "options": ["max"], "help": {"short": "Max status code."}}, {"type": "integer32", "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": "integer32", "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.recordType", "options": ["record-type"], "group": "Properties", "help": {"short": "When record type is set, a traffic manager profile will allow only endpoints that match this type."}, "enum": {"items": [{"name": "A", "value": "A"}, {"name": "AAAA", "value": "AAAA"}, {"name": "CNAME", "value": "CNAME"}]}}, {"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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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": "integer32", "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": "integer32", "name": "max", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max"}, {"type": "integer32", "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": "recordType", "arg": "$parameters.properties.recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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": "integer32", "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": "integer32", "name": "max"}, {"type": "integer32", "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": "recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "integer32", "var": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max", "options": ["max"], "help": {"short": "Max status code."}}, {"nullable": true, "type": "integer32", "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": "integer32", "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.recordType", "options": ["record-type"], "group": "Properties", "help": {"short": "When record type is set, a traffic manager profile will allow only endpoints that match this type."}, "enum": {"items": [{"name": "A", "value": "A"}, {"name": "AAAA", "value": "AAAA"}, {"name": "CNAME", "value": "CNAME"}]}}, {"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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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": "integer32", "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": "integer32", "name": "max"}, {"type": "integer32", "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": "recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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": "integer32", "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": "integer32", "name": "max", "arg": "$parameters.properties.monitorConfig.expectedStatusCodeRanges[].max"}, {"type": "integer32", "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": "recordType", "arg": "$parameters.properties.recordType", "enum": {"items": [{"value": "A"}, {"value": "AAAA"}, {"value": "CNAME"}]}}, {"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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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=/2024-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.xml new file mode 100644 index 000000000..b119264fd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30=/2024-04-01-preview.xml @@ -0,0 +1,1447 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.json new file mode 100644 index 000000000..95597bc9a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "network traffic-manager endpoint", "commands": [{"name": "show", "version": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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": "integer32", "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": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "integer32", "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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": "integer32", "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": "integer32", "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": "2024-04-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/trafficmanagerprofiles/{}/{}/{}", "version": "2024-04-01-preview", "swagger": "mgmt-plane/trafficmanager/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay90cmFmZmljbWFuYWdlcnByb2ZpbGVzL3twcm9maWxlTmFtZX0ve2VuZHBvaW50VHlwZX0ve2VuZHBvaW50TmFtZX0=/V/MjAyNC0wNC0wMS1wcmV2aWV3"}], "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": "integer32", "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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": "integer32", "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": "integer32", "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": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01-preview"}, "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=/2024-04-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.xml new file mode 100644 index 000000000..ee1835314 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3RyYWZmaWNtYW5hZ2VycHJvZmlsZXMve30ve30ve30=/2024-04-01-preview.xml @@ -0,0 +1,771 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +