1. Packages
  2. Azure Native
  3. API Docs
  4. networkcloud
  5. BmcKeySet
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.69.0 published on Monday, Oct 28, 2024 by Pulumi

azure-native.networkcloud.BmcKeySet

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.69.0 published on Monday, Oct 28, 2024 by Pulumi

    Azure REST API version: 2023-10-01-preview. Prior API version in Azure Native 1.x: 2022-12-12-preview.

    Other available API versions: 2023-07-01, 2024-06-01-preview, 2024-07-01.

    Example Usage

    Create or update baseboard management controller key set of cluster

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var bmcKeySet = new AzureNative.NetworkCloud.BmcKeySet("bmcKeySet", new()
        {
            AzureGroupId = "f110271b-XXXX-4163-9b99-214d91660f0e",
            BmcKeySetName = "bmcKeySetName",
            ClusterName = "clusterName",
            Expiration = "2022-12-31T23:59:59.008Z",
            ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
                Type = "CustomLocation",
            },
            Location = "location",
            PrivilegeLevel = AzureNative.NetworkCloud.BmcKeySetPrivilegeLevel.Administrator,
            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",
                    },
                    UserPrincipalName = "userABC@contoso.com",
                },
                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",
                    },
                    UserPrincipalName = "userABC@contoso.com",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networkcloud.NewBmcKeySet(ctx, "bmcKeySet", &networkcloud.BmcKeySetArgs{
    			AzureGroupId:  pulumi.String("f110271b-XXXX-4163-9b99-214d91660f0e"),
    			BmcKeySetName: pulumi.String("bmcKeySetName"),
    			ClusterName:   pulumi.String("clusterName"),
    			Expiration:    pulumi.String("2022-12-31T23:59:59.008Z"),
    			ExtendedLocation: &networkcloud.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			Location:          pulumi.String("location"),
    			PrivilegeLevel:    pulumi.String(networkcloud.BmcKeySetPrivilegeLevelAdministrator),
    			ResourceGroupName: pulumi.String("resourceGroupName"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("myvalue1"),
    				"key2": pulumi.String("myvalue2"),
    			},
    			UserList: networkcloud.KeySetUserArray{
    				&networkcloud.KeySetUserArgs{
    					AzureUserName: pulumi.String("userABC"),
    					Description:   pulumi.String("Needs access for troubleshooting as a part of the support team"),
    					SshPublicKey: &networkcloud.SshPublicKeyArgs{
    						KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
    					},
    					UserPrincipalName: pulumi.String("userABC@contoso.com"),
    				},
    				&networkcloud.KeySetUserArgs{
    					AzureUserName: pulumi.String("userXYZ"),
    					Description:   pulumi.String("Needs access for troubleshooting as a part of the support team"),
    					SshPublicKey: &networkcloud.SshPublicKeyArgs{
    						KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
    					},
    					UserPrincipalName: pulumi.String("userABC@contoso.com"),
    				},
    			},
    		})
    		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.BmcKeySet;
    import com.pulumi.azurenative.networkcloud.BmcKeySetArgs;
    import com.pulumi.azurenative.networkcloud.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.networkcloud.inputs.KeySetUserArgs;
    import com.pulumi.azurenative.networkcloud.inputs.SshPublicKeyArgs;
    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 bmcKeySet = new BmcKeySet("bmcKeySet", BmcKeySetArgs.builder()
                .azureGroupId("f110271b-XXXX-4163-9b99-214d91660f0e")
                .bmcKeySetName("bmcKeySetName")
                .clusterName("clusterName")
                .expiration("2022-12-31T23:59:59.008Z")
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName")
                    .type("CustomLocation")
                    .build())
                .location("location")
                .privilegeLevel("Administrator")
                .resourceGroupName("resourceGroupName")
                .tags(Map.ofEntries(
                    Map.entry("key1", "myvalue1"),
                    Map.entry("key2", "myvalue2")
                ))
                .userList(            
                    KeySetUserArgs.builder()
                        .azureUserName("userABC")
                        .description("Needs access for troubleshooting as a part of the support team")
                        .sshPublicKey(SshPublicKeyArgs.builder()
                            .keyData("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm")
                            .build())
                        .userPrincipalName("userABC@contoso.com")
                        .build(),
                    KeySetUserArgs.builder()
                        .azureUserName("userXYZ")
                        .description("Needs access for troubleshooting as a part of the support team")
                        .sshPublicKey(SshPublicKeyArgs.builder()
                            .keyData("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm")
                            .build())
                        .userPrincipalName("userABC@contoso.com")
                        .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    bmc_key_set = azure_native.networkcloud.BmcKeySet("bmcKeySet",
        azure_group_id="f110271b-XXXX-4163-9b99-214d91660f0e",
        bmc_key_set_name="bmcKeySetName",
        cluster_name="clusterName",
        expiration="2022-12-31T23:59:59.008Z",
        extended_location={
            "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            "type": "CustomLocation",
        },
        location="location",
        privilege_level=azure_native.networkcloud.BmcKeySetPrivilegeLevel.ADMINISTRATOR,
        resource_group_name="resourceGroupName",
        tags={
            "key1": "myvalue1",
            "key2": "myvalue2",
        },
        user_list=[
            {
                "azure_user_name": "userABC",
                "description": "Needs access for troubleshooting as a part of the support team",
                "ssh_public_key": {
                    "key_data": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                },
                "user_principal_name": "userABC@contoso.com",
            },
            {
                "azure_user_name": "userXYZ",
                "description": "Needs access for troubleshooting as a part of the support team",
                "ssh_public_key": {
                    "key_data": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
                },
                "user_principal_name": "userABC@contoso.com",
            },
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const bmcKeySet = new azure_native.networkcloud.BmcKeySet("bmcKeySet", {
        azureGroupId: "f110271b-XXXX-4163-9b99-214d91660f0e",
        bmcKeySetName: "bmcKeySetName",
        clusterName: "clusterName",
        expiration: "2022-12-31T23:59:59.008Z",
        extendedLocation: {
            name: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
            type: "CustomLocation",
        },
        location: "location",
        privilegeLevel: azure_native.networkcloud.BmcKeySetPrivilegeLevel.Administrator,
        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",
                },
                userPrincipalName: "userABC@contoso.com",
            },
            {
                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",
                },
                userPrincipalName: "userABC@contoso.com",
            },
        ],
    });
    
    resources:
      bmcKeySet:
        type: azure-native:networkcloud:BmcKeySet
        properties:
          azureGroupId: f110271b-XXXX-4163-9b99-214d91660f0e
          bmcKeySetName: bmcKeySetName
          clusterName: clusterName
          expiration: 2022-12-31T23:59:59.008Z
          extendedLocation:
            name: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName
            type: CustomLocation
          location: location
          privilegeLevel: Administrator
          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
              userPrincipalName: userABC@contoso.com
            - 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
              userPrincipalName: userABC@contoso.com
    

    Create BmcKeySet Resource

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

    Constructor syntax

    new BmcKeySet(name: string, args: BmcKeySetArgs, opts?: CustomResourceOptions);
    @overload
    def BmcKeySet(resource_name: str,
                  args: BmcKeySetArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def BmcKeySet(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,
                  privilege_level: Optional[Union[str, BmcKeySetPrivilegeLevel]] = None,
                  resource_group_name: Optional[str] = None,
                  user_list: Optional[Sequence[KeySetUserArgs]] = None,
                  bmc_key_set_name: Optional[str] = None,
                  location: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
    func NewBmcKeySet(ctx *Context, name string, args BmcKeySetArgs, opts ...ResourceOption) (*BmcKeySet, error)
    public BmcKeySet(string name, BmcKeySetArgs args, CustomResourceOptions? opts = null)
    public BmcKeySet(String name, BmcKeySetArgs args)
    public BmcKeySet(String name, BmcKeySetArgs args, CustomResourceOptions options)
    
    type: azure-native:networkcloud:BmcKeySet
    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 BmcKeySetArgs
    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 BmcKeySetArgs
    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 BmcKeySetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BmcKeySetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BmcKeySetArgs
    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 bmcKeySetResource = new AzureNative.NetworkCloud.BmcKeySet("bmcKeySetResource", new()
    {
        AzureGroupId = "string",
        ClusterName = "string",
        Expiration = "string",
        ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        PrivilegeLevel = "string",
        ResourceGroupName = "string",
        UserList = new[]
        {
            new AzureNative.NetworkCloud.Inputs.KeySetUserArgs
            {
                AzureUserName = "string",
                SshPublicKey = new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
                {
                    KeyData = "string",
                },
                Description = "string",
                UserPrincipalName = "string",
            },
        },
        BmcKeySetName = "string",
        Location = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := networkcloud.NewBmcKeySet(ctx, "bmcKeySetResource", &networkcloud.BmcKeySetArgs{
    	AzureGroupId: pulumi.String("string"),
    	ClusterName:  pulumi.String("string"),
    	Expiration:   pulumi.String("string"),
    	ExtendedLocation: &networkcloud.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	PrivilegeLevel:    pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	UserList: networkcloud.KeySetUserArray{
    		&networkcloud.KeySetUserArgs{
    			AzureUserName: pulumi.String("string"),
    			SshPublicKey: &networkcloud.SshPublicKeyArgs{
    				KeyData: pulumi.String("string"),
    			},
    			Description:       pulumi.String("string"),
    			UserPrincipalName: pulumi.String("string"),
    		},
    	},
    	BmcKeySetName: pulumi.String("string"),
    	Location:      pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var bmcKeySetResource = new BmcKeySet("bmcKeySetResource", BmcKeySetArgs.builder()
        .azureGroupId("string")
        .clusterName("string")
        .expiration("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .privilegeLevel("string")
        .resourceGroupName("string")
        .userList(KeySetUserArgs.builder()
            .azureUserName("string")
            .sshPublicKey(SshPublicKeyArgs.builder()
                .keyData("string")
                .build())
            .description("string")
            .userPrincipalName("string")
            .build())
        .bmcKeySetName("string")
        .location("string")
        .tags(Map.of("string", "string"))
        .build());
    
    bmc_key_set_resource = azure_native.networkcloud.BmcKeySet("bmcKeySetResource",
        azure_group_id="string",
        cluster_name="string",
        expiration="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        privilege_level="string",
        resource_group_name="string",
        user_list=[{
            "azure_user_name": "string",
            "ssh_public_key": {
                "key_data": "string",
            },
            "description": "string",
            "user_principal_name": "string",
        }],
        bmc_key_set_name="string",
        location="string",
        tags={
            "string": "string",
        })
    
    const bmcKeySetResource = new azure_native.networkcloud.BmcKeySet("bmcKeySetResource", {
        azureGroupId: "string",
        clusterName: "string",
        expiration: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        privilegeLevel: "string",
        resourceGroupName: "string",
        userList: [{
            azureUserName: "string",
            sshPublicKey: {
                keyData: "string",
            },
            description: "string",
            userPrincipalName: "string",
        }],
        bmcKeySetName: "string",
        location: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:networkcloud:BmcKeySet
    properties:
        azureGroupId: string
        bmcKeySetName: string
        clusterName: string
        expiration: string
        extendedLocation:
            name: string
            type: string
        location: string
        privilegeLevel: string
        resourceGroupName: string
        tags:
            string: string
        userList:
            - azureUserName: string
              description: string
              sshPublicKey:
                keyData: string
              userPrincipalName: string
    

    BmcKeySet 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 BmcKeySet 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 baseboard management controllers.
    ExtendedLocation Pulumi.AzureNative.NetworkCloud.Inputs.ExtendedLocation
    The extended location of the cluster associated with the resource.
    PrivilegeLevel string | Pulumi.AzureNative.NetworkCloud.BmcKeySetPrivilegeLevel
    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.
    BmcKeySetName string
    The name of the baseboard management controller key set.
    Location string
    The geo-location where the resource lives
    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 baseboard management controllers.
    ExtendedLocation ExtendedLocationArgs
    The extended location of the cluster associated with the resource.
    PrivilegeLevel string | BmcKeySetPrivilegeLevel
    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.
    BmcKeySetName string
    The name of the baseboard management controller key set.
    Location string
    The geo-location where the resource lives
    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 baseboard management controllers.
    extendedLocation ExtendedLocation
    The extended location of the cluster associated with the resource.
    privilegeLevel String | BmcKeySetPrivilegeLevel
    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.
    bmcKeySetName String
    The name of the baseboard management controller key set.
    location String
    The geo-location where the resource lives
    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 baseboard management controllers.
    extendedLocation ExtendedLocation
    The extended location of the cluster associated with the resource.
    privilegeLevel string | BmcKeySetPrivilegeLevel
    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.
    bmcKeySetName string
    The name of the baseboard management controller key set.
    location string
    The geo-location where the resource lives
    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 baseboard management controllers.
    extended_location ExtendedLocationArgs
    The extended location of the cluster associated with the resource.
    privilege_level str | BmcKeySetPrivilegeLevel
    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.
    bmc_key_set_name str
    The name of the baseboard management controller key set.
    location str
    The geo-location where the resource lives
    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 baseboard management controllers.
    extendedLocation Property Map
    The extended location of the cluster associated with the resource.
    privilegeLevel String | "ReadOnly" | "Administrator"
    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.
    bmcKeySetName String
    The name of the baseboard management controller key set.
    location String
    The geo-location where the resource lives
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BmcKeySet 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 baseboard management controller 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 baseboard management controller 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 baseboard management controller 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 baseboard management controller 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 baseboard management controller 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 baseboard management controller 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

    BmcKeySetPrivilegeLevel, BmcKeySetPrivilegeLevelArgs

    ReadOnly
    ReadOnly
    Administrator
    Administrator
    BmcKeySetPrivilegeLevelReadOnly
    ReadOnly
    BmcKeySetPrivilegeLevelAdministrator
    Administrator
    ReadOnly
    ReadOnly
    Administrator
    Administrator
    ReadOnly
    ReadOnly
    Administrator
    Administrator
    READ_ONLY
    ReadOnly
    ADMINISTRATOR
    Administrator
    "ReadOnly"
    ReadOnly
    "Administrator"
    Administrator

    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 user name that will be used for access.
    SshPublicKey Pulumi.AzureNative.NetworkCloud.Inputs.SshPublicKey
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    Description string
    The free-form description for this user.
    UserPrincipalName string
    The user principal name (email format) used to validate this user's group membership.
    AzureUserName string
    The user name that will be used for access.
    SshPublicKey SshPublicKey
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    Description string
    The free-form description for this user.
    UserPrincipalName string
    The user principal name (email format) used to validate this user's group membership.
    azureUserName String
    The user name that will be used for access.
    sshPublicKey SshPublicKey
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description String
    The free-form description for this user.
    userPrincipalName String
    The user principal name (email format) used to validate this user's group membership.
    azureUserName string
    The user name that will be used for access.
    sshPublicKey SshPublicKey
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description string
    The free-form description for this user.
    userPrincipalName string
    The user principal name (email format) used to validate this user's group membership.
    azure_user_name str
    The user name that will be used for access.
    ssh_public_key SshPublicKey
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description str
    The free-form description for this user.
    user_principal_name str
    The user principal name (email format) used to validate this user's group membership.
    azureUserName String
    The user name that will be used for access.
    sshPublicKey Property Map
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description String
    The free-form description for this user.
    userPrincipalName String
    The user principal name (email format) used to validate this user's group membership.

    KeySetUserResponse, KeySetUserResponseArgs

    AzureUserName string
    The user name that will be used for access.
    SshPublicKey Pulumi.AzureNative.NetworkCloud.Inputs.SshPublicKeyResponse
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    Description string
    The free-form description for this user.
    UserPrincipalName string
    The user principal name (email format) used to validate this user's group membership.
    AzureUserName string
    The user name that will be used for access.
    SshPublicKey SshPublicKeyResponse
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    Description string
    The free-form description for this user.
    UserPrincipalName string
    The user principal name (email format) used to validate this user's group membership.
    azureUserName String
    The user name that will be used for access.
    sshPublicKey SshPublicKeyResponse
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description String
    The free-form description for this user.
    userPrincipalName String
    The user principal name (email format) used to validate this user's group membership.
    azureUserName string
    The user name that will be used for access.
    sshPublicKey SshPublicKeyResponse
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description string
    The free-form description for this user.
    userPrincipalName string
    The user principal name (email format) used to validate this user's group membership.
    azure_user_name str
    The user name that will be used for access.
    ssh_public_key SshPublicKeyResponse
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description str
    The free-form description for this user.
    user_principal_name str
    The user principal name (email format) used to validate this user's group membership.
    azureUserName String
    The user name that will be used for access.
    sshPublicKey Property Map
    The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
    description String
    The free-form description for this user.
    userPrincipalName String
    The user principal name (email format) used to validate this user's group membership.

    KeySetUserStatusResponse, KeySetUserStatusResponseArgs

    AzureUserName string
    The user name that will be used for access.
    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 user name that will be used for access.
    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 user name that will be used for access.
    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 user name that will be used for access.
    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 user name that will be used for access.
    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 user name that will be used for access.
    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 SSH public key data.
    KeyData string
    The SSH public key data.
    keyData String
    The SSH public key data.
    keyData string
    The SSH public key data.
    key_data str
    The SSH public key data.
    keyData String
    The SSH public key data.

    SshPublicKeyResponse, SshPublicKeyResponseArgs

    KeyData string
    The SSH public key data.
    KeyData string
    The SSH public key data.
    keyData String
    The SSH public key data.
    keyData string
    The SSH public key data.
    key_data str
    The SSH public key data.
    keyData String
    The SSH public key data.

    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:BmcKeySet bmcKeySetName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/bmcKeySets/{bmcKeySetName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.69.0 published on Monday, Oct 28, 2024 by Pulumi