Share via


MarketplaceExtensions.GetPrivateStore Method

Definition

Get information about the private store

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