Share via


MarketplaceExtensions.GetPrivateStores(TenantResource) Method

Definition

Gets a collection of PrivateStoreResources in the TenantResource. MockingTo mock this method, please mock GetPrivateStores() instead.

public static Azure.ResourceManager.Marketplace.PrivateStoreCollection GetPrivateStores (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetPrivateStores : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Marketplace.PrivateStoreCollection
<Extension()>
Public Function GetPrivateStores (tenantResource As TenantResource) As PrivateStoreCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of PrivateStoreResources and their operations over a PrivateStoreResource.

Exceptions

tenantResource is null.

Applies to