latest

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SerialPortStateEnumEnabled  = SerialPortStateEnum("enabled")
	SerialPortStateEnumDisabled = SerialPortStateEnum("disabled")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupSerialPortArgs

type LookupSerialPortArgs struct {
	// The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
	ParentResource string `pulumi:"parentResource"`
	// The resource type of the parent resource.  For example: 'virtualMachines' or 'virtualMachineScaleSets'
	ParentResourceType string `pulumi:"parentResourceType"`
	// The name of the resource group.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The namespace of the resource provider.
	ResourceProviderNamespace string `pulumi:"resourceProviderNamespace"`
	// The name of the serial port to connect to.
	SerialPort string `pulumi:"serialPort"`
}

type LookupSerialPortResult

type LookupSerialPortResult struct {
	// Resource Id
	Id string `pulumi:"id"`
	// Resource name
	Name string `pulumi:"name"`
	// Specifies whether the port is enabled for a serial console connection.
	State *string `pulumi:"state"`
	// Resource type
	Type string `pulumi:"type"`
}

Represents the serial port of the parent resource.

type SerialPort

type SerialPort struct {
	pulumi.CustomResourceState

	// Resource name
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies whether the port is enabled for a serial console connection.
	State pulumi.StringPtrOutput `pulumi:"state"`
	// Resource type
	Type pulumi.StringOutput `pulumi:"type"`
}

Represents the serial port of the parent resource. Latest API Version: 2018-05-01.

func GetSerialPort

func GetSerialPort(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SerialPortState, opts ...pulumi.ResourceOption) (*SerialPort, error)

GetSerialPort gets an existing SerialPort resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSerialPort

func NewSerialPort(ctx *pulumi.Context,
	name string, args *SerialPortArgs, opts ...pulumi.ResourceOption) (*SerialPort, error)

NewSerialPort registers a new resource with the given unique name, arguments, and options.

func (*SerialPort) ElementType

func (*SerialPort) ElementType() reflect.Type

func (*SerialPort) ToSerialPortOutput

func (i *SerialPort) ToSerialPortOutput() SerialPortOutput

func (*SerialPort) ToSerialPortOutputWithContext

func (i *SerialPort) ToSerialPortOutputWithContext(ctx context.Context) SerialPortOutput

type SerialPortArgs

type SerialPortArgs struct {
	// The resource name, or subordinate path, for the parent of the serial port. For example: the name of the virtual machine.
	ParentResource pulumi.StringInput
	// The resource type of the parent resource.  For example: 'virtualMachines' or 'virtualMachineScaleSets'
	ParentResourceType pulumi.StringInput
	// The name of the resource group.
	ResourceGroupName pulumi.StringInput
	// The namespace of the resource provider.
	ResourceProviderNamespace pulumi.StringInput
	// The name of the serial port to create.
	SerialPort pulumi.StringInput
	// Specifies whether the port is enabled for a serial console connection.
	State *SerialPortStateEnum
}

The set of arguments for constructing a SerialPort resource.

func (SerialPortArgs) ElementType

func (SerialPortArgs) ElementType() reflect.Type

type SerialPortInput

type SerialPortInput interface {
	pulumi.Input

	ToSerialPortOutput() SerialPortOutput
	ToSerialPortOutputWithContext(ctx context.Context) SerialPortOutput
}

type SerialPortOutput

type SerialPortOutput struct {
	*pulumi.OutputState
}

func (SerialPortOutput) ElementType

func (SerialPortOutput) ElementType() reflect.Type

func (SerialPortOutput) ToSerialPortOutput

func (o SerialPortOutput) ToSerialPortOutput() SerialPortOutput

func (SerialPortOutput) ToSerialPortOutputWithContext

func (o SerialPortOutput) ToSerialPortOutputWithContext(ctx context.Context) SerialPortOutput

type SerialPortState

type SerialPortState struct {
	// Resource name
	Name pulumi.StringPtrInput
	// Specifies whether the port is enabled for a serial console connection.
	State pulumi.StringPtrInput
	// Resource type
	Type pulumi.StringPtrInput
}

func (SerialPortState) ElementType

func (SerialPortState) ElementType() reflect.Type

type SerialPortStateEnum added in v0.6.0

type SerialPortStateEnum pulumi.String

Specifies whether the port is enabled for a serial console connection.

func (SerialPortStateEnum) ElementType added in v0.6.0

func (SerialPortStateEnum) ElementType() reflect.Type

func (SerialPortStateEnum) ToStringOutput added in v0.6.0

func (e SerialPortStateEnum) ToStringOutput() pulumi.StringOutput

func (SerialPortStateEnum) ToStringOutputWithContext added in v0.6.0

func (e SerialPortStateEnum) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SerialPortStateEnum) ToStringPtrOutput added in v0.6.0

func (e SerialPortStateEnum) ToStringPtrOutput() pulumi.StringPtrOutput

func (SerialPortStateEnum) ToStringPtrOutputWithContext added in v0.6.0

func (e SerialPortStateEnum) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL