LargeInstanceExtensions.GetLargeStorageInstanceAsync Method

Definition

Gets an Azure Large Storage instance for the specified subscription, resource group, and instance name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}
  • Operation Id: AzureLargeStorageInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeStorageInstanceResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LargeInstance.LargeStorageInstanceResource>> GetLargeStorageInstanceAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string azureLargeStorageInstanceName, System.Threading.CancellationToken cancellationToken = default);
static member GetLargeStorageInstanceAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LargeInstance.LargeStorageInstanceResource>>
<Extension()>
Public Function GetLargeStorageInstanceAsync (resourceGroupResource As ResourceGroupResource, azureLargeStorageInstanceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LargeStorageInstanceResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

azureLargeStorageInstanceName
String

Name of the AzureLargeStorageInstance.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or azureLargeStorageInstanceName is null.

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

Applies to