Share via


ApiManagementPortalRevisionCollection Class

Definition

A class representing a collection of ApiManagementPortalRevisionResource and their operations. Each ApiManagementPortalRevisionResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementPortalRevisionCollection instance call the GetApiManagementPortalRevisions method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementPortalRevisionCollection()

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

Creates a new developer portal's revision by running the portal's publishing. The isCurrent property indicates if the revision is publicly accessible.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementPortalRevisionData, CancellationToken)

Creates a new developer portal's revision by running the portal's publishing. The isCurrent property indicates if the revision is publicly accessible.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
Get(String, CancellationToken)

Gets the developer portal's revision specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists developer portal's revisions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions
  • Operation Id: PortalRevision_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists developer portal's revisions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions
  • Operation Id: PortalRevision_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
GetAsync(String, CancellationToken)

Gets the developer portal's revision specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}
  • Operation Id: PortalRevision_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPortalRevisionResource
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<ApiManagementPortalRevisionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementPortalRevisionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to