Interface ConnectedEnvironmentsStoragesClient
public interface ConnectedEnvironmentsStoragesClient
An instance of this class provides access to all the operations defined in ConnectedEnvironmentsStoragesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String connectedEnvironmentName, String storageName, ConnectedEnvironmentStorageInner storageEnvelope) Create or update storage for a connectedEnvironment.com.azure.core.http.rest.Response<ConnectedEnvironmentStorageInner>
createOrUpdateWithResponse
(String resourceGroupName, String connectedEnvironmentName, String storageName, ConnectedEnvironmentStorageInner storageEnvelope, com.azure.core.util.Context context) Create or update storage for a connectedEnvironment.void
Delete storage for a connectedEnvironment.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String connectedEnvironmentName, String storageName, com.azure.core.util.Context context) Delete storage for a connectedEnvironment.Get storage for a connectedEnvironment.com.azure.core.http.rest.Response<ConnectedEnvironmentStorageInner>
getWithResponse
(String resourceGroupName, String connectedEnvironmentName, String storageName, com.azure.core.util.Context context) Get storage for a connectedEnvironment.Get all storages for a connectedEnvironment.com.azure.core.http.rest.Response<ConnectedEnvironmentStoragesCollectionInner>
listWithResponse
(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get all storages for a connectedEnvironment.
-
Method Details
-
listWithResponse
com.azure.core.http.rest.Response<ConnectedEnvironmentStoragesCollectionInner> listWithResponse(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get all storages for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.context
- The context to associate with this operation.- Returns:
- all storages for a connectedEnvironment 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.
-
list
ConnectedEnvironmentStoragesCollectionInner list(String resourceGroupName, String connectedEnvironmentName) Get all storages for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.- Returns:
- all storages for a connectedEnvironment.
- 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<ConnectedEnvironmentStorageInner> getWithResponse(String resourceGroupName, String connectedEnvironmentName, String storageName, com.azure.core.util.Context context) Get storage for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.storageName
- Name of the storage.context
- The context to associate with this operation.- Returns:
- storage for a connectedEnvironment 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.
-
get
ConnectedEnvironmentStorageInner get(String resourceGroupName, String connectedEnvironmentName, String storageName) Get storage for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.storageName
- Name of the storage.- Returns:
- storage for a connectedEnvironment.
- 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<ConnectedEnvironmentStorageInner> createOrUpdateWithResponse(String resourceGroupName, String connectedEnvironmentName, String storageName, ConnectedEnvironmentStorageInner storageEnvelope, com.azure.core.util.Context context) Create or update storage for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.storageName
- Name of the storage.storageEnvelope
- Configuration details of storage.context
- The context to associate with this operation.- Returns:
- storage resource for connectedEnvironment 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.
-
createOrUpdate
ConnectedEnvironmentStorageInner createOrUpdate(String resourceGroupName, String connectedEnvironmentName, String storageName, ConnectedEnvironmentStorageInner storageEnvelope) Create or update storage for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.storageName
- Name of the storage.storageEnvelope
- Configuration details of storage.- Returns:
- storage resource for connectedEnvironment.
- 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 connectedEnvironmentName, String storageName, com.azure.core.util.Context context) Delete storage for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.storageName
- 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.
-
delete
Delete storage for a connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the Environment.storageName
- 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.
-