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:
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@2018-03-01' = {
scope: resourceSymbolicName or scope
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 |
| 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. |
| 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:
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": "2018-03-01",
"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 | '2018-03-01' |
| 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:
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@2018-03-01"
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) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | The JIT request properties. | JitRequestProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.Solutions/jitRequests@2018-03-01" |
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 |
|---|