GalleryInVmAccessControlProfileResource.GetGalleryInVmAccessControlProfileVersion Method

Definition

Retrieves information about a gallery inVMAccessControlProfile version.

public virtual Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionResource> GetGalleryInVmAccessControlProfileVersion(string inVMAccessControlProfileVersionName, System.Threading.CancellationToken cancellationToken = default);
public virtual Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionResource> GetGalleryInVmAccessControlProfileVersion(string inVmAccessControlProfileVersionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGalleryInVmAccessControlProfileVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionResource>
override this.GetGalleryInVmAccessControlProfileVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionResource>
abstract member GetGalleryInVmAccessControlProfileVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionResource>
override this.GetGalleryInVmAccessControlProfileVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionResource>
Public Overridable Function GetGalleryInVmAccessControlProfileVersion (inVMAccessControlProfileVersionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GalleryInVmAccessControlProfileVersionResource)
Public Overridable Function GetGalleryInVmAccessControlProfileVersion (inVmAccessControlProfileVersionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GalleryInVmAccessControlProfileVersionResource)

Parameters

inVMAccessControlProfileVersionNameinVmAccessControlProfileVersionName
String

The name of the gallery inVMAccessControlProfile version to be retrieved.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

inVMAccessControlProfileVersionName is null.

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

Applies to