Interface EndpointsClient


  • public interface EndpointsClient
    An instance of this class provides access to all the operations defined in EndpointsClient.
    • Method Detail

      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<EndpointInner>> updateWithResponseAsync​(String resourceGroupName,
                                                                                       String profileName,
                                                                                       String endpointType,
                                                                                       String endpointName,
                                                                                       EndpointInner parameters)
        Update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be updated.
        endpointName - The name of the Traffic Manager endpoint to be updated.
        parameters - Class representing a Traffic Manager endpoint.
        Returns:
        class representing a Traffic Manager endpoint.
        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<EndpointInner> updateAsync​(String resourceGroupName,
                                        String profileName,
                                        String endpointType,
                                        String endpointName,
                                        EndpointInner parameters)
        Update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be updated.
        endpointName - The name of the Traffic Manager endpoint to be updated.
        parameters - Class representing a Traffic Manager endpoint.
        Returns:
        class representing a Traffic Manager endpoint.
        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

        EndpointInner update​(String resourceGroupName,
                             String profileName,
                             String endpointType,
                             String endpointName,
                             EndpointInner parameters)
        Update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be updated.
        endpointName - The name of the Traffic Manager endpoint to be updated.
        parameters - Class representing a Traffic Manager endpoint.
        Returns:
        class representing a Traffic Manager endpoint.
        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<EndpointInner> updateWithResponse​(String resourceGroupName,
                                                                            String profileName,
                                                                            String endpointType,
                                                                            String endpointName,
                                                                            EndpointInner parameters,
                                                                            com.azure.core.util.Context context)
        Update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be updated.
        endpointName - The name of the Traffic Manager endpoint to be updated.
        parameters - Class representing a Traffic Manager endpoint.
        context - The context to associate with this operation.
        Returns:
        class representing a Traffic Manager endpoint.
        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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<EndpointInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                    String profileName,
                                                                                    String endpointType,
                                                                                    String endpointName)
        Gets a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint.
        endpointName - The name of the Traffic Manager endpoint.
        Returns:
        a Traffic Manager endpoint.
        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.
      • getAsync

        Mono<EndpointInner> getAsync​(String resourceGroupName,
                                     String profileName,
                                     String endpointType,
                                     String endpointName)
        Gets a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint.
        endpointName - The name of the Traffic Manager endpoint.
        Returns:
        a Traffic Manager endpoint.
        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.
      • get

        EndpointInner get​(String resourceGroupName,
                          String profileName,
                          String endpointType,
                          String endpointName)
        Gets a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint.
        endpointName - The name of the Traffic Manager endpoint.
        Returns:
        a Traffic Manager endpoint.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<EndpointInner> getWithResponse​(String resourceGroupName,
                                                                         String profileName,
                                                                         String endpointType,
                                                                         String endpointName,
                                                                         com.azure.core.util.Context context)
        Gets a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint.
        endpointName - The name of the Traffic Manager endpoint.
        context - The context to associate with this operation.
        Returns:
        a Traffic Manager endpoint.
        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<EndpointInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                               String profileName,
                                                                                               String endpointType,
                                                                                               String endpointName,
                                                                                               EndpointInner parameters)
        Create or update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be created or updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be created or updated.
        endpointName - The name of the Traffic Manager endpoint to be created or updated.
        parameters - Class representing a Traffic Manager endpoint.
        Returns:
        class representing a Traffic Manager endpoint.
        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<EndpointInner> createOrUpdateAsync​(String resourceGroupName,
                                                String profileName,
                                                String endpointType,
                                                String endpointName,
                                                EndpointInner parameters)
        Create or update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be created or updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be created or updated.
        endpointName - The name of the Traffic Manager endpoint to be created or updated.
        parameters - Class representing a Traffic Manager endpoint.
        Returns:
        class representing a Traffic Manager endpoint.
        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

        EndpointInner createOrUpdate​(String resourceGroupName,
                                     String profileName,
                                     String endpointType,
                                     String endpointName,
                                     EndpointInner parameters)
        Create or update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be created or updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be created or updated.
        endpointName - The name of the Traffic Manager endpoint to be created or updated.
        parameters - Class representing a Traffic Manager endpoint.
        Returns:
        class representing a Traffic Manager endpoint.
        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<EndpointInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                    String profileName,
                                                                                    String endpointType,
                                                                                    String endpointName,
                                                                                    EndpointInner parameters,
                                                                                    com.azure.core.util.Context context)
        Create or update a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be created or updated.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be created or updated.
        endpointName - The name of the Traffic Manager endpoint to be created or updated.
        parameters - Class representing a Traffic Manager endpoint.
        context - The context to associate with this operation.
        Returns:
        class representing a Traffic Manager endpoint.
        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,
                                                                                                    String endpointType,
                                                                                                    String endpointName)
        Deletes a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be deleted.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be deleted.
        endpointName - The name of the Traffic Manager endpoint 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,
                                                     String endpointType,
                                                     String endpointName)
        Deletes a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be deleted.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be deleted.
        endpointName - The name of the Traffic Manager endpoint 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,
                                          String endpointType,
                                          String endpointName)
        Deletes a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be deleted.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be deleted.
        endpointName - The name of the Traffic Manager endpoint 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,
                                                                                         String endpointType,
                                                                                         String endpointName,
                                                                                         com.azure.core.util.Context context)
        Deletes a Traffic Manager endpoint.
        Parameters:
        resourceGroupName - The name of the resource group containing the Traffic Manager endpoint to be deleted.
        profileName - The name of the Traffic Manager profile.
        endpointType - The type of the Traffic Manager endpoint to be deleted.
        endpointName - The name of the Traffic Manager endpoint 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.