UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

78 lines (77 loc) 2.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Policies for protecting resources using Just-in-Time access control for the subscription, location * * Uses Azure REST API version 2020-01-01. */ export declare function getJitNetworkAccessPolicy(args: GetJitNetworkAccessPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetJitNetworkAccessPolicyResult>; export interface GetJitNetworkAccessPolicyArgs { /** * The location where ASC stores the data of the subscription. can be retrieved from Get locations */ ascLocation: string; /** * Name of a Just-in-Time access configuration policy. */ jitNetworkAccessPolicyName: string; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: string; } export interface GetJitNetworkAccessPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Resource Id */ readonly id: string; /** * Kind of the resource */ readonly kind?: string; /** * Location where the resource is stored */ readonly location: string; /** * Resource name */ readonly name: string; /** * Gets the provisioning state of the Just-in-Time policy. */ readonly provisioningState: string; readonly requests?: outputs.security.JitNetworkAccessRequestResponse[]; /** * Resource type */ readonly type: string; /** * Configurations for Microsoft.Compute/virtualMachines resource type. */ readonly virtualMachines: outputs.security.JitNetworkAccessPolicyVirtualMachineResponse[]; } /** * Policies for protecting resources using Just-in-Time access control for the subscription, location * * Uses Azure REST API version 2020-01-01. */ export declare function getJitNetworkAccessPolicyOutput(args: GetJitNetworkAccessPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJitNetworkAccessPolicyResult>; export interface GetJitNetworkAccessPolicyOutputArgs { /** * The location where ASC stores the data of the subscription. can be retrieved from Get locations */ ascLocation: pulumi.Input<string>; /** * Name of a Just-in-Time access configuration policy. */ jitNetworkAccessPolicyName: pulumi.Input<string>; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }