Profiles interface
Interface representing a Profiles.
Methods
Method Details
checkTrafficManagerNameAvailabilityV2(CheckTrafficManagerRelativeDnsNameAvailabilityParameters, ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams)
Checks the availability of a Traffic Manager Relative DNS name.
function checkTrafficManagerNameAvailabilityV2(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams): Promise<TrafficManagerNameAvailability>
Parameters
The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.
The options parameters.
Returns
Promise<TrafficManagerNameAvailability>
checkTrafficManagerRelativeDnsNameAvailability(CheckTrafficManagerRelativeDnsNameAvailabilityParameters, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams)
Checks the availability of a Traffic Manager Relative DNS name.
function checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<TrafficManagerNameAvailability>
Parameters
The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.
The options parameters.
Returns
Promise<TrafficManagerNameAvailability>
createOrUpdate(string, string, Profile, ProfilesCreateOrUpdateOptionalParams)
Create or update a Traffic Manager profile.
function createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<Profile>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- parameters
- Profile
The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<Profile>
delete(string, string, ProfilesDeleteOptionalParams)
Deletes a Traffic Manager profile.
function delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<DeleteOperationResult>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile to be deleted.
- options
- ProfilesDeleteOptionalParams
The options parameters.
Returns
Promise<DeleteOperationResult>
get(string, string, ProfilesGetOptionalParams)
Gets a Traffic Manager profile.
function get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<Profile>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- options
- ProfilesGetOptionalParams
The options parameters.
Returns
Promise<Profile>
listByResourceGroup(string, ProfilesListByResourceGroupOptionalParams)
Lists all Traffic Manager profiles within a resource group.
function listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile, Profile[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(ProfilesListBySubscriptionOptionalParams)
Lists all Traffic Manager profiles within a subscription.
function listBySubscription(options?: ProfilesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Profile, Profile[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, Profile, ProfilesUpdateOptionalParams)
Update a Traffic Manager profile.
function update(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesUpdateOptionalParams): Promise<Profile>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- parameters
- Profile
The Traffic Manager profile parameters supplied to the Update operation.
- options
- ProfilesUpdateOptionalParams
The options parameters.
Returns
Promise<Profile>