Delen via


ServiceWorkspaceApiReleaseCollection Class

Definition

A class representing a collection of ServiceWorkspaceApiReleaseResource and their operations. Each ServiceWorkspaceApiReleaseResource in the collection will belong to the same instance of ServiceWorkspaceApiResource. To get a ServiceWorkspaceApiReleaseCollection instance call the GetServiceWorkspaceApiReleases method from an instance of ServiceWorkspaceApiResource.

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

Constructors

ServiceWorkspaceApiReleaseCollection()

Initializes a new instance of the ServiceWorkspaceApiReleaseCollection 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, ApiReleaseData, Nullable<ETag>, CancellationToken)

Creates a new Release for the API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
CreateOrUpdateAsync(WaitUntil, String, ApiReleaseData, Nullable<ETag>, CancellationToken)

Creates a new Release for the API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
Get(String, CancellationToken)

Returns the details of an API release.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all releases of an API. An API release is created when making an API Revision current. Releases are also used to rollback to previous revisions. Results will be paged and can be constrained by the $top and $skip parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases
  • Operation Id: WorkspaceApiRelease_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists all releases of an API. An API release is created when making an API Revision current. Releases are also used to rollback to previous revisions. Results will be paged and can be constrained by the $top and $skip parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases
  • Operation Id: WorkspaceApiRelease_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
GetAsync(String, CancellationToken)

Returns the details of an API release.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/releases/{releaseId}
  • Operation Id: WorkspaceApiRelease_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceApiReleaseResource
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<ServiceWorkspaceApiReleaseResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceApiReleaseResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to