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

Name Description
MarketplaceAdminApprovalRequestCollection()

Initializes a new instance of MarketplaceAdminApprovalRequestCollection for mocking.

Properties

Name Description
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

Name Description
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. : AdminRequestApprovalsResources_UpdateAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
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. : AdminRequestApprovalsResources_UpdateAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}.
  • Operation Id. : AdminRequestApprovalsResources_GetAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}.
  • Operation Id. : AdminRequestApprovalsResources_GetAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
Get(String, String, CancellationToken)

Get open approval requests

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}.
  • Operation Id. : AdminRequestApprovalsResources_GetAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
GetAll(CancellationToken)

Get list of admin request approvals

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals.
  • Operation Id. : AdminRequestApprovalsResources_AdminRequestApprovalsList.
  • Default Api Version. : 2025-01-01.
GetAllAsync(CancellationToken)

Get list of admin request approvals

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals.
  • Operation Id. : AdminRequestApprovalsResources_AdminRequestApprovalsList.
  • Default Api Version. : 2025-01-01.
GetAsync(String, String, CancellationToken)

Get open approval requests

  • Request Path. : /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/adminRequestApprovals/{adminRequestApprovalId}.
  • Operation Id. : AdminRequestApprovalsResources_GetAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
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. : AdminRequestApprovalsResources_GetAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
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. : AdminRequestApprovalsResources_GetAdminRequestApproval.
  • Default Api Version. : 2025-01-01.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
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.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to