Documentation
¶
Index ¶
- Constants
- type LookupSerialPortArgs
- type LookupSerialPortResult
- type SerialPort
- type SerialPortArgs
- type SerialPortInput
- type SerialPortOutput
- type SerialPortState
- func (SerialPortState) ElementType() reflect.Type
- func (e SerialPortState) ToStringOutput() pulumi.StringOutput
- func (e SerialPortState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e SerialPortState) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e SerialPortState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
Constants ¶
View Source
const ( SerialPortStateEnabled = SerialPortState("enabled") SerialPortStateDisabled = SerialPortState("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.
func LookupSerialPort ¶
func LookupSerialPort(ctx *pulumi.Context, args *LookupSerialPortArgs, opts ...pulumi.InvokeOption) (*LookupSerialPortResult, error)
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 SerialPortState }
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) ToStringOutput ¶
func (e SerialPortState) ToStringOutput() pulumi.StringOutput
func (SerialPortState) ToStringOutputWithContext ¶
func (e SerialPortState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (SerialPortState) ToStringPtrOutput ¶
func (e SerialPortState) ToStringPtrOutput() pulumi.StringPtrOutput
func (SerialPortState) ToStringPtrOutputWithContext ¶
func (e SerialPortState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
Click to show internal directories.
Click to hide internal directories.