Interface AuthorizationsClient


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

      • list

        com.azure.core.http.rest.PagedIterable<ExpressRouteAuthorizationInner> list​(String resourceGroupName,
                                                                                    String privateCloudName)
        List ExpressRoute Circuit Authorizations in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        Returns:
        a paged list of ExpressRoute Circuit Authorizations.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<ExpressRouteAuthorizationInner> list​(String resourceGroupName,
                                                                                    String privateCloudName,
                                                                                    com.azure.core.util.Context context)
        List ExpressRoute Circuit Authorizations in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        context - The context to associate with this operation.
        Returns:
        a paged list of ExpressRoute Circuit Authorizations.
        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

        ExpressRouteAuthorizationInner get​(String resourceGroupName,
                                           String privateCloudName,
                                           String authorizationName)
        Get an ExpressRoute Circuit Authorization by name in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        Returns:
        an ExpressRoute Circuit Authorization by name in a private cloud.
        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<ExpressRouteAuthorizationInner> getWithResponse​(String resourceGroupName,
                                                                                          String privateCloudName,
                                                                                          String authorizationName,
                                                                                          com.azure.core.util.Context context)
        Get an ExpressRoute Circuit Authorization by name in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        context - The context to associate with this operation.
        Returns:
        an ExpressRoute Circuit Authorization by name in a private cloud.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteAuthorizationInner>,​ExpressRouteAuthorizationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                      String privateCloudName,
                                                                                                                                                                                      String authorizationName,
                                                                                                                                                                                      ExpressRouteAuthorizationInner authorization)
        Create or update an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        authorization - An ExpressRoute Circuit Authorization.
        Returns:
        expressRoute Circuit Authorization.
        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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExpressRouteAuthorizationInner>,​ExpressRouteAuthorizationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                      String privateCloudName,
                                                                                                                                                                                      String authorizationName,
                                                                                                                                                                                      ExpressRouteAuthorizationInner authorization,
                                                                                                                                                                                      com.azure.core.util.Context context)
        Create or update an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        authorization - An ExpressRoute Circuit Authorization.
        context - The context to associate with this operation.
        Returns:
        expressRoute Circuit Authorization.
        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

        ExpressRouteAuthorizationInner createOrUpdate​(String resourceGroupName,
                                                      String privateCloudName,
                                                      String authorizationName,
                                                      ExpressRouteAuthorizationInner authorization)
        Create or update an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        authorization - An ExpressRoute Circuit Authorization.
        Returns:
        expressRoute Circuit Authorization.
        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

        ExpressRouteAuthorizationInner createOrUpdate​(String resourceGroupName,
                                                      String privateCloudName,
                                                      String authorizationName,
                                                      ExpressRouteAuthorizationInner authorization,
                                                      com.azure.core.util.Context context)
        Create or update an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        authorization - An ExpressRoute Circuit Authorization.
        context - The context to associate with this operation.
        Returns:
        expressRoute Circuit Authorization.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String privateCloudName,
                                                                                                                          String authorizationName)
        Delete an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        Returns:
        the completion.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String privateCloudName,
                                                                                                                          String authorizationName,
                                                                                                                          com.azure.core.util.Context context)
        Delete an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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

        void delete​(String resourceGroupName,
                    String privateCloudName,
                    String authorizationName)
        Delete an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        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

        void delete​(String resourceGroupName,
                    String privateCloudName,
                    String authorizationName,
                    com.azure.core.util.Context context)
        Delete an ExpressRoute Circuit Authorization in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        authorizationName - Name of the ExpressRoute Circuit Authorization in the private cloud.
        context - The context to associate with this 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.