1. Packages
  2. Azure Native v2
  3. API Docs
  4. networkcloud
  5. Console
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.networkcloud.Console

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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, 2024-10-01-preview.

Example Usage

Create or update virtual machine console

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var console = new AzureNative.NetworkCloud.Console("console", new()
    {
        ConsoleName = "default",
        Enabled = AzureNative.NetworkCloud.ConsoleEnabled.True,
        Expiration = "2022-06-01T01:27:03.008Z",
        ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
        {
            Name = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName",
            Type = "CustomLocation",
        },
        Location = "location",
        ResourceGroupName = "resourceGroupName",
        SshPublicKey = new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
        {
            KeyData = "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
        },
        Tags = 
        {
            { "key1", "myvalue1" },
            { "key2", "myvalue2" },
        },
        VirtualMachineName = "virtualMachineName",
    });

});
Copy
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.NewConsole(ctx, "console", &networkcloud.ConsoleArgs{
			ConsoleName: pulumi.String("default"),
			Enabled:     pulumi.String(networkcloud.ConsoleEnabledTrue),
			Expiration:  pulumi.String("2022-06-01T01:27:03.008Z"),
			ExtendedLocation: &networkcloud.ExtendedLocationArgs{
				Name: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"),
				Type: pulumi.String("CustomLocation"),
			},
			Location:          pulumi.String("location"),
			ResourceGroupName: pulumi.String("resourceGroupName"),
			SshPublicKey: &networkcloud.SshPublicKeyArgs{
				KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
			},
			Tags: pulumi.StringMap{
				"key1": pulumi.String("myvalue1"),
				"key2": pulumi.String("myvalue2"),
			},
			VirtualMachineName: pulumi.String("virtualMachineName"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.networkcloud.Console;
import com.pulumi.azurenative.networkcloud.ConsoleArgs;
import com.pulumi.azurenative.networkcloud.inputs.ExtendedLocationArgs;
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 console = new Console("console", ConsoleArgs.builder()
            .consoleName("default")
            .enabled("True")
            .expiration("2022-06-01T01:27:03.008Z")
            .extendedLocation(ExtendedLocationArgs.builder()
                .name("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName")
                .type("CustomLocation")
                .build())
            .location("location")
            .resourceGroupName("resourceGroupName")
            .sshPublicKey(SshPublicKeyArgs.builder()
                .keyData("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm")
                .build())
            .tags(Map.ofEntries(
                Map.entry("key1", "myvalue1"),
                Map.entry("key2", "myvalue2")
            ))
            .virtualMachineName("virtualMachineName")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const console = new azure_native.networkcloud.Console("console", {
    consoleName: "default",
    enabled: azure_native.networkcloud.ConsoleEnabled.True,
    expiration: "2022-06-01T01:27:03.008Z",
    extendedLocation: {
        name: "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName",
        type: "CustomLocation",
    },
    location: "location",
    resourceGroupName: "resourceGroupName",
    sshPublicKey: {
        keyData: "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
    },
    tags: {
        key1: "myvalue1",
        key2: "myvalue2",
    },
    virtualMachineName: "virtualMachineName",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

console = azure_native.networkcloud.Console("console",
    console_name="default",
    enabled=azure_native.networkcloud.ConsoleEnabled.TRUE,
    expiration="2022-06-01T01:27:03.008Z",
    extended_location={
        "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName",
        "type": "CustomLocation",
    },
    location="location",
    resource_group_name="resourceGroupName",
    ssh_public_key={
        "key_data": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
    },
    tags={
        "key1": "myvalue1",
        "key2": "myvalue2",
    },
    virtual_machine_name="virtualMachineName")
Copy
resources:
  console:
    type: azure-native:networkcloud:Console
    properties:
      consoleName: default
      enabled: True
      expiration: 2022-06-01T01:27:03.008Z
      extendedLocation:
        name: /subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName
        type: CustomLocation
      location: location
      resourceGroupName: resourceGroupName
      sshPublicKey:
        keyData: ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm
      tags:
        key1: myvalue1
        key2: myvalue2
      virtualMachineName: virtualMachineName
Copy

Create Console Resource

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

Constructor syntax

new Console(name: string, args: ConsoleArgs, opts?: CustomResourceOptions);
@overload
def Console(resource_name: str,
            args: ConsoleArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Console(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[Union[str, ConsoleEnabled]] = None,
            extended_location: Optional[ExtendedLocationArgs] = None,
            resource_group_name: Optional[str] = None,
            ssh_public_key: Optional[SshPublicKeyArgs] = None,
            virtual_machine_name: Optional[str] = None,
            console_name: Optional[str] = None,
            expiration: Optional[str] = None,
            location: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
func NewConsole(ctx *Context, name string, args ConsoleArgs, opts ...ResourceOption) (*Console, error)
public Console(string name, ConsoleArgs args, CustomResourceOptions? opts = null)
public Console(String name, ConsoleArgs args)
public Console(String name, ConsoleArgs args, CustomResourceOptions options)
type: azure-native:networkcloud:Console
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConsoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ConsoleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ConsoleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConsoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ConsoleArgs
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 consoleResource = new AzureNative.Networkcloud.Console("consoleResource", new()
{
    Enabled = "string",
    ExtendedLocation = 
    {
        { "name", "string" },
        { "type", "string" },
    },
    ResourceGroupName = "string",
    SshPublicKey = 
    {
        { "keyData", "string" },
    },
    VirtualMachineName = "string",
    ConsoleName = "string",
    Expiration = "string",
    Location = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := networkcloud.NewConsole(ctx, "consoleResource", &networkcloud.ConsoleArgs{
	Enabled: "string",
	ExtendedLocation: map[string]interface{}{
		"name": "string",
		"type": "string",
	},
	ResourceGroupName: "string",
	SshPublicKey: map[string]interface{}{
		"keyData": "string",
	},
	VirtualMachineName: "string",
	ConsoleName:        "string",
	Expiration:         "string",
	Location:           "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var consoleResource = new Console("consoleResource", ConsoleArgs.builder()
    .enabled("string")
    .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .sshPublicKey(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .virtualMachineName("string")
    .consoleName("string")
    .expiration("string")
    .location("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
console_resource = azure_native.networkcloud.Console("consoleResource",
    enabled=string,
    extended_location={
        name: string,
        type: string,
    },
    resource_group_name=string,
    ssh_public_key={
        keyData: string,
    },
    virtual_machine_name=string,
    console_name=string,
    expiration=string,
    location=string,
    tags={
        string: string,
    })
Copy
const consoleResource = new azure_native.networkcloud.Console("consoleResource", {
    enabled: "string",
    extendedLocation: {
        name: "string",
        type: "string",
    },
    resourceGroupName: "string",
    sshPublicKey: {
        keyData: "string",
    },
    virtualMachineName: "string",
    consoleName: "string",
    expiration: "string",
    location: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:networkcloud:Console
properties:
    consoleName: string
    enabled: string
    expiration: string
    extendedLocation:
        name: string
        type: string
    location: string
    resourceGroupName: string
    sshPublicKey:
        keyData: string
    tags:
        string: string
    virtualMachineName: string
Copy

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

Enabled This property is required. string | Pulumi.AzureNative.NetworkCloud.ConsoleEnabled
The indicator of whether the console access is enabled.
ExtendedLocation This property is required. Pulumi.AzureNative.NetworkCloud.Inputs.ExtendedLocation
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SshPublicKey This property is required. 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.
VirtualMachineName
This property is required.
Changes to this property will trigger replacement.
string
The name of the virtual machine.
ConsoleName Changes to this property will trigger replacement. string
The name of the virtual machine console.
Expiration string
The date and time after which the key will be disallowed access.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Tags Dictionary<string, string>
Resource tags.
Enabled This property is required. string | ConsoleEnabled
The indicator of whether the console access is enabled.
ExtendedLocation This property is required. ExtendedLocationArgs
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SshPublicKey This property is required. SshPublicKeyArgs
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.
VirtualMachineName
This property is required.
Changes to this property will trigger replacement.
string
The name of the virtual machine.
ConsoleName Changes to this property will trigger replacement. string
The name of the virtual machine console.
Expiration string
The date and time after which the key will be disallowed access.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Tags map[string]string
Resource tags.
enabled This property is required. String | ConsoleEnabled
The indicator of whether the console access is enabled.
extendedLocation This property is required. ExtendedLocation
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sshPublicKey This property is required. 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.
virtualMachineName
This property is required.
Changes to this property will trigger replacement.
String
The name of the virtual machine.
consoleName Changes to this property will trigger replacement. String
The name of the virtual machine console.
expiration String
The date and time after which the key will be disallowed access.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
tags Map<String,String>
Resource tags.
enabled This property is required. string | ConsoleEnabled
The indicator of whether the console access is enabled.
extendedLocation This property is required. ExtendedLocation
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
sshPublicKey This property is required. 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.
virtualMachineName
This property is required.
Changes to this property will trigger replacement.
string
The name of the virtual machine.
consoleName Changes to this property will trigger replacement. string
The name of the virtual machine console.
expiration string
The date and time after which the key will be disallowed access.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
tags {[key: string]: string}
Resource tags.
enabled This property is required. str | ConsoleEnabled
The indicator of whether the console access is enabled.
extended_location This property is required. ExtendedLocationArgs
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
ssh_public_key This property is required. SshPublicKeyArgs
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.
virtual_machine_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the virtual machine.
console_name Changes to this property will trigger replacement. str
The name of the virtual machine console.
expiration str
The date and time after which the key will be disallowed access.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
tags Mapping[str, str]
Resource tags.
enabled This property is required. String | "True" | "False"
The indicator of whether the console access is enabled.
extendedLocation This property is required. Property Map
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sshPublicKey This property is required. 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.
virtualMachineName
This property is required.
Changes to this property will trigger replacement.
String
The name of the virtual machine.
consoleName Changes to this property will trigger replacement. String
The name of the virtual machine console.
expiration String
The date and time after which the key will be disallowed access.
location Changes to this property will trigger replacement. 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 Console resource produces the following output properties:

DetailedStatus string
The more detailed status of the console.
DetailedStatusMessage string
The descriptive message about the current detailed status.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
PrivateLinkServiceId string
The resource ID of the private link service that is used to provide virtual machine console access.
ProvisioningState string
The provisioning state of the virtual machine console.
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"
VirtualMachineAccessId string
The unique identifier for the virtual machine that is used to access the console.
DetailedStatus string
The more detailed status of the console.
DetailedStatusMessage string
The descriptive message about the current detailed status.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
PrivateLinkServiceId string
The resource ID of the private link service that is used to provide virtual machine console access.
ProvisioningState string
The provisioning state of the virtual machine console.
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"
VirtualMachineAccessId string
The unique identifier for the virtual machine that is used to access the console.
detailedStatus String
The more detailed status of the console.
detailedStatusMessage String
The descriptive message about the current detailed status.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
privateLinkServiceId String
The resource ID of the private link service that is used to provide virtual machine console access.
provisioningState String
The provisioning state of the virtual machine console.
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"
virtualMachineAccessId String
The unique identifier for the virtual machine that is used to access the console.
detailedStatus string
The more detailed status of the console.
detailedStatusMessage string
The descriptive message about the current detailed status.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
privateLinkServiceId string
The resource ID of the private link service that is used to provide virtual machine console access.
provisioningState string
The provisioning state of the virtual machine console.
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"
virtualMachineAccessId string
The unique identifier for the virtual machine that is used to access the console.
detailed_status str
The more detailed status of the console.
detailed_status_message str
The descriptive message about the current detailed status.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
private_link_service_id str
The resource ID of the private link service that is used to provide virtual machine console access.
provisioning_state str
The provisioning state of the virtual machine console.
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"
virtual_machine_access_id str
The unique identifier for the virtual machine that is used to access the console.
detailedStatus String
The more detailed status of the console.
detailedStatusMessage String
The descriptive message about the current detailed status.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
privateLinkServiceId String
The resource ID of the private link service that is used to provide virtual machine console access.
provisioningState String
The provisioning state of the virtual machine console.
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"
virtualMachineAccessId String
The unique identifier for the virtual machine that is used to access the console.

Supporting Types

ConsoleEnabled
, ConsoleEnabledArgs

True
True
False
False
ConsoleEnabledTrue
True
ConsoleEnabledFalse
False
True
True
False
False
True
True
False
False
TRUE
True
FALSE
False
"True"
True
"False"
False

ExtendedLocation
, ExtendedLocationArgs

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

ExtendedLocationResponse
, ExtendedLocationResponseArgs

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

SshPublicKey
, SshPublicKeyArgs

KeyData This property is required. string
The SSH public key data.
KeyData This property is required. string
The SSH public key data.
keyData This property is required. String
The SSH public key data.
keyData This property is required. string
The SSH public key data.
key_data This property is required. str
The SSH public key data.
keyData This property is required. String
The SSH public key data.

SshPublicKeyResponse
, SshPublicKeyResponseArgs

KeyData This property is required. string
The SSH public key data.
KeyData This property is required. string
The SSH public key data.
keyData This property is required. String
The SSH public key data.
keyData This property is required. string
The SSH public key data.
key_data This property is required. str
The SSH public key data.
keyData This property is required. 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:Console default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi