次の方法で共有


GraphQLApiResolverPolicy interface

GraphQLApiResolverPolicy を表すインターフェイス。

メソッド

createOrUpdate(string, string, string, string, string, PolicyContract, GraphQLApiResolverPolicyCreateOrUpdateOptionalParams)

GraphQL API リゾルバー レベルのポリシー構成を作成または更新します。

delete(string, string, string, string, string, string, GraphQLApiResolverPolicyDeleteOptionalParams)

GraphQL Api Resolver でポリシー構成を削除します。

get(string, string, string, string, string, GraphQLApiResolverPolicyGetOptionalParams)

GraphQL API リゾルバー レベルでポリシー構成を取得します。

getEntityTag(string, string, string, string, string, GraphQLApiResolverPolicyGetEntityTagOptionalParams)

識別子で指定されたGraphQL API リゾルバー ポリシーのエンティティ状態 (Etag) バージョンを取得します。

listByResolver(string, string, string, string, GraphQLApiResolverPolicyListByResolverOptionalParams)

GraphQL API リゾルバー レベルでポリシー構成の一覧を取得します。

メソッドの詳細

createOrUpdate(string, string, string, string, string, PolicyContract, GraphQLApiResolverPolicyCreateOrUpdateOptionalParams)

GraphQL API リゾルバー レベルのポリシー構成を作成または更新します。

function createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, resolverId: string, policyId: string, parameters: PolicyContract, options?: GraphQLApiResolverPolicyCreateOrUpdateOptionalParams): Promise<GraphQLApiResolverPolicyCreateOrUpdateResponse>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceName

string

API Management サービスの名前。

apiId

string

API リビジョン識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。 現在のリビジョン以外のリビジョンには、サフィックスとして ;rev=n があり、n はリビジョン番号です。

resolverId

string

GraphQL API 内のリゾルバー識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。

policyId

string

ポリシーの識別子。

parameters
PolicyContract

適用するポリシーの内容。

options
GraphQLApiResolverPolicyCreateOrUpdateOptionalParams

options パラメーター。

戻り値

delete(string, string, string, string, string, string, GraphQLApiResolverPolicyDeleteOptionalParams)

GraphQL Api Resolver でポリシー構成を削除します。

function delete(resourceGroupName: string, serviceName: string, apiId: string, resolverId: string, policyId: string, ifMatch: string, options?: GraphQLApiResolverPolicyDeleteOptionalParams): Promise<void>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceName

string

API Management サービスの名前。

apiId

string

API リビジョン識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。 現在のリビジョン以外のリビジョンには、サフィックスとして ;rev=n があり、n はリビジョン番号です。

resolverId

string

GraphQL API 内のリゾルバー識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。

policyId

string

ポリシーの識別子。

ifMatch

string

エンティティの ETag。 ETag は、GET 要求のヘッダー応答からの現在のエンティティ状態と一致する必要があります。または、無条件更新の場合は * にする必要があります。

options
GraphQLApiResolverPolicyDeleteOptionalParams

options パラメーター。

戻り値

Promise<void>

get(string, string, string, string, string, GraphQLApiResolverPolicyGetOptionalParams)

GraphQL API リゾルバー レベルでポリシー構成を取得します。

function get(resourceGroupName: string, serviceName: string, apiId: string, resolverId: string, policyId: string, options?: GraphQLApiResolverPolicyGetOptionalParams): Promise<GraphQLApiResolverPolicyGetResponse>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceName

string

API Management サービスの名前。

apiId

string

API リビジョン識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。 現在のリビジョン以外のリビジョンには、サフィックスとして ;rev=n があり、n はリビジョン番号です。

resolverId

string

GraphQL API 内のリゾルバー識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。

policyId

string

ポリシーの識別子。

options
GraphQLApiResolverPolicyGetOptionalParams

options パラメーター。

戻り値

getEntityTag(string, string, string, string, string, GraphQLApiResolverPolicyGetEntityTagOptionalParams)

識別子で指定されたGraphQL API リゾルバー ポリシーのエンティティ状態 (Etag) バージョンを取得します。

function getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, resolverId: string, policyId: string, options?: GraphQLApiResolverPolicyGetEntityTagOptionalParams): Promise<GraphQLApiResolverPolicyGetEntityTagHeaders>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceName

string

API Management サービスの名前。

apiId

string

API リビジョン識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。 現在のリビジョン以外のリビジョンには、サフィックスとして ;rev=n があり、n はリビジョン番号です。

resolverId

string

GraphQL API 内のリゾルバー識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。

policyId

string

ポリシーの識別子。

options
GraphQLApiResolverPolicyGetEntityTagOptionalParams

options パラメーター。

戻り値

listByResolver(string, string, string, string, GraphQLApiResolverPolicyListByResolverOptionalParams)

GraphQL API リゾルバー レベルでポリシー構成の一覧を取得します。

function listByResolver(resourceGroupName: string, serviceName: string, apiId: string, resolverId: string, options?: GraphQLApiResolverPolicyListByResolverOptionalParams): PagedAsyncIterableIterator<PolicyContract, PolicyContract[], PageSettings>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceName

string

API Management サービスの名前。

apiId

string

API リビジョン識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。 現在のリビジョン以外のリビジョンには、サフィックスとして ;rev=n があり、n はリビジョン番号です。

resolverId

string

GraphQL API 内のリゾルバー識別子。 現在のAPI Management サービス インスタンスで一意である必要があります。

options
GraphQLApiResolverPolicyListByResolverOptionalParams

options パラメーター。

戻り値