Interface PrivateEndpointConnectionsClient


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

      • listAsync

        com.azure.core.http.rest.PagedFlux<PrivateEndpointConnectionInner> listAsync​(String resourceGroupName,
                                                                                     String accountName)
        List all the private endpoint connections associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                                                    String accountName)
        List all the private endpoint connections associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                                                    String accountName,
                                                                                    com.azure.core.util.Context context)
        List all the private endpoint connections associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        context - The context to associate with this operation.
        Returns:
        list of private endpoint connection associated with the specified storage account.
        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<PrivateEndpointConnectionInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                     String accountName,
                                                                                                     String privateEndpointConnectionName)
        Gets the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        Returns:
        the specified private endpoint connection associated with the storage account.
        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<PrivateEndpointConnectionInner> getAsync​(String resourceGroupName,
                                                      String accountName,
                                                      String privateEndpointConnectionName)
        Gets the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        Returns:
        the specified private endpoint connection associated with the storage account.
        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

        PrivateEndpointConnectionInner get​(String resourceGroupName,
                                           String accountName,
                                           String privateEndpointConnectionName)
        Gets the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        Returns:
        the specified private endpoint connection associated with the storage account.
        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<PrivateEndpointConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                          String accountName,
                                                                                          String privateEndpointConnectionName,
                                                                                          com.azure.core.util.Context context)
        Gets the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        the specified private endpoint connection associated with the storage account.
        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.
      • putWithResponseAsync

        Mono<com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>> putWithResponseAsync​(String resourceGroupName,
                                                                                                     String accountName,
                                                                                                     String privateEndpointConnectionName,
                                                                                                     PrivateEndpointConnectionInner properties)
        Update the state of specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        Returns:
        the Private Endpoint Connection resource.
        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.
      • putAsync

        Mono<PrivateEndpointConnectionInner> putAsync​(String resourceGroupName,
                                                      String accountName,
                                                      String privateEndpointConnectionName,
                                                      PrivateEndpointConnectionInner properties)
        Update the state of specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        Returns:
        the Private Endpoint Connection resource.
        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.
      • put

        PrivateEndpointConnectionInner put​(String resourceGroupName,
                                           String accountName,
                                           String privateEndpointConnectionName,
                                           PrivateEndpointConnectionInner properties)
        Update the state of specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        Returns:
        the Private Endpoint Connection resource.
        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.
      • putWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> putWithResponse​(String resourceGroupName,
                                                                                          String accountName,
                                                                                          String privateEndpointConnectionName,
                                                                                          PrivateEndpointConnectionInner properties,
                                                                                          com.azure.core.util.Context context)
        Update the state of specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        context - The context to associate with this operation.
        Returns:
        the Private Endpoint Connection resource.
        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<Void>> deleteWithResponseAsync​(String resourceGroupName,
                                                                              String accountName,
                                                                              String privateEndpointConnectionName)
        Deletes the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String accountName,
                               String privateEndpointConnectionName)
        Deletes the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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 accountName,
                    String privateEndpointConnectionName)
        Deletes the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String accountName,
                                                                   String privateEndpointConnectionName,
                                                                   com.azure.core.util.Context context)
        Deletes the specified private endpoint connection associated with the storage account.
        Parameters:
        resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
        accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        the 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.