StorageDomains interface

Interface representing a StorageDomains.

Methods

beginCreateOrUpdate(string, string, string, StorageDomain, StorageDomainsCreateOrUpdateOptionalParams)

Creates or updates the storage domain.

beginCreateOrUpdateAndWait(string, string, string, StorageDomain, StorageDomainsCreateOrUpdateOptionalParams)

Creates or updates the storage domain.

beginDelete(string, string, string, StorageDomainsDeleteOptionalParams)

Deletes the storage domain.

beginDeleteAndWait(string, string, string, StorageDomainsDeleteOptionalParams)

Deletes the storage domain.

get(string, string, string, StorageDomainsGetOptionalParams)

Returns the properties of the specified storage domain name.

listByManager(string, string, StorageDomainsListByManagerOptionalParams)

Retrieves all the storage domains in a manager.

Method Details

beginCreateOrUpdate(string, string, string, StorageDomain, StorageDomainsCreateOrUpdateOptionalParams)

Creates or updates the storage domain.

function beginCreateOrUpdate(storageDomainName: string, resourceGroupName: string, managerName: string, storageDomain: StorageDomain, options?: StorageDomainsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageDomain>, StorageDomain>>

Parameters

storageDomainName

string

The storage domain name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

storageDomain
StorageDomain

The storageDomain.

options
StorageDomainsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<StorageDomain>, StorageDomain>>

beginCreateOrUpdateAndWait(string, string, string, StorageDomain, StorageDomainsCreateOrUpdateOptionalParams)

Creates or updates the storage domain.

function beginCreateOrUpdateAndWait(storageDomainName: string, resourceGroupName: string, managerName: string, storageDomain: StorageDomain, options?: StorageDomainsCreateOrUpdateOptionalParams): Promise<StorageDomain>

Parameters

storageDomainName

string

The storage domain name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

storageDomain
StorageDomain

The storageDomain.

options
StorageDomainsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<StorageDomain>

beginDelete(string, string, string, StorageDomainsDeleteOptionalParams)

Deletes the storage domain.

function beginDelete(storageDomainName: string, resourceGroupName: string, managerName: string, options?: StorageDomainsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

storageDomainName

string

The storage domain name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
StorageDomainsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, StorageDomainsDeleteOptionalParams)

Deletes the storage domain.

function beginDeleteAndWait(storageDomainName: string, resourceGroupName: string, managerName: string, options?: StorageDomainsDeleteOptionalParams): Promise<void>

Parameters

storageDomainName

string

The storage domain name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
StorageDomainsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, StorageDomainsGetOptionalParams)

Returns the properties of the specified storage domain name.

function get(storageDomainName: string, resourceGroupName: string, managerName: string, options?: StorageDomainsGetOptionalParams): Promise<StorageDomain>

Parameters

storageDomainName

string

The storage domain name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
StorageDomainsGetOptionalParams

The options parameters.

Returns

Promise<StorageDomain>

listByManager(string, string, StorageDomainsListByManagerOptionalParams)

Retrieves all the storage domains in a manager.

function listByManager(resourceGroupName: string, managerName: string, options?: StorageDomainsListByManagerOptionalParams): PagedAsyncIterableIterator<StorageDomain, StorageDomain[], PageSettings>

Parameters

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
StorageDomainsListByManagerOptionalParams

The options parameters.

Returns