Share via


Jit Requests - Get

Gets the JIT request.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}?api-version=2019-07-01

URI Parameters

Name In Required Type Description
jitRequestName
path True

string

The name of the JIT request.

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+$

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

The ID of the target subscription.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

JitRequestDefinition

OK - Returns the JIT request

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

Name Description
ApplicationClientDetails

The application client details to track the entity creating/updating the managed app resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

JitAuthorizationPolicies

The JIT authorization policies.

JitRequestDefinition

Information about JIT request definition.

JitRequestState

The JIT request state.

JitSchedulingPolicy

The JIT scheduling policies.

JitSchedulingType

The JIT request scheduling type.

ProvisioningState

Provisioning status of the managed application.

ApplicationClientDetails

The application client details to track the entity creating/updating the managed app resource.

Name Type Description
applicationId

string

The client application Id.

oid

string

The client Oid.

puid

string

The client Puid

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

JitAuthorizationPolicies

The JIT authorization policies.

Name Type Description
principalId

string

The the principal id that will be granted JIT access.

roleDefinitionId

string

The role definition id that will be granted to the Principal.

JitRequestDefinition

Information about JIT request definition.

Name Type Description
id

string

Resource ID

location

string

Resource location

name

string

Resource name

properties.applicationResourceId

string

The parent application id.

properties.createdBy

ApplicationClientDetails

The client entity that created the JIT request.

properties.jitAuthorizationPolicies

JitAuthorizationPolicies[]

The JIT authorization policies.

properties.jitRequestState

JitRequestState

The JIT request state.

properties.jitSchedulingPolicy

JitSchedulingPolicy

The JIT request properties.

properties.provisioningState

ProvisioningState

The JIT request provisioning state.

properties.publisherTenantId

string

The publisher tenant id.

properties.updatedBy

ApplicationClientDetails

The client entity that last updated the JIT request.

tags

object

Resource tags

type

string

Resource type

JitRequestState

The JIT request state.

Value Description
NotSpecified
Pending
Approved
Denied
Failed
Canceled
Expired
Timeout

JitSchedulingPolicy

The JIT scheduling policies.

Name Type Description
duration

string (duration)

The required duration of the JIT request.

startTime

string (date-time)

The start time of the request.

type

JitSchedulingType

The type of JIT schedule.

JitSchedulingType

The JIT request scheduling type.

Value Description
NotSpecified
Once
Recurring

ProvisioningState

Provisioning status of the managed application.

Value Description
NotSpecified
Accepted
Running
Ready
Creating
Created
Deleting
Deleted
Canceled
Failed
Succeeded
Updating