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:
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.