Interface DatastoresClient
-
public interface DatastoresClient
An instance of this class provides access to all the operations defined in DatastoresClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatastoreInner>,DatastoreInner>
beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore)
Create or update a datastore in a private cloud cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatastoreInner>,DatastoreInner>
beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore, com.azure.core.util.Context context)
Create or update a datastore in a private cloud cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName)
Delete a datastore in a private cloud cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, com.azure.core.util.Context context)
Delete a datastore in a private cloud cluster.DatastoreInner
createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore)
Create or update a datastore in a private cloud cluster.DatastoreInner
createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore, com.azure.core.util.Context context)
Create or update a datastore in a private cloud cluster.void
delete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName)
Delete a datastore in a private cloud cluster.void
delete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, com.azure.core.util.Context context)
Delete a datastore in a private cloud cluster.DatastoreInner
get(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName)
Get a datastore in a private cloud cluster.com.azure.core.http.rest.Response<DatastoreInner>
getWithResponse(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, com.azure.core.util.Context context)
Get a datastore in a private cloud cluster.com.azure.core.http.rest.PagedIterable<DatastoreInner>
list(String resourceGroupName, String privateCloudName, String clusterName)
List datastores in a private cloud cluster.com.azure.core.http.rest.PagedIterable<DatastoreInner>
list(String resourceGroupName, String privateCloudName, String clusterName, com.azure.core.util.Context context)
List datastores in a private cloud cluster.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<DatastoreInner> list(String resourceGroupName, String privateCloudName, String clusterName)
List datastores in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.- Returns:
- a paged list of datastores.
- 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<DatastoreInner> list(String resourceGroupName, String privateCloudName, String clusterName, com.azure.core.util.Context context)
List datastores in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.context
- The context to associate with this operation.- Returns:
- a paged list of datastores.
- 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
DatastoreInner get(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName)
Get a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.- Returns:
- a datastore in a private cloud cluster.
- 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<DatastoreInner> getWithResponse(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, com.azure.core.util.Context context)
Get a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.context
- The context to associate with this operation.- Returns:
- a datastore in a private cloud cluster.
- 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<DatastoreInner>,DatastoreInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore)
Create or update a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.datastore
- A datastore in a private cloud cluster.- Returns:
- a datastore 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatastoreInner>,DatastoreInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore, com.azure.core.util.Context context)
Create or update a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.datastore
- A datastore in a private cloud cluster.context
- The context to associate with this operation.- Returns:
- a datastore 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.
-
createOrUpdate
DatastoreInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore)
Create or update a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.datastore
- A datastore in a private cloud cluster.- Returns:
- a datastore 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.
-
createOrUpdate
DatastoreInner createOrUpdate(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName, DatastoreInner datastore, com.azure.core.util.Context context)
Create or update a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.datastore
- A datastore in a private cloud cluster.context
- The context to associate with this operation.- Returns:
- a datastore 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateCloudName, String clusterName, String datastoreName)
Delete a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.- 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 clusterName, String datastoreName, com.azure.core.util.Context context)
Delete a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.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 clusterName, String datastoreName)
Delete a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.- 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 clusterName, String datastoreName, com.azure.core.util.Context context)
Delete a datastore in a private cloud cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.clusterName
- Name of the cluster in the private cloud.datastoreName
- Name of the datastore in the private cloud cluster.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.
-
-