Microsoft.Network (preview:2024-04-01)

2025/06/12 • 17 new methods

Endpoints_Update (new)
Description Update a Traffic Manager endpoint.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointType: string ,
endpointName: string ,
parameters:
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Endpoints_Get (new)
Description Gets a Traffic Manager endpoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointType: string ,
endpointName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Endpoints_CreateOrUpdate (new)
Description Create or update a Traffic Manager endpoint.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointType: string ,
endpointName: string ,
parameters:
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Endpoints_Delete (new)
Description Deletes a Traffic Manager endpoint.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
{
resourceGroupName: string ,
profileName: string ,
endpointType: string ,
endpointName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
boolean: boolean ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_CheckTrafficManagerRelativeDnsNameAvailability (new)
Description Checks the availability of a Traffic Manager Relative DNS name.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Network/checkTrafficManagerNameAvailability
{
parameters:
{
name: string ,
type: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
type: string ,
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_checkTrafficManagerNameAvailabilityV2 (new)
Description Checks the availability of a Traffic Manager Relative DNS name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2
{
subscriptionId: string ,
api-version: string ,
parameters:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
name: string ,
type: string ,
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_ListByResourceGroup (new)
Description Lists all Traffic Manager profiles within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_ListBySubscription (new)
Description Lists all Traffic Manager profiles within a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_Get (new)
Description Gets a Traffic Manager profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_CreateOrUpdate (new)
Description Create or update a Traffic Manager profile.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
parameters:
{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_Delete (new)
Description Deletes a Traffic Manager profile.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
boolean: boolean ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Profiles_Update (new)
Description Update a Traffic Manager profile.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
{
resourceGroupName: string ,
profileName: string ,
parameters:
{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
profileStatus: enum ,
trafficRoutingMethod: enum ,
dnsConfig:
{
relativeName: string ,
fqdn: string ,
ttl: integer ,
}
,
monitorConfig:
{
profileMonitorStatus: enum ,
protocol: enum ,
port: integer ,
path: string ,
intervalInSeconds: integer ,
timeoutInSeconds: integer ,
toleratedNumberOfFailures: integer ,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
expectedStatusCodeRanges:
[
{
min: integer ,
max: integer ,
}
,
]
,
}
,
endpoints:
[
{
properties:
{
targetResourceId: string ,
target: string ,
endpointStatus: enum ,
weight: integer ,
priority: integer ,
endpointLocation: string ,
endpointMonitorStatus: enum ,
minChildEndpoints: integer ,
minChildEndpointsIPv4: integer ,
minChildEndpointsIPv6: integer ,
geoMapping:
[
string ,
]
,
subnets:
[
{
first: string ,
last: string ,
scope: integer ,
}
,
]
,
customHeaders:
[
{
name: string ,
value: string ,
}
,
]
,
alwaysServe: enum ,
}
,
}
,
]
,
trafficViewEnrollmentStatus: enum ,
allowedEndpointRecordTypes:
[
string ,
]
,
maxReturn: integer ,
recordType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
GeographicHierarchies_GetDefault (new)
Description Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Network/trafficManagerGeographicHierarchies/default
{
api-version: string ,
}

⚐ Response (200)

{
properties:
{
geographicHierarchy:
{
code: string ,
name: string ,
regions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
HeatMap_Get (new)
Description Gets latest heatmap for Traffic Manager profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}
{
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
heatMapType: string ,
topLeft: array ,
botRight: array ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
startTime: string ,
endTime: string ,
endpoints:
[
{
resourceId: string ,
endpointId: integer ,
}
,
]
,
trafficFlows:
[
{
sourceIp: string ,
latitude: number ,
longitude: number ,
queryExperiences:
[
{
endpointId: integer ,
queryCount: integer ,
latency: number ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
TrafficManagerUserMetricsKeys_Get (new)
Description Get the subscription-level key used for Real User Metrics collection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
key: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
TrafficManagerUserMetricsKeys_CreateOrUpdate (new)
Description Create or update a subscription-level key used for Real User Metrics collection.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
key: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
TrafficManagerUserMetricsKeys_Delete (new)
Description Delete a subscription-level key used for Real User Metrics collection.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
boolean: boolean ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}