scope_access_review_schedule_definitions
Creates, updates, deletes, gets or lists a scope_access_review_schedule_definitions
resource.
Overview
Name | scope_access_review_schedule_definitions |
Type | Resource |
Id | azure.authorization.scope_access_review_schedule_definitions |
Fields
The following fields are returned by SELECT
queries:
- get_by_id
- list
Describe the result of a successful operation.
Name | Datatype | Description |
---|---|---|
id | string | The access review schedule definition id. |
name | string | The access review schedule definition unique id. |
properties | object | Access Review properties. |
type | string | The resource type. |
Describe the result of a successful operation.
Name | Datatype | Description |
---|---|---|
id | string | The access review schedule definition id. |
name | string | The access review schedule definition unique id. |
properties | object | Access Review properties. |
type | string | The resource type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_by_id | select | scope , scheduleDefinitionId | Get single access review definition | |
list | select | scope | $filter | Get access review schedule definitions |
delete_by_id | delete | scope , scheduleDefinitionId | Delete access review schedule definition | |
stop | exec | scope , scheduleDefinitionId | Stop access review definition |
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 |
---|---|---|
scheduleDefinitionId | string | The id of the access review schedule definition. |
scope | string | The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' |
$filter | string | The filter to apply on the operation. Other than standard filters, one custom filter option is supported : 'assignedToMeToReview()'. When one specified $filter=assignedToMeToReview(), only items that are assigned to the calling user to review are returned |
SELECT
examples
- get_by_id
- list
Get single access review definition
SELECT
id,
name,
properties,
type
FROM azure.authorization.scope_access_review_schedule_definitions
WHERE scope = '{{ scope }}' -- required
AND scheduleDefinitionId = '{{ scheduleDefinitionId }}' -- required
;
Get access review schedule definitions
SELECT
id,
name,
properties,
type
FROM azure.authorization.scope_access_review_schedule_definitions
WHERE scope = '{{ scope }}' -- required
AND $filter = '{{ $filter }}'
;
DELETE
examples
- delete_by_id
Delete access review schedule definition
DELETE FROM azure.authorization.scope_access_review_schedule_definitions
WHERE scope = '{{ scope }}' --required
AND scheduleDefinitionId = '{{ scheduleDefinitionId }}' --required
;
Lifecycle Methods
- stop
Stop access review definition
EXEC azure.authorization.scope_access_review_schedule_definitions.stop
@scope='{{ scope }}' --required,
@scheduleDefinitionId='{{ scheduleDefinitionId }}' --required
;