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


ApiCenterDeploymentCollection Class

Definition

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

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

Constructors

ApiCenterDeploymentCollection()

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

Creates new or updates existing API deployment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterDeploymentResource
CreateOrUpdateAsync(WaitUntil, String, ApiCenterDeploymentData, CancellationToken)

Creates new or updates existing API deployment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterDeploymentResource
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}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterDeploymentResource
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}/deployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-03-01
  • Resource: ApiCenterDeploymentResource
Get(String, CancellationToken)

Returns details of the API deployment.

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

Returns a collection of API deployments.

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

Returns a collection of API deployments.

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

Returns details of the API deployment.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiCenterDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to