@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the JIT request.
*
* Uses Azure REST API version 2021-07-01.
*
* Other available API versions: 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native solutions [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getJitRequest(args: GetJitRequestArgs, opts?: pulumi.InvokeOptions): Promise<GetJitRequestResult>;
export interface GetJitRequestArgs {
/**
* The name of the JIT request.
*/
jitRequestName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Information about JIT request definition.
*/
export interface GetJitRequestResult {
/**
* The parent application id.
*/
readonly applicationResourceId: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The client entity that created the JIT request.
*/
readonly createdBy: outputs.solutions.ApplicationClientDetailsResponse;
/**
* Resource ID
*/
readonly id: string;
/**
* The JIT authorization policies.
*/
readonly jitAuthorizationPolicies: outputs.solutions.JitAuthorizationPoliciesResponse[];
/**
* The JIT request state.
*/
readonly jitRequestState: string;
/**
* The JIT request properties.
*/
readonly jitSchedulingPolicy: outputs.solutions.JitSchedulingPolicyResponse;
/**
* Resource location
*/
readonly location?: string;
/**
* Resource name
*/
readonly name: string;
/**
* The JIT request provisioning state.
*/
readonly provisioningState: string;
/**
* The publisher tenant id.
*/
readonly publisherTenantId: string;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.solutions.SystemDataResponse;
/**
* Resource tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type
*/
readonly type: string;
/**
* The client entity that last updated the JIT request.
*/
readonly updatedBy: outputs.solutions.ApplicationClientDetailsResponse;
}
/**
* Gets the JIT request.
*
* Uses Azure REST API version 2021-07-01.
*
* Other available API versions: 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native solutions [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getJitRequestOutput(args: GetJitRequestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJitRequestResult>;
export interface GetJitRequestOutputArgs {
/**
* The name of the JIT request.
*/
jitRequestName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}