azure-native.portal.ConsoleWithLocation

Cloud shell console API Version: 2018-10-01.

Example Usage

PutConsole

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

return await Deployment.RunAsync(() => 
{
    var consoleWithLocation = new AzureNative.Portal.ConsoleWithLocation("consoleWithLocation", new()
    {
        ConsoleName = "default",
        Location = "eastus",
    });

});
package main

import (
	portal "github.com/pulumi/pulumi-azure-native/sdk/go/azure/portal"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := portal.NewConsoleWithLocation(ctx, "consoleWithLocation", &portal.ConsoleWithLocationArgs{
			ConsoleName: pulumi.String("default"),
			Location:    pulumi.String("eastus"),
		})
		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.portal.ConsoleWithLocation;
import com.pulumi.azurenative.portal.ConsoleWithLocationArgs;
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 consoleWithLocation = new ConsoleWithLocation("consoleWithLocation", ConsoleWithLocationArgs.builder()        
            .consoleName("default")
            .location("eastus")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

console_with_location = azure_native.portal.ConsoleWithLocation("consoleWithLocation",
    console_name="default",
    location="eastus")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const consoleWithLocation = new azure_native.portal.ConsoleWithLocation("consoleWithLocation", {
    consoleName: "default",
    location: "eastus",
});
resources:
  consoleWithLocation:
    type: azure-native:portal:ConsoleWithLocation
    properties:
      consoleName: default
      location: eastus

Create ConsoleWithLocation Resource

new ConsoleWithLocation(name: string, args: ConsoleWithLocationArgs, opts?: CustomResourceOptions);
@overload
def ConsoleWithLocation(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        console_name: Optional[str] = None,
                        location: Optional[str] = None)
@overload
def ConsoleWithLocation(resource_name: str,
                        args: ConsoleWithLocationArgs,
                        opts: Optional[ResourceOptions] = None)
func NewConsoleWithLocation(ctx *Context, name string, args ConsoleWithLocationArgs, opts ...ResourceOption) (*ConsoleWithLocation, error)
public ConsoleWithLocation(string name, ConsoleWithLocationArgs args, CustomResourceOptions? opts = null)
public ConsoleWithLocation(String name, ConsoleWithLocationArgs args)
public ConsoleWithLocation(String name, ConsoleWithLocationArgs args, CustomResourceOptions options)
type: azure-native:portal:ConsoleWithLocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConsoleWithLocationArgs
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 ConsoleWithLocationArgs
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 ConsoleWithLocationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConsoleWithLocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConsoleWithLocationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ConsoleWithLocation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ConsoleWithLocation resource accepts the following input properties:

Location string

The provider location

ConsoleName string

The name of the console

Location string

The provider location

ConsoleName string

The name of the console

location String

The provider location

consoleName String

The name of the console

location string

The provider location

consoleName string

The name of the console

location str

The provider location

console_name str

The name of the console

location String

The provider location

consoleName String

The name of the console

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Properties Pulumi.AzureNative.Portal.Outputs.ConsolePropertiesResponse

Cloud shell console properties.

Id string

The provider-assigned unique ID for this managed resource.

Properties ConsolePropertiesResponse

Cloud shell console properties.

id String

The provider-assigned unique ID for this managed resource.

properties ConsolePropertiesResponse

Cloud shell console properties.

id string

The provider-assigned unique ID for this managed resource.

properties ConsolePropertiesResponse

Cloud shell console properties.

id str

The provider-assigned unique ID for this managed resource.

properties ConsolePropertiesResponse

Cloud shell console properties.

id String

The provider-assigned unique ID for this managed resource.

properties Property Map

Cloud shell console properties.

Supporting Types

ConsolePropertiesResponse

OsType string

The operating system type of the cloud shell.

ProvisioningState string

Provisioning state of the console.

Uri string

Uri of the console.

OsType string

The operating system type of the cloud shell.

ProvisioningState string

Provisioning state of the console.

Uri string

Uri of the console.

osType String

The operating system type of the cloud shell.

provisioningState String

Provisioning state of the console.

uri String

Uri of the console.

osType string

The operating system type of the cloud shell.

provisioningState string

Provisioning state of the console.

uri string

Uri of the console.

os_type str

The operating system type of the cloud shell.

provisioning_state str

Provisioning state of the console.

uri str

Uri of the console.

osType String

The operating system type of the cloud shell.

provisioningState String

Provisioning state of the console.

uri String

Uri of the console.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:portal:ConsoleWithLocation myresource1 /providers/Microsoft.Portal/locations/{location}/consoles/{consoleName} 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0