Skip to main content

scope_access_review_schedule_definitions

Creates, updates, deletes, gets or lists a scope_access_review_schedule_definitions resource.

Overview

Namescope_access_review_schedule_definitions
TypeResource
Idazure.authorization.scope_access_review_schedule_definitions

Fields

The following fields are returned by SELECT queries:

Describe the result of a successful operation.

NameDatatypeDescription
idstringThe access review schedule definition id.
namestringThe access review schedule definition unique id.
propertiesobjectAccess Review properties.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_idselectscope, scheduleDefinitionIdGet single access review definition
listselectscope$filterGet access review schedule definitions
delete_by_iddeletescope, scheduleDefinitionIdDelete access review schedule definition
stopexecscope, scheduleDefinitionIdStop 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.

NameDatatypeDescription
scheduleDefinitionIdstringThe id of the access review schedule definition.
scopestringThe 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}'
$filterstringThe 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 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
;

DELETE examples

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 access review definition

EXEC azure.authorization.scope_access_review_schedule_definitions.stop 
@scope='{{ scope }}' --required,
@scheduleDefinitionId='{{ scheduleDefinitionId }}' --required
;