共用方式為


MarketplaceApprovalRequestCollection Class

Definition

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

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

Constructors

MarketplaceApprovalRequestCollection()

Initializes a new instance of the MarketplaceApprovalRequestCollection 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, String, MarketplaceApprovalRequestData, CancellationToken)

Create approval request

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_CreateApprovalRequest
CreateOrUpdateAsync(WaitUntil, String, MarketplaceApprovalRequestData, CancellationToken)

Create approval request

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_CreateApprovalRequest
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_GetRequestApproval
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_GetRequestApproval
Get(String, CancellationToken)

Get open request approval details

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_GetRequestApproval
GetAll(CancellationToken)

Get all open approval requests of current user

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals
  • Operation Id: PrivateStore_GetApprovalRequestsList
GetAllAsync(CancellationToken)

Get all open approval requests of current user

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

Get open request approval details

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_GetRequestApproval
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_GetRequestApproval
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/requestApprovals/{requestApprovalId}
  • Operation Id: PrivateStore_GetRequestApproval
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<MarketplaceApprovalRequestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MarketplaceApprovalRequestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to