다음을 통해 공유


MarketplaceExtensions.GetPrivateStoreAsync Method

Definition

Get information about the private store

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Marketplace.PrivateStoreResource>> GetPrivateStoreAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Guid privateStoreId, System.Threading.CancellationToken cancellationToken = default);
static member GetPrivateStoreAsync : Azure.ResourceManager.Resources.TenantResource * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Marketplace.PrivateStoreResource>>
<Extension()>
Public Function GetPrivateStoreAsync (tenantResource As TenantResource, privateStoreId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateStoreResource))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

privateStoreId
Guid

The store ID - must use the tenant ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to