共用方式為


ApiManagementBackendCollection Class

Definition

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

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

Constructors

ApiManagementBackendCollection()

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

Creates or Updates a backend.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendId}
  • Operation Id: Backend_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementBackendResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementBackendData, Nullable<ETag>, CancellationToken)

Creates or Updates a backend.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of the backend specified by its identifier.

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

Lists a collection of backends in the specified service instance.

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

Lists a collection of backends in the specified service instance.

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

Gets the details of the backend specified by its identifier.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementBackendResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to