Traffic Manager profiles - az network traffic-manager profile

Manage Traffic Manager profiles.

Commands

az network traffic-manager profile check-dns Check the availability of a relative DNS name.
az network traffic-manager profile create Create a profile.
az network traffic-manager profile delete Delete a profile.
az network traffic-manager profile list List profiles.
az network traffic-manager profile show Show details of a profile.
az network traffic-manager profile update Update a profile.

az network traffic-manager profile check-dns

Check the availability of a relative DNS name.

az network traffic-manager profile check-dns --name

Required Parameters

--name -n

DNS prefix to verify availability for.

az network traffic-manager profile create

Create a profile.

az network traffic-manager profile create --name
--resource-group
--routing-method {Geographic, Performance, Priority, Weighted}
--unique-dns-name
[--monitor-path]
[--monitor-port]
[--monitor-protocol]
[--status {Disabled, Enabled}]
[--tags]
[--ttl]

Required Parameters

--name -n

Traffic manager profile name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--routing-method

Routing method.

accepted values: Geographic, Performance, Priority, Weighted
--unique-dns-name

Relative DNS name for the traffic manager profile. Resulting FQDN will be .trafficmanager.net and must be globally unique.

Optional Parameters

--monitor-path

Path to monitor.

default value: /
--monitor-port

Port to monitor.

default value: 80
--monitor-protocol

Monitor protocol.

default value: http
--status

Create an enabled or disabled profile.

accepted values: Disabled, Enabled
default value: enabled
--tags

Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

--ttl

DNS config time-to-live in seconds.

default value: 30

az network traffic-manager profile delete

Delete a profile.

az network traffic-manager profile delete --name
--resource-group

Required Parameters

--name -n

The name of the Traffic Manager profile to be deleted.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network traffic-manager profile list

List profiles.

az network traffic-manager profile list [--resource-group]

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network traffic-manager profile show

Show details of a profile.

az network traffic-manager profile show --name
--resource-group

Required Parameters

--name -n

The name of the Traffic Manager profile.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network traffic-manager profile update

Update a profile.

az network traffic-manager profile update --name
--resource-group
[--add]
[--monitor-path]
[--monitor-port]
[--monitor-protocol]
[--remove]
[--routing-method {Geographic, Performance, Priority, Weighted}]
[--set]
[--status {Disabled, Enabled}]
[--tags]
[--ttl]

Required Parameters

--name -n

The name of the Traffic Manager profile.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .

--monitor-path

Path to monitor.

--monitor-port

Port to monitor.

--monitor-protocol

Monitor protocol.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--routing-method

Routing method.

accepted values: Geographic, Performance, Priority, Weighted
--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--status

Status of the Traffic Manager profile.

accepted values: Disabled, Enabled
--tags

Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

--ttl

DNS config time-to-live in seconds.