GalleriesOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAsync(IGalleriesOperations, String, String, String, String, CancellationToken) |
Retrieves information about a Shared Image Gallery. |
GetAsync(IGalleriesOperations, String, String, String, CancellationToken) |
Retrieves information about a Shared Image Gallery. |
GetAsync(IGalleriesOperations, String, String, CancellationToken) |
Retrieves information about a Shared Image Gallery. |
GetAsync(IGalleriesOperations, String, String) |
Retrieves information about a Shared Image Gallery. |
GetAsync(IGalleriesOperations, String, String, String, String, CancellationToken)
Retrieves information about a Shared Image Gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, string select = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, Optional select As String = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Gallery)
Parameters
- operations
- IGalleriesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery.
- select
- String
The select expression to apply on the operation. Possible values include: 'Permissions'
- expand
- String
The expand query option to apply on the operation. Possible values include: 'SharingProfile/Groups'
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GetAsync(IGalleriesOperations, String, String, String, CancellationToken)
Retrieves information about a Shared Image Gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, string select, System.Threading.CancellationToken cancellationToken);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, select As String, cancellationToken As CancellationToken) As Task(Of Gallery)
Parameters
- operations
- IGalleriesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery.
- select
- String
The select expression to apply on the operation. Possible values include: 'Permissions'
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GetAsync(IGalleriesOperations, String, String, CancellationToken)
Retrieves information about a Shared Image Gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String, cancellationToken As CancellationToken) As Task(Of Gallery)
Parameters
- operations
- IGalleriesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GetAsync(IGalleriesOperations, String, String)
Retrieves information about a Shared Image Gallery.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery> GetAsync (this Microsoft.Azure.Management.Compute.IGalleriesOperations operations, string resourceGroupName, string galleryName);
static member GetAsync : Microsoft.Azure.Management.Compute.IGalleriesOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Gallery>
<Extension()>
Public Function GetAsync (operations As IGalleriesOperations, resourceGroupName As String, galleryName As String) As Task(Of Gallery)
Parameters
- operations
- IGalleriesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery.
Returns
Applies to
Azure SDK for .NET