Interface ManagedEnvironmentsStorages
-
public interface ManagedEnvironmentsStorages
Resource collection API of ManagedEnvironmentsStorages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedEnvironmentStorage.DefinitionStages.Blank
define(String name)
Begins definition for a new ManagedEnvironmentStorage resource.void
delete(String resourceGroupName, String envName, String name)
Delete storage for a managedEnvironment.void
deleteById(String id)
Delete storage for a managedEnvironment.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete storage for a managedEnvironment.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.ManagedEnvironmentStorage
get(String resourceGroupName, String envName, String name)
Get storage for a managedEnvironment.ManagedEnvironmentStorage
getById(String id)
Get storage for a managedEnvironment.com.azure.core.http.rest.Response<ManagedEnvironmentStorage>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Get storage for a managedEnvironment.com.azure.core.http.rest.Response<ManagedEnvironmentStorage>
getWithResponse(String resourceGroupName, String envName, String name, com.azure.core.util.Context context)
Get storage for a managedEnvironment.ManagedEnvironmentStoragesCollection
list(String resourceGroupName, String envName)
Get all storages for a managedEnvironment.com.azure.core.http.rest.Response<ManagedEnvironmentStoragesCollection>
listWithResponse(String resourceGroupName, String envName, com.azure.core.util.Context context)
Get all storages for a managedEnvironment.
-
-
-
Method Detail
-
list
ManagedEnvironmentStoragesCollection list(String resourceGroupName, String envName)
Get all storages for a managedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.envName
- Name of the Environment.- Returns:
- all storages for a managedEnvironment.
- 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.
-
listWithResponse
com.azure.core.http.rest.Response<ManagedEnvironmentStoragesCollection> 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.
-
get
ManagedEnvironmentStorage get(String resourceGroupName, String envName, String name)
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.- Returns:
- storage for a managedEnvironment.
- 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<ManagedEnvironmentStorage> 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.
-
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.
-
getById
ManagedEnvironmentStorage getById(String id)
Get storage for a managedEnvironment.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ManagedEnvironmentStorage> getByIdWithResponse(String id, com.azure.core.util.Context context)
Get storage for a managedEnvironment.- Parameters:
id
- the resource ID.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.
-
deleteById
void deleteById(String id)
Delete storage for a managedEnvironment.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Delete storage for a managedEnvironment.- Parameters:
id
- the resource ID.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.
-
define
ManagedEnvironmentStorage.DefinitionStages.Blank define(String name)
Begins definition for a new ManagedEnvironmentStorage resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ManagedEnvironmentStorage definition.
-
-