Datastores interface

Interface representing a Datastores.

Methods

beginCreateOrUpdate(string, string, string, string, Datastore, DatastoresCreateOrUpdateOptionalParams)

Create a Datastore

beginCreateOrUpdateAndWait(string, string, string, string, Datastore, DatastoresCreateOrUpdateOptionalParams)

Create a Datastore

beginDelete(string, string, string, string, DatastoresDeleteOptionalParams)

Delete a Datastore

beginDeleteAndWait(string, string, string, string, DatastoresDeleteOptionalParams)

Delete a Datastore

get(string, string, string, string, DatastoresGetOptionalParams)

Get a Datastore

list(string, string, string, DatastoresListOptionalParams)

List Datastore resources by Cluster

Method Details

beginCreateOrUpdate(string, string, string, string, Datastore, DatastoresCreateOrUpdateOptionalParams)

Create a Datastore

function beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, datastore: Datastore, options?: DatastoresCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Datastore>, Datastore>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

privateCloudName

string

Name of the private cloud

clusterName

string

Name of the cluster

datastoreName

string

Name of the datastore

datastore
Datastore

Resource create parameters.

options
DatastoresCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Datastore>, Datastore>>

beginCreateOrUpdateAndWait(string, string, string, string, Datastore, DatastoresCreateOrUpdateOptionalParams)

Create a Datastore

function beginCreateOrUpdateAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, datastore: Datastore, options?: DatastoresCreateOrUpdateOptionalParams): Promise<Datastore>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

privateCloudName

string

Name of the private cloud

clusterName

string

Name of the cluster

datastoreName

string

Name of the datastore

datastore
Datastore

Resource create parameters.

options
DatastoresCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Datastore>

beginDelete(string, string, string, string, DatastoresDeleteOptionalParams)

Delete a Datastore

function beginDelete(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: DatastoresDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

privateCloudName

string

Name of the private cloud

clusterName

string

Name of the cluster

datastoreName

string

Name of the datastore

options
DatastoresDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, DatastoresDeleteOptionalParams)

Delete a Datastore

function beginDeleteAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: DatastoresDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

privateCloudName

string

Name of the private cloud

clusterName

string

Name of the cluster

datastoreName

string

Name of the datastore

options
DatastoresDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, DatastoresGetOptionalParams)

Get a Datastore

function get(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: DatastoresGetOptionalParams): Promise<Datastore>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

privateCloudName

string

Name of the private cloud

clusterName

string

Name of the cluster

datastoreName

string

Name of the datastore

options
DatastoresGetOptionalParams

The options parameters.

Returns

Promise<Datastore>

list(string, string, string, DatastoresListOptionalParams)

List Datastore resources by Cluster

function list(resourceGroupName: string, privateCloudName: string, clusterName: string, options?: DatastoresListOptionalParams): PagedAsyncIterableIterator<Datastore, Datastore[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

privateCloudName

string

Name of the private cloud

clusterName

string

Name of the cluster

options
DatastoresListOptionalParams

The options parameters.

Returns