This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.serialconsole.getSerialPort
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets the configured settings for a serial port 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:serialconsole:getSerialPort
arguments:
# arguments dictionary
The following arguments are supported:
- Parent
Resource string - The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- Parent
Resource stringType - The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- Resource
Group stringName - The name of the resource group.
- Resource
Provider stringNamespace - The namespace of the resource provider.
- Serial
Port string - The name of the serial port to connect to.
- Parent
Resource string - The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- Parent
Resource stringType - The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- Resource
Group stringName - The name of the resource group.
- Resource
Provider stringNamespace - The namespace of the resource provider.
- Serial
Port string - The name of the serial port to connect to.
- parent
Resource String - The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent
Resource StringType - The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource
Group StringName - The name of the resource group.
- resource
Provider StringNamespace - The namespace of the resource provider.
- serial
Port String - The name of the serial port to connect to.
- parent
Resource string - The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent
Resource stringType - The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource
Group stringName - The name of the resource group.
- resource
Provider stringNamespace - The namespace of the resource provider.
- serial
Port string - The name of the serial port to connect to.
- parent_
resource str - The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent_
resource_ strtype - The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource_
group_ strname - The name of the resource group.
- resource_
provider_ strnamespace - The namespace of the resource provider.
- serial_
port str - The name of the serial port to connect to.
- parent
Resource String - The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
- parent
Resource StringType - The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'
- resource
Group StringName - The name of the resource group.
- resource
Provider StringNamespace - The namespace of the resource provider.
- serial
Port String - The name of the serial port to connect to.
getSerialPort Result
The following output properties are available:
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 v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi