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.
Bicep resource definition
The roleEligibilityScheduleRequests resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Authorization/roleEligibilityScheduleRequests resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Authorization/roleEligibilityScheduleRequests@2020-10-01-preview' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
condition: 'string'
conditionVersion: 'string'
justification: 'string'
principalId: 'string'
requestType: 'string'
roleDefinitionId: 'string'
scheduleInfo: {
expiration: {
duration: 'string'
endDateTime: 'string'
type: 'string'
}
startDateTime: 'string'
}
targetRoleEligibilityScheduleId: 'string'
targetRoleEligibilityScheduleInstanceId: 'string'
ticketInfo: {
ticketNumber: 'string'
ticketSystem: 'string'
}
}
}
Property Values
Microsoft.Authorization/roleEligibilityScheduleRequests
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | Role eligibility schedule request properties. | RoleEligibilityScheduleRequestProperties |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
RoleEligibilityScheduleRequestProperties
Name | Description | Value |
---|---|---|
condition | The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' | string |
conditionVersion | Version of the condition. Currently accepted value is '2.0' | string |
justification | Justification for the role eligibility | string |
principalId | The principal ID. | string (required) |
requestType | The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc | 'AdminAssign' 'AdminExtend' 'AdminRemove' 'AdminRenew' 'AdminUpdate' 'SelfActivate' 'SelfDeactivate' 'SelfExtend' 'SelfRenew' (required) |
roleDefinitionId | The role definition ID. | string (required) |
scheduleInfo | Schedule info of the role eligibility schedule | RoleEligibilityScheduleRequestPropertiesScheduleInfo |
targetRoleEligibilityScheduleId | The resultant role eligibility schedule id or the role eligibility schedule id being updated | string |
targetRoleEligibilityScheduleInstanceId | The role eligibility schedule instance id being updated | string |
ticketInfo | Ticket Info of the role eligibility | RoleEligibilityScheduleRequestPropertiesTicketInfo |
RoleEligibilityScheduleRequestPropertiesScheduleInfo
Name | Description | Value |
---|---|---|
expiration | Expiration of the role eligibility schedule | RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration |
startDateTime | Start DateTime of the role eligibility schedule. | string |
RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration
Name | Description | Value |
---|---|---|
duration | Duration of the role eligibility schedule in TimeSpan. | string |
endDateTime | End DateTime of the role eligibility schedule. | string |
type | Type of the role eligibility schedule expiration | 'AfterDateTime' 'AfterDuration' 'NoExpiration' |
RoleEligibilityScheduleRequestPropertiesTicketInfo
Name | Description | Value |
---|---|---|
ticketNumber | Ticket number for the role eligibility | string |
ticketSystem | Ticket system name for the role eligibility | string |
ARM template resource definition
The roleEligibilityScheduleRequests resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Authorization/roleEligibilityScheduleRequests resource, add the following JSON to your template.
{
"type": "Microsoft.Authorization/roleEligibilityScheduleRequests",
"apiVersion": "2020-10-01-preview",
"name": "string",
"properties": {
"condition": "string",
"conditionVersion": "string",
"justification": "string",
"principalId": "string",
"requestType": "string",
"roleDefinitionId": "string",
"scheduleInfo": {
"expiration": {
"duration": "string",
"endDateTime": "string",
"type": "string"
},
"startDateTime": "string"
},
"targetRoleEligibilityScheduleId": "string",
"targetRoleEligibilityScheduleInstanceId": "string",
"ticketInfo": {
"ticketNumber": "string",
"ticketSystem": "string"
}
}
}
Property Values
Microsoft.Authorization/roleEligibilityScheduleRequests
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-10-01-preview' |
name | The resource name | string (required) |
properties | Role eligibility schedule request properties. | RoleEligibilityScheduleRequestProperties |
type | The resource type | 'Microsoft.Authorization/roleEligibilityScheduleRequests' |
RoleEligibilityScheduleRequestProperties
Name | Description | Value |
---|---|---|
condition | The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' | string |
conditionVersion | Version of the condition. Currently accepted value is '2.0' | string |
justification | Justification for the role eligibility | string |
principalId | The principal ID. | string (required) |
requestType | The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc | 'AdminAssign' 'AdminExtend' 'AdminRemove' 'AdminRenew' 'AdminUpdate' 'SelfActivate' 'SelfDeactivate' 'SelfExtend' 'SelfRenew' (required) |
roleDefinitionId | The role definition ID. | string (required) |
scheduleInfo | Schedule info of the role eligibility schedule | RoleEligibilityScheduleRequestPropertiesScheduleInfo |
targetRoleEligibilityScheduleId | The resultant role eligibility schedule id or the role eligibility schedule id being updated | string |
targetRoleEligibilityScheduleInstanceId | The role eligibility schedule instance id being updated | string |
ticketInfo | Ticket Info of the role eligibility | RoleEligibilityScheduleRequestPropertiesTicketInfo |
RoleEligibilityScheduleRequestPropertiesScheduleInfo
Name | Description | Value |
---|---|---|
expiration | Expiration of the role eligibility schedule | RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration |
startDateTime | Start DateTime of the role eligibility schedule. | string |
RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration
Name | Description | Value |
---|---|---|
duration | Duration of the role eligibility schedule in TimeSpan. | string |
endDateTime | End DateTime of the role eligibility schedule. | string |
type | Type of the role eligibility schedule expiration | 'AfterDateTime' 'AfterDuration' 'NoExpiration' |
RoleEligibilityScheduleRequestPropertiesTicketInfo
Name | Description | Value |
---|---|---|
ticketNumber | Ticket number for the role eligibility | string |
ticketSystem | Ticket system name for the role eligibility | string |
Usage Examples
Terraform (AzAPI provider) resource definition
The roleEligibilityScheduleRequests resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Authorization/roleEligibilityScheduleRequests resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Authorization/roleEligibilityScheduleRequests@2020-10-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
condition = "string"
conditionVersion = "string"
justification = "string"
principalId = "string"
requestType = "string"
roleDefinitionId = "string"
scheduleInfo = {
expiration = {
duration = "string"
endDateTime = "string"
type = "string"
}
startDateTime = "string"
}
targetRoleEligibilityScheduleId = "string"
targetRoleEligibilityScheduleInstanceId = "string"
ticketInfo = {
ticketNumber = "string"
ticketSystem = "string"
}
}
}
}
Property Values
Microsoft.Authorization/roleEligibilityScheduleRequests
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | Role eligibility schedule request properties. | RoleEligibilityScheduleRequestProperties |
type | The resource type | "Microsoft.Authorization/roleEligibilityScheduleRequests@2020-10-01-preview" |
RoleEligibilityScheduleRequestProperties
Name | Description | Value |
---|---|---|
condition | The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' | string |
conditionVersion | Version of the condition. Currently accepted value is '2.0' | string |
justification | Justification for the role eligibility | string |
principalId | The principal ID. | string (required) |
requestType | The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc | 'AdminAssign' 'AdminExtend' 'AdminRemove' 'AdminRenew' 'AdminUpdate' 'SelfActivate' 'SelfDeactivate' 'SelfExtend' 'SelfRenew' (required) |
roleDefinitionId | The role definition ID. | string (required) |
scheduleInfo | Schedule info of the role eligibility schedule | RoleEligibilityScheduleRequestPropertiesScheduleInfo |
targetRoleEligibilityScheduleId | The resultant role eligibility schedule id or the role eligibility schedule id being updated | string |
targetRoleEligibilityScheduleInstanceId | The role eligibility schedule instance id being updated | string |
ticketInfo | Ticket Info of the role eligibility | RoleEligibilityScheduleRequestPropertiesTicketInfo |
RoleEligibilityScheduleRequestPropertiesScheduleInfo
Name | Description | Value |
---|---|---|
expiration | Expiration of the role eligibility schedule | RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration |
startDateTime | Start DateTime of the role eligibility schedule. | string |
RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration
Name | Description | Value |
---|---|---|
duration | Duration of the role eligibility schedule in TimeSpan. | string |
endDateTime | End DateTime of the role eligibility schedule. | string |
type | Type of the role eligibility schedule expiration | 'AfterDateTime' 'AfterDuration' 'NoExpiration' |
RoleEligibilityScheduleRequestPropertiesTicketInfo
Name | Description | Value |
---|---|---|
ticketNumber | Ticket number for the role eligibility | string |
ticketSystem | Ticket system name for the role eligibility | string |