azure-native-v2.portal.Console
Explore with Pulumi AI
Cloud shell console Azure REST API version: 2018-10-01. Prior API version in Azure Native 1.x: 2018-10-01.
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,
properties: Optional[ConsoleCreatePropertiesArgs] = None,
console_name: Optional[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:portal: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 azure_nativeConsoleResource = new AzureNative.Portal.Console("azure-nativeConsoleResource", new()
{
Properties =
{
{ "osType", "string" },
{ "provisioningState", "string" },
{ "uri", "string" },
},
ConsoleName = "string",
});
example, err := portal.NewConsole(ctx, "azure-nativeConsoleResource", &portal.ConsoleArgs{
Properties: map[string]interface{}{
"osType": "string",
"provisioningState": "string",
"uri": "string",
},
ConsoleName: "string",
})
var azure_nativeConsoleResource = new Console("azure-nativeConsoleResource", ConsoleArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.consoleName("string")
.build());
azure_native_console_resource = azure_native.portal.Console("azure-nativeConsoleResource",
properties={
osType: string,
provisioningState: string,
uri: string,
},
console_name=string)
const azure_nativeConsoleResource = new azure_native.portal.Console("azure-nativeConsoleResource", {
properties: {
osType: "string",
provisioningState: "string",
uri: "string",
},
consoleName: "string",
});
type: azure-native:portal:Console
properties:
consoleName: string
properties:
osType: string
provisioningState: string
uri: string
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:
- Properties
This property is required. Pulumi.Azure Native. Portal. Inputs. Console Create Properties - Cloud shell properties for creating a console.
- Console
Name Changes to this property will trigger replacement.
- The name of the console
- Properties
This property is required. ConsoleCreate Properties Args - Cloud shell properties for creating a console.
- Console
Name Changes to this property will trigger replacement.
- The name of the console
- properties
This property is required. ConsoleCreate Properties - Cloud shell properties for creating a console.
- console
Name Changes to this property will trigger replacement.
- The name of the console
- properties
This property is required. ConsoleCreate Properties - Cloud shell properties for creating a console.
- console
Name Changes to this property will trigger replacement.
- The name of the console
- properties
This property is required. ConsoleCreate Properties Args - Cloud shell properties for creating a console.
- console_
name Changes to this property will trigger replacement.
- The name of the console
- properties
This property is required. Property Map - Cloud shell properties for creating a console.
- 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 Console resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ConsoleCreateProperties, ConsoleCreatePropertiesArgs
- Os
Type This property is required. string | Pulumi.Azure Native. Portal. Os Type - The operating system type of the cloud shell.
- Provisioning
State string | Pulumi.Azure Native. Portal. Provisioning State - Provisioning state of the console.
- Uri string
- Uri of the console.
- Os
Type This property is required. string | OsType - The operating system type of the cloud shell.
- Provisioning
State string | ProvisioningState - Provisioning state of the console.
- Uri string
- Uri of the console.
- os
Type This property is required. String | OsType - The operating system type of the cloud shell.
- provisioning
State String | ProvisioningState - Provisioning state of the console.
- uri String
- Uri of the console.
- os
Type This property is required. string | OsType - The operating system type of the cloud shell.
- provisioning
State string | ProvisioningState - Provisioning state of the console.
- uri string
- Uri of the console.
- os_
type This property is required. str | OsType - The operating system type of the cloud shell.
- provisioning_
state str | ProvisioningState - Provisioning state of the console.
- uri str
- Uri of the console.
- os
Type This property is required. String | "Windows" | "Linux" - The operating system type of the cloud shell.
- provisioning
State String | "NotSpecified" | "Accepted" | "Pending" | "Updating" | "Creating" | "Repairing" | "Failed" | "Canceled" | "Succeeded" - Provisioning state of the console.
- uri String
- Uri of the console.
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.
OsType, OsTypeArgs
- Windows
- Windows
- Linux
- Linux
- Os
Type Windows - Windows
- Os
Type Linux - Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
ProvisioningState, ProvisioningStateArgs
- Not
Specified - NotSpecified
- Accepted
- Accepted
- Pending
- Pending
- Updating
- Updating
- Creating
- Creating
- Repairing
- Repairing
- Failed
- Failed
- Canceled
- Canceled
- Succeeded
- Succeeded
- Provisioning
State Not Specified - NotSpecified
- Provisioning
State Accepted - Accepted
- Provisioning
State Pending - Pending
- Provisioning
State Updating - Updating
- Provisioning
State Creating - Creating
- Provisioning
State Repairing - Repairing
- Provisioning
State Failed - Failed
- Provisioning
State Canceled - Canceled
- Provisioning
State Succeeded - Succeeded
- Not
Specified - NotSpecified
- Accepted
- Accepted
- Pending
- Pending
- Updating
- Updating
- Creating
- Creating
- Repairing
- Repairing
- Failed
- Failed
- Canceled
- Canceled
- Succeeded
- Succeeded
- Not
Specified - NotSpecified
- Accepted
- Accepted
- Pending
- Pending
- Updating
- Updating
- Creating
- Creating
- Repairing
- Repairing
- Failed
- Failed
- Canceled
- Canceled
- Succeeded
- Succeeded
- NOT_SPECIFIED
- NotSpecified
- ACCEPTED
- Accepted
- PENDING
- Pending
- UPDATING
- Updating
- CREATING
- Creating
- REPAIRING
- Repairing
- FAILED
- Failed
- CANCELED
- Canceled
- SUCCEEDED
- Succeeded
- "Not
Specified" - NotSpecified
- "Accepted"
- Accepted
- "Pending"
- Pending
- "Updating"
- Updating
- "Creating"
- Creating
- "Repairing"
- Repairing
- "Failed"
- Failed
- "Canceled"
- Canceled
- "Succeeded"
- Succeeded
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:portal:Console myresource1 /providers/Microsoft.Portal/consoles/{consoleName}
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