grant_permissions
Creates, updates, deletes, gets or lists a grant_permissions resource.
Overview
| Name | grant_permissions |
| Type | Resource |
| Id | azure.messaging_webpubsubservice.grant_permissions |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
grant_permission | exec | permission, connection_id, hub, endpoint | targetName | Grant permission to the connection. Grant permission to the connection. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
connection_id | string | Target connection Id. Required. |
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
hub | string | |
permission | string | The permission: current supported actions are joinLeaveGroup and sendToGroup. Known values are: "sendToGroup" and "joinLeaveGroup". Required. |
targetName | string | The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. Default value is None. |
Lifecycle Methods
- grant_permission
Grant permission to the connection. Grant permission to the connection.
EXEC azure.messaging_webpubsubservice.grant_permissions.grant_permission
@permission='{{ permission }}' --required,
@connection_id='{{ connection_id }}' --required,
@hub='{{ hub }}' --required,
@endpoint='{{ endpoint }}' --required,
@targetName='{{ targetName }}'
;