@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get the specified role eligibility schedule request.
*
* Uses Azure REST API version 2020-10-01.
*/
export declare function getPimRoleEligibilitySchedule(args: GetPimRoleEligibilityScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetPimRoleEligibilityScheduleResult>;
export interface GetPimRoleEligibilityScheduleArgs {
/**
* The name (guid) of the role eligibility schedule request to get.
*/
roleEligibilityScheduleRequestName: string;
/**
* The scope of the role eligibility schedule request.
*/
scope: string;
}
/**
* Role Eligibility schedule request
*/
export interface GetPimRoleEligibilityScheduleResult {
/**
* The approvalId of the role eligibility schedule request.
*/
readonly approvalId: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'
*/
readonly condition?: string;
/**
* Version of the condition. Currently accepted value is '2.0'
*/
readonly conditionVersion?: string;
/**
* DateTime when role eligibility schedule request was created
*/
readonly createdOn: string;
/**
* Additional properties of principal, scope and role definition
*/
readonly expandedProperties: outputs.authorization.ExpandedPropertiesResponse;
/**
* The role eligibility schedule request ID.
*/
readonly id: string;
/**
* Justification for the role eligibility
*/
readonly justification?: string;
/**
* The role eligibility schedule request name.
*/
readonly name: string;
/**
* The principal ID.
*/
readonly principalId: string;
/**
* The principal type of the assigned principal ID.
*/
readonly principalType: string;
/**
* The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc
*/
readonly requestType: string;
/**
* Id of the user who created this request
*/
readonly requestorId: string;
/**
* The role definition ID.
*/
readonly roleDefinitionId: string;
/**
* Schedule info of the role eligibility schedule
*/
readonly scheduleInfo?: outputs.authorization.RoleEligibilityScheduleRequestPropertiesResponseScheduleInfo;
/**
* The role eligibility schedule request scope.
*/
readonly scope: string;
/**
* The status of the role eligibility schedule request.
*/
readonly status: string;
/**
* The resultant role eligibility schedule id or the role eligibility schedule id being updated
*/
readonly targetRoleEligibilityScheduleId?: string;
/**
* The role eligibility schedule instance id being updated
*/
readonly targetRoleEligibilityScheduleInstanceId?: string;
/**
* Ticket Info of the role eligibility
*/
readonly ticketInfo?: outputs.authorization.RoleEligibilityScheduleRequestPropertiesResponseTicketInfo;
/**
* The role eligibility schedule request type.
*/
readonly type: string;
}
/**
* Get the specified role eligibility schedule request.
*
* Uses Azure REST API version 2020-10-01.
*/
export declare function getPimRoleEligibilityScheduleOutput(args: GetPimRoleEligibilityScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPimRoleEligibilityScheduleResult>;
export interface GetPimRoleEligibilityScheduleOutputArgs {
/**
* The name (guid) of the role eligibility schedule request to get.
*/
roleEligibilityScheduleRequestName: pulumi.Input<string>;
/**
* The scope of the role eligibility schedule request.
*/
scope: pulumi.Input<string>;
}