az apim graphql resolver policy
Manage Azure API Management GraphQL API's Resolvers Policies.
Commands
Name | Description | Type | Status |
---|---|---|---|
az apim graphql resolver policy create |
Create or updates policy configuration for the GraphQL API Resolver level. |
Core | GA |
az apim graphql resolver policy delete |
Delete the policy configuration at the GraphQL Api Resolver. |
Core | GA |
az apim graphql resolver policy list |
Get the list of policy configuration at the GraphQL API Resolver level. |
Core | GA |
az apim graphql resolver policy show |
Get the policy configuration at the GraphQL API Resolver level. |
Core | GA |
az apim graphql resolver policy create
Create or updates policy configuration for the GraphQL API Resolver level.
az apim graphql resolver policy create --api-id
--resolver-id
--resource-group
--service-name
--value-path
[--policy-format]
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'
Required Parameters
API identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
Resolver identifier within a GraphQL API. Must be unique in the current API Management service instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the API Management service instance.
Contents of the Policy as defined by the format.
Optional Parameters
Format of the policyContent.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az apim graphql resolver policy delete
Delete the policy configuration at the GraphQL Api Resolver.
az apim graphql resolver policy delete --api-id
--resolver-id
--resource-group
--service-name
[--if-match]
[--yes]
Examples
Delete policy configuration.
az apim graphql resolver policy delete --service-name MyApim -g MyResourceGroup --api-id MyApi --resolver-id MyResolverId
Required Parameters
API identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
Resolver identifier within a GraphQL API. Must be unique in the current API Management service instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the API Management service instance.
Optional Parameters
ETag of the Entity.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az apim graphql resolver policy list
Get the list of policy configuration at the GraphQL API Resolver level.
az apim graphql resolver policy list --api-id
--resolver-id
--resource-group
--service-name
Examples
Get list of policy configuration.
az apim graphql resolver policy list --service-name MyApim -g MyResourceGroup --api-id MyApi --resolver-id MyResolverId
Required Parameters
API identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
Resolver identifier within a GraphQL API. Must be unique in the current API Management service instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the API Management service instance.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az apim graphql resolver policy show
Get the policy configuration at the GraphQL API Resolver level.
az apim graphql resolver policy show --api-id
--resolver-id
--resource-group
--service-name
Examples
Get policy configuration.
az apim graphql resolver policy show --service-name MyApim -g MyResourceGroup --api-id MyApi --resolver-id MyResolverId
Required Parameters
API identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
Resolver identifier within a GraphQL API. Must be unique in the current API Management service instance.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the API Management service instance.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI