Interface ManagedEnvironmentsStoragesClient


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

      • listWithResponse

        com.azure.core.http.rest.Response<ManagedEnvironmentStoragesCollectionInner> listWithResponse​(String resourceGroupName,
                                                                                                      String envName,
                                                                                                      com.azure.core.util.Context context)
        Get all storages for a managedEnvironment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        envName - Name of the Environment.
        context - The context to associate with this operation.
        Returns:
        all storages for a managedEnvironment along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<ManagedEnvironmentStorageInner> getWithResponse​(String resourceGroupName,
                                                                                          String envName,
                                                                                          String name,
                                                                                          com.azure.core.util.Context context)
        Get storage for a managedEnvironment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        envName - Name of the Environment.
        name - Name of the storage.
        context - The context to associate with this operation.
        Returns:
        storage for a managedEnvironment along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<ManagedEnvironmentStorageInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                                     String envName,
                                                                                                     String name,
                                                                                                     ManagedEnvironmentStorageInner storageEnvelope,
                                                                                                     com.azure.core.util.Context context)
        Create or update storage for a managedEnvironment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        envName - Name of the Environment.
        name - Name of the storage.
        storageEnvelope - Configuration details of storage.
        context - The context to associate with this operation.
        Returns:
        storage resource for managedEnvironment along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 envName,
                    String name)
        Delete storage for a managedEnvironment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        envName - Name of the Environment.
        name - Name of the storage.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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 envName,
                                                                   String name,
                                                                   com.azure.core.util.Context context)
        Delete storage for a managedEnvironment.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        envName - Name of the Environment.
        name - Name of the storage.
        context - The context to associate with this operation.
        Returns:
        the Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.