@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Uses Azure REST API version 2020-01-01. In version 2.x of the Azure Native provider, it used API version 2020-01-01.
*/
export declare class JitNetworkAccessPolicy extends pulumi.CustomResource {
/**
* Get an existing JitNetworkAccessPolicy resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): JitNetworkAccessPolicy;
/**
* Returns true if the given object is an instance of JitNetworkAccessPolicy. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is JitNetworkAccessPolicy;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Kind of the resource
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Location where the resource is stored
*/
readonly location: pulumi.Output<string>;
/**
* Resource name
*/
readonly name: pulumi.Output<string>;
/**
* Gets the provisioning state of the Just-in-Time policy.
*/
readonly provisioningState: pulumi.Output<string>;
readonly requests: pulumi.Output<outputs.security.JitNetworkAccessRequestResponse[] | undefined>;
/**
* Resource type
*/
readonly type: pulumi.Output<string>;
/**
* Configurations for Microsoft.Compute/virtualMachines resource type.
*/
readonly virtualMachines: pulumi.Output<outputs.security.JitNetworkAccessPolicyVirtualMachineResponse[]>;
/**
* Create a JitNetworkAccessPolicy resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: JitNetworkAccessPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a JitNetworkAccessPolicy resource.
*/
export interface JitNetworkAccessPolicyArgs {
/**
* 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>;
/**
* Kind of the resource
*/
kind?: pulumi.Input<string>;
requests?: pulumi.Input<pulumi.Input<inputs.security.JitNetworkAccessRequestArgs>[]>;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Configurations for Microsoft.Compute/virtualMachines resource type.
*/
virtualMachines: pulumi.Input<pulumi.Input<inputs.security.JitNetworkAccessPolicyVirtualMachineArgs>[]>;
}