GalleryInVMAccessControlProfileVersionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a gallery inVMAccessControlProfile version.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion> CreateOrUpdateAsync(this Microsoft.Azure.Management.Compute.IGalleryInVMAccessControlProfileVersionsOperations operations, string resourceGroupName, string galleryName, string inVMAccessControlProfileName, string inVMAccessControlProfileVersionName, Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion galleryInVMAccessControlProfileVersion, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.IGalleryInVMAccessControlProfileVersionsOperations * string * string * string * string * Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGalleryInVMAccessControlProfileVersionsOperations, resourceGroupName As String, galleryName As String, inVMAccessControlProfileName As String, inVMAccessControlProfileVersionName As String, galleryInVMAccessControlProfileVersion As GalleryInVMAccessControlProfileVersion, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GalleryInVMAccessControlProfileVersion)

Parameters

operations
IGalleryInVMAccessControlProfileVersionsOperations

The operations group for this extension method.

resourceGroupName
String

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

galleryName
String

The name of the Shared Image Gallery.

inVMAccessControlProfileName
String

The name of the gallery inVMAccessControlProfile to be retrieved.

inVMAccessControlProfileVersionName
String

The name of the gallery inVMAccessControlProfile version to be retrieved.

galleryInVMAccessControlProfileVersion
GalleryInVMAccessControlProfileVersion

Parameters supplied to the create or update gallery inVMAccessControlProfile version operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to