RacksOperations interface

Interface representing a Racks operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

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.

delete

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

get

Get properties of the provided rack.

listByResourceGroup

Get a list of racks in the provided resource group.

listBySubscription

Get a list of racks in the provided subscription.

update

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

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

(resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams) => Promise<OperationStatusResult>

Property Value

(resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams) => Promise<OperationStatusResult>

beginUpdate

Warning

This API is now deprecated.

use update instead

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

Property Value

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

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

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

Property Value

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

createOrUpdate

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.

createOrUpdate: (resourceGroupName: string, rackName: string, rackParameters: Rack, options?: RacksCreateOrUpdateOptionalParams) => PollerLike<OperationState<Rack>, Rack>

Property Value

(resourceGroupName: string, rackName: string, rackParameters: Rack, options?: RacksCreateOrUpdateOptionalParams) => PollerLike<OperationState<Rack>, Rack>

delete

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

delete: (resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>

Property Value

(resourceGroupName: string, rackName: string, options?: RacksDeleteOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>

get

Get properties of the provided rack.

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

Property Value

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

listByResourceGroup

Get a list of racks in the provided resource group.

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

Property Value

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

listBySubscription

Get a list of racks in the provided subscription.

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

Property Value

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

update

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

update: (resourceGroupName: string, rackName: string, options?: RacksUpdateOptionalParams) => PollerLike<OperationState<Rack>, Rack>

Property Value

(resourceGroupName: string, rackName: string, options?: RacksUpdateOptionalParams) => PollerLike<OperationState<Rack>, Rack>