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 jitRequests resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Solutions/jitRequests resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Solutions/jitRequests@2023-12-01-preview' = {
location: 'string'
name: 'string'
properties: {
applicationResourceId: 'string'
jitAuthorizationPolicies: [
{
principalId: 'string'
roleDefinitionId: 'string'
}
]
jitSchedulingPolicy: {
duration: 'string'
startTime: 'string'
type: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
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 |
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) |
type | The type of JIT schedule. | 'NotSpecified' 'Once' 'Recurring' (required) |
ResourceTags
Name | Description | Value |
---|
ARM template resource definition
The jitRequests resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Solutions/jitRequests resource, add the following JSON to your template.
{
"type": "Microsoft.Solutions/jitRequests",
"apiVersion": "2023-12-01-preview",
"name": "string",
"location": "string",
"properties": {
"applicationResourceId": "string",
"jitAuthorizationPolicies": [
{
"principalId": "string",
"roleDefinitionId": "string"
}
],
"jitSchedulingPolicy": {
"duration": "string",
"startTime": "string",
"type": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Solutions/jitRequests
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2023-12-01-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' |
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) |
type | The type of JIT schedule. | 'NotSpecified' 'Once' 'Recurring' (required) |
ResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The jitRequests resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Solutions/jitRequests resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Solutions/jitRequests@2023-12-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
applicationResourceId = "string"
jitAuthorizationPolicies = [
{
principalId = "string"
roleDefinitionId = "string"
}
]
jitSchedulingPolicy = {
duration = "string"
startTime = "string"
type = "string"
}
}
}
}
Property Values
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@2023-12-01-preview" |
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) |
type | The type of JIT schedule. | 'NotSpecified' 'Once' 'Recurring' (required) |
ResourceTags
Name | Description | Value |
---|