Share via


ResolverContractCollection Class

Definition

A class representing a collection of ResolverContractResource and their operations. Each ResolverContractResource in the collection will belong to the same instance of ApiResource. To get a ResolverContractCollection instance call the GetResolverContracts method from an instance of ApiResource.

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

Constructors

ResolverContractCollection()

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

Creates a new resolver in the GraphQL API or updates an existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
CreateOrUpdateAsync(WaitUntil, String, ResolverContractData, Nullable<ETag>, CancellationToken)

Creates a new resolver in the GraphQL API or updates an existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
Get(String, CancellationToken)

Gets the details of the GraphQL API Resolver specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists a collection of the resolvers for the specified GraphQL API.

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

Lists a collection of the resolvers for the specified GraphQL API.

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

Gets the details of the GraphQL API Resolver specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/resolvers/{resolverId}
  • Operation Id: GraphQLApiResolver_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ResolverContractResource
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<ResolverContractResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResolverContractResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to