Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer
Changes the cluster's callout policy.
You must have Cluster AllDatabasesAdmin permissions to run this command.
.alter
cluster
policy
callout
SerializedArrayOfPolicyObjects
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
SerializedArrayOfPolicyObjects | string |
✔️ | A serialized array of JSON policy objects. See callout policy for policy properties. |
Name | Type | Description |
---|---|---|
PolicyName | string |
Name of the policy. For cluster callout policy, this value is CalloutPolicy. |
EntityName | string |
Name of the entity for which the policy is set. For cluster callout policy, this value is an empty string. |
Policy | string |
JSON representation of the policy object. |
ChildEntities | string |
Child entities for which this policy is set. For cluster callout policy, this value is an empty string. |
EntityType | string |
Type of entity for which this policy is set. For cluster callout policy, this value is an empty string. |
Define permitted callouts for the cluster callout policy.
.alter cluster policy callout
```
[
{
"CalloutType": "sql",
"CalloutUriRegex": "sqlname\\.database\\.chinacloudapi\\.cn/?$",
"CanCall": true
}
]
```
Output
PolicyName | EntityName | Policy | ChildEntities | EntityType |
---|---|---|---|---|
CalloutPolicy | [{"CalloutType":"sql","CalloutUriRegex":"sqlname\\.database\\.chinacloudapi\\.cn/?$","CanCall": true}] |