GalleryResource.GetGalleryInVmAccessControlProfileAsync Method

Definition

Retrieves information about a gallery inVMAccessControlProfile.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileResource>> GetGalleryInVmAccessControlProfileAsync(string inVMAccessControlProfileName, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileResource>> GetGalleryInVmAccessControlProfileAsync(string inVmAccessControlProfileName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGalleryInVmAccessControlProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileResource>>
override this.GetGalleryInVmAccessControlProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileResource>>
abstract member GetGalleryInVmAccessControlProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileResource>>
override this.GetGalleryInVmAccessControlProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileResource>>
Public Overridable Function GetGalleryInVmAccessControlProfileAsync (inVMAccessControlProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GalleryInVmAccessControlProfileResource))
Public Overridable Function GetGalleryInVmAccessControlProfileAsync (inVmAccessControlProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GalleryInVmAccessControlProfileResource))

Parameters

inVMAccessControlProfileNameinVmAccessControlProfileName
String

The name of the gallery inVMAccessControlProfile to be retrieved.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

inVMAccessControlProfileName is null.

inVMAccessControlProfileName is an empty string, and was expected to be non-empty.

Applies to