CmdID

CmdID / az / az apim / az apim graphql / az apim graphql resolver / az apim graphql resolver policy

az apim graphql resolver policy create

Create or updates policy configuration for the GraphQL API Resolver level. Azure CLI reference

1 example 5 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a resolver policy.

az apim graphql resolver policy create --service-name MyApim -g MyResourceGroup --api-id MyApi --resolver-id MyResolverId --policy-format xml --value-path 'path to xml file'Identify
--service-nameThe name of the API Management service instance.
-gName of resource group.
--api-idAPI identifier.
--resolver-idResolver identifier within a GraphQL API.
--policy-formatFormat of the policyContent.
--value-pathContents of the Policy as defined by the format.

Options

5 in the Azure CLI reference
--api-idAPI identifier.
--policy-formatFormat of the policyContent.
--resolver-idResolver identifier within a GraphQL API.
--service-name, -nThe name of the API Management service instance.
--value-pathContents of the Policy as defined by the format.