Interface ProfilesClient

    • 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:
        listByResourceGroupAsync in interface InnerSupportsListing<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:
        listByResourceGroup in interface InnerSupportsListing<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:
        listAsync in interface InnerSupportsListing<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:
        list in interface InnerSupportsListing<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:
        getByResourceGroupAsync in interface InnerSupportsGet<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:
        getByResourceGroup in interface InnerSupportsGet<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:
        deleteAsync in interface InnerSupportsDelete<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.