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. In version 2.x of the Azure Native provider, it used API version 2024-03-03.
Example Usage
Create or update a gallery inVMAccessControlProfile.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var galleryInVMAccessControlProfile = new AzureNative.Compute.GalleryInVMAccessControlProfile("galleryInVMAccessControlProfile", new()
{
GalleryName = "myGalleryName",
InVMAccessControlProfileName = "myInVMAccessControlProfileName",
Location = "West US",
Properties = new AzureNative.Compute.Inputs.GalleryInVMAccessControlProfilePropertiesArgs
{
ApplicableHostEndpoint = AzureNative.Compute.EndpointTypes.WireServer,
OsType = AzureNative.Compute.OperatingSystemTypes.Linux,
},
ResourceGroupName = "myResourceGroup",
});
});
package main
import (
compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewGalleryInVMAccessControlProfile(ctx, "galleryInVMAccessControlProfile", &compute.GalleryInVMAccessControlProfileArgs{
GalleryName: pulumi.String("myGalleryName"),
InVMAccessControlProfileName: pulumi.String("myInVMAccessControlProfileName"),
Location: pulumi.String("West US"),
Properties: &compute.GalleryInVMAccessControlProfilePropertiesArgs{
ApplicableHostEndpoint: compute.EndpointTypesWireServer,
OsType: compute.OperatingSystemTypesLinux,
},
ResourceGroupName: pulumi.String("myResourceGroup"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.GalleryInVMAccessControlProfile;
import com.pulumi.azurenative.compute.GalleryInVMAccessControlProfileArgs;
import com.pulumi.azurenative.compute.inputs.GalleryInVMAccessControlProfilePropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var galleryInVMAccessControlProfile = new GalleryInVMAccessControlProfile("galleryInVMAccessControlProfile", GalleryInVMAccessControlProfileArgs.builder()
.galleryName("myGalleryName")
.inVMAccessControlProfileName("myInVMAccessControlProfileName")
.location("West US")
.properties(GalleryInVMAccessControlProfilePropertiesArgs.builder()
.applicableHostEndpoint("WireServer")
.osType("Linux")
.build())
.resourceGroupName("myResourceGroup")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const galleryInVMAccessControlProfile = new azure_native.compute.GalleryInVMAccessControlProfile("galleryInVMAccessControlProfile", {
galleryName: "myGalleryName",
inVMAccessControlProfileName: "myInVMAccessControlProfileName",
location: "West US",
properties: {
applicableHostEndpoint: azure_native.compute.EndpointTypes.WireServer,
osType: azure_native.compute.OperatingSystemTypes.Linux,
},
resourceGroupName: "myResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
gallery_in_vm_access_control_profile = azure_native.compute.GalleryInVMAccessControlProfile("galleryInVMAccessControlProfile",
gallery_name="myGalleryName",
in_vm_access_control_profile_name="myInVMAccessControlProfileName",
location="West US",
properties={
"applicable_host_endpoint": azure_native.compute.EndpointTypes.WIRE_SERVER,
"os_type": azure_native.compute.OperatingSystemTypes.LINUX,
},
resource_group_name="myResourceGroup")
resources:
galleryInVMAccessControlProfile:
type: azure-native:compute:GalleryInVMAccessControlProfile
properties:
galleryName: myGalleryName
inVMAccessControlProfileName: myInVMAccessControlProfileName
location: West US
properties:
applicableHostEndpoint: WireServer
osType: Linux
resourceGroupName: myResourceGroup
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 string
- The unique name of the resource.
- args GalleryInVMAccessControlProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args GalleryInVMAccessControlProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GalleryInVMAccessControlProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 string - The name of the Shared Image Gallery.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- In
VMAccess stringControl Profile Name - The name of the gallery inVMAccessControlProfile to be retrieved.
- Location string
- The geo-location where the resource lives
- 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 string - The name of the Shared Image Gallery.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- In
VMAccess stringControl Profile Name - The name of the gallery inVMAccessControlProfile to be retrieved.
- Location string
- The geo-location where the resource lives
- Properties
Gallery
In VMAccess Control Profile Properties Args - Describes the properties of a gallery inVMAccessControlProfile.
- map[string]string
- Resource tags.
- gallery
Name String - The name of the Shared Image Gallery.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- in
VMAccess StringControl Profile Name - The name of the gallery inVMAccessControlProfile to be retrieved.
- location String
- The geo-location where the resource lives
- properties
Gallery
In VMAccess Control Profile Properties - Describes the properties of a gallery inVMAccessControlProfile.
- Map<String,String>
- Resource tags.
- gallery
Name string - The name of the Shared Image Gallery.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- in
VMAccess stringControl Profile Name - The name of the gallery inVMAccessControlProfile to be retrieved.
- location string
- The geo-location where the resource lives
- properties
Gallery
In VMAccess Control Profile Properties - Describes the properties of a gallery inVMAccessControlProfile.
- {[key: string]: string}
- Resource tags.
- gallery_
name str - The name of the Shared Image Gallery.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- in_
vm_ straccess_ control_ profile_ name - The name of the gallery inVMAccessControlProfile to be retrieved.
- location str
- The geo-location where the resource lives
- properties
Gallery
In VMAccess Control Profile Properties Args - Describes the properties of a gallery inVMAccessControlProfile.
- Mapping[str, str]
- Resource tags.
- gallery
Name String - The name of the Shared Image Gallery.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- in
VMAccess StringControl Profile Name - The name of the gallery inVMAccessControlProfile to be retrieved.
- location String
- The geo-location where the resource lives
- 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Compute. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
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 Pulumi.Endpoint 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 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 EndpointEndpoint 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 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 EndpointEndpoint 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 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 EndpointEndpoint 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 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_ Endpointendpoint 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 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 "WireEndpoint Server" | "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 "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 stringEndpoint - 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 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 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 stringEndpoint - 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 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 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 StringEndpoint - 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 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 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 stringEndpoint - 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 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 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_ strendpoint - 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 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 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 StringEndpoint - 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 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 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
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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