GetInstanceSerialPort

Get the serial port output from a Compute Instance. For more information see the official API documentation.

Using GetInstanceSerialPort

function getInstanceSerialPort(args: GetInstanceSerialPortArgs, opts?: InvokeOptions): Promise<GetInstanceSerialPortResult>
function  get_instance_serial_port(instance=None, port=None, project=None, zone=None, opts=None)
func GetInstanceSerialPort(ctx *Context, args *GetInstanceSerialPortArgs, opts ...InvokeOption) (*GetInstanceSerialPortResult, error)
public static class GetInstanceSerialPort {
    public static Task<GetInstanceSerialPortResult> InvokeAsync(GetInstanceSerialPortArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Instance string

The name of the Compute Instance to read output from.

Port int

The number of the serial port to read output from. Possible values are 1-4.

Project string

The project in which the Compute Instance exists. If it is not provided, the provider project is used.

Zone string

The zone in which the Compute Instance exists. If it is not provided, the provider zone is used.

Instance string

The name of the Compute Instance to read output from.

Port int

The number of the serial port to read output from. Possible values are 1-4.

Project string

The project in which the Compute Instance exists. If it is not provided, the provider project is used.

Zone string

The zone in which the Compute Instance exists. If it is not provided, the provider zone is used.

instance string

The name of the Compute Instance to read output from.

port number

The number of the serial port to read output from. Possible values are 1-4.

project string

The project in which the Compute Instance exists. If it is not provided, the provider project is used.

zone string

The zone in which the Compute Instance exists. If it is not provided, the provider zone is used.

instance str

The name of the Compute Instance to read output from.

port float

The number of the serial port to read output from. Possible values are 1-4.

project str

The project in which the Compute Instance exists. If it is not provided, the provider project is used.

zone str

The zone in which the Compute Instance exists. If it is not provided, the provider zone is used.

GetInstanceSerialPort Result

The following output properties are available:

Contents string

The output of the serial port. Serial port output is available only when the VM instance is running, and logs are limited to the most recent 1 MB of output per port.

Id string

The provider-assigned unique ID for this managed resource.

Instance string
Port int
Project string
Zone string
Contents string

The output of the serial port. Serial port output is available only when the VM instance is running, and logs are limited to the most recent 1 MB of output per port.

Id string

The provider-assigned unique ID for this managed resource.

Instance string
Port int
Project string
Zone string
contents string

The output of the serial port. Serial port output is available only when the VM instance is running, and logs are limited to the most recent 1 MB of output per port.

id string

The provider-assigned unique ID for this managed resource.

instance string
port number
project string
zone string
contents str

The output of the serial port. Serial port output is available only when the VM instance is running, and logs are limited to the most recent 1 MB of output per port.

id str

The provider-assigned unique ID for this managed resource.

instance str
port float
project str
zone str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.