Language

InterconnectBlocksOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an Interconnect Block. When updating an Interconnect Block, only tags and sku.capacity may be modified.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.InterconnectBlock> CreateOrUpdateAsync(this Microsoft.Azure.Management.Compute.IInterconnectBlocksOperations operations, string resourceGroupName, string interconnectBlockName, Microsoft.Azure.Management.Compute.Models.InterconnectBlock resource, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.IInterconnectBlocksOperations * string * string * Microsoft.Azure.Management.Compute.Models.InterconnectBlock * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.InterconnectBlock>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IInterconnectBlocksOperations, resourceGroupName As String, interconnectBlockName As String, resource As InterconnectBlock, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InterconnectBlock)

Parameters

operations
IInterconnectBlocksOperations

The operations group for this extension method.

resourceGroupName
String

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

interconnectBlockName
String

The name of the Interconnect Block.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to