This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi
azure-native.serialconsole.getSerialPort
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi
Gets the configured settings for a serial port
Uses Azure REST API version 2018-05-01.
Using getSerialPort
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSerialPort(args: GetSerialPortArgs, opts?: InvokeOptions): Promise<GetSerialPortResult>
function getSerialPortOutput(args: GetSerialPortOutputArgs, opts?: InvokeOptions): Output<GetSerialPortResult>
def get_serial_port(parent_resource: Optional[str] = None,
parent_resource_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_provider_namespace: Optional[str] = None,
serial_port: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSerialPortResult
def get_serial_port_output(parent_resource: Optional[pulumi.Input[str]] = None,
parent_resource_type: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
resource_provider_namespace: Optional[pulumi.Input[str]] = None,
serial_port: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSerialPortResult]
func LookupSerialPort(ctx *Context, args *LookupSerialPortArgs, opts ...InvokeOption) (*LookupSerialPortResult, error)
func LookupSerialPortOutput(ctx *Context, args *LookupSerialPortOutputArgs, opts ...InvokeOption) LookupSerialPortResultOutput
> Note: This function is named LookupSerialPort
in the Go SDK.
public static class GetSerialPort
{
public static Task<GetSerialPortResult> InvokeAsync(GetSerialPortArgs args, InvokeOptions? opts = null)
public static Output<GetSerialPortResult> Invoke(GetSerialPortInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSerialPortResult> getSerialPort(GetSerialPortArgs args, InvokeOptions options)
public static Output<GetSerialPortResult> getSerialPort(GetSerialPortArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:serialconsole:getSerialPort
arguments:
# arguments dictionary
The following arguments are supported:
- Parent
Resource This property is required. Changes to this property will trigger replacement.
- The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- Parent
Resource Type This property is required. Changes to this property will trigger replacement.
- The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Resource
Provider Namespace This property is required. Changes to this property will trigger replacement.
- The namespace of the resource provider.
- Serial
Port This property is required. Changes to this property will trigger replacement.
- The name of the serial port to connect to.
- Parent
Resource This property is required. Changes to this property will trigger replacement.
- The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- Parent
Resource Type This property is required. Changes to this property will trigger replacement.
- The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Resource
Provider Namespace This property is required. Changes to this property will trigger replacement.
- The namespace of the resource provider.
- Serial
Port This property is required. Changes to this property will trigger replacement.
- The name of the serial port to connect to.
- parent
Resource This property is required. Changes to this property will trigger replacement.
- The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent
Resource Type This property is required. Changes to this property will trigger replacement.
- The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- resource
Provider Namespace This property is required. Changes to this property will trigger replacement.
- The namespace of the resource provider.
- serial
Port This property is required. Changes to this property will trigger replacement.
- The name of the serial port to connect to.
- parent
Resource This property is required. Changes to this property will trigger replacement.
- The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent
Resource Type This property is required. Changes to this property will trigger replacement.
- The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- resource
Provider Namespace This property is required. Changes to this property will trigger replacement.
- The namespace of the resource provider.
- serial
Port This property is required. Changes to this property will trigger replacement.
- The name of the serial port to connect to.
- parent_
resource This property is required. Changes to this property will trigger replacement.
- The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent_
resource_ type This property is required. Changes to this property will trigger replacement.
- The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- resource_
provider_ namespace This property is required. Changes to this property will trigger replacement.
- The namespace of the resource provider.
- serial_
port This property is required. Changes to this property will trigger replacement.
- The name of the serial port to connect to.
- parent
Resource This property is required. Changes to this property will trigger replacement.
- The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent
Resource Type This property is required. Changes to this property will trigger replacement.
- The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- resource
Provider Namespace This property is required. Changes to this property will trigger replacement.
- The namespace of the resource provider.
- serial
Port This property is required. Changes to this property will trigger replacement.
- The name of the serial port to connect to.
getSerialPort Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- State string
- Specifies whether the port is enabled for a serial console connection.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- State string
- Specifies whether the port is enabled for a serial console connection.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- state String
- Specifies whether the port is enabled for a serial console connection.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource Id
- name string
- Resource name
- type string
- Resource type
- state string
- Specifies whether the port is enabled for a serial console connection.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource Id
- name str
- Resource name
- type str
- Resource type
- state str
- Specifies whether the port is enabled for a serial console connection.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- state String
- Specifies whether the port is enabled for a serial console connection.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi