azure-native.networkcloud.BareMetalMachineKeySet
Explore with Pulumi AI
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:
- Azure
Group stringId - 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 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.
- Extended
Location Pulumi.Azure Native. Network Cloud. Inputs. Extended Location - The extended location of the cluster associated with the resource.
- Jump
Hosts List<string>Allowed - The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
- Privilege
Level string | Pulumi.Azure Native. Network Cloud. Bare Metal Machine Key Set Privilege Level - The access level allowed for the users in this key set.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- User
List List<Pulumi.Azure Native. Network Cloud. Inputs. Key Set User> - The unique list of permitted users.
- Bare
Metal stringMachine Key Set Name - The name of the bare metal machine key set.
- Location string
- The geo-location where the resource lives
- Os
Group stringName - The name of the group that users will be assigned to on the operating system of the machines.
- Dictionary<string, string>
- Resource tags.
- Azure
Group stringId - 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 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.
- Extended
Location ExtendedLocation Args - The extended location of the cluster associated with the resource.
- Jump
Hosts []stringAllowed - The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
- Privilege
Level string | BareMetal Machine Key Set Privilege Level - The access level allowed for the users in this key set.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- User
List []KeySet User Args - The unique list of permitted users.
- Bare
Metal stringMachine Key Set Name - The name of the bare metal machine key set.
- Location string
- The geo-location where the resource lives
- Os
Group stringName - The name of the group that users will be assigned to on the operating system of the machines.
- map[string]string
- Resource tags.
- azure
Group StringId - 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 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.
- extended
Location ExtendedLocation - The extended location of the cluster associated with the resource.
- jump
Hosts List<String>Allowed - The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
- privilege
Level String | BareMetal Machine Key Set Privilege Level - The access level allowed for the users in this key set.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- user
List List<KeySet User> - The unique list of permitted users.
- bare
Metal StringMachine Key Set Name - The name of the bare metal machine key set.
- location String
- The geo-location where the resource lives
- os
Group StringName - The name of the group that users will be assigned to on the operating system of the machines.
- Map<String,String>
- Resource tags.
- azure
Group stringId - 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 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.
- extended
Location ExtendedLocation - The extended location of the cluster associated with the resource.
- jump
Hosts string[]Allowed - The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
- privilege
Level string | BareMetal Machine Key Set Privilege Level - The access level allowed for the users in this key set.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- user
List KeySet User[] - The unique list of permitted users.
- bare
Metal stringMachine Key Set Name - The name of the bare metal machine key set.
- location string
- The geo-location where the resource lives
- os
Group stringName - The name of the group that users will be assigned to on the operating system of the machines.
- {[key: string]: string}
- Resource tags.
- azure_
group_ strid - 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 ExtendedLocation Args - The extended location of the cluster associated with the resource.
- jump_
hosts_ Sequence[str]allowed - 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 | BareMetal Machine Key Set Privilege Level - The access level allowed for the users in this key set.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- user_
list Sequence[KeySet User Args] - The unique list of permitted users.
- bare_
metal_ strmachine_ key_ set_ name - The name of the bare metal machine key set.
- location str
- The geo-location where the resource lives
- os_
group_ strname - The name of the group that users will be assigned to on the operating system of the machines.
- Mapping[str, str]
- Resource tags.
- azure
Group StringId - 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 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.
- extended
Location Property Map - The extended location of the cluster associated with the resource.
- jump
Hosts List<String>Allowed - The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.
- privilege
Level String | "Standard" | "Superuser" - The access level allowed for the users in this key set.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- user
List List<Property Map> - The unique list of permitted users.
- bare
Metal StringMachine Key Set Name - The name of the bare metal machine key set.
- location String
- The geo-location where the resource lives
- os
Group StringName - The name of the group that users will be assigned to on the operating system of the machines.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the BareMetalMachineKeySet resource produces the following output properties:
- Detailed
Status string - The more detailed status of the key set.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Validation string - The last time this key set was validated.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the bare metal machine key set.
- System
Data Pulumi.Azure Native. Network Cloud. 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"
- User
List List<Pulumi.Status Azure Native. Network Cloud. Outputs. Key Set User Status Response> - The status evaluation of each user.
- Detailed
Status string - The more detailed status of the key set.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Validation string - The last time this key set was validated.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the bare metal machine key set.
- 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"
- User
List []KeyStatus Set User Status Response - The status evaluation of each user.
- detailed
Status String - The more detailed status of the key set.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Validation String - The last time this key set was validated.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the bare metal machine key set.
- 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"
- user
List List<KeyStatus Set User Status Response> - The status evaluation of each user.
- detailed
Status string - The more detailed status of the key set.
- detailed
Status stringMessage - The descriptive message about the current detailed status.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Validation string - The last time this key set was validated.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the bare metal machine key set.
- 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"
- user
List KeyStatus Set User Status Response[] - The status evaluation of each user.
- detailed_
status str - The more detailed status of the key set.
- detailed_
status_ strmessage - 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 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"
- user_
list_ Sequence[Keystatus Set User Status Response] - The status evaluation of each user.
- detailed
Status String - The more detailed status of the key set.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Validation String - The last time this key set was validated.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the bare metal machine key set.
- 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"
- user
List List<Property Map>Status - The status evaluation of each user.
Supporting Types
BareMetalMachineKeySetPrivilegeLevel, BareMetalMachineKeySetPrivilegeLevelArgs
- Standard
- Standard
- Superuser
- Superuser
- Bare
Metal Machine Key Set Privilege Level Standard - Standard
- Bare
Metal Machine Key Set Privilege Level Superuser - Superuser
- Standard
- Standard
- Superuser
- Superuser
- Standard
- Standard
- Superuser
- Superuser
- STANDARD
- Standard
- SUPERUSER
- Superuser
- "Standard"
- Standard
- "Superuser"
- Superuser
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
KeySetUser, KeySetUserArgs
- Azure
User stringName - The Azure Active Directory user name (email name).
- Ssh
Public Pulumi.Key Azure Native. Network Cloud. Inputs. Ssh Public Key - The SSH public key for this user.
- Description string
- The free-form description for this user.
- Azure
User stringName - The Azure Active Directory user name (email name).
- Ssh
Public SshKey Public Key - The SSH public key for this user.
- Description string
- The free-form description for this user.
- azure
User StringName - The Azure Active Directory user name (email name).
- ssh
Public SshKey Public Key - The SSH public key for this user.
- description String
- The free-form description for this user.
- azure
User stringName - The Azure Active Directory user name (email name).
- ssh
Public SshKey Public Key - The SSH public key for this user.
- description string
- The free-form description for this user.
- azure_
user_ strname - The Azure Active Directory user name (email name).
- ssh_
public_ Sshkey Public Key - The SSH public key for this user.
- description str
- The free-form description for this user.
- azure
User StringName - The Azure Active Directory user name (email name).
- ssh
Public Property MapKey - The SSH public key for this user.
- description String
- The free-form description for this user.
KeySetUserResponse, KeySetUserResponseArgs
- Azure
User stringName - The Azure Active Directory user name (email name).
- Ssh
Public Pulumi.Key Azure Native. Network Cloud. Inputs. Ssh Public Key Response - The SSH public key for this user.
- Description string
- The free-form description for this user.
- Azure
User stringName - The Azure Active Directory user name (email name).
- Ssh
Public SshKey Public Key Response - The SSH public key for this user.
- Description string
- The free-form description for this user.
- azure
User StringName - The Azure Active Directory user name (email name).
- ssh
Public SshKey Public Key Response - The SSH public key for this user.
- description String
- The free-form description for this user.
- azure
User stringName - The Azure Active Directory user name (email name).
- ssh
Public SshKey Public Key Response - The SSH public key for this user.
- description string
- The free-form description for this user.
- azure_
user_ strname - The Azure Active Directory user name (email name).
- ssh_
public_ Sshkey Public Key Response - The SSH public key for this user.
- description str
- The free-form description for this user.
- azure
User StringName - The Azure Active Directory user name (email name).
- ssh
Public Property MapKey - The SSH public key for this user.
- description String
- The free-form description for this user.
KeySetUserStatusResponse, KeySetUserStatusResponseArgs
- Azure
User stringName - The Azure Active Directory user name (email name).
- Status string
- The indicator of whether the user is currently deployed for access.
- Status
Message string - The additional information describing the current status of this user, if any available.
- Azure
User stringName - The Azure Active Directory user name (email name).
- Status string
- The indicator of whether the user is currently deployed for access.
- Status
Message string - The additional information describing the current status of this user, if any available.
- azure
User StringName - The Azure Active Directory user name (email name).
- status String
- The indicator of whether the user is currently deployed for access.
- status
Message String - The additional information describing the current status of this user, if any available.
- azure
User stringName - The Azure Active Directory user name (email name).
- status string
- The indicator of whether the user is currently deployed for access.
- status
Message string - The additional information describing the current status of this user, if any available.
- azure_
user_ strname - 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.
- azure
User StringName - The Azure Active Directory user name (email name).
- status String
- The indicator of whether the user is currently deployed for access.
- status
Message String - The additional information describing the current status of this user, if any available.
SshPublicKey, SshPublicKeyArgs
- Key
Data string - The public ssh key of the user.
- Key
Data string - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
- key
Data string - The public ssh key of the user.
- key_
data str - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
SshPublicKeyResponse, SshPublicKeyResponseArgs
- Key
Data string - The public ssh key of the user.
- Key
Data string - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
- key
Data string - The public ssh key of the user.
- key_
data str - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
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: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