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
Examples
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
--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.