GalleryInVMAccessControlProfilesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a gallery inVMAccessControlProfile.

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

Parameters

operations
IGalleryInVMAccessControlProfilesOperations

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.

galleryInVMAccessControlProfile
GalleryInVMAccessControlProfile

Parameters supplied to the create or update gallery inVMAccessControlProfile operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to