Udostępnij za pośrednictwem


PrivateStoreCollection.GetIfExistsAsync(Guid, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Marketplace.PrivateStoreResource>> GetIfExistsAsync (Guid privateStoreId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Marketplace.PrivateStoreResource>>
override this.GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Marketplace.PrivateStoreResource>>
Public Overridable Function GetIfExistsAsync (privateStoreId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of PrivateStoreResource))

Parameters

privateStoreId
Guid

The store ID - must use the tenant ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to