AuthorizationProviderContractCollection Class

Definition

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

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

Constructors

AuthorizationProviderContractCollection()

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

Creates or updates authorization provider.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationProviders/{authorizationProviderId}
  • Operation Id: AuthorizationProvider_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: AuthorizationProviderContractResource
CreateOrUpdateAsync(WaitUntil, String, AuthorizationProviderContractData, Nullable<ETag>, CancellationToken)

Creates or updates authorization provider.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

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

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

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

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

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

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

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

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AuthorizationProviderContractResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to