azure-native.compute.GalleryInVMAccessControlProfile
Explore with Pulumi AI
Specifies information about the gallery inVMAccessControlProfile that you want to create or update.
Uses Azure REST API version 2024-03-03.
Create GalleryInVMAccessControlProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GalleryInVMAccessControlProfile(name: string, args: GalleryInVMAccessControlProfileArgs, opts?: CustomResourceOptions);
@overload
def GalleryInVMAccessControlProfile(resource_name: str,
args: GalleryInVMAccessControlProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GalleryInVMAccessControlProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
gallery_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
in_vm_access_control_profile_name: Optional[str] = None,
location: Optional[str] = None,
properties: Optional[GalleryInVMAccessControlProfilePropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewGalleryInVMAccessControlProfile(ctx *Context, name string, args GalleryInVMAccessControlProfileArgs, opts ...ResourceOption) (*GalleryInVMAccessControlProfile, error)
public GalleryInVMAccessControlProfile(string name, GalleryInVMAccessControlProfileArgs args, CustomResourceOptions? opts = null)
public GalleryInVMAccessControlProfile(String name, GalleryInVMAccessControlProfileArgs args)
public GalleryInVMAccessControlProfile(String name, GalleryInVMAccessControlProfileArgs args, CustomResourceOptions options)
type: azure-native:compute:GalleryInVMAccessControlProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. GalleryInVMAccessControlProfileArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. GalleryInVMAccessControlProfileArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. GalleryInVMAccessControlProfileArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. GalleryInVMAccessControlProfileArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. GalleryInVMAccessControlProfileArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var galleryInVMAccessControlProfileResource = new AzureNative.Compute.GalleryInVMAccessControlProfile("galleryInVMAccessControlProfileResource", new()
{
GalleryName = "string",
ResourceGroupName = "string",
InVMAccessControlProfileName = "string",
Location = "string",
Properties = new AzureNative.Compute.Inputs.GalleryInVMAccessControlProfilePropertiesArgs
{
ApplicableHostEndpoint = AzureNative.Compute.EndpointTypes.WireServer,
OsType = AzureNative.Compute.OperatingSystemTypes.Windows,
Description = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := compute.NewGalleryInVMAccessControlProfile(ctx, "galleryInVMAccessControlProfileResource", &compute.GalleryInVMAccessControlProfileArgs{
GalleryName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
InVMAccessControlProfileName: pulumi.String("string"),
Location: pulumi.String("string"),
Properties: &compute.GalleryInVMAccessControlProfilePropertiesArgs{
ApplicableHostEndpoint: compute.EndpointTypesWireServer,
OsType: compute.OperatingSystemTypesWindows,
Description: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var galleryInVMAccessControlProfileResource = new GalleryInVMAccessControlProfile("galleryInVMAccessControlProfileResource", GalleryInVMAccessControlProfileArgs.builder()
.galleryName("string")
.resourceGroupName("string")
.inVMAccessControlProfileName("string")
.location("string")
.properties(GalleryInVMAccessControlProfilePropertiesArgs.builder()
.applicableHostEndpoint("WireServer")
.osType("Windows")
.description("string")
.build())
.tags(Map.of("string", "string"))
.build());
gallery_in_vm_access_control_profile_resource = azure_native.compute.GalleryInVMAccessControlProfile("galleryInVMAccessControlProfileResource",
gallery_name="string",
resource_group_name="string",
in_vm_access_control_profile_name="string",
location="string",
properties={
"applicable_host_endpoint": azure_native.compute.EndpointTypes.WIRE_SERVER,
"os_type": azure_native.compute.OperatingSystemTypes.WINDOWS,
"description": "string",
},
tags={
"string": "string",
})
const galleryInVMAccessControlProfileResource = new azure_native.compute.GalleryInVMAccessControlProfile("galleryInVMAccessControlProfileResource", {
galleryName: "string",
resourceGroupName: "string",
inVMAccessControlProfileName: "string",
location: "string",
properties: {
applicableHostEndpoint: azure_native.compute.EndpointTypes.WireServer,
osType: azure_native.compute.OperatingSystemTypes.Windows,
description: "string",
},
tags: {
string: "string",
},
});
type: azure-native:compute:GalleryInVMAccessControlProfile
properties:
galleryName: string
inVMAccessControlProfileName: string
location: string
properties:
applicableHostEndpoint: WireServer
description: string
osType: Windows
resourceGroupName: string
tags:
string: string
GalleryInVMAccessControlProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GalleryInVMAccessControlProfile resource accepts the following input properties:
- Gallery
Name This property is required. Changes to this property will trigger replacement.
- The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- In
VMAccess Control Profile Name Changes to this property will trigger replacement.
- The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- Location string
- Resource location
- Properties
Pulumi.
Azure Native. Compute. Inputs. Gallery In VMAccess Control Profile Properties - Describes the properties of a gallery inVMAccessControlProfile.
- Dictionary<string, string>
- Resource tags
- Gallery
Name This property is required. Changes to this property will trigger replacement.
- The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- In
VMAccess Control Profile Name Changes to this property will trigger replacement.
- The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- Location string
- Resource location
- Properties
Gallery
In VMAccess Control Profile Properties Args - Describes the properties of a gallery inVMAccessControlProfile.
- map[string]string
- Resource tags
- gallery
Name This property is required. Changes to this property will trigger replacement.
- The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- in
VMAccess Control Profile Name Changes to this property will trigger replacement.
- The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- location String
- Resource location
- properties
Gallery
In VMAccess Control Profile Properties - Describes the properties of a gallery inVMAccessControlProfile.
- Map<String,String>
- Resource tags
- gallery
Name This property is required. Changes to this property will trigger replacement.
- The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- in
VMAccess Control Profile Name Changes to this property will trigger replacement.
- The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- location string
- Resource location
- properties
Gallery
In VMAccess Control Profile Properties - Describes the properties of a gallery inVMAccessControlProfile.
- {[key: string]: string}
- Resource tags
- gallery_
name This property is required. Changes to this property will trigger replacement.
- The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- in_
vm_ access_ control_ profile_ name Changes to this property will trigger replacement.
- The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- location str
- Resource location
- properties
Gallery
In VMAccess Control Profile Properties Args - Describes the properties of a gallery inVMAccessControlProfile.
- Mapping[str, str]
- Resource tags
- gallery
Name This property is required. Changes to this property will trigger replacement.
- The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- in
VMAccess Control Profile Name Changes to this property will trigger replacement.
- The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- location String
- Resource location
- properties Property Map
- Describes the properties of a gallery inVMAccessControlProfile.
- Map<String>
- Resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the GalleryInVMAccessControlProfile resource produces the following output properties:
Supporting Types
EndpointTypes, EndpointTypesArgs
- Wire
Server - WireServer
- IMDS
- IMDS
- Endpoint
Types Wire Server - WireServer
- Endpoint
Types IMDS - IMDS
- Wire
Server - WireServer
- IMDS
- IMDS
- Wire
Server - WireServer
- IMDS
- IMDS
- WIRE_SERVER
- WireServer
- IMDS
- IMDS
- "Wire
Server" - WireServer
- "IMDS"
- IMDS
GalleryInVMAccessControlProfileProperties, GalleryInVMAccessControlProfilePropertiesArgs
- Applicable
Host Endpoint This property is required. Pulumi.Azure Native. Compute. Endpoint Types - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- Os
Type This property is required. Pulumi.Azure Native. Compute. Operating System Types - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- Description string
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- Applicable
Host Endpoint This property is required. EndpointTypes - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- Os
Type This property is required. OperatingSystem Types - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- Description string
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable
Host Endpoint This property is required. EndpointTypes - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os
Type This property is required. OperatingSystem Types - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- description String
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable
Host Endpoint This property is required. EndpointTypes - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os
Type This property is required. OperatingSystem Types - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- description string
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable_
host_ endpoint This property is required. EndpointTypes - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os_
type This property is required. OperatingSystem Types - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- description str
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable
Host Endpoint This property is required. "WireServer" | "IMDS" - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os
Type This property is required. "Windows" | "Linux" - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- description String
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
GalleryInVMAccessControlProfilePropertiesResponse, GalleryInVMAccessControlProfilePropertiesResponseArgs
- Applicable
Host Endpoint This property is required. string - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- Os
Type This property is required. string - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- Provisioning
State This property is required. string - The provisioning state, which only appears in the response.
- Description string
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- Applicable
Host Endpoint This property is required. string - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- Os
Type This property is required. string - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- Provisioning
State This property is required. string - The provisioning state, which only appears in the response.
- Description string
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable
Host Endpoint This property is required. String - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os
Type This property is required. String - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- provisioning
State This property is required. String - The provisioning state, which only appears in the response.
- description String
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable
Host Endpoint This property is required. string - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os
Type This property is required. string - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- provisioning
State This property is required. string - The provisioning state, which only appears in the response.
- description string
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable_
host_ endpoint This property is required. str - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os_
type This property is required. str - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- provisioning_
state This property is required. str - The provisioning state, which only appears in the response.
- description str
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
- applicable
Host Endpoint This property is required. String - This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
- os
Type This property is required. String - This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
- provisioning
State This property is required. String - The provisioning state, which only appears in the response.
- description String
- The description of this gallery inVMAccessControlProfile resources. This property is updatable.
OperatingSystemTypes, OperatingSystemTypesArgs
- Windows
- Windows
- Linux
- Linux
- Operating
System Types Windows - Windows
- Operating
System Types Linux - Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:compute:GalleryInVMAccessControlProfile myInVMAccessControlProfileName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{inVMAccessControlProfileName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0