azure-native.portal.ConsoleWithLocation
Explore with Pulumi AI
Cloud shell console
Uses Azure REST API version 2018-10-01. In version 2.x of the Azure Native provider, it used API version 2018-10-01.
Create ConsoleWithLocation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConsoleWithLocation(name: string, args: ConsoleWithLocationArgs, opts?: CustomResourceOptions);
@overload
def ConsoleWithLocation(resource_name: str,
args: ConsoleWithLocationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConsoleWithLocation(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
console_name: Optional[str] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConsoleWithLocationArgs - 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. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ConsoleWithLocationArgs - 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. ConsoleWithLocationArgs - 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. ConsoleWithLocationArgs - 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 consoleWithLocationResource = new AzureNative.Portal.ConsoleWithLocation("consoleWithLocationResource", new()
{
Location = "string",
ConsoleName = "string",
});
example, err := portal.NewConsoleWithLocation(ctx, "consoleWithLocationResource", &portal.ConsoleWithLocationArgs{
Location: pulumi.String("string"),
ConsoleName: pulumi.String("string"),
})
var consoleWithLocationResource = new ConsoleWithLocation("consoleWithLocationResource", ConsoleWithLocationArgs.builder()
.location("string")
.consoleName("string")
.build());
console_with_location_resource = azure_native.portal.ConsoleWithLocation("consoleWithLocationResource",
location="string",
console_name="string")
const consoleWithLocationResource = new azure_native.portal.ConsoleWithLocation("consoleWithLocationResource", {
location: "string",
consoleName: "string",
});
type: azure-native:portal:ConsoleWithLocation
properties:
consoleName: string
location: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConsoleWithLocation resource accepts the following input properties:
- Location
This property is required. Changes to this property will trigger replacement.
- The provider location
- Console
Name Changes to this property will trigger replacement.
- The name of the console
- Location
This property is required. Changes to this property will trigger replacement.
- The provider location
- Console
Name Changes to this property will trigger replacement.
- The name of the console
- location
This property is required. Changes to this property will trigger replacement.
- The provider location
- console
Name Changes to this property will trigger replacement.
- The name of the console
- location
This property is required. Changes to this property will trigger replacement.
- The provider location
- console
Name Changes to this property will trigger replacement.
- The name of the console
- location
This property is required. Changes to this property will trigger replacement.
- The provider location
- console_
name Changes to this property will trigger replacement.
- The name of the console
- location
This property is required. Changes to this property will trigger replacement.
- The provider location
- console
Name Changes to this property will trigger replacement.
- The name of the console
Outputs
All input properties are implicitly available as output properties. Additionally, the ConsoleWithLocation resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Properties
Pulumi.
Azure Native. Portal. Outputs. Console Properties Response - Cloud shell console properties.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Properties
Console
Properties Response - Cloud shell console properties.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- properties
Console
Properties Response - Cloud shell console properties.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- properties
Console
Properties Response - Cloud shell console properties.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- properties
Console
Properties Response - Cloud shell console properties.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- properties Property Map
- Cloud shell console properties.
Supporting Types
ConsolePropertiesResponse, ConsolePropertiesResponseArgs
- Os
Type This property is required. string - The operating system type of the cloud shell.
- Provisioning
State This property is required. string - Provisioning state of the console.
- Uri
This property is required. string - Uri of the console.
- Os
Type This property is required. string - The operating system type of the cloud shell.
- Provisioning
State This property is required. string - Provisioning state of the console.
- Uri
This property is required. string - Uri of the console.
- os
Type This property is required. String - The operating system type of the cloud shell.
- provisioning
State This property is required. String - Provisioning state of the console.
- uri
This property is required. String - Uri of the console.
- os
Type This property is required. string - The operating system type of the cloud shell.
- provisioning
State This property is required. string - Provisioning state of the console.
- uri
This property is required. string - Uri of the console.
- os_
type This property is required. str - The operating system type of the cloud shell.
- provisioning_
state This property is required. str - Provisioning state of the console.
- uri
This property is required. str - Uri of the console.
- os
Type This property is required. String - The operating system type of the cloud shell.
- provisioning
State This property is required. String - Provisioning state of the console.
- uri
This property is required. 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0