Microsoft.Solutions jitRequests 2020-08-21-preview
- Article
-
-
Bicep resource definition
The jitRequests resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Solutions/jitRequests resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Solutions/jitRequests@2020-08-21-preview' = {
location: 'string'
name: 'string'
properties: {
applicationResourceId: 'string'
jitAuthorizationPolicies: [
{
principalId: 'string'
roleDefinitionId: 'string'
}
]
jitSchedulingPolicy: {
duration: 'string'
startTime: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
JitAuthorizationPolicies
Name |
Description |
Value |
principalId |
The the principal id that will be granted JIT access. |
string (required) |
roleDefinitionId |
The role definition id that will be granted to the Principal. |
string (required) |
JitRequestProperties
Name |
Description |
Value |
applicationResourceId |
The parent application id. |
string (required) |
jitAuthorizationPolicies |
The JIT authorization policies. |
JitAuthorizationPolicies[] (required) |
jitSchedulingPolicy |
The JIT request properties. |
JitSchedulingPolicy (required) |
JitSchedulingPolicy
Name |
Description |
Value |
duration |
The required duration of the JIT request. |
string (required) |
startTime |
The start time of the request. |
string (required) |
Microsoft.Solutions/jitRequests
Name |
Description |
Value |
location |
Resource location |
string |
name |
The resource name |
string (required) |
properties |
The JIT request properties. |
JitRequestProperties |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
ARM template resource definition
The jitRequests resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Solutions/jitRequests resource, add the following JSON to your template.
{
"type": "Microsoft.Solutions/jitRequests",
"apiVersion": "2020-08-21-preview",
"name": "string",
"location": "string",
"properties": {
"applicationResourceId": "string",
"jitAuthorizationPolicies": [
{
"principalId": "string",
"roleDefinitionId": "string"
}
],
"jitSchedulingPolicy": {
"duration": "string",
"startTime": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
JitAuthorizationPolicies
Name |
Description |
Value |
principalId |
The the principal id that will be granted JIT access. |
string (required) |
roleDefinitionId |
The role definition id that will be granted to the Principal. |
string (required) |
JitRequestProperties
Name |
Description |
Value |
applicationResourceId |
The parent application id. |
string (required) |
jitAuthorizationPolicies |
The JIT authorization policies. |
JitAuthorizationPolicies[] (required) |
jitSchedulingPolicy |
The JIT request properties. |
JitSchedulingPolicy (required) |
JitSchedulingPolicy
Name |
Description |
Value |
duration |
The required duration of the JIT request. |
string (required) |
startTime |
The start time of the request. |
string (required) |
Microsoft.Solutions/jitRequests
Name |
Description |
Value |
apiVersion |
The api version |
'2020-08-21-preview' |
location |
Resource location |
string |
name |
The resource name |
string (required) |
properties |
The JIT request properties. |
JitRequestProperties |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
type |
The resource type |
'Microsoft.Solutions/jitRequests' |
Usage Examples
The jitRequests resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Solutions/jitRequests resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Solutions/jitRequests@2020-08-21-preview"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
applicationResourceId = "string"
jitAuthorizationPolicies = [
{
principalId = "string"
roleDefinitionId = "string"
}
]
jitSchedulingPolicy = {
duration = "string"
startTime = "string"
}
}
})
}
Property Values
JitAuthorizationPolicies
Name |
Description |
Value |
principalId |
The the principal id that will be granted JIT access. |
string (required) |
roleDefinitionId |
The role definition id that will be granted to the Principal. |
string (required) |
JitRequestProperties
Name |
Description |
Value |
applicationResourceId |
The parent application id. |
string (required) |
jitAuthorizationPolicies |
The JIT authorization policies. |
JitAuthorizationPolicies[] (required) |
jitSchedulingPolicy |
The JIT request properties. |
JitSchedulingPolicy (required) |
JitSchedulingPolicy
Name |
Description |
Value |
duration |
The required duration of the JIT request. |
string (required) |
startTime |
The start time of the request. |
string (required) |
Microsoft.Solutions/jitRequests
Name |
Description |
Value |
location |
Resource location |
string |
name |
The resource name |
string (required) |
properties |
The JIT request properties. |
JitRequestProperties |
tags |
Resource tags |
Dictionary of tag names and values. |
type |
The resource type |
"Microsoft.Solutions/jitRequests@2020-08-21-preview" |