Racks interface

Interface representing a Racks.

Methods

beginCreateOrUpdate(string, string, Rack, RacksCreateOrUpdateOptionalParams)

Create a new rack or update properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

beginCreateOrUpdateAndWait(string, string, Rack, RacksCreateOrUpdateOptionalParams)

Create a new rack or update properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

beginDelete(string, string, RacksDeleteOptionalParams)

Delete the provided rack. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

beginDeleteAndWait(string, string, RacksDeleteOptionalParams)

Delete the provided rack. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

beginUpdate(string, string, RacksUpdateOptionalParams)

Patch properties of the provided rack, or update the tags associated with the rack. Properties and tag updates can be done independently.

beginUpdateAndWait(string, string, RacksUpdateOptionalParams)

Patch properties of the provided rack, or update the tags associated with the rack. Properties and tag updates can be done independently.

get(string, string, RacksGetOptionalParams)

Get properties of the provided rack.

listByResourceGroup(string, RacksListByResourceGroupOptionalParams)

Get a list of racks in the provided resource group.

listBySubscription(RacksListBySubscriptionOptionalParams)

Get a list of racks in the provided subscription.

Method Details

beginCreateOrUpdate(string, string, Rack, RacksCreateOrUpdateOptionalParams)

Create a new rack or update properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

function beginCreateOrUpdate(resourceGroupName: string, rackName: string, rackParameters: Rack, options?: RacksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Rack>, Rack>>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

rackParameters
Rack

The request body.

options
RacksCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, Rack, RacksCreateOrUpdateOptionalParams)

Create a new rack or update properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

function beginCreateOrUpdateAndWait(resourceGroupName: string, rackName: string, rackParameters: Rack, options?: RacksCreateOrUpdateOptionalParams): Promise<Rack>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

rackParameters
Rack

The request body.

options
RacksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Rack>

beginDelete(string, string, RacksDeleteOptionalParams)

Delete the provided rack. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

function beginDelete(resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

options
RacksDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, RacksDeleteOptionalParams)

Delete the provided rack. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

function beginDeleteAndWait(resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

options
RacksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, RacksUpdateOptionalParams)

Patch properties of the provided rack, or update the tags associated with the rack. Properties and tag updates can be done independently.

function beginUpdate(resourceGroupName: string, rackName: string, options?: RacksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Rack>, Rack>>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

options
RacksUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, RacksUpdateOptionalParams)

Patch properties of the provided rack, or update the tags associated with the rack. Properties and tag updates can be done independently.

function beginUpdateAndWait(resourceGroupName: string, rackName: string, options?: RacksUpdateOptionalParams): Promise<Rack>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

options
RacksUpdateOptionalParams

The options parameters.

Returns

Promise<Rack>

get(string, string, RacksGetOptionalParams)

Get properties of the provided rack.

function get(resourceGroupName: string, rackName: string, options?: RacksGetOptionalParams): Promise<Rack>

Parameters

resourceGroupName

string

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

rackName

string

The name of the rack.

options
RacksGetOptionalParams

The options parameters.

Returns

Promise<Rack>

listByResourceGroup(string, RacksListByResourceGroupOptionalParams)

Get a list of racks in the provided resource group.

function listByResourceGroup(resourceGroupName: string, options?: RacksListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Rack, Rack[], PageSettings>

Parameters

resourceGroupName

string

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

options
RacksListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(RacksListBySubscriptionOptionalParams)

Get a list of racks in the provided subscription.

function listBySubscription(options?: RacksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Rack, Rack[], PageSettings>

Parameters

options
RacksListBySubscriptionOptionalParams

The options parameters.

Returns