NetworkRacks interface

Interface representing a NetworkRacks.

Methods

beginCreate(string, string, NetworkRack, NetworkRacksCreateOptionalParams)

Create Network Rack resource.

beginCreateAndWait(string, string, NetworkRack, NetworkRacksCreateOptionalParams)

Create Network Rack resource.

beginDelete(string, string, NetworkRacksDeleteOptionalParams)

Delete Network Rack resource.

beginDeleteAndWait(string, string, NetworkRacksDeleteOptionalParams)

Delete Network Rack resource.

beginUpdate(string, string, TagsUpdate, NetworkRacksUpdateOptionalParams)

Update certain properties of the Network Rack resource.

beginUpdateAndWait(string, string, TagsUpdate, NetworkRacksUpdateOptionalParams)

Update certain properties of the Network Rack resource.

get(string, string, NetworkRacksGetOptionalParams)

Get Network Rack resource details.

listByResourceGroup(string, NetworkRacksListByResourceGroupOptionalParams)

List all Network Rack resources in the given resource group.

listBySubscription(NetworkRacksListBySubscriptionOptionalParams)

List all Network Rack resources in the given subscription

Method Details

beginCreate(string, string, NetworkRack, NetworkRacksCreateOptionalParams)

Create Network Rack resource.

function beginCreate(resourceGroupName: string, networkRackName: string, body: NetworkRack, options?: NetworkRacksCreateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkRack>, NetworkRack>>

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

body
NetworkRack

Request payload.

options
NetworkRacksCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, NetworkRack, NetworkRacksCreateOptionalParams)

Create Network Rack resource.

function beginCreateAndWait(resourceGroupName: string, networkRackName: string, body: NetworkRack, options?: NetworkRacksCreateOptionalParams): Promise<NetworkRack>

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

body
NetworkRack

Request payload.

options
NetworkRacksCreateOptionalParams

The options parameters.

Returns

Promise<NetworkRack>

beginDelete(string, string, NetworkRacksDeleteOptionalParams)

Delete Network Rack resource.

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

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

options
NetworkRacksDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, NetworkRacksDeleteOptionalParams)

Delete Network Rack resource.

function beginDeleteAndWait(resourceGroupName: string, networkRackName: string, options?: NetworkRacksDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

options
NetworkRacksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, TagsUpdate, NetworkRacksUpdateOptionalParams)

Update certain properties of the Network Rack resource.

function beginUpdate(resourceGroupName: string, networkRackName: string, body: TagsUpdate, options?: NetworkRacksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkRack>, NetworkRack>>

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

body
TagsUpdate

Network Rack properties to update.

options
NetworkRacksUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, TagsUpdate, NetworkRacksUpdateOptionalParams)

Update certain properties of the Network Rack resource.

function beginUpdateAndWait(resourceGroupName: string, networkRackName: string, body: TagsUpdate, options?: NetworkRacksUpdateOptionalParams): Promise<NetworkRack>

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

body
TagsUpdate

Network Rack properties to update.

options
NetworkRacksUpdateOptionalParams

The options parameters.

Returns

Promise<NetworkRack>

get(string, string, NetworkRacksGetOptionalParams)

Get Network Rack resource details.

function get(resourceGroupName: string, networkRackName: string, options?: NetworkRacksGetOptionalParams): Promise<NetworkRack>

Parameters

resourceGroupName

string

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

networkRackName

string

Name of the Network Rack.

options
NetworkRacksGetOptionalParams

The options parameters.

Returns

Promise<NetworkRack>

listByResourceGroup(string, NetworkRacksListByResourceGroupOptionalParams)

List all Network Rack resources in the given resource group.

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

Parameters

resourceGroupName

string

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

options
NetworkRacksListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(NetworkRacksListBySubscriptionOptionalParams)

List all Network Rack resources in the given subscription

function listBySubscription(options?: NetworkRacksListBySubscriptionOptionalParams): PagedAsyncIterableIterator<NetworkRack, NetworkRack[], PageSettings>

Parameters

options
NetworkRacksListBySubscriptionOptionalParams

The options parameters.

Returns