GalleryInVMAccessControlProfile

class GalleryInVMAccessControlProfile : KotlinCustomResource

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/v2"
"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

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}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Resource location

Link copied to clipboard
val name: Output<String>

Resource name

Link copied to clipboard

Describes the properties of a gallery inVMAccessControlProfile.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>