Condividi tramite


AuthorizationAccessPolicyContractCollection Class

Definition

A class representing a collection of AuthorizationAccessPolicyContractResource and their operations. Each AuthorizationAccessPolicyContractResource in the collection will belong to the same instance of AuthorizationContractResource. To get an AuthorizationAccessPolicyContractCollection instance call the GetAuthorizationAccessPolicyContracts method from an instance of AuthorizationContractResource.

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

Constructors

AuthorizationAccessPolicyContractCollection()

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

Creates or updates Authorization Access Policy.

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

Creates or updates Authorization Access Policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationProviders/{authorizationProviderId}/authorizations/{authorizationId}/accessPolicies/{authorizationAccessPolicyId}
  • Operation Id: AuthorizationAccessPolicy_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: AuthorizationAccessPolicyContractResource
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}/authorizations/{authorizationId}/accessPolicies/{authorizationAccessPolicyId}
  • Operation Id: AuthorizationAccessPolicy_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: AuthorizationAccessPolicyContractResource
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}/authorizations/{authorizationId}/accessPolicies/{authorizationAccessPolicyId}
  • Operation Id: AuthorizationAccessPolicy_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: AuthorizationAccessPolicyContractResource
Get(String, CancellationToken)

Gets the details of the authorization access policy specified by its identifier.

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

Lists a collection of authorization access policy defined within a authorization.

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

Lists a collection of authorization access policy defined within a authorization.

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

Gets the details of the authorization access policy specified by its identifier.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AuthorizationAccessPolicyContractResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to