共用方式為


MarketplaceAdminApprovalRequestCollection Class

Definition

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

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

Constructors

MarketplaceAdminApprovalRequestCollection()

Initializes a new instance of the MarketplaceAdminApprovalRequestCollection 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, MarketplaceAdminApprovalRequestData, CancellationToken)

Update the admin action, weather the request is approved or rejected and the approved plans

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_UpdateAdminRequestApproval
CreateOrUpdateAsync(WaitUntil, String, MarketplaceAdminApprovalRequestData, CancellationToken)

Update the admin action, weather the request is approved or rejected and the approved plans

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_UpdateAdminRequestApproval
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
Get(String, String, CancellationToken)

Get open approval requests

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
GetAll(CancellationToken)

Get list of admin request approvals

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

Get list of admin request approvals

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

Get open approval requests

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}
  • Operation Id: PrivateStore_GetAdminRequestApproval
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<MarketplaceAdminApprovalRequestResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MarketplaceAdminApprovalRequestResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to