Interface ProfilesClient
-
- All Superinterfaces:
InnerSupportsDelete<DeleteOperationResultInner>,InnerSupportsGet<ProfileInner>,InnerSupportsListing<ProfileInner>
public interface ProfilesClient extends InnerSupportsGet<ProfileInner>, InnerSupportsListing<ProfileInner>, InnerSupportsDelete<DeleteOperationResultInner>
An instance of this class provides access to all the operations defined in ProfilesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficManagerNameAvailabilityInnercheckTrafficManagerRelativeDnsNameAvailability(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)Checks the availability of a Traffic Manager Relative DNS name.Mono<TrafficManagerNameAvailabilityInner>checkTrafficManagerRelativeDnsNameAvailabilityAsync(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)Checks the availability of a Traffic Manager Relative DNS name.com.azure.core.http.rest.Response<TrafficManagerNameAvailabilityInner>checkTrafficManagerRelativeDnsNameAvailabilityWithResponse(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters, com.azure.core.util.Context context)Checks the availability of a Traffic Manager Relative DNS name.Mono<com.azure.core.http.rest.Response<TrafficManagerNameAvailabilityInner>>checkTrafficManagerRelativeDnsNameAvailabilityWithResponseAsync(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)Checks the availability of a Traffic Manager Relative DNS name.ProfileInnercreateOrUpdate(String resourceGroupName, String profileName, ProfileInner parameters)Create or update a Traffic Manager profile.Mono<ProfileInner>createOrUpdateAsync(String resourceGroupName, String profileName, ProfileInner parameters)Create or update a Traffic Manager profile.com.azure.core.http.rest.Response<ProfileInner>createOrUpdateWithResponse(String resourceGroupName, String profileName, ProfileInner parameters, com.azure.core.util.Context context)Create or update a Traffic Manager profile.Mono<com.azure.core.http.rest.Response<ProfileInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String profileName, ProfileInner parameters)Create or update a Traffic Manager profile.DeleteOperationResultInnerdelete(String resourceGroupName, String profileName)Deletes a Traffic Manager profile.Mono<DeleteOperationResultInner>deleteAsync(String resourceGroupName, String profileName)Deletes a Traffic Manager profile.com.azure.core.http.rest.Response<DeleteOperationResultInner>deleteWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)Deletes a Traffic Manager profile.Mono<com.azure.core.http.rest.Response<DeleteOperationResultInner>>deleteWithResponseAsync(String resourceGroupName, String profileName)Deletes a Traffic Manager profile.ProfileInnergetByResourceGroup(String resourceGroupName, String profileName)Gets a Traffic Manager profile.Mono<ProfileInner>getByResourceGroupAsync(String resourceGroupName, String profileName)Gets a Traffic Manager profile.com.azure.core.http.rest.Response<ProfileInner>getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)Gets a Traffic Manager profile.Mono<com.azure.core.http.rest.Response<ProfileInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String profileName)Gets a Traffic Manager profile.com.azure.core.http.rest.PagedIterable<ProfileInner>list()Lists all Traffic Manager profiles within a subscription.com.azure.core.http.rest.PagedIterable<ProfileInner>list(com.azure.core.util.Context context)Lists all Traffic Manager profiles within a subscription.com.azure.core.http.rest.PagedFlux<ProfileInner>listAsync()Lists all Traffic Manager profiles within a subscription.com.azure.core.http.rest.PagedIterable<ProfileInner>listByResourceGroup(String resourceGroupName)Lists all Traffic Manager profiles within a resource group.com.azure.core.http.rest.PagedIterable<ProfileInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Lists all Traffic Manager profiles within a resource group.com.azure.core.http.rest.PagedFlux<ProfileInner>listByResourceGroupAsync(String resourceGroupName)Lists all Traffic Manager profiles within a resource group.ProfileInnerupdate(String resourceGroupName, String profileName, ProfileInner parameters)Update a Traffic Manager profile.Mono<ProfileInner>updateAsync(String resourceGroupName, String profileName, ProfileInner parameters)Update a Traffic Manager profile.com.azure.core.http.rest.Response<ProfileInner>updateWithResponse(String resourceGroupName, String profileName, ProfileInner parameters, com.azure.core.util.Context context)Update a Traffic Manager profile.Mono<com.azure.core.http.rest.Response<ProfileInner>>updateWithResponseAsync(String resourceGroupName, String profileName, ProfileInner parameters)Update a Traffic Manager profile.
-
-
-
Method Detail
-
checkTrafficManagerRelativeDnsNameAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<TrafficManagerNameAvailabilityInner>> checkTrafficManagerRelativeDnsNameAvailabilityWithResponseAsync(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)
Checks the availability of a Traffic Manager Relative DNS name.- Parameters:
parameters- Parameters supplied to check Traffic Manager name operation.- Returns:
- class representing a Traffic Manager Name Availability response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkTrafficManagerRelativeDnsNameAvailabilityAsync
Mono<TrafficManagerNameAvailabilityInner> checkTrafficManagerRelativeDnsNameAvailabilityAsync(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)
Checks the availability of a Traffic Manager Relative DNS name.- Parameters:
parameters- Parameters supplied to check Traffic Manager name operation.- Returns:
- class representing a Traffic Manager Name Availability response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkTrafficManagerRelativeDnsNameAvailability
TrafficManagerNameAvailabilityInner checkTrafficManagerRelativeDnsNameAvailability(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)
Checks the availability of a Traffic Manager Relative DNS name.- Parameters:
parameters- Parameters supplied to check Traffic Manager name operation.- Returns:
- class representing a Traffic Manager Name Availability response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkTrafficManagerRelativeDnsNameAvailabilityWithResponse
com.azure.core.http.rest.Response<TrafficManagerNameAvailabilityInner> checkTrafficManagerRelativeDnsNameAvailabilityWithResponse(CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters, com.azure.core.util.Context context)
Checks the availability of a Traffic Manager Relative DNS name.- Parameters:
parameters- Parameters supplied to check Traffic Manager name operation.context- The context to associate with this operation.- Returns:
- class representing a Traffic Manager Name Availability response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ProfileInner> listByResourceGroupAsync(String resourceGroupName)
Lists all Traffic Manager profiles within a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ProfileInner>- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profiles to be listed.- Returns:
- the list Traffic Manager profiles operation response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName)
Lists all Traffic Manager profiles within a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ProfileInner>- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profiles to be listed.- Returns:
- the list Traffic Manager profiles operation response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Lists all Traffic Manager profiles within a resource group.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profiles to be listed.context- The context to associate with this operation.- Returns:
- the list Traffic Manager profiles operation response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<ProfileInner> listAsync()
Lists all Traffic Manager profiles within a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ProfileInner>- Returns:
- the list Traffic Manager profiles operation response.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ProfileInner> list()
Lists all Traffic Manager profiles within a subscription.- Specified by:
listin interfaceInnerSupportsListing<ProfileInner>- Returns:
- the list Traffic Manager profiles operation response.
- Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ProfileInner> list(com.azure.core.util.Context context)
Lists all Traffic Manager profiles within a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- the list Traffic Manager profiles operation response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ProfileInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String profileName)
Gets a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.- Returns:
- a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<ProfileInner> getByResourceGroupAsync(String resourceGroupName, String profileName)
Gets a Traffic Manager profile.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ProfileInner>- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.- Returns:
- a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
ProfileInner getByResourceGroup(String resourceGroupName, String profileName)
Gets a Traffic Manager profile.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ProfileInner>- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.- Returns:
- a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Gets a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.context- The context to associate with this operation.- Returns:
- a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ProfileInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String profileName, ProfileInner parameters)
Create or update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ProfileInner> createOrUpdateAsync(String resourceGroupName, String profileName, ProfileInner parameters)
Create or update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ProfileInner createOrUpdate(String resourceGroupName, String profileName, ProfileInner parameters)
Create or update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ProfileInner> createOrUpdateWithResponse(String resourceGroupName, String profileName, ProfileInner parameters, com.azure.core.util.Context context)
Create or update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.context- The context to associate with this operation.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeleteOperationResultInner>> deleteWithResponseAsync(String resourceGroupName, String profileName)
Deletes a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile to be deleted.profileName- The name of the Traffic Manager profile to be deleted.- Returns:
- the result of the request or operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<DeleteOperationResultInner> deleteAsync(String resourceGroupName, String profileName)
Deletes a Traffic Manager profile.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<DeleteOperationResultInner>- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile to be deleted.profileName- The name of the Traffic Manager profile to be deleted.- Returns:
- the result of the request or operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
DeleteOperationResultInner delete(String resourceGroupName, String profileName)
Deletes a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile to be deleted.profileName- The name of the Traffic Manager profile to be deleted.- Returns:
- the result of the request or operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<DeleteOperationResultInner> deleteWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
Deletes a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile to be deleted.profileName- The name of the Traffic Manager profile to be deleted.context- The context to associate with this operation.- Returns:
- the result of the request or operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ProfileInner>> updateWithResponseAsync(String resourceGroupName, String profileName, ProfileInner parameters)
Update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<ProfileInner> updateAsync(String resourceGroupName, String profileName, ProfileInner parameters)
Update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ProfileInner update(String resourceGroupName, String profileName, ProfileInner parameters)
Update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<ProfileInner> updateWithResponse(String resourceGroupName, String profileName, ProfileInner parameters, com.azure.core.util.Context context)
Update a Traffic Manager profile.- Parameters:
resourceGroupName- The name of the resource group containing the Traffic Manager profile.profileName- The name of the Traffic Manager profile.parameters- Class representing a Traffic Manager profile.context- The context to associate with this operation.- Returns:
- class representing a Traffic Manager profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-