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

143 lines (142 loc) 6.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Specifies information about the gallery inVMAccessControlProfile version that you want to create or update. * * Uses Azure REST API version 2024-03-03. In version 2.x of the Azure Native provider, it used API version 2024-03-03. */ export declare class GalleryInVMAccessControlProfileVersion extends pulumi.CustomResource { /** * Get an existing GalleryInVMAccessControlProfileVersion 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): GalleryInVMAccessControlProfileVersion; /** * Returns true if the given object is an instance of GalleryInVMAccessControlProfileVersion. 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 GalleryInVMAccessControlProfileVersion; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. */ readonly defaultAccess: pulumi.Output<string>; /** * If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. */ readonly excludeFromLatest: pulumi.Output<boolean | undefined>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string>; /** * This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. */ readonly mode: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * The provisioning state, which only appears in the response. */ readonly provisioningState: pulumi.Output<string>; /** * The timestamp for when the Resource Profile Version is published. */ readonly publishedDate: pulumi.Output<string>; /** * This is the replication status of the gallery image version. */ readonly replicationStatus: pulumi.Output<outputs.compute.ReplicationStatusResponse>; /** * This is the Access Control Rules specification for an inVMAccessControlProfile version. */ readonly rules: pulumi.Output<outputs.compute.AccessControlRulesResponse | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.compute.SystemDataResponse>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The target regions where the Resource Profile version is going to be replicated to. This property is updatable. */ readonly targetLocations: pulumi.Output<outputs.compute.TargetRegionResponse[] | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a GalleryInVMAccessControlProfileVersion 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: GalleryInVMAccessControlProfileVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a GalleryInVMAccessControlProfileVersion resource. */ export interface GalleryInVMAccessControlProfileVersionArgs { /** * This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. */ defaultAccess: pulumi.Input<string | enums.compute.EndpointAccess>; /** * If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. */ excludeFromLatest?: pulumi.Input<boolean>; /** * The name of the Shared Image Gallery. */ galleryName: pulumi.Input<string>; /** * The name of the gallery inVMAccessControlProfile to be retrieved. */ inVMAccessControlProfileName: pulumi.Input<string>; /** * The name of the gallery inVMAccessControlProfile version to be retrieved. */ inVMAccessControlProfileVersionName?: pulumi.Input<string>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. */ mode: pulumi.Input<string | enums.compute.AccessControlRulesMode>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * This is the Access Control Rules specification for an inVMAccessControlProfile version. */ rules?: pulumi.Input<inputs.compute.AccessControlRulesArgs>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The target regions where the Resource Profile version is going to be replicated to. This property is updatable. */ targetLocations?: pulumi.Input<pulumi.Input<inputs.compute.TargetRegionArgs>[]>; }