共用方式為


ApiManagementAuthorizationServerCollection Class

Definition

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

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

Constructors

ApiManagementAuthorizationServerCollection()

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

Creates new authorization server or updates an existing authorization server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}
  • Operation Id: AuthorizationServer_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementAuthorizationServerResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementAuthorizationServerData, Nullable<ETag>, CancellationToken)

Creates new authorization server or updates an existing authorization server.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of the authorization server specified by its identifier.

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

Lists a collection of authorization servers defined within a service instance.

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

Lists a collection of authorization servers defined within a service instance.

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

Gets the details of the authorization server specified by its identifier.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementAuthorizationServerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to