Client library for TrafficManagerManagementClient
npm install --save @datafire/azure_trafficmanager
let azure_trafficmanager = require('@datafire/azure_trafficmanager').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Checks the availability of a Traffic Manager Relative DNS name.
azure_trafficmanager.Profiles_CheckTrafficManagerRelativeDnsNameAvailability({
"parameters": null,
"api-version": ""
}, context)
object
string
: Client Api Version.Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
azure_trafficmanager.GeographicHierarchies_GetDefault({
"api-version": ""
}, context)
object
string
: Client Api Version.Delete a subscription-level key used for Real User Metrics collection.
azure_trafficmanager.TrafficManagerUserMetricsKeys_Delete({
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Get the subscription-level key used for Real User Metrics collection.
azure_trafficmanager.TrafficManagerUserMetricsKeys_Get({
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Create or update a subscription-level key used for Real User Metrics collection.
azure_trafficmanager.TrafficManagerUserMetricsKeys_CreateOrUpdate({
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Lists all Traffic Manager profiles within a subscription.
azure_trafficmanager.Profiles_ListBySubscription({
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Lists all Traffic Manager profiles within a resource group.
azure_trafficmanager.Profiles_ListByResourceGroup({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager profiles to be listed.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Deletes a Traffic Manager profile.
azure_trafficmanager.Profiles_Delete({
"resourceGroupName": "",
"profileName": "",
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager profile to be deleted.string
: The name of the Traffic Manager profile to be deleted.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Gets a Traffic Manager profile.
azure_trafficmanager.Profiles_Get({
"resourceGroupName": "",
"profileName": "",
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager profile.string
: The name of the Traffic Manager profile.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Update a Traffic Manager profile.
azure_trafficmanager.Profiles_Update({
"resourceGroupName": "",
"profileName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager profile.string
: The name of the Traffic Manager profile.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Create or update a Traffic Manager profile.
azure_trafficmanager.Profiles_CreateOrUpdate({
"resourceGroupName": "",
"profileName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager profile.string
: The name of the Traffic Manager profile.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Gets latest heatmap for Traffic Manager profile.
azure_trafficmanager.HeatMap_Get({
"subscriptionId": "",
"resourceGroupName": "",
"profileName": "",
"heatMapType": "",
"api-version": ""
}, context)
object
string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.string
: The name of the resource group containing the Traffic Manager endpoint.string
: The name of the Traffic Manager profile.string
(values: default): The type of HeatMap for the Traffic Manager profile.array
: The top left latitude,longitude pair of the rectangular viewport to query for.array
: The bottom right latitude,longitude pair of the rectangular viewport to query for.string
: Client Api Version.Deletes a Traffic Manager endpoint.
azure_trafficmanager.Endpoints_Delete({
"resourceGroupName": "",
"profileName": "",
"endpointType": "",
"endpointName": "",
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager endpoint to be deleted.string
: The name of the Traffic Manager profile.string
: The type of the Traffic Manager endpoint to be deleted.string
: The name of the Traffic Manager endpoint to be deleted.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Gets a Traffic Manager endpoint.
azure_trafficmanager.Endpoints_Get({
"resourceGroupName": "",
"profileName": "",
"endpointType": "",
"endpointName": "",
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager endpoint.string
: The name of the Traffic Manager profile.string
: The type of the Traffic Manager endpoint.string
: The name of the Traffic Manager endpoint.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Update a Traffic Manager endpoint.
azure_trafficmanager.Endpoints_Update({
"resourceGroupName": "",
"profileName": "",
"endpointType": "",
"endpointName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager endpoint to be updated.string
: The name of the Traffic Manager profile.string
: The type of the Traffic Manager endpoint to be updated.string
: The name of the Traffic Manager endpoint to be updated.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.Create or update a Traffic Manager endpoint.
azure_trafficmanager.Endpoints_CreateOrUpdate({
"resourceGroupName": "",
"profileName": "",
"endpointType": "",
"endpointName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
object
string
: The name of the resource group containing the Traffic Manager endpoint to be created or updated.string
: The name of the Traffic Manager profile.string
: The type of the Traffic Manager endpoint to be created or updated.string
: The name of the Traffic Manager endpoint to be created or updated.string
: Client Api Version.string
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.object
: Parameters supplied to check Traffic Manager name operation.string
: The name of the resource.string
: The type of the resource.object
: An error returned by the Azure Resource Managerobject
: The content of an error returned by the Azure Resource Managerstring
: Error codearray
: Error detailsstring
: Error messagestring
: Error targetobject
: The result of the request or operation.boolean
: The result of the operation or request.object
: Class containing DNS settings in a Traffic Manager profile.string
: The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.string
: The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.integer
: The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.object
: Class representing a Traffic Manager endpoint.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: Class representing a Traffic Manager endpoint properties.array
: List of custom headers.object
: Custom header name and value.string
: Header name.string
: Header value.string
: Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.string
(values: CheckingEndpoint, Online, Degraded, Disabled, Inactive, Stopped): The monitoring status of the endpoint.string
(values: Enabled, Disabled): The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.array
: 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.string
integer
: 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'.integer
: 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.array
: 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.object
: Subnet first address, scope, and/or last address.string
: First address in the subnet.string
: Last address in the subnet.integer
: Block size (number of leading bits in the subnet mask).string
: 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.string
: The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.integer
: The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.object
: Class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method.object
: Class which is a sparse representation of a Traffic Manager endpoint.integer
: A number uniquely identifying this endpoint in query experiences.string
: The ARM Resource ID of this Traffic Manager endpoint.object
: Class representing a Traffic Manager HeatMap.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: Class representing a Traffic Manager HeatMap properties.string
: The ending of the time window for this HeatMap, exclusive.array
: The endpoints used in this HeatMap calculation.string
: The beginning of the time window for this HeatMap, inclusive.array
: The traffic flows produced in this HeatMap calculation.object
: Class containing endpoint monitoring settings in a Traffic Manager profile.array
: List of custom headers.object
: Custom header name and value.string
: Header name.string
: Header value.array
: List of expected status code ranges.object
: Min and max value of a status code range.integer
: Max status code.integer
: Min status code.integer
: The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.string
: The path relative to the endpoint domain name used to probe for endpoint health.integer
: The TCP port used to probe for endpoint health.string
(values: CheckingEndpoints, Online, Degraded, Disabled, Inactive): The profile-level monitoring status of the Traffic Manager profile.string
(values: HTTP, HTTPS, TCP): The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.integer
: The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.integer
: The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.object
: Class representing a Traffic Manager profile.string
: The Azure Region where the resource livesobject
: Resource tags.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: The list Traffic Manager profiles operation response.array
: Gets the list of Traffic manager profiles.object
: Class representing the Traffic Manager profile properties.array
: The list of endpoints in the Traffic Manager profile.integer
: Maximum number of endpoints to be returned for MultiValue routing type.string
(values: Enabled, Disabled): The status of the Traffic Manager profile.string
(values: Performance, Priority, Weighted, Geographic, MultiValue, Subnet): The traffic routing method of the Traffic Manager profile.string
(values: Enabled, Disabled): 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.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: Class representing a Traffic Manager HeatMap query experience properties.integer
: The id of the endpoint from the 'endpoints' array which these queries were routed to.number
: The latency experienced by queries originating from this location.integer
: The number of queries originating from this location.object
: Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method.string
: The code of the regionstring
: The name of the regionarray
: The list of Regions grouped under this Region in the Geographic Hierarchy.object
: The core properties of ARM resourcesstring
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: The resource model definition for a ARM tracked top level resourcestring
: The Azure Region where the resource livesobject
: Resource tags.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: Class representing a Traffic Manager HeatMap traffic flow properties.number
: The approximate latitude that these queries originated from.number
: The approximate longitude that these queries originated from.array
: The query experiences produced in this HeatMap calculation.string
: The IP address that this query experience originated from.object
: Class representing the Geographic hierarchy used with the Geographic traffic routing method.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: Class representing a Traffic Manager Name Availability response.string
: Descriptive message that explains why the name is not available, when applicable.string
: The relative name.boolean
: Describes whether the relative name is available or not.string
: The reason why the name is not available, when applicable.string
: Traffic Manager profile resource type.object
: Class representing Traffic Manager User Metrics.string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}string
: The name of the resourcestring
: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.object
: Class representing a Traffic Manager Real User Metrics key response.string
: The key returned by the User Metrics operation.Version | Tag | Published |
---|---|---|
5.0.0 | latest | 2yrs ago |