DatastoresClient Interface
public interface DatastoresClient
An instance of this class provides access to all the operations defined in DatastoresClient.
Method Summary
Method Details
beginCreate
public abstract SyncPoller<PollResult<DatastoreInner>,DatastoreInner> beginCreate(String resourceGroupName, String datastoreName, DatastoreInner body)
Implements datastore PUT method.
Create Or Update datastore.
Parameters:
Returns:
beginCreate
public abstract SyncPoller<PollResult<DatastoreInner>,DatastoreInner> beginCreate(String resourceGroupName, String datastoreName, DatastoreInner body, Context context)
Implements datastore PUT method.
Create Or Update datastore.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String datastoreName, Boolean force)
Deletes an datastore.
Implements datastore DELETE method.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String datastoreName, Boolean force, Context context)
Deletes an datastore.
Implements datastore DELETE method.
Parameters:
Returns:
create
public abstract DatastoreInner create(String resourceGroupName, String datastoreName)
Implements datastore PUT method.
Create Or Update datastore.
Parameters:
Returns:
create
public abstract DatastoreInner create(String resourceGroupName, String datastoreName, DatastoreInner body)
Implements datastore PUT method.
Create Or Update datastore.
Parameters:
Returns:
create
public abstract DatastoreInner create(String resourceGroupName, String datastoreName, DatastoreInner body, Context context)
Implements datastore PUT method.
Create Or Update datastore.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String datastoreName)
Deletes an datastore.
Implements datastore DELETE method.
Parameters:
delete
public abstract void delete(String resourceGroupName, String datastoreName, Boolean force)
Deletes an datastore.
Implements datastore DELETE method.
Parameters:
delete
public abstract void delete(String resourceGroupName, String datastoreName, Boolean force, Context context)
Deletes an datastore.
Implements datastore DELETE method.
Parameters:
getByResourceGroup
public abstract DatastoreInner getByResourceGroup(String resourceGroupName, String datastoreName)
Gets a datastore.
Implements datastore GET method.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<DatastoreInner> getByResourceGroupWithResponse(String resourceGroupName, String datastoreName, Context context)
Gets a datastore.
Implements datastore GET method.
Parameters:
Returns:
list
public abstract PagedIterable<DatastoreInner> list()
Implements GET datastores in a subscription.
List of datastores in a subscription.
Returns:
list
public abstract PagedIterable<DatastoreInner> list(Context context)
Implements GET datastores in a subscription.
List of datastores in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<DatastoreInner> listByResourceGroup(String resourceGroupName)
Implements GET datastores in a resource group.
List of datastores in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<DatastoreInner> listByResourceGroup(String resourceGroupName, Context context)
Implements GET datastores in a resource group.
List of datastores in a resource group.
Parameters:
Returns:
update
public abstract DatastoreInner update(String resourceGroupName, String datastoreName)
Updates a datastore.
API to update certain properties of the datastore resource.
Parameters:
Returns:
updateWithResponse
public abstract Response<DatastoreInner> updateWithResponse(String resourceGroupName, String datastoreName, ResourcePatch body, Context context)
Updates a datastore.
API to update certain properties of the datastore resource.
Parameters:
Returns: