Поделиться через


ApiCenterApiVersionCollection Class

Definition

A class representing a collection of ApiCenterApiVersionResource and their operations. Each ApiCenterApiVersionResource in the collection will belong to the same instance of ApiCenterApiResource. To get an ApiCenterApiVersionCollection instance call the GetApiCenterApiVersions method from an instance of ApiCenterApiResource.

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

Constructors

ApiCenterApiVersionCollection()

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

Creates new or updates existing API version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
CreateOrUpdateAsync(WaitUntil, String, ApiCenterApiVersionData, CancellationToken)

Creates new or updates existing API version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
Get(String, CancellationToken)

Returns details of the API version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
GetAll(String, CancellationToken)

Returns a collection of API versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions
  • Operation Id: ApiVersions_List
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
GetAllAsync(String, CancellationToken)

Returns a collection of API versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions
  • Operation Id: ApiVersions_List
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
GetAsync(String, CancellationToken)

Returns details of the API version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}
  • Operation Id: ApiVersions_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterApiVersionResource
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<ApiCenterApiVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiCenterApiVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to