1. Packages
  2. Azure Native v1
  3. API Docs
  4. networkcloud
  5. BareMetalMachineKeySet
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.networkcloud.BareMetalMachineKeySet

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    API Version: 2022-12-12-preview.

    Example Usage

    Create or update bare metal machine key set of cluster

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var bareMetalMachineKeySet = new AzureNative.NetworkCloud.BareMetalMachineKeySet("bareMetalMachineKeySet", new()
        {
            AzureGroupId = "f110271b-XXXX-4163-9b99-214d91660f0e",
            BareMetalMachineKeySetName = "bareMetalMachineKeySetName",
            ClusterName = "clusterName",
            Expiration = "2022-12-31T23:59:59.008Z",
            ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
                Type = "CustomLocation",
            },
            JumpHostsAllowed = new[]
            {
                "192.0.2.1",
                "192.0.2.5",
            },
            Location = "location",
            OsGroupName = "standardAccessGroup",
            PrivilegeLevel = "Standard",
            ResourceGroupName = "resourceGroupName",
            Tags = 
            {
                { "key1", "myvalue1" },
                { "key2", "myvalue2" },
            },
            UserList = new[]
            {
                new AzureNative.NetworkCloud.Inputs.KeySetUserArgs
                {
                    AzureUserName = "userABC",
                    Description = "Needs access for troubleshooting as a part of the support team",
                    SshPublicKey = new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
                    {
                        KeyData = "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                    },
                },
                new AzureNative.NetworkCloud.Inputs.KeySetUserArgs
                {
                    AzureUserName = "userXYZ",
                    Description = "Needs access for troubleshooting as a part of the support team",
                    SshPublicKey = new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
                    {
                        KeyData = "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networkcloud.NewBareMetalMachineKeySet(ctx, "bareMetalMachineKeySet", &networkcloud.BareMetalMachineKeySetArgs{
    			AzureGroupId:               pulumi.String("f110271b-XXXX-4163-9b99-214d91660f0e"),
    			BareMetalMachineKeySetName: pulumi.String("bareMetalMachineKeySetName"),
    			ClusterName:                pulumi.String("clusterName"),
    			Expiration:                 pulumi.String("2022-12-31T23:59:59.008Z"),
    			ExtendedLocation: &networkcloud.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			JumpHostsAllowed: pulumi.StringArray{
    				pulumi.String("192.0.2.1"),
    				pulumi.String("192.0.2.5"),
    			},
    			Location:          pulumi.String("location"),
    			OsGroupName:       pulumi.String("standardAccessGroup"),
    			PrivilegeLevel:    pulumi.String("Standard"),
    			ResourceGroupName: pulumi.String("resourceGroupName"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("myvalue1"),
    				"key2": pulumi.String("myvalue2"),
    			},
    			UserList: []networkcloud.KeySetUserArgs{
    				{
    					AzureUserName: pulumi.String("userABC"),
    					Description:   pulumi.String("Needs access for troubleshooting as a part of the support team"),
    					SshPublicKey: {
    						KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
    					},
    				},
    				{
    					AzureUserName: pulumi.String("userXYZ"),
    					Description:   pulumi.String("Needs access for troubleshooting as a part of the support team"),
    					SshPublicKey: {
    						KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
    					},
    				},
    			},
    		})
    		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.networkcloud.BareMetalMachineKeySet;
    import com.pulumi.azurenative.networkcloud.BareMetalMachineKeySetArgs;
    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 bareMetalMachineKeySet = new BareMetalMachineKeySet("bareMetalMachineKeySet", BareMetalMachineKeySetArgs.builder()        
                .azureGroupId("f110271b-XXXX-4163-9b99-214d91660f0e")
                .bareMetalMachineKeySetName("bareMetalMachineKeySetName")
                .clusterName("clusterName")
                .expiration("2022-12-31T23:59:59.008Z")
                .extendedLocation(Map.ofEntries(
                    Map.entry("name", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
                    Map.entry("type", "CustomLocation")
                ))
                .jumpHostsAllowed(            
                    "192.0.2.1",
                    "192.0.2.5")
                .location("location")
                .osGroupName("standardAccessGroup")
                .privilegeLevel("Standard")
                .resourceGroupName("resourceGroupName")
                .tags(Map.ofEntries(
                    Map.entry("key1", "myvalue1"),
                    Map.entry("key2", "myvalue2")
                ))
                .userList(            
                    Map.ofEntries(
                        Map.entry("azureUserName", "userABC"),
                        Map.entry("description", "Needs access for troubleshooting as a part of the support team"),
                        Map.entry("sshPublicKey", Map.of("keyData", "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"))
                    ),
                    Map.ofEntries(
                        Map.entry("azureUserName", "userXYZ"),
                        Map.entry("description", "Needs access for troubleshooting as a part of the support team"),
                        Map.entry("sshPublicKey", Map.of("keyData", "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"))
                    ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    bare_metal_machine_key_set = azure_native.networkcloud.BareMetalMachineKeySet("bareMetalMachineKeySet",
        azure_group_id="f110271b-XXXX-4163-9b99-214d91660f0e",
        bare_metal_machine_key_set_name="bareMetalMachineKeySetName",
        cluster_name="clusterName",
        expiration="2022-12-31T23:59:59.008Z",
        extended_location=azure_native.networkcloud.ExtendedLocationArgs(
            name="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            type="CustomLocation",
        ),
        jump_hosts_allowed=[
            "192.0.2.1",
            "192.0.2.5",
        ],
        location="location",
        os_group_name="standardAccessGroup",
        privilege_level="Standard",
        resource_group_name="resourceGroupName",
        tags={
            "key1": "myvalue1",
            "key2": "myvalue2",
        },
        user_list=[
            {
                "azureUserName": "userABC",
                "description": "Needs access for troubleshooting as a part of the support team",
                "sshPublicKey": azure_native.networkcloud.SshPublicKeyArgs(
                    key_data="ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                ),
            },
            {
                "azureUserName": "userXYZ",
                "description": "Needs access for troubleshooting as a part of the support team",
                "sshPublicKey": azure_native.networkcloud.SshPublicKeyArgs(
                    key_data="ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                ),
            },
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const bareMetalMachineKeySet = new azure_native.networkcloud.BareMetalMachineKeySet("bareMetalMachineKeySet", {
        azureGroupId: "f110271b-XXXX-4163-9b99-214d91660f0e",
        bareMetalMachineKeySetName: "bareMetalMachineKeySetName",
        clusterName: "clusterName",
        expiration: "2022-12-31T23:59:59.008Z",
        extendedLocation: {
            name: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            type: "CustomLocation",
        },
        jumpHostsAllowed: [
            "192.0.2.1",
            "192.0.2.5",
        ],
        location: "location",
        osGroupName: "standardAccessGroup",
        privilegeLevel: "Standard",
        resourceGroupName: "resourceGroupName",
        tags: {
            key1: "myvalue1",
            key2: "myvalue2",
        },
        userList: [
            {
                azureUserName: "userABC",
                description: "Needs access for troubleshooting as a part of the support team",
                sshPublicKey: {
                    keyData: "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                },
            },
            {
                azureUserName: "userXYZ",
                description: "Needs access for troubleshooting as a part of the support team",
                sshPublicKey: {
                    keyData: "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                },
            },
        ],
    });
    
    resources:
      bareMetalMachineKeySet:
        type: azure-native:networkcloud:BareMetalMachineKeySet
        properties:
          azureGroupId: f110271b-XXXX-4163-9b99-214d91660f0e
          bareMetalMachineKeySetName: bareMetalMachineKeySetName
          clusterName: clusterName
          expiration: 2022-12-31T23:59:59.008Z
          extendedLocation:
            name: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName
            type: CustomLocation
          jumpHostsAllowed:
            - 192.0.2.1
            - 192.0.2.5
          location: location
          osGroupName: standardAccessGroup
          privilegeLevel: Standard
          resourceGroupName: resourceGroupName
          tags:
            key1: myvalue1
            key2: myvalue2
          userList:
            - azureUserName: userABC
              description: Needs access for troubleshooting as a part of the support team
              sshPublicKey:
                keyData: ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm
            - azureUserName: userXYZ
              description: Needs access for troubleshooting as a part of the support team
              sshPublicKey:
                keyData: ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm
    

    Create BareMetalMachineKeySet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BareMetalMachineKeySet(name: string, args: BareMetalMachineKeySetArgs, opts?: CustomResourceOptions);
    @overload
    def BareMetalMachineKeySet(resource_name: str,
                               args: BareMetalMachineKeySetArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def BareMetalMachineKeySet(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               azure_group_id: Optional[str] = None,
                               cluster_name: Optional[str] = None,
                               expiration: Optional[str] = None,
                               extended_location: Optional[ExtendedLocationArgs] = None,
                               jump_hosts_allowed: Optional[Sequence[str]] = None,
                               privilege_level: Optional[Union[str, BareMetalMachineKeySetPrivilegeLevel]] = None,
                               resource_group_name: Optional[str] = None,
                               user_list: Optional[Sequence[KeySetUserArgs]] = None,
                               bare_metal_machine_key_set_name: Optional[str] = None,
                               location: Optional[str] = None,
                               os_group_name: Optional[str] = None,
                               tags: Optional[Mapping[str, str]] = None)
    func NewBareMetalMachineKeySet(ctx *Context, name string, args BareMetalMachineKeySetArgs, opts ...ResourceOption) (*BareMetalMachineKeySet, error)
    public BareMetalMachineKeySet(string name, BareMetalMachineKeySetArgs args, CustomResourceOptions? opts = null)
    public BareMetalMachineKeySet(String name, BareMetalMachineKeySetArgs args)
    public BareMetalMachineKeySet(String name, BareMetalMachineKeySetArgs args, CustomResourceOptions options)
    
    type: azure-native:networkcloud:BareMetalMachineKeySet
    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 BareMetalMachineKeySetArgs
    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 BareMetalMachineKeySetArgs
    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 BareMetalMachineKeySetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BareMetalMachineKeySetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BareMetalMachineKeySetArgs
    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 bareMetalMachineKeySetResource = new AzureNative.Networkcloud.BareMetalMachineKeySet("bareMetalMachineKeySetResource", new()
    {
        AzureGroupId = "string",
        ClusterName = "string",
        Expiration = "string",
        ExtendedLocation = 
        {
            { "name", "string" },
            { "type", "string" },
        },
        JumpHostsAllowed = new[]
        {
            "string",
        },
        PrivilegeLevel = "string",
        ResourceGroupName = "string",
        UserList = new[]
        {
            
            {
                { "azureUserName", "string" },
                { "sshPublicKey", 
                {
                    { "keyData", "string" },
                } },
                { "description", "string" },
            },
        },
        BareMetalMachineKeySetName = "string",
        Location = "string",
        OsGroupName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := networkcloud.NewBareMetalMachineKeySet(ctx, "bareMetalMachineKeySetResource", &networkcloud.BareMetalMachineKeySetArgs{
    	AzureGroupId: "string",
    	ClusterName:  "string",
    	Expiration:   "string",
    	ExtendedLocation: map[string]interface{}{
    		"name": "string",
    		"type": "string",
    	},
    	JumpHostsAllowed: []string{
    		"string",
    	},
    	PrivilegeLevel:    "string",
    	ResourceGroupName: "string",
    	UserList: []map[string]interface{}{
    		map[string]interface{}{
    			"azureUserName": "string",
    			"sshPublicKey": map[string]interface{}{
    				"keyData": "string",
    			},
    			"description": "string",
    		},
    	},
    	BareMetalMachineKeySetName: "string",
    	Location:                   "string",
    	OsGroupName:                "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var bareMetalMachineKeySetResource = new BareMetalMachineKeySet("bareMetalMachineKeySetResource", BareMetalMachineKeySetArgs.builder()
        .azureGroupId("string")
        .clusterName("string")
        .expiration("string")
        .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .jumpHostsAllowed("string")
        .privilegeLevel("string")
        .resourceGroupName("string")
        .userList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .bareMetalMachineKeySetName("string")
        .location("string")
        .osGroupName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    bare_metal_machine_key_set_resource = azure_native.networkcloud.BareMetalMachineKeySet("bareMetalMachineKeySetResource",
        azure_group_id=string,
        cluster_name=string,
        expiration=string,
        extended_location={
            name: string,
            type: string,
        },
        jump_hosts_allowed=[string],
        privilege_level=string,
        resource_group_name=string,
        user_list=[{
            azureUserName: string,
            sshPublicKey: {
                keyData: string,
            },
            description: string,
        }],
        bare_metal_machine_key_set_name=string,
        location=string,
        os_group_name=string,
        tags={
            string: string,
        })
    
    const bareMetalMachineKeySetResource = new azure_native.networkcloud.BareMetalMachineKeySet("bareMetalMachineKeySetResource", {
        azureGroupId: "string",
        clusterName: "string",
        expiration: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        jumpHostsAllowed: ["string"],
        privilegeLevel: "string",
        resourceGroupName: "string",
        userList: [{
            azureUserName: "string",
            sshPublicKey: {
                keyData: "string",
            },
            description: "string",
        }],
        bareMetalMachineKeySetName: "string",
        location: "string",
        osGroupName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:networkcloud:BareMetalMachineKeySet
    properties:
        azureGroupId: string
        bareMetalMachineKeySetName: string
        clusterName: string
        expiration: string
        extendedLocation:
            name: string
            type: string
        jumpHostsAllowed:
            - string
        location: string
        osGroupName: string
        privilegeLevel: string
        resourceGroupName: string
        tags:
            string: string
        userList:
            - azureUserName: string
              description: string
              sshPublicKey:
                keyData: string
    

    BareMetalMachineKeySet 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 BareMetalMachineKeySet resource accepts the following input properties:

    AzureGroupId string
    The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
    ClusterName string
    The name of the cluster.
    Expiration string
    The date and time after which the users in this key set will be removed from the bare metal machines.
    ExtendedLocation Pulumi.AzureNative.NetworkCloud.Inputs.ExtendedLocation
    The extended location of the cluster associated with the resource.
    JumpHostsAllowed List<string>
    The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
    PrivilegeLevel string | Pulumi.AzureNative.NetworkCloud.BareMetalMachineKeySetPrivilegeLevel
    The access level allowed for the users in this key set.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    UserList List<Pulumi.AzureNative.NetworkCloud.Inputs.KeySetUser>
    The unique list of permitted users.
    BareMetalMachineKeySetName string
    The name of the bare metal machine key set.
    Location string
    The geo-location where the resource lives
    OsGroupName string
    The name of the group that users will be assigned to on the operating system of the machines.
    Tags Dictionary<string, string>
    Resource tags.
    AzureGroupId string
    The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
    ClusterName string
    The name of the cluster.
    Expiration string
    The date and time after which the users in this key set will be removed from the bare metal machines.
    ExtendedLocation ExtendedLocationArgs
    The extended location of the cluster associated with the resource.
    JumpHostsAllowed []string
    The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
    PrivilegeLevel string | BareMetalMachineKeySetPrivilegeLevel
    The access level allowed for the users in this key set.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    UserList []KeySetUserArgs
    The unique list of permitted users.
    BareMetalMachineKeySetName string
    The name of the bare metal machine key set.
    Location string
    The geo-location where the resource lives
    OsGroupName string
    The name of the group that users will be assigned to on the operating system of the machines.
    Tags map[string]string
    Resource tags.
    azureGroupId String
    The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
    clusterName String
    The name of the cluster.
    expiration String
    The date and time after which the users in this key set will be removed from the bare metal machines.
    extendedLocation ExtendedLocation
    The extended location of the cluster associated with the resource.
    jumpHostsAllowed List<String>
    The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
    privilegeLevel String | BareMetalMachineKeySetPrivilegeLevel
    The access level allowed for the users in this key set.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    userList List<KeySetUser>
    The unique list of permitted users.
    bareMetalMachineKeySetName String
    The name of the bare metal machine key set.
    location String
    The geo-location where the resource lives
    osGroupName String
    The name of the group that users will be assigned to on the operating system of the machines.
    tags Map<String,String>
    Resource tags.
    azureGroupId string
    The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
    clusterName string
    The name of the cluster.
    expiration string
    The date and time after which the users in this key set will be removed from the bare metal machines.
    extendedLocation ExtendedLocation
    The extended location of the cluster associated with the resource.
    jumpHostsAllowed string[]
    The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
    privilegeLevel string | BareMetalMachineKeySetPrivilegeLevel
    The access level allowed for the users in this key set.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    userList KeySetUser[]
    The unique list of permitted users.
    bareMetalMachineKeySetName string
    The name of the bare metal machine key set.
    location string
    The geo-location where the resource lives
    osGroupName string
    The name of the group that users will be assigned to on the operating system of the machines.
    tags {[key: string]: string}
    Resource tags.
    azure_group_id str
    The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
    cluster_name str
    The name of the cluster.
    expiration str
    The date and time after which the users in this key set will be removed from the bare metal machines.
    extended_location ExtendedLocationArgs
    The extended location of the cluster associated with the resource.
    jump_hosts_allowed Sequence[str]
    The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
    privilege_level str | BareMetalMachineKeySetPrivilegeLevel
    The access level allowed for the users in this key set.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    user_list Sequence[KeySetUserArgs]
    The unique list of permitted users.
    bare_metal_machine_key_set_name str
    The name of the bare metal machine key set.
    location str
    The geo-location where the resource lives
    os_group_name str
    The name of the group that users will be assigned to on the operating system of the machines.
    tags Mapping[str, str]
    Resource tags.
    azureGroupId String
    The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.
    clusterName String
    The name of the cluster.
    expiration String
    The date and time after which the users in this key set will be removed from the bare metal machines.
    extendedLocation Property Map
    The extended location of the cluster associated with the resource.
    jumpHostsAllowed List<String>
    The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
    privilegeLevel String | "Standard" | "Superuser"
    The access level allowed for the users in this key set.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    userList List<Property Map>
    The unique list of permitted users.
    bareMetalMachineKeySetName String
    The name of the bare metal machine key set.
    location String
    The geo-location where the resource lives
    osGroupName String
    The name of the group that users will be assigned to on the operating system of the machines.
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BareMetalMachineKeySet resource produces the following output properties:

    DetailedStatus string
    The more detailed status of the key set.
    DetailedStatusMessage string
    The descriptive message about the current detailed status.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastValidation string
    The last time this key set was validated.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the bare metal machine key set.
    SystemData Pulumi.AzureNative.NetworkCloud.Outputs.SystemDataResponse
    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"
    UserListStatus List<Pulumi.AzureNative.NetworkCloud.Outputs.KeySetUserStatusResponse>
    The status evaluation of each user.
    DetailedStatus string
    The more detailed status of the key set.
    DetailedStatusMessage string
    The descriptive message about the current detailed status.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastValidation string
    The last time this key set was validated.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the bare metal machine key set.
    SystemData SystemDataResponse
    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"
    UserListStatus []KeySetUserStatusResponse
    The status evaluation of each user.
    detailedStatus String
    The more detailed status of the key set.
    detailedStatusMessage String
    The descriptive message about the current detailed status.
    id String
    The provider-assigned unique ID for this managed resource.
    lastValidation String
    The last time this key set was validated.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the bare metal machine key set.
    systemData SystemDataResponse
    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"
    userListStatus List<KeySetUserStatusResponse>
    The status evaluation of each user.
    detailedStatus string
    The more detailed status of the key set.
    detailedStatusMessage string
    The descriptive message about the current detailed status.
    id string
    The provider-assigned unique ID for this managed resource.
    lastValidation string
    The last time this key set was validated.
    name string
    The name of the resource
    provisioningState string
    The provisioning state of the bare metal machine key set.
    systemData SystemDataResponse
    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"
    userListStatus KeySetUserStatusResponse[]
    The status evaluation of each user.
    detailed_status str
    The more detailed status of the key set.
    detailed_status_message str
    The descriptive message about the current detailed status.
    id str
    The provider-assigned unique ID for this managed resource.
    last_validation str
    The last time this key set was validated.
    name str
    The name of the resource
    provisioning_state str
    The provisioning state of the bare metal machine key set.
    system_data SystemDataResponse
    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"
    user_list_status Sequence[KeySetUserStatusResponse]
    The status evaluation of each user.
    detailedStatus String
    The more detailed status of the key set.
    detailedStatusMessage String
    The descriptive message about the current detailed status.
    id String
    The provider-assigned unique ID for this managed resource.
    lastValidation String
    The last time this key set was validated.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the bare metal machine key set.
    systemData 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"
    userListStatus List<Property Map>
    The status evaluation of each user.

    Supporting Types

    BareMetalMachineKeySetPrivilegeLevel, BareMetalMachineKeySetPrivilegeLevelArgs

    Standard
    Standard
    Superuser
    Superuser
    BareMetalMachineKeySetPrivilegeLevelStandard
    Standard
    BareMetalMachineKeySetPrivilegeLevelSuperuser
    Superuser
    Standard
    Standard
    Superuser
    Superuser
    Standard
    Standard
    Superuser
    Superuser
    STANDARD
    Standard
    SUPERUSER
    Superuser
    "Standard"
    Standard
    "Superuser"
    Superuser

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.
    name string
    The resource ID of the extended location on which the resource will be created.
    type string
    The extended location type, for example, CustomLocation.
    name str
    The resource ID of the extended location on which the resource will be created.
    type str
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    Name string
    The resource ID of the extended location on which the resource will be created.
    Type string
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.
    name string
    The resource ID of the extended location on which the resource will be created.
    type string
    The extended location type, for example, CustomLocation.
    name str
    The resource ID of the extended location on which the resource will be created.
    type str
    The extended location type, for example, CustomLocation.
    name String
    The resource ID of the extended location on which the resource will be created.
    type String
    The extended location type, for example, CustomLocation.

    KeySetUser, KeySetUserArgs

    AzureUserName string
    The Azure Active Directory user name (email name).
    SshPublicKey Pulumi.AzureNative.NetworkCloud.Inputs.SshPublicKey
    The SSH public key for this user.
    Description string
    The free-form description for this user.
    AzureUserName string
    The Azure Active Directory user name (email name).
    SshPublicKey SshPublicKey
    The SSH public key for this user.
    Description string
    The free-form description for this user.
    azureUserName String
    The Azure Active Directory user name (email name).
    sshPublicKey SshPublicKey
    The SSH public key for this user.
    description String
    The free-form description for this user.
    azureUserName string
    The Azure Active Directory user name (email name).
    sshPublicKey SshPublicKey
    The SSH public key for this user.
    description string
    The free-form description for this user.
    azure_user_name str
    The Azure Active Directory user name (email name).
    ssh_public_key SshPublicKey
    The SSH public key for this user.
    description str
    The free-form description for this user.
    azureUserName String
    The Azure Active Directory user name (email name).
    sshPublicKey Property Map
    The SSH public key for this user.
    description String
    The free-form description for this user.

    KeySetUserResponse, KeySetUserResponseArgs

    AzureUserName string
    The Azure Active Directory user name (email name).
    SshPublicKey Pulumi.AzureNative.NetworkCloud.Inputs.SshPublicKeyResponse
    The SSH public key for this user.
    Description string
    The free-form description for this user.
    AzureUserName string
    The Azure Active Directory user name (email name).
    SshPublicKey SshPublicKeyResponse
    The SSH public key for this user.
    Description string
    The free-form description for this user.
    azureUserName String
    The Azure Active Directory user name (email name).
    sshPublicKey SshPublicKeyResponse
    The SSH public key for this user.
    description String
    The free-form description for this user.
    azureUserName string
    The Azure Active Directory user name (email name).
    sshPublicKey SshPublicKeyResponse
    The SSH public key for this user.
    description string
    The free-form description for this user.
    azure_user_name str
    The Azure Active Directory user name (email name).
    ssh_public_key SshPublicKeyResponse
    The SSH public key for this user.
    description str
    The free-form description for this user.
    azureUserName String
    The Azure Active Directory user name (email name).
    sshPublicKey Property Map
    The SSH public key for this user.
    description String
    The free-form description for this user.

    KeySetUserStatusResponse, KeySetUserStatusResponseArgs

    AzureUserName string
    The Azure Active Directory user name (email name).
    Status string
    The indicator of whether the user is currently deployed for access.
    StatusMessage string
    The additional information describing the current status of this user, if any available.
    AzureUserName string
    The Azure Active Directory user name (email name).
    Status string
    The indicator of whether the user is currently deployed for access.
    StatusMessage string
    The additional information describing the current status of this user, if any available.
    azureUserName String
    The Azure Active Directory user name (email name).
    status String
    The indicator of whether the user is currently deployed for access.
    statusMessage String
    The additional information describing the current status of this user, if any available.
    azureUserName string
    The Azure Active Directory user name (email name).
    status string
    The indicator of whether the user is currently deployed for access.
    statusMessage string
    The additional information describing the current status of this user, if any available.
    azure_user_name str
    The Azure Active Directory user name (email name).
    status str
    The indicator of whether the user is currently deployed for access.
    status_message str
    The additional information describing the current status of this user, if any available.
    azureUserName String
    The Azure Active Directory user name (email name).
    status String
    The indicator of whether the user is currently deployed for access.
    statusMessage String
    The additional information describing the current status of this user, if any available.

    SshPublicKey, SshPublicKeyArgs

    KeyData string
    The public ssh key of the user.
    KeyData string
    The public ssh key of the user.
    keyData String
    The public ssh key of the user.
    keyData string
    The public ssh key of the user.
    key_data str
    The public ssh key of the user.
    keyData String
    The public ssh key of the user.

    SshPublicKeyResponse, SshPublicKeyResponseArgs

    KeyData string
    The public ssh key of the user.
    KeyData string
    The public ssh key of the user.
    keyData String
    The public ssh key of the user.
    keyData string
    The public ssh key of the user.
    key_data str
    The public ssh key of the user.
    keyData String
    The public ssh key of the user.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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:networkcloud:BareMetalMachineKeySet bareMetalMachineKeySetName /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi