共用方式為


PrivateStoreCollection Class

Definition

A class representing a collection of PrivateStoreResource and their operations. Each PrivateStoreResource in the collection will belong to the same instance of TenantResource. To get a PrivateStoreCollection instance call the GetPrivateStores method from an instance of TenantResource.

public class PrivateStoreCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Marketplace.PrivateStoreResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Marketplace.PrivateStoreResource>
type PrivateStoreCollection = class
    inherit ArmCollection
    interface seq<PrivateStoreResource>
    interface IEnumerable
    interface IAsyncEnumerable<PrivateStoreResource>
Public Class PrivateStoreCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of PrivateStoreResource), IEnumerable(Of PrivateStoreResource)
Inheritance
PrivateStoreCollection
Implements

Constructors

PrivateStoreCollection()

Initializes a new instance of the PrivateStoreCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, Guid, PrivateStoreData, CancellationToken)

Changes private store properties

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, Guid, PrivateStoreData, CancellationToken)

Changes private store properties

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_CreateOrUpdate
Exists(Guid, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
ExistsAsync(Guid, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
Get(Guid, CancellationToken)

Get information about the private store

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
GetAll(String, CancellationToken)

Gets the list of available private stores.

  • Request Path: /providers/Microsoft.Marketplace/privateStores
  • Operation Id: PrivateStore_List
GetAllAsync(String, CancellationToken)

Gets the list of available private stores.

  • Request Path: /providers/Microsoft.Marketplace/privateStores
  • Operation Id: PrivateStore_List
GetAsync(Guid, CancellationToken)

Get information about the private store

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
GetIfExists(Guid, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
GetIfExistsAsync(Guid, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
  • Operation Id: PrivateStore_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<PrivateStoreResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PrivateStoreResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to