Documentation
¶
Index ¶
- type Cable
- type CableATermination
- type CableATerminationArgs
- type CableATerminationArray
- type CableATerminationArrayInput
- type CableATerminationArrayOutput
- func (CableATerminationArrayOutput) ElementType() reflect.Type
- func (o CableATerminationArrayOutput) Index(i pulumi.IntInput) CableATerminationOutput
- func (o CableATerminationArrayOutput) ToCableATerminationArrayOutput() CableATerminationArrayOutput
- func (o CableATerminationArrayOutput) ToCableATerminationArrayOutputWithContext(ctx context.Context) CableATerminationArrayOutput
- type CableATerminationInput
- type CableATerminationOutput
- func (CableATerminationOutput) ElementType() reflect.Type
- func (o CableATerminationOutput) ObjectId() pulumi.IntOutput
- func (o CableATerminationOutput) ObjectType() pulumi.StringOutput
- func (o CableATerminationOutput) ToCableATerminationOutput() CableATerminationOutput
- func (o CableATerminationOutput) ToCableATerminationOutputWithContext(ctx context.Context) CableATerminationOutput
- type CableArgs
- type CableArray
- type CableArrayInput
- type CableArrayOutput
- type CableBTermination
- type CableBTerminationArgs
- type CableBTerminationArray
- type CableBTerminationArrayInput
- type CableBTerminationArrayOutput
- func (CableBTerminationArrayOutput) ElementType() reflect.Type
- func (o CableBTerminationArrayOutput) Index(i pulumi.IntInput) CableBTerminationOutput
- func (o CableBTerminationArrayOutput) ToCableBTerminationArrayOutput() CableBTerminationArrayOutput
- func (o CableBTerminationArrayOutput) ToCableBTerminationArrayOutputWithContext(ctx context.Context) CableBTerminationArrayOutput
- type CableBTerminationInput
- type CableBTerminationOutput
- func (CableBTerminationOutput) ElementType() reflect.Type
- func (o CableBTerminationOutput) ObjectId() pulumi.IntOutput
- func (o CableBTerminationOutput) ObjectType() pulumi.StringOutput
- func (o CableBTerminationOutput) ToCableBTerminationOutput() CableBTerminationOutput
- func (o CableBTerminationOutput) ToCableBTerminationOutputWithContext(ctx context.Context) CableBTerminationOutput
- type CableInput
- type CableMap
- type CableMapInput
- type CableMapOutput
- type CableOutput
- func (o CableOutput) ATerminations() CableATerminationArrayOutput
- func (o CableOutput) BTerminations() CableBTerminationArrayOutput
- func (o CableOutput) ColorHex() pulumi.StringPtrOutput
- func (o CableOutput) Comments() pulumi.StringPtrOutput
- func (o CableOutput) CustomFields() pulumi.StringMapOutput
- func (o CableOutput) Description() pulumi.StringPtrOutput
- func (CableOutput) ElementType() reflect.Type
- func (o CableOutput) Label() pulumi.StringPtrOutput
- func (o CableOutput) Length() pulumi.Float64PtrOutput
- func (o CableOutput) LengthUnit() pulumi.StringPtrOutput
- func (o CableOutput) Status() pulumi.StringOutput
- func (o CableOutput) Tags() pulumi.StringArrayOutput
- func (o CableOutput) TagsAlls() pulumi.StringArrayOutput
- func (o CableOutput) TenantId() pulumi.IntPtrOutput
- func (o CableOutput) ToCableOutput() CableOutput
- func (o CableOutput) ToCableOutputWithContext(ctx context.Context) CableOutput
- func (o CableOutput) Type() pulumi.StringPtrOutput
- type CableState
- type Device
- type DeviceArgs
- type DeviceArray
- type DeviceArrayInput
- type DeviceArrayOutput
- type DeviceConsolePort
- type DeviceConsolePortArgs
- type DeviceConsolePortArray
- type DeviceConsolePortArrayInput
- type DeviceConsolePortArrayOutput
- func (DeviceConsolePortArrayOutput) ElementType() reflect.Type
- func (o DeviceConsolePortArrayOutput) Index(i pulumi.IntInput) DeviceConsolePortOutput
- func (o DeviceConsolePortArrayOutput) ToDeviceConsolePortArrayOutput() DeviceConsolePortArrayOutput
- func (o DeviceConsolePortArrayOutput) ToDeviceConsolePortArrayOutputWithContext(ctx context.Context) DeviceConsolePortArrayOutput
- type DeviceConsolePortInput
- type DeviceConsolePortMap
- type DeviceConsolePortMapInput
- type DeviceConsolePortMapOutput
- func (DeviceConsolePortMapOutput) ElementType() reflect.Type
- func (o DeviceConsolePortMapOutput) MapIndex(k pulumi.StringInput) DeviceConsolePortOutput
- func (o DeviceConsolePortMapOutput) ToDeviceConsolePortMapOutput() DeviceConsolePortMapOutput
- func (o DeviceConsolePortMapOutput) ToDeviceConsolePortMapOutputWithContext(ctx context.Context) DeviceConsolePortMapOutput
- type DeviceConsolePortOutput
- func (o DeviceConsolePortOutput) CustomFields() pulumi.StringMapOutput
- func (o DeviceConsolePortOutput) Description() pulumi.StringPtrOutput
- func (o DeviceConsolePortOutput) DeviceId() pulumi.IntOutput
- func (DeviceConsolePortOutput) ElementType() reflect.Type
- func (o DeviceConsolePortOutput) Label() pulumi.StringPtrOutput
- func (o DeviceConsolePortOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o DeviceConsolePortOutput) ModuleId() pulumi.IntPtrOutput
- func (o DeviceConsolePortOutput) Name() pulumi.StringOutput
- func (o DeviceConsolePortOutput) Speed() pulumi.IntPtrOutput
- func (o DeviceConsolePortOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceConsolePortOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceConsolePortOutput) ToDeviceConsolePortOutput() DeviceConsolePortOutput
- func (o DeviceConsolePortOutput) ToDeviceConsolePortOutputWithContext(ctx context.Context) DeviceConsolePortOutput
- func (o DeviceConsolePortOutput) Type() pulumi.StringPtrOutput
- type DeviceConsolePortState
- type DeviceConsoleServerPort
- type DeviceConsoleServerPortArgs
- type DeviceConsoleServerPortArray
- func (DeviceConsoleServerPortArray) ElementType() reflect.Type
- func (i DeviceConsoleServerPortArray) ToDeviceConsoleServerPortArrayOutput() DeviceConsoleServerPortArrayOutput
- func (i DeviceConsoleServerPortArray) ToDeviceConsoleServerPortArrayOutputWithContext(ctx context.Context) DeviceConsoleServerPortArrayOutput
- type DeviceConsoleServerPortArrayInput
- type DeviceConsoleServerPortArrayOutput
- func (DeviceConsoleServerPortArrayOutput) ElementType() reflect.Type
- func (o DeviceConsoleServerPortArrayOutput) Index(i pulumi.IntInput) DeviceConsoleServerPortOutput
- func (o DeviceConsoleServerPortArrayOutput) ToDeviceConsoleServerPortArrayOutput() DeviceConsoleServerPortArrayOutput
- func (o DeviceConsoleServerPortArrayOutput) ToDeviceConsoleServerPortArrayOutputWithContext(ctx context.Context) DeviceConsoleServerPortArrayOutput
- type DeviceConsoleServerPortInput
- type DeviceConsoleServerPortMap
- func (DeviceConsoleServerPortMap) ElementType() reflect.Type
- func (i DeviceConsoleServerPortMap) ToDeviceConsoleServerPortMapOutput() DeviceConsoleServerPortMapOutput
- func (i DeviceConsoleServerPortMap) ToDeviceConsoleServerPortMapOutputWithContext(ctx context.Context) DeviceConsoleServerPortMapOutput
- type DeviceConsoleServerPortMapInput
- type DeviceConsoleServerPortMapOutput
- func (DeviceConsoleServerPortMapOutput) ElementType() reflect.Type
- func (o DeviceConsoleServerPortMapOutput) MapIndex(k pulumi.StringInput) DeviceConsoleServerPortOutput
- func (o DeviceConsoleServerPortMapOutput) ToDeviceConsoleServerPortMapOutput() DeviceConsoleServerPortMapOutput
- func (o DeviceConsoleServerPortMapOutput) ToDeviceConsoleServerPortMapOutputWithContext(ctx context.Context) DeviceConsoleServerPortMapOutput
- type DeviceConsoleServerPortOutput
- func (o DeviceConsoleServerPortOutput) CustomFields() pulumi.StringMapOutput
- func (o DeviceConsoleServerPortOutput) Description() pulumi.StringPtrOutput
- func (o DeviceConsoleServerPortOutput) DeviceId() pulumi.IntOutput
- func (DeviceConsoleServerPortOutput) ElementType() reflect.Type
- func (o DeviceConsoleServerPortOutput) Label() pulumi.StringPtrOutput
- func (o DeviceConsoleServerPortOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o DeviceConsoleServerPortOutput) ModuleId() pulumi.IntPtrOutput
- func (o DeviceConsoleServerPortOutput) Name() pulumi.StringOutput
- func (o DeviceConsoleServerPortOutput) Speed() pulumi.IntPtrOutput
- func (o DeviceConsoleServerPortOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceConsoleServerPortOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceConsoleServerPortOutput) ToDeviceConsoleServerPortOutput() DeviceConsoleServerPortOutput
- func (o DeviceConsoleServerPortOutput) ToDeviceConsoleServerPortOutputWithContext(ctx context.Context) DeviceConsoleServerPortOutput
- func (o DeviceConsoleServerPortOutput) Type() pulumi.StringPtrOutput
- type DeviceConsoleServerPortState
- type DeviceFrontPort
- type DeviceFrontPortArgs
- type DeviceFrontPortArray
- type DeviceFrontPortArrayInput
- type DeviceFrontPortArrayOutput
- func (DeviceFrontPortArrayOutput) ElementType() reflect.Type
- func (o DeviceFrontPortArrayOutput) Index(i pulumi.IntInput) DeviceFrontPortOutput
- func (o DeviceFrontPortArrayOutput) ToDeviceFrontPortArrayOutput() DeviceFrontPortArrayOutput
- func (o DeviceFrontPortArrayOutput) ToDeviceFrontPortArrayOutputWithContext(ctx context.Context) DeviceFrontPortArrayOutput
- type DeviceFrontPortInput
- type DeviceFrontPortMap
- type DeviceFrontPortMapInput
- type DeviceFrontPortMapOutput
- func (DeviceFrontPortMapOutput) ElementType() reflect.Type
- func (o DeviceFrontPortMapOutput) MapIndex(k pulumi.StringInput) DeviceFrontPortOutput
- func (o DeviceFrontPortMapOutput) ToDeviceFrontPortMapOutput() DeviceFrontPortMapOutput
- func (o DeviceFrontPortMapOutput) ToDeviceFrontPortMapOutputWithContext(ctx context.Context) DeviceFrontPortMapOutput
- type DeviceFrontPortOutput
- func (o DeviceFrontPortOutput) ColorHex() pulumi.StringPtrOutput
- func (o DeviceFrontPortOutput) CustomFields() pulumi.StringMapOutput
- func (o DeviceFrontPortOutput) Description() pulumi.StringPtrOutput
- func (o DeviceFrontPortOutput) DeviceId() pulumi.IntOutput
- func (DeviceFrontPortOutput) ElementType() reflect.Type
- func (o DeviceFrontPortOutput) Label() pulumi.StringPtrOutput
- func (o DeviceFrontPortOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o DeviceFrontPortOutput) ModuleId() pulumi.IntPtrOutput
- func (o DeviceFrontPortOutput) Name() pulumi.StringOutput
- func (o DeviceFrontPortOutput) RearPortId() pulumi.IntOutput
- func (o DeviceFrontPortOutput) RearPortPosition() pulumi.IntOutput
- func (o DeviceFrontPortOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceFrontPortOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceFrontPortOutput) ToDeviceFrontPortOutput() DeviceFrontPortOutput
- func (o DeviceFrontPortOutput) ToDeviceFrontPortOutputWithContext(ctx context.Context) DeviceFrontPortOutput
- func (o DeviceFrontPortOutput) Type() pulumi.StringOutput
- type DeviceFrontPortState
- type DeviceInput
- type DeviceInterface
- type DeviceInterfaceArgs
- type DeviceInterfaceArray
- type DeviceInterfaceArrayInput
- type DeviceInterfaceArrayOutput
- func (DeviceInterfaceArrayOutput) ElementType() reflect.Type
- func (o DeviceInterfaceArrayOutput) Index(i pulumi.IntInput) DeviceInterfaceOutput
- func (o DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutput() DeviceInterfaceArrayOutput
- func (o DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutputWithContext(ctx context.Context) DeviceInterfaceArrayOutput
- type DeviceInterfaceInput
- type DeviceInterfaceMacAddress
- type DeviceInterfaceMacAddressArgs
- func (DeviceInterfaceMacAddressArgs) ElementType() reflect.Type
- func (i DeviceInterfaceMacAddressArgs) ToDeviceInterfaceMacAddressOutput() DeviceInterfaceMacAddressOutput
- func (i DeviceInterfaceMacAddressArgs) ToDeviceInterfaceMacAddressOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressOutput
- type DeviceInterfaceMacAddressArray
- func (DeviceInterfaceMacAddressArray) ElementType() reflect.Type
- func (i DeviceInterfaceMacAddressArray) ToDeviceInterfaceMacAddressArrayOutput() DeviceInterfaceMacAddressArrayOutput
- func (i DeviceInterfaceMacAddressArray) ToDeviceInterfaceMacAddressArrayOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressArrayOutput
- type DeviceInterfaceMacAddressArrayInput
- type DeviceInterfaceMacAddressArrayOutput
- func (DeviceInterfaceMacAddressArrayOutput) ElementType() reflect.Type
- func (o DeviceInterfaceMacAddressArrayOutput) Index(i pulumi.IntInput) DeviceInterfaceMacAddressOutput
- func (o DeviceInterfaceMacAddressArrayOutput) ToDeviceInterfaceMacAddressArrayOutput() DeviceInterfaceMacAddressArrayOutput
- func (o DeviceInterfaceMacAddressArrayOutput) ToDeviceInterfaceMacAddressArrayOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressArrayOutput
- type DeviceInterfaceMacAddressInput
- type DeviceInterfaceMacAddressOutput
- func (o DeviceInterfaceMacAddressOutput) Description() pulumi.StringPtrOutput
- func (DeviceInterfaceMacAddressOutput) ElementType() reflect.Type
- func (o DeviceInterfaceMacAddressOutput) Id() pulumi.IntPtrOutput
- func (o DeviceInterfaceMacAddressOutput) MacAddress() pulumi.StringPtrOutput
- func (o DeviceInterfaceMacAddressOutput) ToDeviceInterfaceMacAddressOutput() DeviceInterfaceMacAddressOutput
- func (o DeviceInterfaceMacAddressOutput) ToDeviceInterfaceMacAddressOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressOutput
- type DeviceInterfaceMap
- type DeviceInterfaceMapInput
- type DeviceInterfaceMapOutput
- func (DeviceInterfaceMapOutput) ElementType() reflect.Type
- func (o DeviceInterfaceMapOutput) MapIndex(k pulumi.StringInput) DeviceInterfaceOutput
- func (o DeviceInterfaceMapOutput) ToDeviceInterfaceMapOutput() DeviceInterfaceMapOutput
- func (o DeviceInterfaceMapOutput) ToDeviceInterfaceMapOutputWithContext(ctx context.Context) DeviceInterfaceMapOutput
- type DeviceInterfaceOutput
- func (o DeviceInterfaceOutput) Description() pulumi.StringPtrOutput
- func (o DeviceInterfaceOutput) DeviceId() pulumi.IntOutput
- func (DeviceInterfaceOutput) ElementType() reflect.Type
- func (o DeviceInterfaceOutput) Enabled() pulumi.BoolPtrOutput
- func (o DeviceInterfaceOutput) Label() pulumi.StringPtrOutput
- func (o DeviceInterfaceOutput) LagDeviceInterfaceId() pulumi.IntPtrOutput
- func (o DeviceInterfaceOutput) MacAddress() pulumi.StringOutput
- func (o DeviceInterfaceOutput) MacAddresses() DeviceInterfaceMacAddressArrayOutput
- func (o DeviceInterfaceOutput) Mgmtonly() pulumi.BoolPtrOutput
- func (o DeviceInterfaceOutput) Mode() pulumi.StringPtrOutput
- func (o DeviceInterfaceOutput) Mtu() pulumi.IntPtrOutput
- func (o DeviceInterfaceOutput) Name() pulumi.StringOutput
- func (o DeviceInterfaceOutput) ParentDeviceInterfaceId() pulumi.IntPtrOutput
- func (o DeviceInterfaceOutput) Speed() pulumi.IntPtrOutput
- func (o DeviceInterfaceOutput) TaggedVlans() pulumi.IntArrayOutput
- func (o DeviceInterfaceOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceInterfaceOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceInterfaceOutput) ToDeviceInterfaceOutput() DeviceInterfaceOutput
- func (o DeviceInterfaceOutput) ToDeviceInterfaceOutputWithContext(ctx context.Context) DeviceInterfaceOutput
- func (o DeviceInterfaceOutput) Type() pulumi.StringOutput
- func (o DeviceInterfaceOutput) UntaggedVlan() pulumi.IntPtrOutput
- type DeviceInterfaceState
- type DeviceMap
- type DeviceMapInput
- type DeviceMapOutput
- type DeviceModuleBay
- type DeviceModuleBayArgs
- type DeviceModuleBayArray
- type DeviceModuleBayArrayInput
- type DeviceModuleBayArrayOutput
- func (DeviceModuleBayArrayOutput) ElementType() reflect.Type
- func (o DeviceModuleBayArrayOutput) Index(i pulumi.IntInput) DeviceModuleBayOutput
- func (o DeviceModuleBayArrayOutput) ToDeviceModuleBayArrayOutput() DeviceModuleBayArrayOutput
- func (o DeviceModuleBayArrayOutput) ToDeviceModuleBayArrayOutputWithContext(ctx context.Context) DeviceModuleBayArrayOutput
- type DeviceModuleBayInput
- type DeviceModuleBayMap
- type DeviceModuleBayMapInput
- type DeviceModuleBayMapOutput
- func (DeviceModuleBayMapOutput) ElementType() reflect.Type
- func (o DeviceModuleBayMapOutput) MapIndex(k pulumi.StringInput) DeviceModuleBayOutput
- func (o DeviceModuleBayMapOutput) ToDeviceModuleBayMapOutput() DeviceModuleBayMapOutput
- func (o DeviceModuleBayMapOutput) ToDeviceModuleBayMapOutputWithContext(ctx context.Context) DeviceModuleBayMapOutput
- type DeviceModuleBayOutput
- func (o DeviceModuleBayOutput) CustomFields() pulumi.StringMapOutput
- func (o DeviceModuleBayOutput) Description() pulumi.StringPtrOutput
- func (o DeviceModuleBayOutput) DeviceId() pulumi.IntOutput
- func (DeviceModuleBayOutput) ElementType() reflect.Type
- func (o DeviceModuleBayOutput) Label() pulumi.StringPtrOutput
- func (o DeviceModuleBayOutput) Name() pulumi.StringOutput
- func (o DeviceModuleBayOutput) Position() pulumi.StringPtrOutput
- func (o DeviceModuleBayOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceModuleBayOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceModuleBayOutput) ToDeviceModuleBayOutput() DeviceModuleBayOutput
- func (o DeviceModuleBayOutput) ToDeviceModuleBayOutputWithContext(ctx context.Context) DeviceModuleBayOutput
- type DeviceModuleBayState
- type DeviceOutput
- func (o DeviceOutput) AssetTag() pulumi.StringPtrOutput
- func (o DeviceOutput) ClusterId() pulumi.IntPtrOutput
- func (o DeviceOutput) Comments() pulumi.StringPtrOutput
- func (o DeviceOutput) ConfigTemplateId() pulumi.IntPtrOutput
- func (o DeviceOutput) CustomFields() pulumi.StringMapOutput
- func (o DeviceOutput) Description() pulumi.StringPtrOutput
- func (o DeviceOutput) DeviceTypeId() pulumi.IntOutput
- func (DeviceOutput) ElementType() reflect.Type
- func (o DeviceOutput) LocalContextData() pulumi.StringPtrOutput
- func (o DeviceOutput) LocationId() pulumi.IntPtrOutput
- func (o DeviceOutput) Name() pulumi.StringOutput
- func (o DeviceOutput) PlatformId() pulumi.IntPtrOutput
- func (o DeviceOutput) PrimaryIpv4() pulumi.IntOutput
- func (o DeviceOutput) PrimaryIpv6() pulumi.IntOutput
- func (o DeviceOutput) RackFace() pulumi.StringPtrOutput
- func (o DeviceOutput) RackId() pulumi.IntPtrOutput
- func (o DeviceOutput) RackPosition() pulumi.Float64PtrOutput
- func (o DeviceOutput) RoleId() pulumi.IntOutput
- func (o DeviceOutput) Serial() pulumi.StringPtrOutput
- func (o DeviceOutput) SiteId() pulumi.IntOutput
- func (o DeviceOutput) Status() pulumi.StringPtrOutput
- func (o DeviceOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceOutput) TenantId() pulumi.IntPtrOutput
- func (o DeviceOutput) ToDeviceOutput() DeviceOutput
- func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
- func (o DeviceOutput) VirtualChassisId() pulumi.IntPtrOutput
- func (o DeviceOutput) VirtualChassisMaster() pulumi.BoolPtrOutput
- func (o DeviceOutput) VirtualChassisPosition() pulumi.IntPtrOutput
- func (o DeviceOutput) VirtualChassisPriority() pulumi.IntPtrOutput
- type DevicePowerOutlet
- type DevicePowerOutletArgs
- type DevicePowerOutletArray
- type DevicePowerOutletArrayInput
- type DevicePowerOutletArrayOutput
- func (DevicePowerOutletArrayOutput) ElementType() reflect.Type
- func (o DevicePowerOutletArrayOutput) Index(i pulumi.IntInput) DevicePowerOutletOutput
- func (o DevicePowerOutletArrayOutput) ToDevicePowerOutletArrayOutput() DevicePowerOutletArrayOutput
- func (o DevicePowerOutletArrayOutput) ToDevicePowerOutletArrayOutputWithContext(ctx context.Context) DevicePowerOutletArrayOutput
- type DevicePowerOutletInput
- type DevicePowerOutletMap
- type DevicePowerOutletMapInput
- type DevicePowerOutletMapOutput
- func (DevicePowerOutletMapOutput) ElementType() reflect.Type
- func (o DevicePowerOutletMapOutput) MapIndex(k pulumi.StringInput) DevicePowerOutletOutput
- func (o DevicePowerOutletMapOutput) ToDevicePowerOutletMapOutput() DevicePowerOutletMapOutput
- func (o DevicePowerOutletMapOutput) ToDevicePowerOutletMapOutputWithContext(ctx context.Context) DevicePowerOutletMapOutput
- type DevicePowerOutletOutput
- func (o DevicePowerOutletOutput) CustomFields() pulumi.StringMapOutput
- func (o DevicePowerOutletOutput) Description() pulumi.StringPtrOutput
- func (o DevicePowerOutletOutput) DeviceId() pulumi.IntOutput
- func (DevicePowerOutletOutput) ElementType() reflect.Type
- func (o DevicePowerOutletOutput) FeedLeg() pulumi.StringPtrOutput
- func (o DevicePowerOutletOutput) Label() pulumi.StringPtrOutput
- func (o DevicePowerOutletOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o DevicePowerOutletOutput) ModuleId() pulumi.IntPtrOutput
- func (o DevicePowerOutletOutput) Name() pulumi.StringOutput
- func (o DevicePowerOutletOutput) PowerPortId() pulumi.IntPtrOutput
- func (o DevicePowerOutletOutput) Tags() pulumi.StringArrayOutput
- func (o DevicePowerOutletOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DevicePowerOutletOutput) ToDevicePowerOutletOutput() DevicePowerOutletOutput
- func (o DevicePowerOutletOutput) ToDevicePowerOutletOutputWithContext(ctx context.Context) DevicePowerOutletOutput
- func (o DevicePowerOutletOutput) Type() pulumi.StringPtrOutput
- type DevicePowerOutletState
- type DevicePowerPort
- type DevicePowerPortArgs
- type DevicePowerPortArray
- type DevicePowerPortArrayInput
- type DevicePowerPortArrayOutput
- func (DevicePowerPortArrayOutput) ElementType() reflect.Type
- func (o DevicePowerPortArrayOutput) Index(i pulumi.IntInput) DevicePowerPortOutput
- func (o DevicePowerPortArrayOutput) ToDevicePowerPortArrayOutput() DevicePowerPortArrayOutput
- func (o DevicePowerPortArrayOutput) ToDevicePowerPortArrayOutputWithContext(ctx context.Context) DevicePowerPortArrayOutput
- type DevicePowerPortInput
- type DevicePowerPortMap
- type DevicePowerPortMapInput
- type DevicePowerPortMapOutput
- func (DevicePowerPortMapOutput) ElementType() reflect.Type
- func (o DevicePowerPortMapOutput) MapIndex(k pulumi.StringInput) DevicePowerPortOutput
- func (o DevicePowerPortMapOutput) ToDevicePowerPortMapOutput() DevicePowerPortMapOutput
- func (o DevicePowerPortMapOutput) ToDevicePowerPortMapOutputWithContext(ctx context.Context) DevicePowerPortMapOutput
- type DevicePowerPortOutput
- func (o DevicePowerPortOutput) AllocatedDraw() pulumi.IntPtrOutput
- func (o DevicePowerPortOutput) CustomFields() pulumi.StringMapOutput
- func (o DevicePowerPortOutput) Description() pulumi.StringPtrOutput
- func (o DevicePowerPortOutput) DeviceId() pulumi.IntOutput
- func (DevicePowerPortOutput) ElementType() reflect.Type
- func (o DevicePowerPortOutput) Label() pulumi.StringPtrOutput
- func (o DevicePowerPortOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o DevicePowerPortOutput) MaximumDraw() pulumi.IntPtrOutput
- func (o DevicePowerPortOutput) ModuleId() pulumi.IntPtrOutput
- func (o DevicePowerPortOutput) Name() pulumi.StringOutput
- func (o DevicePowerPortOutput) Tags() pulumi.StringArrayOutput
- func (o DevicePowerPortOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DevicePowerPortOutput) ToDevicePowerPortOutput() DevicePowerPortOutput
- func (o DevicePowerPortOutput) ToDevicePowerPortOutputWithContext(ctx context.Context) DevicePowerPortOutput
- func (o DevicePowerPortOutput) Type() pulumi.StringPtrOutput
- type DevicePowerPortState
- type DevicePrimaryIp
- type DevicePrimaryIpArgs
- type DevicePrimaryIpArray
- type DevicePrimaryIpArrayInput
- type DevicePrimaryIpArrayOutput
- func (DevicePrimaryIpArrayOutput) ElementType() reflect.Type
- func (o DevicePrimaryIpArrayOutput) Index(i pulumi.IntInput) DevicePrimaryIpOutput
- func (o DevicePrimaryIpArrayOutput) ToDevicePrimaryIpArrayOutput() DevicePrimaryIpArrayOutput
- func (o DevicePrimaryIpArrayOutput) ToDevicePrimaryIpArrayOutputWithContext(ctx context.Context) DevicePrimaryIpArrayOutput
- type DevicePrimaryIpInput
- type DevicePrimaryIpMap
- type DevicePrimaryIpMapInput
- type DevicePrimaryIpMapOutput
- func (DevicePrimaryIpMapOutput) ElementType() reflect.Type
- func (o DevicePrimaryIpMapOutput) MapIndex(k pulumi.StringInput) DevicePrimaryIpOutput
- func (o DevicePrimaryIpMapOutput) ToDevicePrimaryIpMapOutput() DevicePrimaryIpMapOutput
- func (o DevicePrimaryIpMapOutput) ToDevicePrimaryIpMapOutputWithContext(ctx context.Context) DevicePrimaryIpMapOutput
- type DevicePrimaryIpOutput
- func (o DevicePrimaryIpOutput) DeviceId() pulumi.IntOutput
- func (DevicePrimaryIpOutput) ElementType() reflect.Type
- func (o DevicePrimaryIpOutput) IpAddressId() pulumi.IntOutput
- func (o DevicePrimaryIpOutput) IpAddressVersion() pulumi.IntPtrOutput
- func (o DevicePrimaryIpOutput) ToDevicePrimaryIpOutput() DevicePrimaryIpOutput
- func (o DevicePrimaryIpOutput) ToDevicePrimaryIpOutputWithContext(ctx context.Context) DevicePrimaryIpOutput
- type DevicePrimaryIpState
- type DeviceRearPort
- type DeviceRearPortArgs
- type DeviceRearPortArray
- type DeviceRearPortArrayInput
- type DeviceRearPortArrayOutput
- func (DeviceRearPortArrayOutput) ElementType() reflect.Type
- func (o DeviceRearPortArrayOutput) Index(i pulumi.IntInput) DeviceRearPortOutput
- func (o DeviceRearPortArrayOutput) ToDeviceRearPortArrayOutput() DeviceRearPortArrayOutput
- func (o DeviceRearPortArrayOutput) ToDeviceRearPortArrayOutputWithContext(ctx context.Context) DeviceRearPortArrayOutput
- type DeviceRearPortInput
- type DeviceRearPortMap
- type DeviceRearPortMapInput
- type DeviceRearPortMapOutput
- func (DeviceRearPortMapOutput) ElementType() reflect.Type
- func (o DeviceRearPortMapOutput) MapIndex(k pulumi.StringInput) DeviceRearPortOutput
- func (o DeviceRearPortMapOutput) ToDeviceRearPortMapOutput() DeviceRearPortMapOutput
- func (o DeviceRearPortMapOutput) ToDeviceRearPortMapOutputWithContext(ctx context.Context) DeviceRearPortMapOutput
- type DeviceRearPortOutput
- func (o DeviceRearPortOutput) ColorHex() pulumi.StringPtrOutput
- func (o DeviceRearPortOutput) CustomFields() pulumi.StringMapOutput
- func (o DeviceRearPortOutput) Description() pulumi.StringPtrOutput
- func (o DeviceRearPortOutput) DeviceId() pulumi.IntOutput
- func (DeviceRearPortOutput) ElementType() reflect.Type
- func (o DeviceRearPortOutput) Label() pulumi.StringPtrOutput
- func (o DeviceRearPortOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o DeviceRearPortOutput) ModuleId() pulumi.IntPtrOutput
- func (o DeviceRearPortOutput) Name() pulumi.StringOutput
- func (o DeviceRearPortOutput) Positions() pulumi.IntOutput
- func (o DeviceRearPortOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceRearPortOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceRearPortOutput) ToDeviceRearPortOutput() DeviceRearPortOutput
- func (o DeviceRearPortOutput) ToDeviceRearPortOutputWithContext(ctx context.Context) DeviceRearPortOutput
- func (o DeviceRearPortOutput) Type() pulumi.StringOutput
- type DeviceRearPortState
- type DeviceRole
- type DeviceRoleArgs
- type DeviceRoleArray
- type DeviceRoleArrayInput
- type DeviceRoleArrayOutput
- func (DeviceRoleArrayOutput) ElementType() reflect.Type
- func (o DeviceRoleArrayOutput) Index(i pulumi.IntInput) DeviceRoleOutput
- func (o DeviceRoleArrayOutput) ToDeviceRoleArrayOutput() DeviceRoleArrayOutput
- func (o DeviceRoleArrayOutput) ToDeviceRoleArrayOutputWithContext(ctx context.Context) DeviceRoleArrayOutput
- type DeviceRoleInput
- type DeviceRoleMap
- type DeviceRoleMapInput
- type DeviceRoleMapOutput
- func (DeviceRoleMapOutput) ElementType() reflect.Type
- func (o DeviceRoleMapOutput) MapIndex(k pulumi.StringInput) DeviceRoleOutput
- func (o DeviceRoleMapOutput) ToDeviceRoleMapOutput() DeviceRoleMapOutput
- func (o DeviceRoleMapOutput) ToDeviceRoleMapOutputWithContext(ctx context.Context) DeviceRoleMapOutput
- type DeviceRoleOutput
- func (o DeviceRoleOutput) ColorHex() pulumi.StringOutput
- func (o DeviceRoleOutput) Description() pulumi.StringPtrOutput
- func (DeviceRoleOutput) ElementType() reflect.Type
- func (o DeviceRoleOutput) Name() pulumi.StringOutput
- func (o DeviceRoleOutput) Slug() pulumi.StringOutput
- func (o DeviceRoleOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceRoleOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceRoleOutput) ToDeviceRoleOutput() DeviceRoleOutput
- func (o DeviceRoleOutput) ToDeviceRoleOutputWithContext(ctx context.Context) DeviceRoleOutput
- func (o DeviceRoleOutput) VmRole() pulumi.BoolPtrOutput
- type DeviceRoleState
- type DeviceState
- type DeviceType
- type DeviceTypeArgs
- type DeviceTypeArray
- type DeviceTypeArrayInput
- type DeviceTypeArrayOutput
- func (DeviceTypeArrayOutput) ElementType() reflect.Type
- func (o DeviceTypeArrayOutput) Index(i pulumi.IntInput) DeviceTypeOutput
- func (o DeviceTypeArrayOutput) ToDeviceTypeArrayOutput() DeviceTypeArrayOutput
- func (o DeviceTypeArrayOutput) ToDeviceTypeArrayOutputWithContext(ctx context.Context) DeviceTypeArrayOutput
- type DeviceTypeInput
- type DeviceTypeMap
- type DeviceTypeMapInput
- type DeviceTypeMapOutput
- func (DeviceTypeMapOutput) ElementType() reflect.Type
- func (o DeviceTypeMapOutput) MapIndex(k pulumi.StringInput) DeviceTypeOutput
- func (o DeviceTypeMapOutput) ToDeviceTypeMapOutput() DeviceTypeMapOutput
- func (o DeviceTypeMapOutput) ToDeviceTypeMapOutputWithContext(ctx context.Context) DeviceTypeMapOutput
- type DeviceTypeOutput
- func (DeviceTypeOutput) ElementType() reflect.Type
- func (o DeviceTypeOutput) IsFullDepth() pulumi.BoolPtrOutput
- func (o DeviceTypeOutput) ManufacturerId() pulumi.IntOutput
- func (o DeviceTypeOutput) Model() pulumi.StringOutput
- func (o DeviceTypeOutput) PartNumber() pulumi.StringPtrOutput
- func (o DeviceTypeOutput) Slug() pulumi.StringOutput
- func (o DeviceTypeOutput) Tags() pulumi.StringArrayOutput
- func (o DeviceTypeOutput) TagsAlls() pulumi.StringArrayOutput
- func (o DeviceTypeOutput) ToDeviceTypeOutput() DeviceTypeOutput
- func (o DeviceTypeOutput) ToDeviceTypeOutputWithContext(ctx context.Context) DeviceTypeOutput
- func (o DeviceTypeOutput) UHeight() pulumi.Float64PtrOutput
- type DeviceTypeState
- type GetDeviceInterfacesArgs
- type GetDeviceInterfacesFilter
- type GetDeviceInterfacesFilterArgs
- func (GetDeviceInterfacesFilterArgs) ElementType() reflect.Type
- func (i GetDeviceInterfacesFilterArgs) ToGetDeviceInterfacesFilterOutput() GetDeviceInterfacesFilterOutput
- func (i GetDeviceInterfacesFilterArgs) ToGetDeviceInterfacesFilterOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterOutput
- type GetDeviceInterfacesFilterArray
- func (GetDeviceInterfacesFilterArray) ElementType() reflect.Type
- func (i GetDeviceInterfacesFilterArray) ToGetDeviceInterfacesFilterArrayOutput() GetDeviceInterfacesFilterArrayOutput
- func (i GetDeviceInterfacesFilterArray) ToGetDeviceInterfacesFilterArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterArrayOutput
- type GetDeviceInterfacesFilterArrayInput
- type GetDeviceInterfacesFilterArrayOutput
- func (GetDeviceInterfacesFilterArrayOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfacesFilterOutput
- func (o GetDeviceInterfacesFilterArrayOutput) ToGetDeviceInterfacesFilterArrayOutput() GetDeviceInterfacesFilterArrayOutput
- func (o GetDeviceInterfacesFilterArrayOutput) ToGetDeviceInterfacesFilterArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterArrayOutput
- type GetDeviceInterfacesFilterInput
- type GetDeviceInterfacesFilterOutput
- func (GetDeviceInterfacesFilterOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesFilterOutput) Name() pulumi.StringOutput
- func (o GetDeviceInterfacesFilterOutput) ToGetDeviceInterfacesFilterOutput() GetDeviceInterfacesFilterOutput
- func (o GetDeviceInterfacesFilterOutput) ToGetDeviceInterfacesFilterOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterOutput
- func (o GetDeviceInterfacesFilterOutput) Value() pulumi.StringOutput
- type GetDeviceInterfacesInterface
- type GetDeviceInterfacesInterfaceArgs
- func (GetDeviceInterfacesInterfaceArgs) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceArgs) ToGetDeviceInterfacesInterfaceOutput() GetDeviceInterfacesInterfaceOutput
- func (i GetDeviceInterfacesInterfaceArgs) ToGetDeviceInterfacesInterfaceOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceOutput
- type GetDeviceInterfacesInterfaceArray
- func (GetDeviceInterfacesInterfaceArray) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceArray) ToGetDeviceInterfacesInterfaceArrayOutput() GetDeviceInterfacesInterfaceArrayOutput
- func (i GetDeviceInterfacesInterfaceArray) ToGetDeviceInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceArrayOutput
- type GetDeviceInterfacesInterfaceArrayInput
- type GetDeviceInterfacesInterfaceArrayOutput
- func (GetDeviceInterfacesInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfacesInterfaceOutput
- func (o GetDeviceInterfacesInterfaceArrayOutput) ToGetDeviceInterfacesInterfaceArrayOutput() GetDeviceInterfacesInterfaceArrayOutput
- func (o GetDeviceInterfacesInterfaceArrayOutput) ToGetDeviceInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceArrayOutput
- type GetDeviceInterfacesInterfaceInput
- type GetDeviceInterfacesInterfaceMacAddress
- type GetDeviceInterfacesInterfaceMacAddressArgs
- func (GetDeviceInterfacesInterfaceMacAddressArgs) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceMacAddressArgs) ToGetDeviceInterfacesInterfaceMacAddressOutput() GetDeviceInterfacesInterfaceMacAddressOutput
- func (i GetDeviceInterfacesInterfaceMacAddressArgs) ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressOutput
- type GetDeviceInterfacesInterfaceMacAddressArray
- func (GetDeviceInterfacesInterfaceMacAddressArray) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceMacAddressArray) ToGetDeviceInterfacesInterfaceMacAddressArrayOutput() GetDeviceInterfacesInterfaceMacAddressArrayOutput
- func (i GetDeviceInterfacesInterfaceMacAddressArray) ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressArrayOutput
- type GetDeviceInterfacesInterfaceMacAddressArrayInput
- type GetDeviceInterfacesInterfaceMacAddressArrayOutput
- func (GetDeviceInterfacesInterfaceMacAddressArrayOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceMacAddressArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfacesInterfaceMacAddressOutput
- func (o GetDeviceInterfacesInterfaceMacAddressArrayOutput) ToGetDeviceInterfacesInterfaceMacAddressArrayOutput() GetDeviceInterfacesInterfaceMacAddressArrayOutput
- func (o GetDeviceInterfacesInterfaceMacAddressArrayOutput) ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressArrayOutput
- type GetDeviceInterfacesInterfaceMacAddressInput
- type GetDeviceInterfacesInterfaceMacAddressOutput
- func (o GetDeviceInterfacesInterfaceMacAddressOutput) Description() pulumi.StringOutput
- func (GetDeviceInterfacesInterfaceMacAddressOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceMacAddressOutput) Id() pulumi.IntOutput
- func (o GetDeviceInterfacesInterfaceMacAddressOutput) MacAddress() pulumi.StringOutput
- func (o GetDeviceInterfacesInterfaceMacAddressOutput) ToGetDeviceInterfacesInterfaceMacAddressOutput() GetDeviceInterfacesInterfaceMacAddressOutput
- func (o GetDeviceInterfacesInterfaceMacAddressOutput) ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressOutput
- type GetDeviceInterfacesInterfaceOutput
- func (o GetDeviceInterfacesInterfaceOutput) Description() pulumi.StringOutput
- func (o GetDeviceInterfacesInterfaceOutput) DeviceId() pulumi.IntOutput
- func (GetDeviceInterfacesInterfaceOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceOutput) Enabled() pulumi.BoolOutput
- func (o GetDeviceInterfacesInterfaceOutput) Id() pulumi.IntOutput
- func (o GetDeviceInterfacesInterfaceOutput) MacAddress() pulumi.StringOutput
- func (o GetDeviceInterfacesInterfaceOutput) MacAddresses() GetDeviceInterfacesInterfaceMacAddressArrayOutput
- func (o GetDeviceInterfacesInterfaceOutput) Mode() pulumi.StringMapOutput
- func (o GetDeviceInterfacesInterfaceOutput) Mtu() pulumi.IntOutput
- func (o GetDeviceInterfacesInterfaceOutput) Name() pulumi.StringOutput
- func (o GetDeviceInterfacesInterfaceOutput) TagIds() pulumi.IntArrayOutput
- func (o GetDeviceInterfacesInterfaceOutput) TaggedVlans() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
- func (o GetDeviceInterfacesInterfaceOutput) ToGetDeviceInterfacesInterfaceOutput() GetDeviceInterfacesInterfaceOutput
- func (o GetDeviceInterfacesInterfaceOutput) ToGetDeviceInterfacesInterfaceOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceOutput
- func (o GetDeviceInterfacesInterfaceOutput) UntaggedVlans() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
- type GetDeviceInterfacesInterfaceTaggedVlan
- type GetDeviceInterfacesInterfaceTaggedVlanArgs
- func (GetDeviceInterfacesInterfaceTaggedVlanArgs) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceTaggedVlanArgs) ToGetDeviceInterfacesInterfaceTaggedVlanOutput() GetDeviceInterfacesInterfaceTaggedVlanOutput
- func (i GetDeviceInterfacesInterfaceTaggedVlanArgs) ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanOutput
- type GetDeviceInterfacesInterfaceTaggedVlanArray
- func (GetDeviceInterfacesInterfaceTaggedVlanArray) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceTaggedVlanArray) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
- func (i GetDeviceInterfacesInterfaceTaggedVlanArray) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
- type GetDeviceInterfacesInterfaceTaggedVlanArrayInput
- type GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
- func (GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfacesInterfaceTaggedVlanOutput
- func (o GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
- func (o GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
- type GetDeviceInterfacesInterfaceTaggedVlanInput
- type GetDeviceInterfacesInterfaceTaggedVlanOutput
- func (GetDeviceInterfacesInterfaceTaggedVlanOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) Id() pulumi.IntOutput
- func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) Name() pulumi.StringOutput
- func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) ToGetDeviceInterfacesInterfaceTaggedVlanOutput() GetDeviceInterfacesInterfaceTaggedVlanOutput
- func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanOutput
- func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) Vid() pulumi.IntOutput
- type GetDeviceInterfacesInterfaceUntaggedVlan
- type GetDeviceInterfacesInterfaceUntaggedVlanArgs
- func (GetDeviceInterfacesInterfaceUntaggedVlanArgs) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceUntaggedVlanArgs) ToGetDeviceInterfacesInterfaceUntaggedVlanOutput() GetDeviceInterfacesInterfaceUntaggedVlanOutput
- func (i GetDeviceInterfacesInterfaceUntaggedVlanArgs) ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanOutput
- type GetDeviceInterfacesInterfaceUntaggedVlanArray
- func (GetDeviceInterfacesInterfaceUntaggedVlanArray) ElementType() reflect.Type
- func (i GetDeviceInterfacesInterfaceUntaggedVlanArray) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
- func (i GetDeviceInterfacesInterfaceUntaggedVlanArray) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
- type GetDeviceInterfacesInterfaceUntaggedVlanArrayInput
- type GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
- func (GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfacesInterfaceUntaggedVlanOutput
- func (o GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
- func (o GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
- type GetDeviceInterfacesInterfaceUntaggedVlanInput
- type GetDeviceInterfacesInterfaceUntaggedVlanOutput
- func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) Id() pulumi.IntOutput
- func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) Name() pulumi.StringOutput
- func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanOutput() GetDeviceInterfacesInterfaceUntaggedVlanOutput
- func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanOutput
- func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) Vid() pulumi.IntOutput
- type GetDeviceInterfacesOutputArgs
- type GetDeviceInterfacesResult
- type GetDeviceInterfacesResultOutput
- func (GetDeviceInterfacesResultOutput) ElementType() reflect.Type
- func (o GetDeviceInterfacesResultOutput) Filters() GetDeviceInterfacesFilterArrayOutput
- func (o GetDeviceInterfacesResultOutput) Id() pulumi.StringOutput
- func (o GetDeviceInterfacesResultOutput) Interfaces() GetDeviceInterfacesInterfaceArrayOutput
- func (o GetDeviceInterfacesResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetDeviceInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDeviceInterfacesResultOutput) ToGetDeviceInterfacesResultOutput() GetDeviceInterfacesResultOutput
- func (o GetDeviceInterfacesResultOutput) ToGetDeviceInterfacesResultOutputWithContext(ctx context.Context) GetDeviceInterfacesResultOutput
- type GetDevicesArgs
- type GetDevicesDevice
- type GetDevicesDeviceArgs
- type GetDevicesDeviceArray
- type GetDevicesDeviceArrayInput
- type GetDevicesDeviceArrayOutput
- func (GetDevicesDeviceArrayOutput) ElementType() reflect.Type
- func (o GetDevicesDeviceArrayOutput) Index(i pulumi.IntInput) GetDevicesDeviceOutput
- func (o GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput
- func (o GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutputWithContext(ctx context.Context) GetDevicesDeviceArrayOutput
- type GetDevicesDeviceInput
- type GetDevicesDeviceOutput
- func (o GetDevicesDeviceOutput) AssetTag() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) ClusterId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) Comments() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) ConfigContext() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) CustomFields() pulumi.StringMapOutput
- func (o GetDevicesDeviceOutput) Description() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) DeviceId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) DeviceTypeId() pulumi.IntOutput
- func (GetDevicesDeviceOutput) ElementType() reflect.Type
- func (o GetDevicesDeviceOutput) LocalContextData() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) LocationId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) ManufacturerId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) Model() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) Name() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) OobIp() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) PlatformId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) PrimaryIpv4() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) PrimaryIpv6() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) RackFace() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) RackId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) RackPosition() pulumi.Float64Output
- func (o GetDevicesDeviceOutput) RoleId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) Serial() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) SiteId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) Status() pulumi.StringOutput
- func (o GetDevicesDeviceOutput) Tags() pulumi.StringArrayOutput
- func (o GetDevicesDeviceOutput) TenantId() pulumi.IntOutput
- func (o GetDevicesDeviceOutput) ToGetDevicesDeviceOutput() GetDevicesDeviceOutput
- func (o GetDevicesDeviceOutput) ToGetDevicesDeviceOutputWithContext(ctx context.Context) GetDevicesDeviceOutput
- type GetDevicesFilter
- type GetDevicesFilterArgs
- type GetDevicesFilterArray
- type GetDevicesFilterArrayInput
- type GetDevicesFilterArrayOutput
- func (GetDevicesFilterArrayOutput) ElementType() reflect.Type
- func (o GetDevicesFilterArrayOutput) Index(i pulumi.IntInput) GetDevicesFilterOutput
- func (o GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput
- func (o GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutputWithContext(ctx context.Context) GetDevicesFilterArrayOutput
- type GetDevicesFilterInput
- type GetDevicesFilterOutput
- func (GetDevicesFilterOutput) ElementType() reflect.Type
- func (o GetDevicesFilterOutput) Name() pulumi.StringOutput
- func (o GetDevicesFilterOutput) ToGetDevicesFilterOutput() GetDevicesFilterOutput
- func (o GetDevicesFilterOutput) ToGetDevicesFilterOutputWithContext(ctx context.Context) GetDevicesFilterOutput
- func (o GetDevicesFilterOutput) Value() pulumi.StringOutput
- type GetDevicesOutputArgs
- type GetDevicesResult
- type GetDevicesResultOutput
- func (o GetDevicesResultOutput) Devices() GetDevicesDeviceArrayOutput
- func (GetDevicesResultOutput) ElementType() reflect.Type
- func (o GetDevicesResultOutput) Filters() GetDevicesFilterArrayOutput
- func (o GetDevicesResultOutput) Id() pulumi.StringOutput
- func (o GetDevicesResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetDevicesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDevicesResultOutput) ToGetDevicesResultOutput() GetDevicesResultOutput
- func (o GetDevicesResultOutput) ToGetDevicesResultOutputWithContext(ctx context.Context) GetDevicesResultOutput
- type GetLocationsArgs
- type GetLocationsFilter
- type GetLocationsFilterArgs
- type GetLocationsFilterArray
- type GetLocationsFilterArrayInput
- type GetLocationsFilterArrayOutput
- func (GetLocationsFilterArrayOutput) ElementType() reflect.Type
- func (o GetLocationsFilterArrayOutput) Index(i pulumi.IntInput) GetLocationsFilterOutput
- func (o GetLocationsFilterArrayOutput) ToGetLocationsFilterArrayOutput() GetLocationsFilterArrayOutput
- func (o GetLocationsFilterArrayOutput) ToGetLocationsFilterArrayOutputWithContext(ctx context.Context) GetLocationsFilterArrayOutput
- type GetLocationsFilterInput
- type GetLocationsFilterOutput
- func (GetLocationsFilterOutput) ElementType() reflect.Type
- func (o GetLocationsFilterOutput) Name() pulumi.StringOutput
- func (o GetLocationsFilterOutput) ToGetLocationsFilterOutput() GetLocationsFilterOutput
- func (o GetLocationsFilterOutput) ToGetLocationsFilterOutputWithContext(ctx context.Context) GetLocationsFilterOutput
- func (o GetLocationsFilterOutput) Value() pulumi.StringOutput
- type GetLocationsLocation
- type GetLocationsLocationArgs
- type GetLocationsLocationArray
- type GetLocationsLocationArrayInput
- type GetLocationsLocationArrayOutput
- func (GetLocationsLocationArrayOutput) ElementType() reflect.Type
- func (o GetLocationsLocationArrayOutput) Index(i pulumi.IntInput) GetLocationsLocationOutput
- func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
- func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput
- type GetLocationsLocationInput
- type GetLocationsLocationOutput
- func (o GetLocationsLocationOutput) Description() pulumi.StringOutput
- func (GetLocationsLocationOutput) ElementType() reflect.Type
- func (o GetLocationsLocationOutput) Facility() pulumi.StringOutput
- func (o GetLocationsLocationOutput) Id() pulumi.StringOutput
- func (o GetLocationsLocationOutput) Name() pulumi.StringPtrOutput
- func (o GetLocationsLocationOutput) ParentId() pulumi.IntOutput
- func (o GetLocationsLocationOutput) SiteId() pulumi.IntOutput
- func (o GetLocationsLocationOutput) Slug() pulumi.StringPtrOutput
- func (o GetLocationsLocationOutput) Status() pulumi.StringOutput
- func (o GetLocationsLocationOutput) TenantId() pulumi.IntOutput
- func (o GetLocationsLocationOutput) ToGetLocationsLocationOutput() GetLocationsLocationOutput
- func (o GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput
- type GetLocationsOutputArgs
- type GetLocationsResult
- type GetLocationsResultOutput
- func (GetLocationsResultOutput) ElementType() reflect.Type
- func (o GetLocationsResultOutput) Filters() GetLocationsFilterArrayOutput
- func (o GetLocationsResultOutput) Id() pulumi.StringOutput
- func (o GetLocationsResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetLocationsResultOutput) Locations() GetLocationsLocationArrayOutput
- func (o GetLocationsResultOutput) Tags() pulumi.StringArrayOutput
- func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput
- func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput
- type GetRacksArgs
- type GetRacksFilter
- type GetRacksFilterArgs
- type GetRacksFilterArray
- type GetRacksFilterArrayInput
- type GetRacksFilterArrayOutput
- func (GetRacksFilterArrayOutput) ElementType() reflect.Type
- func (o GetRacksFilterArrayOutput) Index(i pulumi.IntInput) GetRacksFilterOutput
- func (o GetRacksFilterArrayOutput) ToGetRacksFilterArrayOutput() GetRacksFilterArrayOutput
- func (o GetRacksFilterArrayOutput) ToGetRacksFilterArrayOutputWithContext(ctx context.Context) GetRacksFilterArrayOutput
- type GetRacksFilterInput
- type GetRacksFilterOutput
- func (GetRacksFilterOutput) ElementType() reflect.Type
- func (o GetRacksFilterOutput) Name() pulumi.StringOutput
- func (o GetRacksFilterOutput) ToGetRacksFilterOutput() GetRacksFilterOutput
- func (o GetRacksFilterOutput) ToGetRacksFilterOutputWithContext(ctx context.Context) GetRacksFilterOutput
- func (o GetRacksFilterOutput) Value() pulumi.StringOutput
- type GetRacksOutputArgs
- type GetRacksRack
- type GetRacksRackArgs
- type GetRacksRackArray
- type GetRacksRackArrayInput
- type GetRacksRackArrayOutput
- func (GetRacksRackArrayOutput) ElementType() reflect.Type
- func (o GetRacksRackArrayOutput) Index(i pulumi.IntInput) GetRacksRackOutput
- func (o GetRacksRackArrayOutput) ToGetRacksRackArrayOutput() GetRacksRackArrayOutput
- func (o GetRacksRackArrayOutput) ToGetRacksRackArrayOutputWithContext(ctx context.Context) GetRacksRackArrayOutput
- type GetRacksRackInput
- type GetRacksRackOutput
- func (o GetRacksRackOutput) AssetTag() pulumi.StringOutput
- func (o GetRacksRackOutput) Comments() pulumi.StringOutput
- func (o GetRacksRackOutput) CustomFields() pulumi.StringMapOutput
- func (o GetRacksRackOutput) DescUnits() pulumi.BoolOutput
- func (o GetRacksRackOutput) Description() pulumi.StringOutput
- func (GetRacksRackOutput) ElementType() reflect.Type
- func (o GetRacksRackOutput) FacilityId() pulumi.StringOutput
- func (o GetRacksRackOutput) Id() pulumi.IntOutput
- func (o GetRacksRackOutput) LocationId() pulumi.IntOutput
- func (o GetRacksRackOutput) MaxWeight() pulumi.IntOutput
- func (o GetRacksRackOutput) MountingDepth() pulumi.IntOutput
- func (o GetRacksRackOutput) Name() pulumi.StringOutput
- func (o GetRacksRackOutput) OuterDepth() pulumi.IntOutput
- func (o GetRacksRackOutput) OuterUnit() pulumi.StringOutput
- func (o GetRacksRackOutput) OuterWidth() pulumi.IntOutput
- func (o GetRacksRackOutput) RoleId() pulumi.IntOutput
- func (o GetRacksRackOutput) Serial() pulumi.StringOutput
- func (o GetRacksRackOutput) SiteId() pulumi.IntOutput
- func (o GetRacksRackOutput) Status() pulumi.StringOutput
- func (o GetRacksRackOutput) Tags() pulumi.StringArrayOutput
- func (o GetRacksRackOutput) TenantId() pulumi.IntOutput
- func (o GetRacksRackOutput) ToGetRacksRackOutput() GetRacksRackOutput
- func (o GetRacksRackOutput) ToGetRacksRackOutputWithContext(ctx context.Context) GetRacksRackOutput
- func (o GetRacksRackOutput) TypeId() pulumi.IntOutput
- func (o GetRacksRackOutput) UHeight() pulumi.IntOutput
- func (o GetRacksRackOutput) Weight() pulumi.Float64Output
- func (o GetRacksRackOutput) WeightUnit() pulumi.StringOutput
- func (o GetRacksRackOutput) Width() pulumi.IntOutput
- type GetRacksResult
- type GetRacksResultOutput
- func (GetRacksResultOutput) ElementType() reflect.Type
- func (o GetRacksResultOutput) Filters() GetRacksFilterArrayOutput
- func (o GetRacksResultOutput) Id() pulumi.StringOutput
- func (o GetRacksResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetRacksResultOutput) Racks() GetRacksRackArrayOutput
- func (o GetRacksResultOutput) ToGetRacksResultOutput() GetRacksResultOutput
- func (o GetRacksResultOutput) ToGetRacksResultOutputWithContext(ctx context.Context) GetRacksResultOutput
- type GetRegionFilter
- type GetRegionFilterArgs
- type GetRegionFilterArray
- type GetRegionFilterArrayInput
- type GetRegionFilterArrayOutput
- func (GetRegionFilterArrayOutput) ElementType() reflect.Type
- func (o GetRegionFilterArrayOutput) Index(i pulumi.IntInput) GetRegionFilterOutput
- func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
- func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput
- type GetRegionFilterInput
- type GetRegionFilterOutput
- func (GetRegionFilterOutput) ElementType() reflect.Type
- func (o GetRegionFilterOutput) Id() pulumi.IntPtrOutput
- func (o GetRegionFilterOutput) Name() pulumi.StringPtrOutput
- func (o GetRegionFilterOutput) Slug() pulumi.StringPtrOutput
- func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput
- func (o GetRegionFilterOutput) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput
- type InterfaceTemplate
- type InterfaceTemplateArgs
- type InterfaceTemplateArray
- type InterfaceTemplateArrayInput
- type InterfaceTemplateArrayOutput
- func (InterfaceTemplateArrayOutput) ElementType() reflect.Type
- func (o InterfaceTemplateArrayOutput) Index(i pulumi.IntInput) InterfaceTemplateOutput
- func (o InterfaceTemplateArrayOutput) ToInterfaceTemplateArrayOutput() InterfaceTemplateArrayOutput
- func (o InterfaceTemplateArrayOutput) ToInterfaceTemplateArrayOutputWithContext(ctx context.Context) InterfaceTemplateArrayOutput
- type InterfaceTemplateInput
- type InterfaceTemplateMap
- type InterfaceTemplateMapInput
- type InterfaceTemplateMapOutput
- func (InterfaceTemplateMapOutput) ElementType() reflect.Type
- func (o InterfaceTemplateMapOutput) MapIndex(k pulumi.StringInput) InterfaceTemplateOutput
- func (o InterfaceTemplateMapOutput) ToInterfaceTemplateMapOutput() InterfaceTemplateMapOutput
- func (o InterfaceTemplateMapOutput) ToInterfaceTemplateMapOutputWithContext(ctx context.Context) InterfaceTemplateMapOutput
- type InterfaceTemplateOutput
- func (o InterfaceTemplateOutput) Description() pulumi.StringPtrOutput
- func (o InterfaceTemplateOutput) DeviceTypeId() pulumi.IntPtrOutput
- func (InterfaceTemplateOutput) ElementType() reflect.Type
- func (o InterfaceTemplateOutput) Label() pulumi.StringPtrOutput
- func (o InterfaceTemplateOutput) MgmtOnly() pulumi.BoolPtrOutput
- func (o InterfaceTemplateOutput) ModuleTypeId() pulumi.IntPtrOutput
- func (o InterfaceTemplateOutput) Name() pulumi.StringOutput
- func (o InterfaceTemplateOutput) ToInterfaceTemplateOutput() InterfaceTemplateOutput
- func (o InterfaceTemplateOutput) ToInterfaceTemplateOutputWithContext(ctx context.Context) InterfaceTemplateOutput
- func (o InterfaceTemplateOutput) Type() pulumi.StringOutput
- type InterfaceTemplateState
- type InventoryItem
- type InventoryItemArgs
- type InventoryItemArray
- type InventoryItemArrayInput
- type InventoryItemArrayOutput
- func (InventoryItemArrayOutput) ElementType() reflect.Type
- func (o InventoryItemArrayOutput) Index(i pulumi.IntInput) InventoryItemOutput
- func (o InventoryItemArrayOutput) ToInventoryItemArrayOutput() InventoryItemArrayOutput
- func (o InventoryItemArrayOutput) ToInventoryItemArrayOutputWithContext(ctx context.Context) InventoryItemArrayOutput
- type InventoryItemInput
- type InventoryItemMap
- type InventoryItemMapInput
- type InventoryItemMapOutput
- func (InventoryItemMapOutput) ElementType() reflect.Type
- func (o InventoryItemMapOutput) MapIndex(k pulumi.StringInput) InventoryItemOutput
- func (o InventoryItemMapOutput) ToInventoryItemMapOutput() InventoryItemMapOutput
- func (o InventoryItemMapOutput) ToInventoryItemMapOutputWithContext(ctx context.Context) InventoryItemMapOutput
- type InventoryItemOutput
- func (o InventoryItemOutput) AssetTag() pulumi.StringPtrOutput
- func (o InventoryItemOutput) ComponentId() pulumi.IntPtrOutput
- func (o InventoryItemOutput) ComponentType() pulumi.StringPtrOutput
- func (o InventoryItemOutput) CustomFields() pulumi.StringMapOutput
- func (o InventoryItemOutput) Description() pulumi.StringPtrOutput
- func (o InventoryItemOutput) DeviceId() pulumi.IntOutput
- func (o InventoryItemOutput) Discovered() pulumi.BoolPtrOutput
- func (InventoryItemOutput) ElementType() reflect.Type
- func (o InventoryItemOutput) Label() pulumi.StringPtrOutput
- func (o InventoryItemOutput) ManufacturerId() pulumi.IntPtrOutput
- func (o InventoryItemOutput) Name() pulumi.StringOutput
- func (o InventoryItemOutput) ParentId() pulumi.IntPtrOutput
- func (o InventoryItemOutput) PartId() pulumi.StringPtrOutput
- func (o InventoryItemOutput) RoleId() pulumi.IntPtrOutput
- func (o InventoryItemOutput) Serial() pulumi.StringPtrOutput
- func (o InventoryItemOutput) Tags() pulumi.StringArrayOutput
- func (o InventoryItemOutput) TagsAlls() pulumi.StringArrayOutput
- func (o InventoryItemOutput) ToInventoryItemOutput() InventoryItemOutput
- func (o InventoryItemOutput) ToInventoryItemOutputWithContext(ctx context.Context) InventoryItemOutput
- type InventoryItemRole
- type InventoryItemRoleArgs
- type InventoryItemRoleArray
- type InventoryItemRoleArrayInput
- type InventoryItemRoleArrayOutput
- func (InventoryItemRoleArrayOutput) ElementType() reflect.Type
- func (o InventoryItemRoleArrayOutput) Index(i pulumi.IntInput) InventoryItemRoleOutput
- func (o InventoryItemRoleArrayOutput) ToInventoryItemRoleArrayOutput() InventoryItemRoleArrayOutput
- func (o InventoryItemRoleArrayOutput) ToInventoryItemRoleArrayOutputWithContext(ctx context.Context) InventoryItemRoleArrayOutput
- type InventoryItemRoleInput
- type InventoryItemRoleMap
- type InventoryItemRoleMapInput
- type InventoryItemRoleMapOutput
- func (InventoryItemRoleMapOutput) ElementType() reflect.Type
- func (o InventoryItemRoleMapOutput) MapIndex(k pulumi.StringInput) InventoryItemRoleOutput
- func (o InventoryItemRoleMapOutput) ToInventoryItemRoleMapOutput() InventoryItemRoleMapOutput
- func (o InventoryItemRoleMapOutput) ToInventoryItemRoleMapOutputWithContext(ctx context.Context) InventoryItemRoleMapOutput
- type InventoryItemRoleOutput
- func (o InventoryItemRoleOutput) ColorHex() pulumi.StringOutput
- func (o InventoryItemRoleOutput) CustomFields() pulumi.StringMapOutput
- func (o InventoryItemRoleOutput) Description() pulumi.StringPtrOutput
- func (InventoryItemRoleOutput) ElementType() reflect.Type
- func (o InventoryItemRoleOutput) Name() pulumi.StringOutput
- func (o InventoryItemRoleOutput) Slug() pulumi.StringOutput
- func (o InventoryItemRoleOutput) Tags() pulumi.StringArrayOutput
- func (o InventoryItemRoleOutput) TagsAlls() pulumi.StringArrayOutput
- func (o InventoryItemRoleOutput) ToInventoryItemRoleOutput() InventoryItemRoleOutput
- func (o InventoryItemRoleOutput) ToInventoryItemRoleOutputWithContext(ctx context.Context) InventoryItemRoleOutput
- type InventoryItemRoleState
- type InventoryItemState
- type Location
- type LocationArgs
- type LocationArray
- type LocationArrayInput
- type LocationArrayOutput
- type LocationInput
- type LocationMap
- type LocationMapInput
- type LocationMapOutput
- type LocationOutput
- func (o LocationOutput) CustomFields() pulumi.StringMapOutput
- func (o LocationOutput) Description() pulumi.StringPtrOutput
- func (LocationOutput) ElementType() reflect.Type
- func (o LocationOutput) Facility() pulumi.StringPtrOutput
- func (o LocationOutput) Name() pulumi.StringOutput
- func (o LocationOutput) ParentId() pulumi.IntPtrOutput
- func (o LocationOutput) SiteId() pulumi.IntOutput
- func (o LocationOutput) Slug() pulumi.StringOutput
- func (o LocationOutput) Tags() pulumi.StringArrayOutput
- func (o LocationOutput) TagsAlls() pulumi.StringArrayOutput
- func (o LocationOutput) TenantId() pulumi.IntPtrOutput
- func (o LocationOutput) ToLocationOutput() LocationOutput
- func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) LocationOutput
- type LocationState
- type LookupDeviceRoleArgs
- type LookupDeviceRoleOutputArgs
- type LookupDeviceRoleResult
- type LookupDeviceRoleResultOutput
- func (o LookupDeviceRoleResultOutput) ColorHex() pulumi.StringOutput
- func (LookupDeviceRoleResultOutput) ElementType() reflect.Type
- func (o LookupDeviceRoleResultOutput) Id() pulumi.StringOutput
- func (o LookupDeviceRoleResultOutput) Name() pulumi.StringOutput
- func (o LookupDeviceRoleResultOutput) Slug() pulumi.StringOutput
- func (o LookupDeviceRoleResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupDeviceRoleResultOutput) ToLookupDeviceRoleResultOutput() LookupDeviceRoleResultOutput
- func (o LookupDeviceRoleResultOutput) ToLookupDeviceRoleResultOutputWithContext(ctx context.Context) LookupDeviceRoleResultOutput
- type LookupDeviceTypeArgs
- type LookupDeviceTypeOutputArgs
- type LookupDeviceTypeResult
- type LookupDeviceTypeResultOutput
- func (LookupDeviceTypeResultOutput) ElementType() reflect.Type
- func (o LookupDeviceTypeResultOutput) Id() pulumi.StringOutput
- func (o LookupDeviceTypeResultOutput) IsFullDepth() pulumi.BoolOutput
- func (o LookupDeviceTypeResultOutput) Manufacturer() pulumi.StringPtrOutput
- func (o LookupDeviceTypeResultOutput) ManufacturerId() pulumi.IntOutput
- func (o LookupDeviceTypeResultOutput) Model() pulumi.StringPtrOutput
- func (o LookupDeviceTypeResultOutput) PartNumber() pulumi.StringPtrOutput
- func (o LookupDeviceTypeResultOutput) Slug() pulumi.StringPtrOutput
- func (o LookupDeviceTypeResultOutput) ToLookupDeviceTypeResultOutput() LookupDeviceTypeResultOutput
- func (o LookupDeviceTypeResultOutput) ToLookupDeviceTypeResultOutputWithContext(ctx context.Context) LookupDeviceTypeResultOutput
- func (o LookupDeviceTypeResultOutput) UHeight() pulumi.Float64Output
- type LookupLocationArgs
- type LookupLocationOutputArgs
- type LookupLocationResult
- type LookupLocationResultOutput
- func (o LookupLocationResultOutput) Description() pulumi.StringOutput
- func (LookupLocationResultOutput) ElementType() reflect.Type
- func (o LookupLocationResultOutput) Id() pulumi.StringOutput
- func (o LookupLocationResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupLocationResultOutput) ParentId() pulumi.IntOutput
- func (o LookupLocationResultOutput) SiteId() pulumi.IntOutput
- func (o LookupLocationResultOutput) Slug() pulumi.StringPtrOutput
- func (o LookupLocationResultOutput) Status() pulumi.StringOutput
- func (o LookupLocationResultOutput) TenantId() pulumi.IntOutput
- func (o LookupLocationResultOutput) ToLookupLocationResultOutput() LookupLocationResultOutput
- func (o LookupLocationResultOutput) ToLookupLocationResultOutputWithContext(ctx context.Context) LookupLocationResultOutput
- type LookupPlatformArgs
- type LookupPlatformOutputArgs
- type LookupPlatformResult
- type LookupPlatformResultOutput
- func (LookupPlatformResultOutput) ElementType() reflect.Type
- func (o LookupPlatformResultOutput) Id() pulumi.StringOutput
- func (o LookupPlatformResultOutput) ManufacturerId() pulumi.IntPtrOutput
- func (o LookupPlatformResultOutput) Name() pulumi.StringOutput
- func (o LookupPlatformResultOutput) Slug() pulumi.StringOutput
- func (o LookupPlatformResultOutput) ToLookupPlatformResultOutput() LookupPlatformResultOutput
- func (o LookupPlatformResultOutput) ToLookupPlatformResultOutputWithContext(ctx context.Context) LookupPlatformResultOutput
- type LookupRackRoleArgs
- type LookupRackRoleOutputArgs
- type LookupRackRoleResult
- type LookupRackRoleResultOutput
- func (o LookupRackRoleResultOutput) ColorHex() pulumi.StringOutput
- func (o LookupRackRoleResultOutput) Description() pulumi.StringOutput
- func (LookupRackRoleResultOutput) ElementType() reflect.Type
- func (o LookupRackRoleResultOutput) Id() pulumi.StringOutput
- func (o LookupRackRoleResultOutput) Name() pulumi.StringOutput
- func (o LookupRackRoleResultOutput) Slug() pulumi.StringOutput
- func (o LookupRackRoleResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupRackRoleResultOutput) ToLookupRackRoleResultOutput() LookupRackRoleResultOutput
- func (o LookupRackRoleResultOutput) ToLookupRackRoleResultOutputWithContext(ctx context.Context) LookupRackRoleResultOutput
- type LookupRegionArgs
- type LookupRegionOutputArgs
- type LookupRegionResult
- type LookupRegionResultOutput
- func (o LookupRegionResultOutput) Description() pulumi.StringOutput
- func (LookupRegionResultOutput) ElementType() reflect.Type
- func (o LookupRegionResultOutput) Filters() GetRegionFilterArrayOutput
- func (o LookupRegionResultOutput) Id() pulumi.IntOutput
- func (o LookupRegionResultOutput) Name() pulumi.StringOutput
- func (o LookupRegionResultOutput) ParentRegionId() pulumi.IntOutput
- func (o LookupRegionResultOutput) Slug() pulumi.StringOutput
- func (o LookupRegionResultOutput) ToLookupRegionResultOutput() LookupRegionResultOutput
- func (o LookupRegionResultOutput) ToLookupRegionResultOutputWithContext(ctx context.Context) LookupRegionResultOutput
- type LookupSiteArgs
- type LookupSiteGroupArgs
- type LookupSiteGroupOutputArgs
- type LookupSiteGroupResult
- type LookupSiteGroupResultOutput
- func (o LookupSiteGroupResultOutput) Description() pulumi.StringOutput
- func (LookupSiteGroupResultOutput) ElementType() reflect.Type
- func (o LookupSiteGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupSiteGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupSiteGroupResultOutput) Slug() pulumi.StringOutput
- func (o LookupSiteGroupResultOutput) ToLookupSiteGroupResultOutput() LookupSiteGroupResultOutput
- func (o LookupSiteGroupResultOutput) ToLookupSiteGroupResultOutputWithContext(ctx context.Context) LookupSiteGroupResultOutput
- type LookupSiteOutputArgs
- type LookupSiteResult
- type LookupSiteResultOutput
- func (o LookupSiteResultOutput) AsnIds() pulumi.IntArrayOutput
- func (o LookupSiteResultOutput) Comments() pulumi.StringOutput
- func (o LookupSiteResultOutput) Description() pulumi.StringOutput
- func (LookupSiteResultOutput) ElementType() reflect.Type
- func (o LookupSiteResultOutput) Facility() pulumi.StringOutput
- func (o LookupSiteResultOutput) GroupId() pulumi.IntOutput
- func (o LookupSiteResultOutput) Id() pulumi.StringOutput
- func (o LookupSiteResultOutput) Name() pulumi.StringOutput
- func (o LookupSiteResultOutput) RegionId() pulumi.IntOutput
- func (o LookupSiteResultOutput) SiteId() pulumi.IntOutput
- func (o LookupSiteResultOutput) Slug() pulumi.StringOutput
- func (o LookupSiteResultOutput) Status() pulumi.StringOutput
- func (o LookupSiteResultOutput) TenantId() pulumi.IntOutput
- func (o LookupSiteResultOutput) TimeZone() pulumi.StringOutput
- func (o LookupSiteResultOutput) ToLookupSiteResultOutput() LookupSiteResultOutput
- func (o LookupSiteResultOutput) ToLookupSiteResultOutputWithContext(ctx context.Context) LookupSiteResultOutput
- type Manufacturer
- type ManufacturerArgs
- type ManufacturerArray
- type ManufacturerArrayInput
- type ManufacturerArrayOutput
- func (ManufacturerArrayOutput) ElementType() reflect.Type
- func (o ManufacturerArrayOutput) Index(i pulumi.IntInput) ManufacturerOutput
- func (o ManufacturerArrayOutput) ToManufacturerArrayOutput() ManufacturerArrayOutput
- func (o ManufacturerArrayOutput) ToManufacturerArrayOutputWithContext(ctx context.Context) ManufacturerArrayOutput
- type ManufacturerInput
- type ManufacturerMap
- type ManufacturerMapInput
- type ManufacturerMapOutput
- func (ManufacturerMapOutput) ElementType() reflect.Type
- func (o ManufacturerMapOutput) MapIndex(k pulumi.StringInput) ManufacturerOutput
- func (o ManufacturerMapOutput) ToManufacturerMapOutput() ManufacturerMapOutput
- func (o ManufacturerMapOutput) ToManufacturerMapOutputWithContext(ctx context.Context) ManufacturerMapOutput
- type ManufacturerOutput
- func (ManufacturerOutput) ElementType() reflect.Type
- func (o ManufacturerOutput) Name() pulumi.StringOutput
- func (o ManufacturerOutput) Slug() pulumi.StringOutput
- func (o ManufacturerOutput) ToManufacturerOutput() ManufacturerOutput
- func (o ManufacturerOutput) ToManufacturerOutputWithContext(ctx context.Context) ManufacturerOutput
- type ManufacturerState
- type Module
- type ModuleArgs
- type ModuleArray
- type ModuleArrayInput
- type ModuleArrayOutput
- type ModuleInput
- type ModuleMap
- type ModuleMapInput
- type ModuleMapOutput
- type ModuleOutput
- func (o ModuleOutput) AssetTag() pulumi.StringPtrOutput
- func (o ModuleOutput) Comments() pulumi.StringPtrOutput
- func (o ModuleOutput) CustomFields() pulumi.StringMapOutput
- func (o ModuleOutput) Description() pulumi.StringPtrOutput
- func (o ModuleOutput) DeviceId() pulumi.IntOutput
- func (ModuleOutput) ElementType() reflect.Type
- func (o ModuleOutput) ModuleBayId() pulumi.IntOutput
- func (o ModuleOutput) ModuleTypeId() pulumi.IntOutput
- func (o ModuleOutput) Serial() pulumi.StringPtrOutput
- func (o ModuleOutput) Status() pulumi.StringOutput
- func (o ModuleOutput) Tags() pulumi.StringArrayOutput
- func (o ModuleOutput) TagsAlls() pulumi.StringArrayOutput
- func (o ModuleOutput) ToModuleOutput() ModuleOutput
- func (o ModuleOutput) ToModuleOutputWithContext(ctx context.Context) ModuleOutput
- type ModuleState
- type ModuleType
- type ModuleTypeArgs
- type ModuleTypeArray
- type ModuleTypeArrayInput
- type ModuleTypeArrayOutput
- func (ModuleTypeArrayOutput) ElementType() reflect.Type
- func (o ModuleTypeArrayOutput) Index(i pulumi.IntInput) ModuleTypeOutput
- func (o ModuleTypeArrayOutput) ToModuleTypeArrayOutput() ModuleTypeArrayOutput
- func (o ModuleTypeArrayOutput) ToModuleTypeArrayOutputWithContext(ctx context.Context) ModuleTypeArrayOutput
- type ModuleTypeInput
- type ModuleTypeMap
- type ModuleTypeMapInput
- type ModuleTypeMapOutput
- func (ModuleTypeMapOutput) ElementType() reflect.Type
- func (o ModuleTypeMapOutput) MapIndex(k pulumi.StringInput) ModuleTypeOutput
- func (o ModuleTypeMapOutput) ToModuleTypeMapOutput() ModuleTypeMapOutput
- func (o ModuleTypeMapOutput) ToModuleTypeMapOutputWithContext(ctx context.Context) ModuleTypeMapOutput
- type ModuleTypeOutput
- func (o ModuleTypeOutput) Comments() pulumi.StringPtrOutput
- func (o ModuleTypeOutput) CustomFields() pulumi.StringMapOutput
- func (o ModuleTypeOutput) Description() pulumi.StringPtrOutput
- func (ModuleTypeOutput) ElementType() reflect.Type
- func (o ModuleTypeOutput) ManufacturerId() pulumi.IntOutput
- func (o ModuleTypeOutput) Model() pulumi.StringOutput
- func (o ModuleTypeOutput) PartNumber() pulumi.StringPtrOutput
- func (o ModuleTypeOutput) Tags() pulumi.StringArrayOutput
- func (o ModuleTypeOutput) TagsAlls() pulumi.StringArrayOutput
- func (o ModuleTypeOutput) ToModuleTypeOutput() ModuleTypeOutput
- func (o ModuleTypeOutput) ToModuleTypeOutputWithContext(ctx context.Context) ModuleTypeOutput
- func (o ModuleTypeOutput) Weight() pulumi.Float64PtrOutput
- func (o ModuleTypeOutput) WeightUnit() pulumi.StringPtrOutput
- type ModuleTypeState
- type Platform
- type PlatformArgs
- type PlatformArray
- type PlatformArrayInput
- type PlatformArrayOutput
- type PlatformInput
- type PlatformMap
- type PlatformMapInput
- type PlatformMapOutput
- type PlatformOutput
- func (PlatformOutput) ElementType() reflect.Type
- func (o PlatformOutput) ManufacturerId() pulumi.IntPtrOutput
- func (o PlatformOutput) Name() pulumi.StringOutput
- func (o PlatformOutput) Slug() pulumi.StringOutput
- func (o PlatformOutput) ToPlatformOutput() PlatformOutput
- func (o PlatformOutput) ToPlatformOutputWithContext(ctx context.Context) PlatformOutput
- type PlatformState
- type PowerFeed
- type PowerFeedArgs
- type PowerFeedArray
- type PowerFeedArrayInput
- type PowerFeedArrayOutput
- func (PowerFeedArrayOutput) ElementType() reflect.Type
- func (o PowerFeedArrayOutput) Index(i pulumi.IntInput) PowerFeedOutput
- func (o PowerFeedArrayOutput) ToPowerFeedArrayOutput() PowerFeedArrayOutput
- func (o PowerFeedArrayOutput) ToPowerFeedArrayOutputWithContext(ctx context.Context) PowerFeedArrayOutput
- type PowerFeedInput
- type PowerFeedMap
- type PowerFeedMapInput
- type PowerFeedMapOutput
- type PowerFeedOutput
- func (o PowerFeedOutput) Amperage() pulumi.IntOutput
- func (o PowerFeedOutput) Comments() pulumi.StringPtrOutput
- func (o PowerFeedOutput) CustomFields() pulumi.StringMapOutput
- func (o PowerFeedOutput) Description() pulumi.StringPtrOutput
- func (PowerFeedOutput) ElementType() reflect.Type
- func (o PowerFeedOutput) MarkConnected() pulumi.BoolPtrOutput
- func (o PowerFeedOutput) MaxPercentUtilization() pulumi.IntOutput
- func (o PowerFeedOutput) Name() pulumi.StringOutput
- func (o PowerFeedOutput) Phase() pulumi.StringOutput
- func (o PowerFeedOutput) PowerPanelId() pulumi.IntOutput
- func (o PowerFeedOutput) RackId() pulumi.IntPtrOutput
- func (o PowerFeedOutput) Status() pulumi.StringOutput
- func (o PowerFeedOutput) Supply() pulumi.StringOutput
- func (o PowerFeedOutput) Tags() pulumi.StringArrayOutput
- func (o PowerFeedOutput) TagsAlls() pulumi.StringArrayOutput
- func (o PowerFeedOutput) ToPowerFeedOutput() PowerFeedOutput
- func (o PowerFeedOutput) ToPowerFeedOutputWithContext(ctx context.Context) PowerFeedOutput
- func (o PowerFeedOutput) Type() pulumi.StringOutput
- func (o PowerFeedOutput) Voltage() pulumi.IntOutput
- type PowerFeedState
- type PowerPanel
- type PowerPanelArgs
- type PowerPanelArray
- type PowerPanelArrayInput
- type PowerPanelArrayOutput
- func (PowerPanelArrayOutput) ElementType() reflect.Type
- func (o PowerPanelArrayOutput) Index(i pulumi.IntInput) PowerPanelOutput
- func (o PowerPanelArrayOutput) ToPowerPanelArrayOutput() PowerPanelArrayOutput
- func (o PowerPanelArrayOutput) ToPowerPanelArrayOutputWithContext(ctx context.Context) PowerPanelArrayOutput
- type PowerPanelInput
- type PowerPanelMap
- type PowerPanelMapInput
- type PowerPanelMapOutput
- func (PowerPanelMapOutput) ElementType() reflect.Type
- func (o PowerPanelMapOutput) MapIndex(k pulumi.StringInput) PowerPanelOutput
- func (o PowerPanelMapOutput) ToPowerPanelMapOutput() PowerPanelMapOutput
- func (o PowerPanelMapOutput) ToPowerPanelMapOutputWithContext(ctx context.Context) PowerPanelMapOutput
- type PowerPanelOutput
- func (o PowerPanelOutput) Comments() pulumi.StringPtrOutput
- func (o PowerPanelOutput) CustomFields() pulumi.StringMapOutput
- func (o PowerPanelOutput) Description() pulumi.StringPtrOutput
- func (PowerPanelOutput) ElementType() reflect.Type
- func (o PowerPanelOutput) LocationId() pulumi.IntPtrOutput
- func (o PowerPanelOutput) Name() pulumi.StringOutput
- func (o PowerPanelOutput) SiteId() pulumi.IntOutput
- func (o PowerPanelOutput) Tags() pulumi.StringArrayOutput
- func (o PowerPanelOutput) TagsAlls() pulumi.StringArrayOutput
- func (o PowerPanelOutput) ToPowerPanelOutput() PowerPanelOutput
- func (o PowerPanelOutput) ToPowerPanelOutputWithContext(ctx context.Context) PowerPanelOutput
- type PowerPanelState
- type Rack
- type RackArgs
- type RackArray
- type RackArrayInput
- type RackArrayOutput
- type RackInput
- type RackMap
- type RackMapInput
- type RackMapOutput
- type RackOutput
- func (o RackOutput) AssetTag() pulumi.StringPtrOutput
- func (o RackOutput) Comments() pulumi.StringPtrOutput
- func (o RackOutput) CustomFields() pulumi.StringMapOutput
- func (o RackOutput) DescUnits() pulumi.BoolPtrOutput
- func (o RackOutput) Description() pulumi.StringPtrOutput
- func (RackOutput) ElementType() reflect.Type
- func (o RackOutput) FacilityId() pulumi.StringPtrOutput
- func (o RackOutput) FormFactor() pulumi.StringPtrOutput
- func (o RackOutput) LocationId() pulumi.IntPtrOutput
- func (o RackOutput) MaxWeight() pulumi.IntPtrOutput
- func (o RackOutput) MountingDepth() pulumi.IntPtrOutput
- func (o RackOutput) Name() pulumi.StringOutput
- func (o RackOutput) OuterDepth() pulumi.IntPtrOutput
- func (o RackOutput) OuterUnit() pulumi.StringPtrOutput
- func (o RackOutput) OuterWidth() pulumi.IntPtrOutput
- func (o RackOutput) RoleId() pulumi.IntPtrOutput
- func (o RackOutput) Serial() pulumi.StringPtrOutput
- func (o RackOutput) SiteId() pulumi.IntOutput
- func (o RackOutput) Status() pulumi.StringOutput
- func (o RackOutput) Tags() pulumi.StringArrayOutput
- func (o RackOutput) TagsAlls() pulumi.StringArrayOutput
- func (o RackOutput) TenantId() pulumi.IntPtrOutput
- func (o RackOutput) ToRackOutput() RackOutput
- func (o RackOutput) ToRackOutputWithContext(ctx context.Context) RackOutput
- func (o RackOutput) UHeight() pulumi.IntPtrOutput
- func (o RackOutput) Weight() pulumi.Float64PtrOutput
- func (o RackOutput) WeightUnit() pulumi.StringPtrOutput
- func (o RackOutput) Width() pulumi.IntPtrOutput
- type RackReservation
- type RackReservationArgs
- type RackReservationArray
- type RackReservationArrayInput
- type RackReservationArrayOutput
- func (RackReservationArrayOutput) ElementType() reflect.Type
- func (o RackReservationArrayOutput) Index(i pulumi.IntInput) RackReservationOutput
- func (o RackReservationArrayOutput) ToRackReservationArrayOutput() RackReservationArrayOutput
- func (o RackReservationArrayOutput) ToRackReservationArrayOutputWithContext(ctx context.Context) RackReservationArrayOutput
- type RackReservationInput
- type RackReservationMap
- type RackReservationMapInput
- type RackReservationMapOutput
- func (RackReservationMapOutput) ElementType() reflect.Type
- func (o RackReservationMapOutput) MapIndex(k pulumi.StringInput) RackReservationOutput
- func (o RackReservationMapOutput) ToRackReservationMapOutput() RackReservationMapOutput
- func (o RackReservationMapOutput) ToRackReservationMapOutputWithContext(ctx context.Context) RackReservationMapOutput
- type RackReservationOutput
- func (o RackReservationOutput) Comments() pulumi.StringPtrOutput
- func (o RackReservationOutput) Description() pulumi.StringOutput
- func (RackReservationOutput) ElementType() reflect.Type
- func (o RackReservationOutput) RackId() pulumi.IntOutput
- func (o RackReservationOutput) Tags() pulumi.StringArrayOutput
- func (o RackReservationOutput) TagsAlls() pulumi.StringArrayOutput
- func (o RackReservationOutput) TenantId() pulumi.IntPtrOutput
- func (o RackReservationOutput) ToRackReservationOutput() RackReservationOutput
- func (o RackReservationOutput) ToRackReservationOutputWithContext(ctx context.Context) RackReservationOutput
- func (o RackReservationOutput) Units() pulumi.IntArrayOutput
- func (o RackReservationOutput) UserId() pulumi.IntOutput
- type RackReservationState
- type RackRole
- type RackRoleArgs
- type RackRoleArray
- type RackRoleArrayInput
- type RackRoleArrayOutput
- type RackRoleInput
- type RackRoleMap
- type RackRoleMapInput
- type RackRoleMapOutput
- type RackRoleOutput
- func (o RackRoleOutput) ColorHex() pulumi.StringOutput
- func (o RackRoleOutput) Description() pulumi.StringPtrOutput
- func (RackRoleOutput) ElementType() reflect.Type
- func (o RackRoleOutput) Name() pulumi.StringOutput
- func (o RackRoleOutput) Slug() pulumi.StringOutput
- func (o RackRoleOutput) Tags() pulumi.StringArrayOutput
- func (o RackRoleOutput) TagsAlls() pulumi.StringArrayOutput
- func (o RackRoleOutput) ToRackRoleOutput() RackRoleOutput
- func (o RackRoleOutput) ToRackRoleOutputWithContext(ctx context.Context) RackRoleOutput
- type RackRoleState
- type RackState
- type RackType
- type RackTypeArgs
- type RackTypeArray
- type RackTypeArrayInput
- type RackTypeArrayOutput
- type RackTypeInput
- type RackTypeMap
- type RackTypeMapInput
- type RackTypeMapOutput
- type RackTypeOutput
- func (o RackTypeOutput) Comments() pulumi.StringPtrOutput
- func (o RackTypeOutput) Description() pulumi.StringPtrOutput
- func (RackTypeOutput) ElementType() reflect.Type
- func (o RackTypeOutput) FormFactor() pulumi.StringOutput
- func (o RackTypeOutput) ManufacturerId() pulumi.IntPtrOutput
- func (o RackTypeOutput) MaxWeight() pulumi.IntPtrOutput
- func (o RackTypeOutput) Model() pulumi.StringOutput
- func (o RackTypeOutput) MountingDepthMm() pulumi.IntPtrOutput
- func (o RackTypeOutput) OuterDepth() pulumi.IntPtrOutput
- func (o RackTypeOutput) OuterUnit() pulumi.StringPtrOutput
- func (o RackTypeOutput) OuterWidth() pulumi.IntPtrOutput
- func (o RackTypeOutput) Slug() pulumi.StringOutput
- func (o RackTypeOutput) StartingUnit() pulumi.IntOutput
- func (o RackTypeOutput) Tags() pulumi.StringArrayOutput
- func (o RackTypeOutput) TagsAlls() pulumi.StringArrayOutput
- func (o RackTypeOutput) ToRackTypeOutput() RackTypeOutput
- func (o RackTypeOutput) ToRackTypeOutputWithContext(ctx context.Context) RackTypeOutput
- func (o RackTypeOutput) UHeight() pulumi.IntOutput
- func (o RackTypeOutput) Weight() pulumi.Float64PtrOutput
- func (o RackTypeOutput) WeightUnit() pulumi.StringPtrOutput
- func (o RackTypeOutput) Width() pulumi.IntOutput
- type RackTypeState
- type Region
- type RegionArgs
- type RegionArray
- type RegionArrayInput
- type RegionArrayOutput
- type RegionInput
- type RegionMap
- type RegionMapInput
- type RegionMapOutput
- type RegionOutput
- func (o RegionOutput) Description() pulumi.StringPtrOutput
- func (RegionOutput) ElementType() reflect.Type
- func (o RegionOutput) Name() pulumi.StringOutput
- func (o RegionOutput) ParentRegionId() pulumi.IntPtrOutput
- func (o RegionOutput) Slug() pulumi.StringOutput
- func (o RegionOutput) ToRegionOutput() RegionOutput
- func (o RegionOutput) ToRegionOutputWithContext(ctx context.Context) RegionOutput
- type RegionState
- type Site
- type SiteArgs
- type SiteArray
- type SiteArrayInput
- type SiteArrayOutput
- type SiteGroup
- type SiteGroupArgs
- type SiteGroupArray
- type SiteGroupArrayInput
- type SiteGroupArrayOutput
- func (SiteGroupArrayOutput) ElementType() reflect.Type
- func (o SiteGroupArrayOutput) Index(i pulumi.IntInput) SiteGroupOutput
- func (o SiteGroupArrayOutput) ToSiteGroupArrayOutput() SiteGroupArrayOutput
- func (o SiteGroupArrayOutput) ToSiteGroupArrayOutputWithContext(ctx context.Context) SiteGroupArrayOutput
- type SiteGroupInput
- type SiteGroupMap
- type SiteGroupMapInput
- type SiteGroupMapOutput
- type SiteGroupOutput
- func (o SiteGroupOutput) Description() pulumi.StringPtrOutput
- func (SiteGroupOutput) ElementType() reflect.Type
- func (o SiteGroupOutput) Name() pulumi.StringOutput
- func (o SiteGroupOutput) ParentId() pulumi.IntPtrOutput
- func (o SiteGroupOutput) Slug() pulumi.StringOutput
- func (o SiteGroupOutput) ToSiteGroupOutput() SiteGroupOutput
- func (o SiteGroupOutput) ToSiteGroupOutputWithContext(ctx context.Context) SiteGroupOutput
- type SiteGroupState
- type SiteInput
- type SiteMap
- type SiteMapInput
- type SiteMapOutput
- type SiteOutput
- func (o SiteOutput) AsnIds() pulumi.IntArrayOutput
- func (o SiteOutput) Comments() pulumi.StringPtrOutput
- func (o SiteOutput) CustomFields() pulumi.StringMapOutput
- func (o SiteOutput) Description() pulumi.StringPtrOutput
- func (SiteOutput) ElementType() reflect.Type
- func (o SiteOutput) Facility() pulumi.StringPtrOutput
- func (o SiteOutput) GroupId() pulumi.IntPtrOutput
- func (o SiteOutput) Latitude() pulumi.Float64PtrOutput
- func (o SiteOutput) Longitude() pulumi.Float64PtrOutput
- func (o SiteOutput) Name() pulumi.StringOutput
- func (o SiteOutput) PhysicalAddress() pulumi.StringPtrOutput
- func (o SiteOutput) RegionId() pulumi.IntPtrOutput
- func (o SiteOutput) ShippingAddress() pulumi.StringPtrOutput
- func (o SiteOutput) Slug() pulumi.StringOutput
- func (o SiteOutput) Status() pulumi.StringPtrOutput
- func (o SiteOutput) Tags() pulumi.StringArrayOutput
- func (o SiteOutput) TagsAlls() pulumi.StringArrayOutput
- func (o SiteOutput) TenantId() pulumi.IntPtrOutput
- func (o SiteOutput) Timezone() pulumi.StringPtrOutput
- func (o SiteOutput) ToSiteOutput() SiteOutput
- func (o SiteOutput) ToSiteOutputWithContext(ctx context.Context) SiteOutput
- type SiteState
- type VirtualChassis
- type VirtualChassisArgs
- type VirtualChassisArray
- type VirtualChassisArrayInput
- type VirtualChassisArrayOutput
- func (VirtualChassisArrayOutput) ElementType() reflect.Type
- func (o VirtualChassisArrayOutput) Index(i pulumi.IntInput) VirtualChassisOutput
- func (o VirtualChassisArrayOutput) ToVirtualChassisArrayOutput() VirtualChassisArrayOutput
- func (o VirtualChassisArrayOutput) ToVirtualChassisArrayOutputWithContext(ctx context.Context) VirtualChassisArrayOutput
- type VirtualChassisInput
- type VirtualChassisMap
- type VirtualChassisMapInput
- type VirtualChassisMapOutput
- func (VirtualChassisMapOutput) ElementType() reflect.Type
- func (o VirtualChassisMapOutput) MapIndex(k pulumi.StringInput) VirtualChassisOutput
- func (o VirtualChassisMapOutput) ToVirtualChassisMapOutput() VirtualChassisMapOutput
- func (o VirtualChassisMapOutput) ToVirtualChassisMapOutputWithContext(ctx context.Context) VirtualChassisMapOutput
- type VirtualChassisOutput
- func (o VirtualChassisOutput) Comments() pulumi.StringPtrOutput
- func (o VirtualChassisOutput) CustomFields() pulumi.StringMapOutput
- func (o VirtualChassisOutput) Description() pulumi.StringPtrOutput
- func (o VirtualChassisOutput) Domain() pulumi.StringPtrOutput
- func (VirtualChassisOutput) ElementType() reflect.Type
- func (o VirtualChassisOutput) Name() pulumi.StringOutput
- func (o VirtualChassisOutput) Tags() pulumi.StringArrayOutput
- func (o VirtualChassisOutput) TagsAlls() pulumi.StringArrayOutput
- func (o VirtualChassisOutput) ToVirtualChassisOutput() VirtualChassisOutput
- func (o VirtualChassisOutput) ToVirtualChassisOutputWithContext(ctx context.Context) VirtualChassisOutput
- type VirtualChassisState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cable ¶
type Cable struct {
pulumi.CustomResourceState
ATerminations CableATerminationArrayOutput `pulumi:"aTerminations"`
BTerminations CableBTerminationArrayOutput `pulumi:"bTerminations"`
ColorHex pulumi.StringPtrOutput `pulumi:"colorHex"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Label pulumi.StringPtrOutput `pulumi:"label"`
Length pulumi.Float64PtrOutput `pulumi:"length"`
// One of [km, m, cm, mi, ft, in]. Required when `length` is set.
LengthUnit pulumi.StringPtrOutput `pulumi:"lengthUnit"`
// One of [connected, planned, decommissioning].
Status pulumi.StringOutput `pulumi:"status"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
// One of [cat3, cat5, cat5e, cat6, cat6a, cat7, cat7a, cat8, dac-active, dac-passive, mrj21-trunk, coaxial, mmf, mmf-om1, mmf-om2, mmf-om3, mmf-om4, mmf-om5, smf, smf-os1, smf-os2, aoc, power].
Type pulumi.StringPtrOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/cable/):
> All connections between device components in NetBox are represented using cables. A cable represents a direct physical connection between two sets of endpoints (A and B), such as a console port and a patch panel port, or between two network interfaces.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// assumes that the referenced console port resources exist
_, err := dcim.NewCable(ctx, "test", &dcim.CableArgs{
ATerminations: dcim.CableATerminationArray{
&dcim.CableATerminationArgs{
ObjectType: pulumi.String("dcim.consoleserverport"),
ObjectId: pulumi.Any(kvm1.Id),
},
&dcim.CableATerminationArgs{
ObjectType: pulumi.String("dcim.consoleserverport"),
ObjectId: pulumi.Any(kvm2.Id),
},
},
BTerminations: dcim.CableBTerminationArray{
&dcim.CableBTerminationArgs{
ObjectType: pulumi.String("dcim.consoleport"),
ObjectId: pulumi.Any(server1.Id),
},
&dcim.CableBTerminationArgs{
ObjectType: pulumi.String("dcim.consoleport"),
ObjectId: pulumi.Any(server2.Id),
},
},
Status: pulumi.String("connected"),
Label: pulumi.String("KVM cable"),
Type: pulumi.String("cat8"),
ColorHex: pulumi.String("123456"),
Length: pulumi.Float64(10),
LengthUnit: pulumi.String("m"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetCable ¶
func GetCable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CableState, opts ...pulumi.ResourceOption) (*Cable, error)
GetCable gets an existing Cable 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 NewCable ¶
func NewCable(ctx *pulumi.Context, name string, args *CableArgs, opts ...pulumi.ResourceOption) (*Cable, error)
NewCable registers a new resource with the given unique name, arguments, and options.
func (*Cable) ElementType ¶
func (*Cable) ToCableOutput ¶
func (i *Cable) ToCableOutput() CableOutput
func (*Cable) ToCableOutputWithContext ¶
func (i *Cable) ToCableOutputWithContext(ctx context.Context) CableOutput
type CableATermination ¶
type CableATerminationArgs ¶
type CableATerminationArgs struct {
ObjectId pulumi.IntInput `pulumi:"objectId"`
ObjectType pulumi.StringInput `pulumi:"objectType"`
}
func (CableATerminationArgs) ElementType ¶
func (CableATerminationArgs) ElementType() reflect.Type
func (CableATerminationArgs) ToCableATerminationOutput ¶
func (i CableATerminationArgs) ToCableATerminationOutput() CableATerminationOutput
func (CableATerminationArgs) ToCableATerminationOutputWithContext ¶
func (i CableATerminationArgs) ToCableATerminationOutputWithContext(ctx context.Context) CableATerminationOutput
type CableATerminationArray ¶
type CableATerminationArray []CableATerminationInput
func (CableATerminationArray) ElementType ¶
func (CableATerminationArray) ElementType() reflect.Type
func (CableATerminationArray) ToCableATerminationArrayOutput ¶
func (i CableATerminationArray) ToCableATerminationArrayOutput() CableATerminationArrayOutput
func (CableATerminationArray) ToCableATerminationArrayOutputWithContext ¶
func (i CableATerminationArray) ToCableATerminationArrayOutputWithContext(ctx context.Context) CableATerminationArrayOutput
type CableATerminationArrayInput ¶
type CableATerminationArrayInput interface {
pulumi.Input
ToCableATerminationArrayOutput() CableATerminationArrayOutput
ToCableATerminationArrayOutputWithContext(context.Context) CableATerminationArrayOutput
}
CableATerminationArrayInput is an input type that accepts CableATerminationArray and CableATerminationArrayOutput values. You can construct a concrete instance of `CableATerminationArrayInput` via:
CableATerminationArray{ CableATerminationArgs{...} }
type CableATerminationArrayOutput ¶
type CableATerminationArrayOutput struct{ *pulumi.OutputState }
func (CableATerminationArrayOutput) ElementType ¶
func (CableATerminationArrayOutput) ElementType() reflect.Type
func (CableATerminationArrayOutput) Index ¶
func (o CableATerminationArrayOutput) Index(i pulumi.IntInput) CableATerminationOutput
func (CableATerminationArrayOutput) ToCableATerminationArrayOutput ¶
func (o CableATerminationArrayOutput) ToCableATerminationArrayOutput() CableATerminationArrayOutput
func (CableATerminationArrayOutput) ToCableATerminationArrayOutputWithContext ¶
func (o CableATerminationArrayOutput) ToCableATerminationArrayOutputWithContext(ctx context.Context) CableATerminationArrayOutput
type CableATerminationInput ¶
type CableATerminationInput interface {
pulumi.Input
ToCableATerminationOutput() CableATerminationOutput
ToCableATerminationOutputWithContext(context.Context) CableATerminationOutput
}
CableATerminationInput is an input type that accepts CableATerminationArgs and CableATerminationOutput values. You can construct a concrete instance of `CableATerminationInput` via:
CableATerminationArgs{...}
type CableATerminationOutput ¶
type CableATerminationOutput struct{ *pulumi.OutputState }
func (CableATerminationOutput) ElementType ¶
func (CableATerminationOutput) ElementType() reflect.Type
func (CableATerminationOutput) ObjectId ¶
func (o CableATerminationOutput) ObjectId() pulumi.IntOutput
func (CableATerminationOutput) ObjectType ¶
func (o CableATerminationOutput) ObjectType() pulumi.StringOutput
func (CableATerminationOutput) ToCableATerminationOutput ¶
func (o CableATerminationOutput) ToCableATerminationOutput() CableATerminationOutput
func (CableATerminationOutput) ToCableATerminationOutputWithContext ¶
func (o CableATerminationOutput) ToCableATerminationOutputWithContext(ctx context.Context) CableATerminationOutput
type CableArgs ¶
type CableArgs struct {
ATerminations CableATerminationArrayInput
BTerminations CableBTerminationArrayInput
ColorHex pulumi.StringPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Label pulumi.StringPtrInput
Length pulumi.Float64PtrInput
// One of [km, m, cm, mi, ft, in]. Required when `length` is set.
LengthUnit pulumi.StringPtrInput
// One of [connected, planned, decommissioning].
Status pulumi.StringInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
// One of [cat3, cat5, cat5e, cat6, cat6a, cat7, cat7a, cat8, dac-active, dac-passive, mrj21-trunk, coaxial, mmf, mmf-om1, mmf-om2, mmf-om3, mmf-om4, mmf-om5, smf, smf-os1, smf-os2, aoc, power].
Type pulumi.StringPtrInput
}
The set of arguments for constructing a Cable resource.
func (CableArgs) ElementType ¶
type CableArray ¶
type CableArray []CableInput
func (CableArray) ElementType ¶
func (CableArray) ElementType() reflect.Type
func (CableArray) ToCableArrayOutput ¶
func (i CableArray) ToCableArrayOutput() CableArrayOutput
func (CableArray) ToCableArrayOutputWithContext ¶
func (i CableArray) ToCableArrayOutputWithContext(ctx context.Context) CableArrayOutput
type CableArrayInput ¶
type CableArrayInput interface {
pulumi.Input
ToCableArrayOutput() CableArrayOutput
ToCableArrayOutputWithContext(context.Context) CableArrayOutput
}
CableArrayInput is an input type that accepts CableArray and CableArrayOutput values. You can construct a concrete instance of `CableArrayInput` via:
CableArray{ CableArgs{...} }
type CableArrayOutput ¶
type CableArrayOutput struct{ *pulumi.OutputState }
func (CableArrayOutput) ElementType ¶
func (CableArrayOutput) ElementType() reflect.Type
func (CableArrayOutput) Index ¶
func (o CableArrayOutput) Index(i pulumi.IntInput) CableOutput
func (CableArrayOutput) ToCableArrayOutput ¶
func (o CableArrayOutput) ToCableArrayOutput() CableArrayOutput
func (CableArrayOutput) ToCableArrayOutputWithContext ¶
func (o CableArrayOutput) ToCableArrayOutputWithContext(ctx context.Context) CableArrayOutput
type CableBTermination ¶
type CableBTerminationArgs ¶
type CableBTerminationArgs struct {
ObjectId pulumi.IntInput `pulumi:"objectId"`
ObjectType pulumi.StringInput `pulumi:"objectType"`
}
func (CableBTerminationArgs) ElementType ¶
func (CableBTerminationArgs) ElementType() reflect.Type
func (CableBTerminationArgs) ToCableBTerminationOutput ¶
func (i CableBTerminationArgs) ToCableBTerminationOutput() CableBTerminationOutput
func (CableBTerminationArgs) ToCableBTerminationOutputWithContext ¶
func (i CableBTerminationArgs) ToCableBTerminationOutputWithContext(ctx context.Context) CableBTerminationOutput
type CableBTerminationArray ¶
type CableBTerminationArray []CableBTerminationInput
func (CableBTerminationArray) ElementType ¶
func (CableBTerminationArray) ElementType() reflect.Type
func (CableBTerminationArray) ToCableBTerminationArrayOutput ¶
func (i CableBTerminationArray) ToCableBTerminationArrayOutput() CableBTerminationArrayOutput
func (CableBTerminationArray) ToCableBTerminationArrayOutputWithContext ¶
func (i CableBTerminationArray) ToCableBTerminationArrayOutputWithContext(ctx context.Context) CableBTerminationArrayOutput
type CableBTerminationArrayInput ¶
type CableBTerminationArrayInput interface {
pulumi.Input
ToCableBTerminationArrayOutput() CableBTerminationArrayOutput
ToCableBTerminationArrayOutputWithContext(context.Context) CableBTerminationArrayOutput
}
CableBTerminationArrayInput is an input type that accepts CableBTerminationArray and CableBTerminationArrayOutput values. You can construct a concrete instance of `CableBTerminationArrayInput` via:
CableBTerminationArray{ CableBTerminationArgs{...} }
type CableBTerminationArrayOutput ¶
type CableBTerminationArrayOutput struct{ *pulumi.OutputState }
func (CableBTerminationArrayOutput) ElementType ¶
func (CableBTerminationArrayOutput) ElementType() reflect.Type
func (CableBTerminationArrayOutput) Index ¶
func (o CableBTerminationArrayOutput) Index(i pulumi.IntInput) CableBTerminationOutput
func (CableBTerminationArrayOutput) ToCableBTerminationArrayOutput ¶
func (o CableBTerminationArrayOutput) ToCableBTerminationArrayOutput() CableBTerminationArrayOutput
func (CableBTerminationArrayOutput) ToCableBTerminationArrayOutputWithContext ¶
func (o CableBTerminationArrayOutput) ToCableBTerminationArrayOutputWithContext(ctx context.Context) CableBTerminationArrayOutput
type CableBTerminationInput ¶
type CableBTerminationInput interface {
pulumi.Input
ToCableBTerminationOutput() CableBTerminationOutput
ToCableBTerminationOutputWithContext(context.Context) CableBTerminationOutput
}
CableBTerminationInput is an input type that accepts CableBTerminationArgs and CableBTerminationOutput values. You can construct a concrete instance of `CableBTerminationInput` via:
CableBTerminationArgs{...}
type CableBTerminationOutput ¶
type CableBTerminationOutput struct{ *pulumi.OutputState }
func (CableBTerminationOutput) ElementType ¶
func (CableBTerminationOutput) ElementType() reflect.Type
func (CableBTerminationOutput) ObjectId ¶
func (o CableBTerminationOutput) ObjectId() pulumi.IntOutput
func (CableBTerminationOutput) ObjectType ¶
func (o CableBTerminationOutput) ObjectType() pulumi.StringOutput
func (CableBTerminationOutput) ToCableBTerminationOutput ¶
func (o CableBTerminationOutput) ToCableBTerminationOutput() CableBTerminationOutput
func (CableBTerminationOutput) ToCableBTerminationOutputWithContext ¶
func (o CableBTerminationOutput) ToCableBTerminationOutputWithContext(ctx context.Context) CableBTerminationOutput
type CableInput ¶
type CableInput interface {
pulumi.Input
ToCableOutput() CableOutput
ToCableOutputWithContext(ctx context.Context) CableOutput
}
type CableMap ¶
type CableMap map[string]CableInput
func (CableMap) ElementType ¶
func (CableMap) ToCableMapOutput ¶
func (i CableMap) ToCableMapOutput() CableMapOutput
func (CableMap) ToCableMapOutputWithContext ¶
func (i CableMap) ToCableMapOutputWithContext(ctx context.Context) CableMapOutput
type CableMapInput ¶
type CableMapInput interface {
pulumi.Input
ToCableMapOutput() CableMapOutput
ToCableMapOutputWithContext(context.Context) CableMapOutput
}
CableMapInput is an input type that accepts CableMap and CableMapOutput values. You can construct a concrete instance of `CableMapInput` via:
CableMap{ "key": CableArgs{...} }
type CableMapOutput ¶
type CableMapOutput struct{ *pulumi.OutputState }
func (CableMapOutput) ElementType ¶
func (CableMapOutput) ElementType() reflect.Type
func (CableMapOutput) MapIndex ¶
func (o CableMapOutput) MapIndex(k pulumi.StringInput) CableOutput
func (CableMapOutput) ToCableMapOutput ¶
func (o CableMapOutput) ToCableMapOutput() CableMapOutput
func (CableMapOutput) ToCableMapOutputWithContext ¶
func (o CableMapOutput) ToCableMapOutputWithContext(ctx context.Context) CableMapOutput
type CableOutput ¶
type CableOutput struct{ *pulumi.OutputState }
func (CableOutput) ATerminations ¶
func (o CableOutput) ATerminations() CableATerminationArrayOutput
func (CableOutput) BTerminations ¶
func (o CableOutput) BTerminations() CableBTerminationArrayOutput
func (CableOutput) ColorHex ¶
func (o CableOutput) ColorHex() pulumi.StringPtrOutput
func (CableOutput) Comments ¶
func (o CableOutput) Comments() pulumi.StringPtrOutput
func (CableOutput) CustomFields ¶
func (o CableOutput) CustomFields() pulumi.StringMapOutput
func (CableOutput) Description ¶
func (o CableOutput) Description() pulumi.StringPtrOutput
func (CableOutput) ElementType ¶
func (CableOutput) ElementType() reflect.Type
func (CableOutput) Label ¶
func (o CableOutput) Label() pulumi.StringPtrOutput
func (CableOutput) Length ¶
func (o CableOutput) Length() pulumi.Float64PtrOutput
func (CableOutput) LengthUnit ¶
func (o CableOutput) LengthUnit() pulumi.StringPtrOutput
One of [km, m, cm, mi, ft, in]. Required when `length` is set.
func (CableOutput) Status ¶
func (o CableOutput) Status() pulumi.StringOutput
One of [connected, planned, decommissioning].
func (CableOutput) Tags ¶
func (o CableOutput) Tags() pulumi.StringArrayOutput
func (CableOutput) TagsAlls ¶
func (o CableOutput) TagsAlls() pulumi.StringArrayOutput
func (CableOutput) TenantId ¶
func (o CableOutput) TenantId() pulumi.IntPtrOutput
func (CableOutput) ToCableOutput ¶
func (o CableOutput) ToCableOutput() CableOutput
func (CableOutput) ToCableOutputWithContext ¶
func (o CableOutput) ToCableOutputWithContext(ctx context.Context) CableOutput
func (CableOutput) Type ¶
func (o CableOutput) Type() pulumi.StringPtrOutput
One of [cat3, cat5, cat5e, cat6, cat6a, cat7, cat7a, cat8, dac-active, dac-passive, mrj21-trunk, coaxial, mmf, mmf-om1, mmf-om2, mmf-om3, mmf-om4, mmf-om5, smf, smf-os1, smf-os2, aoc, power].
type CableState ¶
type CableState struct {
ATerminations CableATerminationArrayInput
BTerminations CableBTerminationArrayInput
ColorHex pulumi.StringPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Label pulumi.StringPtrInput
Length pulumi.Float64PtrInput
// One of [km, m, cm, mi, ft, in]. Required when `length` is set.
LengthUnit pulumi.StringPtrInput
// One of [connected, planned, decommissioning].
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
// One of [cat3, cat5, cat5e, cat6, cat6a, cat7, cat7a, cat8, dac-active, dac-passive, mrj21-trunk, coaxial, mmf, mmf-om1, mmf-om2, mmf-om3, mmf-om4, mmf-om5, smf, smf-os1, smf-os2, aoc, power].
Type pulumi.StringPtrInput
}
func (CableState) ElementType ¶
func (CableState) ElementType() reflect.Type
type Device ¶
type Device struct {
pulumi.CustomResourceState
AssetTag pulumi.StringPtrOutput `pulumi:"assetTag"`
ClusterId pulumi.IntPtrOutput `pulumi:"clusterId"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
ConfigTemplateId pulumi.IntPtrOutput `pulumi:"configTemplateId"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceTypeId pulumi.IntOutput `pulumi:"deviceTypeId"`
// This is best managed through the use of `jsonencode` and a map of settings.
LocalContextData pulumi.StringPtrOutput `pulumi:"localContextData"`
LocationId pulumi.IntPtrOutput `pulumi:"locationId"`
Name pulumi.StringOutput `pulumi:"name"`
PlatformId pulumi.IntPtrOutput `pulumi:"platformId"`
PrimaryIpv4 pulumi.IntOutput `pulumi:"primaryIpv4"`
PrimaryIpv6 pulumi.IntOutput `pulumi:"primaryIpv6"`
// Valid values are `front` and `rear`. Required when `rackPosition` is set.
RackFace pulumi.StringPtrOutput `pulumi:"rackFace"`
RackId pulumi.IntPtrOutput `pulumi:"rackId"`
RackPosition pulumi.Float64PtrOutput `pulumi:"rackPosition"`
RoleId pulumi.IntOutput `pulumi:"roleId"`
Serial pulumi.StringPtrOutput `pulumi:"serial"`
SiteId pulumi.IntOutput `pulumi:"siteId"`
// Valid values are `offline`, `active`, `planned`, `staged`, `failed`, `inventory` and `decommissioning`. Defaults to `active`.
Status pulumi.StringPtrOutput `pulumi:"status"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
// Required when `virtualChassisMaster` and `virtualChassisId` is set.
VirtualChassisId pulumi.IntPtrOutput `pulumi:"virtualChassisId"`
// Required when `virtualChassisMaster` and `virtualChassisId` is set.
VirtualChassisMaster pulumi.BoolPtrOutput `pulumi:"virtualChassisMaster"`
VirtualChassisPosition pulumi.IntPtrOutput `pulumi:"virtualChassisPosition"`
VirtualChassisPriority pulumi.IntPtrOutput `pulumi:"virtualChassisPriority"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/devices/#devices):
> Every piece of hardware which is installed within a site or rack exists in NetBox as a device. Devices are measured in rack units (U) and can be half depth or full depth. A device may have a height of 0U: These devices do not consume vertical rack space and cannot be assigned to a particular rack unit. A common example of a 0U device is a vertically-mounted PDU.
## Example Usage
```go package main
import (
"encoding/json" "github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewSite(ctx, "test", &dcim.SiteArgs{
Name: pulumi.String("%[1]s"),
})
if err != nil {
return err
}
testDeviceRole, err := dcim.NewDeviceRole(ctx, "test", &dcim.DeviceRoleArgs{
Name: pulumi.String("%[1]s"),
ColorHex: pulumi.String("123456"),
})
if err != nil {
return err
}
testManufacturer, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
testDeviceType, err := dcim.NewDeviceType(ctx, "test", &dcim.DeviceTypeArgs{
Model: pulumi.String("test"),
ManufacturerId: testManufacturer.ID(),
})
if err != nil {
return err
}
tmpJSON0, err := json.Marshal(map[string]interface{}{
"setting_a": "Some Setting",
"setting_b": 42,
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: testDeviceType.ID(),
RoleId: testDeviceRole.ID(),
SiteId: test.ID(),
LocalContextData: pulumi.String(json0),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDevice ¶
func GetDevice(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceState, opts ...pulumi.ResourceOption) (*Device, error)
GetDevice gets an existing Device 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 NewDevice ¶
func NewDevice(ctx *pulumi.Context, name string, args *DeviceArgs, opts ...pulumi.ResourceOption) (*Device, error)
NewDevice registers a new resource with the given unique name, arguments, and options.
func (*Device) ElementType ¶
func (*Device) ToDeviceOutput ¶
func (i *Device) ToDeviceOutput() DeviceOutput
func (*Device) ToDeviceOutputWithContext ¶
func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
type DeviceArgs ¶
type DeviceArgs struct {
AssetTag pulumi.StringPtrInput
ClusterId pulumi.IntPtrInput
Comments pulumi.StringPtrInput
ConfigTemplateId pulumi.IntPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceTypeId pulumi.IntInput
// This is best managed through the use of `jsonencode` and a map of settings.
LocalContextData pulumi.StringPtrInput
LocationId pulumi.IntPtrInput
Name pulumi.StringPtrInput
PlatformId pulumi.IntPtrInput
// Valid values are `front` and `rear`. Required when `rackPosition` is set.
RackFace pulumi.StringPtrInput
RackId pulumi.IntPtrInput
RackPosition pulumi.Float64PtrInput
RoleId pulumi.IntInput
Serial pulumi.StringPtrInput
SiteId pulumi.IntInput
// Valid values are `offline`, `active`, `planned`, `staged`, `failed`, `inventory` and `decommissioning`. Defaults to `active`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
// Required when `virtualChassisMaster` and `virtualChassisId` is set.
VirtualChassisId pulumi.IntPtrInput
// Required when `virtualChassisMaster` and `virtualChassisId` is set.
VirtualChassisMaster pulumi.BoolPtrInput
VirtualChassisPosition pulumi.IntPtrInput
VirtualChassisPriority pulumi.IntPtrInput
}
The set of arguments for constructing a Device resource.
func (DeviceArgs) ElementType ¶
func (DeviceArgs) ElementType() reflect.Type
type DeviceArray ¶
type DeviceArray []DeviceInput
func (DeviceArray) ElementType ¶
func (DeviceArray) ElementType() reflect.Type
func (DeviceArray) ToDeviceArrayOutput ¶
func (i DeviceArray) ToDeviceArrayOutput() DeviceArrayOutput
func (DeviceArray) ToDeviceArrayOutputWithContext ¶
func (i DeviceArray) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput
type DeviceArrayInput ¶
type DeviceArrayInput interface {
pulumi.Input
ToDeviceArrayOutput() DeviceArrayOutput
ToDeviceArrayOutputWithContext(context.Context) DeviceArrayOutput
}
DeviceArrayInput is an input type that accepts DeviceArray and DeviceArrayOutput values. You can construct a concrete instance of `DeviceArrayInput` via:
DeviceArray{ DeviceArgs{...} }
type DeviceArrayOutput ¶
type DeviceArrayOutput struct{ *pulumi.OutputState }
func (DeviceArrayOutput) ElementType ¶
func (DeviceArrayOutput) ElementType() reflect.Type
func (DeviceArrayOutput) Index ¶
func (o DeviceArrayOutput) Index(i pulumi.IntInput) DeviceOutput
func (DeviceArrayOutput) ToDeviceArrayOutput ¶
func (o DeviceArrayOutput) ToDeviceArrayOutput() DeviceArrayOutput
func (DeviceArrayOutput) ToDeviceArrayOutputWithContext ¶
func (o DeviceArrayOutput) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput
type DeviceConsolePort ¶
type DeviceConsolePort struct {
pulumi.CustomResourceState
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
ModuleId pulumi.IntPtrOutput `pulumi:"moduleId"`
Name pulumi.StringOutput `pulumi:"name"`
// One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
Speed pulumi.IntPtrOutput `pulumi:"speed"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
Type pulumi.StringPtrOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/consoleport/):
> A console port provides connectivity to the physical console of a device. These are typically used for temporary access by someone who is physically near the device, or for remote out-of-band access provided via a networked console server.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDeviceConsolePort(ctx, "test", &dcim.DeviceConsolePortArgs{
DeviceId: test.ID(),
Name: pulumi.String("console port"),
Type: pulumi.String("de-9"),
Speed: pulumi.Int(1200),
MarkConnected: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceConsolePort ¶
func GetDeviceConsolePort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceConsolePortState, opts ...pulumi.ResourceOption) (*DeviceConsolePort, error)
GetDeviceConsolePort gets an existing DeviceConsolePort 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 NewDeviceConsolePort ¶
func NewDeviceConsolePort(ctx *pulumi.Context, name string, args *DeviceConsolePortArgs, opts ...pulumi.ResourceOption) (*DeviceConsolePort, error)
NewDeviceConsolePort registers a new resource with the given unique name, arguments, and options.
func (*DeviceConsolePort) ElementType ¶
func (*DeviceConsolePort) ElementType() reflect.Type
func (*DeviceConsolePort) ToDeviceConsolePortOutput ¶
func (i *DeviceConsolePort) ToDeviceConsolePortOutput() DeviceConsolePortOutput
func (*DeviceConsolePort) ToDeviceConsolePortOutputWithContext ¶
func (i *DeviceConsolePort) ToDeviceConsolePortOutputWithContext(ctx context.Context) DeviceConsolePortOutput
type DeviceConsolePortArgs ¶
type DeviceConsolePortArgs struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
// One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
Speed pulumi.IntPtrInput
Tags pulumi.StringArrayInput
// One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
Type pulumi.StringPtrInput
}
The set of arguments for constructing a DeviceConsolePort resource.
func (DeviceConsolePortArgs) ElementType ¶
func (DeviceConsolePortArgs) ElementType() reflect.Type
type DeviceConsolePortArray ¶
type DeviceConsolePortArray []DeviceConsolePortInput
func (DeviceConsolePortArray) ElementType ¶
func (DeviceConsolePortArray) ElementType() reflect.Type
func (DeviceConsolePortArray) ToDeviceConsolePortArrayOutput ¶
func (i DeviceConsolePortArray) ToDeviceConsolePortArrayOutput() DeviceConsolePortArrayOutput
func (DeviceConsolePortArray) ToDeviceConsolePortArrayOutputWithContext ¶
func (i DeviceConsolePortArray) ToDeviceConsolePortArrayOutputWithContext(ctx context.Context) DeviceConsolePortArrayOutput
type DeviceConsolePortArrayInput ¶
type DeviceConsolePortArrayInput interface {
pulumi.Input
ToDeviceConsolePortArrayOutput() DeviceConsolePortArrayOutput
ToDeviceConsolePortArrayOutputWithContext(context.Context) DeviceConsolePortArrayOutput
}
DeviceConsolePortArrayInput is an input type that accepts DeviceConsolePortArray and DeviceConsolePortArrayOutput values. You can construct a concrete instance of `DeviceConsolePortArrayInput` via:
DeviceConsolePortArray{ DeviceConsolePortArgs{...} }
type DeviceConsolePortArrayOutput ¶
type DeviceConsolePortArrayOutput struct{ *pulumi.OutputState }
func (DeviceConsolePortArrayOutput) ElementType ¶
func (DeviceConsolePortArrayOutput) ElementType() reflect.Type
func (DeviceConsolePortArrayOutput) Index ¶
func (o DeviceConsolePortArrayOutput) Index(i pulumi.IntInput) DeviceConsolePortOutput
func (DeviceConsolePortArrayOutput) ToDeviceConsolePortArrayOutput ¶
func (o DeviceConsolePortArrayOutput) ToDeviceConsolePortArrayOutput() DeviceConsolePortArrayOutput
func (DeviceConsolePortArrayOutput) ToDeviceConsolePortArrayOutputWithContext ¶
func (o DeviceConsolePortArrayOutput) ToDeviceConsolePortArrayOutputWithContext(ctx context.Context) DeviceConsolePortArrayOutput
type DeviceConsolePortInput ¶
type DeviceConsolePortInput interface {
pulumi.Input
ToDeviceConsolePortOutput() DeviceConsolePortOutput
ToDeviceConsolePortOutputWithContext(ctx context.Context) DeviceConsolePortOutput
}
type DeviceConsolePortMap ¶
type DeviceConsolePortMap map[string]DeviceConsolePortInput
func (DeviceConsolePortMap) ElementType ¶
func (DeviceConsolePortMap) ElementType() reflect.Type
func (DeviceConsolePortMap) ToDeviceConsolePortMapOutput ¶
func (i DeviceConsolePortMap) ToDeviceConsolePortMapOutput() DeviceConsolePortMapOutput
func (DeviceConsolePortMap) ToDeviceConsolePortMapOutputWithContext ¶
func (i DeviceConsolePortMap) ToDeviceConsolePortMapOutputWithContext(ctx context.Context) DeviceConsolePortMapOutput
type DeviceConsolePortMapInput ¶
type DeviceConsolePortMapInput interface {
pulumi.Input
ToDeviceConsolePortMapOutput() DeviceConsolePortMapOutput
ToDeviceConsolePortMapOutputWithContext(context.Context) DeviceConsolePortMapOutput
}
DeviceConsolePortMapInput is an input type that accepts DeviceConsolePortMap and DeviceConsolePortMapOutput values. You can construct a concrete instance of `DeviceConsolePortMapInput` via:
DeviceConsolePortMap{ "key": DeviceConsolePortArgs{...} }
type DeviceConsolePortMapOutput ¶
type DeviceConsolePortMapOutput struct{ *pulumi.OutputState }
func (DeviceConsolePortMapOutput) ElementType ¶
func (DeviceConsolePortMapOutput) ElementType() reflect.Type
func (DeviceConsolePortMapOutput) MapIndex ¶
func (o DeviceConsolePortMapOutput) MapIndex(k pulumi.StringInput) DeviceConsolePortOutput
func (DeviceConsolePortMapOutput) ToDeviceConsolePortMapOutput ¶
func (o DeviceConsolePortMapOutput) ToDeviceConsolePortMapOutput() DeviceConsolePortMapOutput
func (DeviceConsolePortMapOutput) ToDeviceConsolePortMapOutputWithContext ¶
func (o DeviceConsolePortMapOutput) ToDeviceConsolePortMapOutputWithContext(ctx context.Context) DeviceConsolePortMapOutput
type DeviceConsolePortOutput ¶
type DeviceConsolePortOutput struct{ *pulumi.OutputState }
func (DeviceConsolePortOutput) CustomFields ¶
func (o DeviceConsolePortOutput) CustomFields() pulumi.StringMapOutput
func (DeviceConsolePortOutput) Description ¶
func (o DeviceConsolePortOutput) Description() pulumi.StringPtrOutput
func (DeviceConsolePortOutput) DeviceId ¶
func (o DeviceConsolePortOutput) DeviceId() pulumi.IntOutput
func (DeviceConsolePortOutput) ElementType ¶
func (DeviceConsolePortOutput) ElementType() reflect.Type
func (DeviceConsolePortOutput) Label ¶
func (o DeviceConsolePortOutput) Label() pulumi.StringPtrOutput
func (DeviceConsolePortOutput) MarkConnected ¶
func (o DeviceConsolePortOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (DeviceConsolePortOutput) ModuleId ¶
func (o DeviceConsolePortOutput) ModuleId() pulumi.IntPtrOutput
func (DeviceConsolePortOutput) Name ¶
func (o DeviceConsolePortOutput) Name() pulumi.StringOutput
func (DeviceConsolePortOutput) Speed ¶
func (o DeviceConsolePortOutput) Speed() pulumi.IntPtrOutput
One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
func (DeviceConsolePortOutput) Tags ¶
func (o DeviceConsolePortOutput) Tags() pulumi.StringArrayOutput
func (DeviceConsolePortOutput) TagsAlls ¶
func (o DeviceConsolePortOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceConsolePortOutput) ToDeviceConsolePortOutput ¶
func (o DeviceConsolePortOutput) ToDeviceConsolePortOutput() DeviceConsolePortOutput
func (DeviceConsolePortOutput) ToDeviceConsolePortOutputWithContext ¶
func (o DeviceConsolePortOutput) ToDeviceConsolePortOutputWithContext(ctx context.Context) DeviceConsolePortOutput
func (DeviceConsolePortOutput) Type ¶
func (o DeviceConsolePortOutput) Type() pulumi.StringPtrOutput
One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
type DeviceConsolePortState ¶
type DeviceConsolePortState struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
// One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
Speed pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
Type pulumi.StringPtrInput
}
func (DeviceConsolePortState) ElementType ¶
func (DeviceConsolePortState) ElementType() reflect.Type
type DeviceConsoleServerPort ¶
type DeviceConsoleServerPort struct {
pulumi.CustomResourceState
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
ModuleId pulumi.IntPtrOutput `pulumi:"moduleId"`
Name pulumi.StringOutput `pulumi:"name"`
// One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
Speed pulumi.IntPtrOutput `pulumi:"speed"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
Type pulumi.StringPtrOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/consoleserverport/):
> A console server is a device which provides remote access to the local consoles of connected devices. They are typically used to provide remote out-of-band access to network devices, and generally connect to console ports.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDeviceConsoleServerPort(ctx, "test", &dcim.DeviceConsoleServerPortArgs{
DeviceId: test.ID(),
Name: pulumi.String("console server port"),
Type: pulumi.String("de-9"),
Speed: pulumi.Int(1200),
MarkConnected: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceConsoleServerPort ¶
func GetDeviceConsoleServerPort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceConsoleServerPortState, opts ...pulumi.ResourceOption) (*DeviceConsoleServerPort, error)
GetDeviceConsoleServerPort gets an existing DeviceConsoleServerPort 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 NewDeviceConsoleServerPort ¶
func NewDeviceConsoleServerPort(ctx *pulumi.Context, name string, args *DeviceConsoleServerPortArgs, opts ...pulumi.ResourceOption) (*DeviceConsoleServerPort, error)
NewDeviceConsoleServerPort registers a new resource with the given unique name, arguments, and options.
func (*DeviceConsoleServerPort) ElementType ¶
func (*DeviceConsoleServerPort) ElementType() reflect.Type
func (*DeviceConsoleServerPort) ToDeviceConsoleServerPortOutput ¶
func (i *DeviceConsoleServerPort) ToDeviceConsoleServerPortOutput() DeviceConsoleServerPortOutput
func (*DeviceConsoleServerPort) ToDeviceConsoleServerPortOutputWithContext ¶
func (i *DeviceConsoleServerPort) ToDeviceConsoleServerPortOutputWithContext(ctx context.Context) DeviceConsoleServerPortOutput
type DeviceConsoleServerPortArgs ¶
type DeviceConsoleServerPortArgs struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
// One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
Speed pulumi.IntPtrInput
Tags pulumi.StringArrayInput
// One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
Type pulumi.StringPtrInput
}
The set of arguments for constructing a DeviceConsoleServerPort resource.
func (DeviceConsoleServerPortArgs) ElementType ¶
func (DeviceConsoleServerPortArgs) ElementType() reflect.Type
type DeviceConsoleServerPortArray ¶
type DeviceConsoleServerPortArray []DeviceConsoleServerPortInput
func (DeviceConsoleServerPortArray) ElementType ¶
func (DeviceConsoleServerPortArray) ElementType() reflect.Type
func (DeviceConsoleServerPortArray) ToDeviceConsoleServerPortArrayOutput ¶
func (i DeviceConsoleServerPortArray) ToDeviceConsoleServerPortArrayOutput() DeviceConsoleServerPortArrayOutput
func (DeviceConsoleServerPortArray) ToDeviceConsoleServerPortArrayOutputWithContext ¶
func (i DeviceConsoleServerPortArray) ToDeviceConsoleServerPortArrayOutputWithContext(ctx context.Context) DeviceConsoleServerPortArrayOutput
type DeviceConsoleServerPortArrayInput ¶
type DeviceConsoleServerPortArrayInput interface {
pulumi.Input
ToDeviceConsoleServerPortArrayOutput() DeviceConsoleServerPortArrayOutput
ToDeviceConsoleServerPortArrayOutputWithContext(context.Context) DeviceConsoleServerPortArrayOutput
}
DeviceConsoleServerPortArrayInput is an input type that accepts DeviceConsoleServerPortArray and DeviceConsoleServerPortArrayOutput values. You can construct a concrete instance of `DeviceConsoleServerPortArrayInput` via:
DeviceConsoleServerPortArray{ DeviceConsoleServerPortArgs{...} }
type DeviceConsoleServerPortArrayOutput ¶
type DeviceConsoleServerPortArrayOutput struct{ *pulumi.OutputState }
func (DeviceConsoleServerPortArrayOutput) ElementType ¶
func (DeviceConsoleServerPortArrayOutput) ElementType() reflect.Type
func (DeviceConsoleServerPortArrayOutput) Index ¶
func (o DeviceConsoleServerPortArrayOutput) Index(i pulumi.IntInput) DeviceConsoleServerPortOutput
func (DeviceConsoleServerPortArrayOutput) ToDeviceConsoleServerPortArrayOutput ¶
func (o DeviceConsoleServerPortArrayOutput) ToDeviceConsoleServerPortArrayOutput() DeviceConsoleServerPortArrayOutput
func (DeviceConsoleServerPortArrayOutput) ToDeviceConsoleServerPortArrayOutputWithContext ¶
func (o DeviceConsoleServerPortArrayOutput) ToDeviceConsoleServerPortArrayOutputWithContext(ctx context.Context) DeviceConsoleServerPortArrayOutput
type DeviceConsoleServerPortInput ¶
type DeviceConsoleServerPortInput interface {
pulumi.Input
ToDeviceConsoleServerPortOutput() DeviceConsoleServerPortOutput
ToDeviceConsoleServerPortOutputWithContext(ctx context.Context) DeviceConsoleServerPortOutput
}
type DeviceConsoleServerPortMap ¶
type DeviceConsoleServerPortMap map[string]DeviceConsoleServerPortInput
func (DeviceConsoleServerPortMap) ElementType ¶
func (DeviceConsoleServerPortMap) ElementType() reflect.Type
func (DeviceConsoleServerPortMap) ToDeviceConsoleServerPortMapOutput ¶
func (i DeviceConsoleServerPortMap) ToDeviceConsoleServerPortMapOutput() DeviceConsoleServerPortMapOutput
func (DeviceConsoleServerPortMap) ToDeviceConsoleServerPortMapOutputWithContext ¶
func (i DeviceConsoleServerPortMap) ToDeviceConsoleServerPortMapOutputWithContext(ctx context.Context) DeviceConsoleServerPortMapOutput
type DeviceConsoleServerPortMapInput ¶
type DeviceConsoleServerPortMapInput interface {
pulumi.Input
ToDeviceConsoleServerPortMapOutput() DeviceConsoleServerPortMapOutput
ToDeviceConsoleServerPortMapOutputWithContext(context.Context) DeviceConsoleServerPortMapOutput
}
DeviceConsoleServerPortMapInput is an input type that accepts DeviceConsoleServerPortMap and DeviceConsoleServerPortMapOutput values. You can construct a concrete instance of `DeviceConsoleServerPortMapInput` via:
DeviceConsoleServerPortMap{ "key": DeviceConsoleServerPortArgs{...} }
type DeviceConsoleServerPortMapOutput ¶
type DeviceConsoleServerPortMapOutput struct{ *pulumi.OutputState }
func (DeviceConsoleServerPortMapOutput) ElementType ¶
func (DeviceConsoleServerPortMapOutput) ElementType() reflect.Type
func (DeviceConsoleServerPortMapOutput) MapIndex ¶
func (o DeviceConsoleServerPortMapOutput) MapIndex(k pulumi.StringInput) DeviceConsoleServerPortOutput
func (DeviceConsoleServerPortMapOutput) ToDeviceConsoleServerPortMapOutput ¶
func (o DeviceConsoleServerPortMapOutput) ToDeviceConsoleServerPortMapOutput() DeviceConsoleServerPortMapOutput
func (DeviceConsoleServerPortMapOutput) ToDeviceConsoleServerPortMapOutputWithContext ¶
func (o DeviceConsoleServerPortMapOutput) ToDeviceConsoleServerPortMapOutputWithContext(ctx context.Context) DeviceConsoleServerPortMapOutput
type DeviceConsoleServerPortOutput ¶
type DeviceConsoleServerPortOutput struct{ *pulumi.OutputState }
func (DeviceConsoleServerPortOutput) CustomFields ¶
func (o DeviceConsoleServerPortOutput) CustomFields() pulumi.StringMapOutput
func (DeviceConsoleServerPortOutput) Description ¶
func (o DeviceConsoleServerPortOutput) Description() pulumi.StringPtrOutput
func (DeviceConsoleServerPortOutput) DeviceId ¶
func (o DeviceConsoleServerPortOutput) DeviceId() pulumi.IntOutput
func (DeviceConsoleServerPortOutput) ElementType ¶
func (DeviceConsoleServerPortOutput) ElementType() reflect.Type
func (DeviceConsoleServerPortOutput) Label ¶
func (o DeviceConsoleServerPortOutput) Label() pulumi.StringPtrOutput
func (DeviceConsoleServerPortOutput) MarkConnected ¶
func (o DeviceConsoleServerPortOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (DeviceConsoleServerPortOutput) ModuleId ¶
func (o DeviceConsoleServerPortOutput) ModuleId() pulumi.IntPtrOutput
func (DeviceConsoleServerPortOutput) Name ¶
func (o DeviceConsoleServerPortOutput) Name() pulumi.StringOutput
func (DeviceConsoleServerPortOutput) Speed ¶
func (o DeviceConsoleServerPortOutput) Speed() pulumi.IntPtrOutput
One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
func (DeviceConsoleServerPortOutput) Tags ¶
func (o DeviceConsoleServerPortOutput) Tags() pulumi.StringArrayOutput
func (DeviceConsoleServerPortOutput) TagsAlls ¶
func (o DeviceConsoleServerPortOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceConsoleServerPortOutput) ToDeviceConsoleServerPortOutput ¶
func (o DeviceConsoleServerPortOutput) ToDeviceConsoleServerPortOutput() DeviceConsoleServerPortOutput
func (DeviceConsoleServerPortOutput) ToDeviceConsoleServerPortOutputWithContext ¶
func (o DeviceConsoleServerPortOutput) ToDeviceConsoleServerPortOutputWithContext(ctx context.Context) DeviceConsoleServerPortOutput
func (DeviceConsoleServerPortOutput) Type ¶
func (o DeviceConsoleServerPortOutput) Type() pulumi.StringPtrOutput
One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
type DeviceConsoleServerPortState ¶
type DeviceConsoleServerPortState struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
// One of [1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200].
Speed pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [de-9, db-25, rj-11, rj-12, rj-45, mini-din-8, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, other].
Type pulumi.StringPtrInput
}
func (DeviceConsoleServerPortState) ElementType ¶
func (DeviceConsoleServerPortState) ElementType() reflect.Type
type DeviceFrontPort ¶
type DeviceFrontPort struct {
pulumi.CustomResourceState
ColorHex pulumi.StringPtrOutput `pulumi:"colorHex"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
ModuleId pulumi.IntPtrOutput `pulumi:"moduleId"`
Name pulumi.StringOutput `pulumi:"name"`
RearPortId pulumi.IntOutput `pulumi:"rearPortId"`
RearPortPosition pulumi.IntOutput `pulumi:"rearPortPosition"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
Type pulumi.StringOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/frontport/):
> Front ports are pass-through ports which represent physical cable connections that comprise part of a longer path. For example, the ports on the front face of a UTP patch panel would be modeled in NetBox as front ports. Each port is assigned a physical type, and must be mapped to a specific rear port on the same device. A single rear port may be mapped to multiple front ports, using numeric positions to annotate the specific alignment of each.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
testDeviceRearPort, err := dcim.NewDeviceRearPort(ctx, "test", &dcim.DeviceRearPortArgs{
DeviceId: test.ID(),
Name: pulumi.String("rear port 1"),
Type: pulumi.String("8p8c"),
Positions: pulumi.Int(2),
MarkConnected: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = dcim.NewDeviceFrontPort(ctx, "test", &dcim.DeviceFrontPortArgs{
DeviceId: test.ID(),
Name: pulumi.String("front port 1"),
Type: pulumi.String("8p8c"),
RearPortId: testDeviceRearPort.ID(),
RearPortPosition: pulumi.Int(2),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceFrontPort ¶
func GetDeviceFrontPort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceFrontPortState, opts ...pulumi.ResourceOption) (*DeviceFrontPort, error)
GetDeviceFrontPort gets an existing DeviceFrontPort 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 NewDeviceFrontPort ¶
func NewDeviceFrontPort(ctx *pulumi.Context, name string, args *DeviceFrontPortArgs, opts ...pulumi.ResourceOption) (*DeviceFrontPort, error)
NewDeviceFrontPort registers a new resource with the given unique name, arguments, and options.
func (*DeviceFrontPort) ElementType ¶
func (*DeviceFrontPort) ElementType() reflect.Type
func (*DeviceFrontPort) ToDeviceFrontPortOutput ¶
func (i *DeviceFrontPort) ToDeviceFrontPortOutput() DeviceFrontPortOutput
func (*DeviceFrontPort) ToDeviceFrontPortOutputWithContext ¶
func (i *DeviceFrontPort) ToDeviceFrontPortOutputWithContext(ctx context.Context) DeviceFrontPortOutput
type DeviceFrontPortArgs ¶
type DeviceFrontPortArgs struct {
ColorHex pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
RearPortId pulumi.IntInput
RearPortPosition pulumi.IntInput
Tags pulumi.StringArrayInput
// One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
Type pulumi.StringInput
}
The set of arguments for constructing a DeviceFrontPort resource.
func (DeviceFrontPortArgs) ElementType ¶
func (DeviceFrontPortArgs) ElementType() reflect.Type
type DeviceFrontPortArray ¶
type DeviceFrontPortArray []DeviceFrontPortInput
func (DeviceFrontPortArray) ElementType ¶
func (DeviceFrontPortArray) ElementType() reflect.Type
func (DeviceFrontPortArray) ToDeviceFrontPortArrayOutput ¶
func (i DeviceFrontPortArray) ToDeviceFrontPortArrayOutput() DeviceFrontPortArrayOutput
func (DeviceFrontPortArray) ToDeviceFrontPortArrayOutputWithContext ¶
func (i DeviceFrontPortArray) ToDeviceFrontPortArrayOutputWithContext(ctx context.Context) DeviceFrontPortArrayOutput
type DeviceFrontPortArrayInput ¶
type DeviceFrontPortArrayInput interface {
pulumi.Input
ToDeviceFrontPortArrayOutput() DeviceFrontPortArrayOutput
ToDeviceFrontPortArrayOutputWithContext(context.Context) DeviceFrontPortArrayOutput
}
DeviceFrontPortArrayInput is an input type that accepts DeviceFrontPortArray and DeviceFrontPortArrayOutput values. You can construct a concrete instance of `DeviceFrontPortArrayInput` via:
DeviceFrontPortArray{ DeviceFrontPortArgs{...} }
type DeviceFrontPortArrayOutput ¶
type DeviceFrontPortArrayOutput struct{ *pulumi.OutputState }
func (DeviceFrontPortArrayOutput) ElementType ¶
func (DeviceFrontPortArrayOutput) ElementType() reflect.Type
func (DeviceFrontPortArrayOutput) Index ¶
func (o DeviceFrontPortArrayOutput) Index(i pulumi.IntInput) DeviceFrontPortOutput
func (DeviceFrontPortArrayOutput) ToDeviceFrontPortArrayOutput ¶
func (o DeviceFrontPortArrayOutput) ToDeviceFrontPortArrayOutput() DeviceFrontPortArrayOutput
func (DeviceFrontPortArrayOutput) ToDeviceFrontPortArrayOutputWithContext ¶
func (o DeviceFrontPortArrayOutput) ToDeviceFrontPortArrayOutputWithContext(ctx context.Context) DeviceFrontPortArrayOutput
type DeviceFrontPortInput ¶
type DeviceFrontPortInput interface {
pulumi.Input
ToDeviceFrontPortOutput() DeviceFrontPortOutput
ToDeviceFrontPortOutputWithContext(ctx context.Context) DeviceFrontPortOutput
}
type DeviceFrontPortMap ¶
type DeviceFrontPortMap map[string]DeviceFrontPortInput
func (DeviceFrontPortMap) ElementType ¶
func (DeviceFrontPortMap) ElementType() reflect.Type
func (DeviceFrontPortMap) ToDeviceFrontPortMapOutput ¶
func (i DeviceFrontPortMap) ToDeviceFrontPortMapOutput() DeviceFrontPortMapOutput
func (DeviceFrontPortMap) ToDeviceFrontPortMapOutputWithContext ¶
func (i DeviceFrontPortMap) ToDeviceFrontPortMapOutputWithContext(ctx context.Context) DeviceFrontPortMapOutput
type DeviceFrontPortMapInput ¶
type DeviceFrontPortMapInput interface {
pulumi.Input
ToDeviceFrontPortMapOutput() DeviceFrontPortMapOutput
ToDeviceFrontPortMapOutputWithContext(context.Context) DeviceFrontPortMapOutput
}
DeviceFrontPortMapInput is an input type that accepts DeviceFrontPortMap and DeviceFrontPortMapOutput values. You can construct a concrete instance of `DeviceFrontPortMapInput` via:
DeviceFrontPortMap{ "key": DeviceFrontPortArgs{...} }
type DeviceFrontPortMapOutput ¶
type DeviceFrontPortMapOutput struct{ *pulumi.OutputState }
func (DeviceFrontPortMapOutput) ElementType ¶
func (DeviceFrontPortMapOutput) ElementType() reflect.Type
func (DeviceFrontPortMapOutput) MapIndex ¶
func (o DeviceFrontPortMapOutput) MapIndex(k pulumi.StringInput) DeviceFrontPortOutput
func (DeviceFrontPortMapOutput) ToDeviceFrontPortMapOutput ¶
func (o DeviceFrontPortMapOutput) ToDeviceFrontPortMapOutput() DeviceFrontPortMapOutput
func (DeviceFrontPortMapOutput) ToDeviceFrontPortMapOutputWithContext ¶
func (o DeviceFrontPortMapOutput) ToDeviceFrontPortMapOutputWithContext(ctx context.Context) DeviceFrontPortMapOutput
type DeviceFrontPortOutput ¶
type DeviceFrontPortOutput struct{ *pulumi.OutputState }
func (DeviceFrontPortOutput) ColorHex ¶
func (o DeviceFrontPortOutput) ColorHex() pulumi.StringPtrOutput
func (DeviceFrontPortOutput) CustomFields ¶
func (o DeviceFrontPortOutput) CustomFields() pulumi.StringMapOutput
func (DeviceFrontPortOutput) Description ¶
func (o DeviceFrontPortOutput) Description() pulumi.StringPtrOutput
func (DeviceFrontPortOutput) DeviceId ¶
func (o DeviceFrontPortOutput) DeviceId() pulumi.IntOutput
func (DeviceFrontPortOutput) ElementType ¶
func (DeviceFrontPortOutput) ElementType() reflect.Type
func (DeviceFrontPortOutput) Label ¶
func (o DeviceFrontPortOutput) Label() pulumi.StringPtrOutput
func (DeviceFrontPortOutput) MarkConnected ¶
func (o DeviceFrontPortOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (DeviceFrontPortOutput) ModuleId ¶
func (o DeviceFrontPortOutput) ModuleId() pulumi.IntPtrOutput
func (DeviceFrontPortOutput) Name ¶
func (o DeviceFrontPortOutput) Name() pulumi.StringOutput
func (DeviceFrontPortOutput) RearPortId ¶
func (o DeviceFrontPortOutput) RearPortId() pulumi.IntOutput
func (DeviceFrontPortOutput) RearPortPosition ¶
func (o DeviceFrontPortOutput) RearPortPosition() pulumi.IntOutput
func (DeviceFrontPortOutput) Tags ¶
func (o DeviceFrontPortOutput) Tags() pulumi.StringArrayOutput
func (DeviceFrontPortOutput) TagsAlls ¶
func (o DeviceFrontPortOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceFrontPortOutput) ToDeviceFrontPortOutput ¶
func (o DeviceFrontPortOutput) ToDeviceFrontPortOutput() DeviceFrontPortOutput
func (DeviceFrontPortOutput) ToDeviceFrontPortOutputWithContext ¶
func (o DeviceFrontPortOutput) ToDeviceFrontPortOutputWithContext(ctx context.Context) DeviceFrontPortOutput
func (DeviceFrontPortOutput) Type ¶
func (o DeviceFrontPortOutput) Type() pulumi.StringOutput
One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
type DeviceFrontPortState ¶
type DeviceFrontPortState struct {
ColorHex pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
RearPortId pulumi.IntPtrInput
RearPortPosition pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
Type pulumi.StringPtrInput
}
func (DeviceFrontPortState) ElementType ¶
func (DeviceFrontPortState) ElementType() reflect.Type
type DeviceInput ¶
type DeviceInput interface {
pulumi.Input
ToDeviceOutput() DeviceOutput
ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
}
type DeviceInterface ¶
type DeviceInterface struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
// Defaults to `true`.
Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// If this device is a member of a LAG group, you can reference the LAG interface here.
LagDeviceInterfaceId pulumi.IntPtrOutput `pulumi:"lagDeviceInterfaceId"`
// The MAC address as string from the first MAC address assigned to this interface, if any.
MacAddress pulumi.StringOutput `pulumi:"macAddress"`
MacAddresses DeviceInterfaceMacAddressArrayOutput `pulumi:"macAddresses"`
Mgmtonly pulumi.BoolPtrOutput `pulumi:"mgmtonly"`
// Valid values are `access`, `tagged`, `tagged-all` and `q-in-q`.
Mode pulumi.StringPtrOutput `pulumi:"mode"`
Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
Name pulumi.StringOutput `pulumi:"name"`
// The netbox*device*interface id of the parent interface. Useful if this interface is a logical interface.
ParentDeviceInterfaceId pulumi.IntPtrOutput `pulumi:"parentDeviceInterfaceId"`
Speed pulumi.IntPtrOutput `pulumi:"speed"`
TaggedVlans pulumi.IntArrayOutput `pulumi:"taggedVlans"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
Type pulumi.StringOutput `pulumi:"type"`
UntaggedVlan pulumi.IntPtrOutput `pulumi:"untaggedVlan"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/device/#interface):
> Interfaces in NetBox represent network interfaces used to exchange data with connected devices. On modern networks, these are most commonly Ethernet, but other types are supported as well. IP addresses and VLANs can be assigned to interfaces.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Assumes a device with ID 123 exists
_, err := dcim.NewDeviceInterface(ctx, "test", &dcim.DeviceInterfaceArgs{
Name: pulumi.String("testinterface"),
DeviceId: pulumi.Int(123),
Type: pulumi.String("1000base-t"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceInterface ¶
func GetDeviceInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceInterfaceState, opts ...pulumi.ResourceOption) (*DeviceInterface, error)
GetDeviceInterface gets an existing DeviceInterface 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 NewDeviceInterface ¶
func NewDeviceInterface(ctx *pulumi.Context, name string, args *DeviceInterfaceArgs, opts ...pulumi.ResourceOption) (*DeviceInterface, error)
NewDeviceInterface registers a new resource with the given unique name, arguments, and options.
func (*DeviceInterface) ElementType ¶
func (*DeviceInterface) ElementType() reflect.Type
func (*DeviceInterface) ToDeviceInterfaceOutput ¶
func (i *DeviceInterface) ToDeviceInterfaceOutput() DeviceInterfaceOutput
func (*DeviceInterface) ToDeviceInterfaceOutputWithContext ¶
func (i *DeviceInterface) ToDeviceInterfaceOutputWithContext(ctx context.Context) DeviceInterfaceOutput
type DeviceInterfaceArgs ¶
type DeviceInterfaceArgs struct {
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
// Defaults to `true`.
Enabled pulumi.BoolPtrInput
Label pulumi.StringPtrInput
// If this device is a member of a LAG group, you can reference the LAG interface here.
LagDeviceInterfaceId pulumi.IntPtrInput
Mgmtonly pulumi.BoolPtrInput
// Valid values are `access`, `tagged`, `tagged-all` and `q-in-q`.
Mode pulumi.StringPtrInput
Mtu pulumi.IntPtrInput
Name pulumi.StringPtrInput
// The netbox*device*interface id of the parent interface. Useful if this interface is a logical interface.
ParentDeviceInterfaceId pulumi.IntPtrInput
Speed pulumi.IntPtrInput
TaggedVlans pulumi.IntArrayInput
Tags pulumi.StringArrayInput
Type pulumi.StringInput
UntaggedVlan pulumi.IntPtrInput
}
The set of arguments for constructing a DeviceInterface resource.
func (DeviceInterfaceArgs) ElementType ¶
func (DeviceInterfaceArgs) ElementType() reflect.Type
type DeviceInterfaceArray ¶
type DeviceInterfaceArray []DeviceInterfaceInput
func (DeviceInterfaceArray) ElementType ¶
func (DeviceInterfaceArray) ElementType() reflect.Type
func (DeviceInterfaceArray) ToDeviceInterfaceArrayOutput ¶
func (i DeviceInterfaceArray) ToDeviceInterfaceArrayOutput() DeviceInterfaceArrayOutput
func (DeviceInterfaceArray) ToDeviceInterfaceArrayOutputWithContext ¶
func (i DeviceInterfaceArray) ToDeviceInterfaceArrayOutputWithContext(ctx context.Context) DeviceInterfaceArrayOutput
type DeviceInterfaceArrayInput ¶
type DeviceInterfaceArrayInput interface {
pulumi.Input
ToDeviceInterfaceArrayOutput() DeviceInterfaceArrayOutput
ToDeviceInterfaceArrayOutputWithContext(context.Context) DeviceInterfaceArrayOutput
}
DeviceInterfaceArrayInput is an input type that accepts DeviceInterfaceArray and DeviceInterfaceArrayOutput values. You can construct a concrete instance of `DeviceInterfaceArrayInput` via:
DeviceInterfaceArray{ DeviceInterfaceArgs{...} }
type DeviceInterfaceArrayOutput ¶
type DeviceInterfaceArrayOutput struct{ *pulumi.OutputState }
func (DeviceInterfaceArrayOutput) ElementType ¶
func (DeviceInterfaceArrayOutput) ElementType() reflect.Type
func (DeviceInterfaceArrayOutput) Index ¶
func (o DeviceInterfaceArrayOutput) Index(i pulumi.IntInput) DeviceInterfaceOutput
func (DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutput ¶
func (o DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutput() DeviceInterfaceArrayOutput
func (DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutputWithContext ¶
func (o DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutputWithContext(ctx context.Context) DeviceInterfaceArrayOutput
type DeviceInterfaceInput ¶
type DeviceInterfaceInput interface {
pulumi.Input
ToDeviceInterfaceOutput() DeviceInterfaceOutput
ToDeviceInterfaceOutputWithContext(ctx context.Context) DeviceInterfaceOutput
}
type DeviceInterfaceMacAddressArgs ¶
type DeviceInterfaceMacAddressArgs struct {
Description pulumi.StringPtrInput `pulumi:"description"`
Id pulumi.IntPtrInput `pulumi:"id"`
MacAddress pulumi.StringPtrInput `pulumi:"macAddress"`
}
func (DeviceInterfaceMacAddressArgs) ElementType ¶
func (DeviceInterfaceMacAddressArgs) ElementType() reflect.Type
func (DeviceInterfaceMacAddressArgs) ToDeviceInterfaceMacAddressOutput ¶
func (i DeviceInterfaceMacAddressArgs) ToDeviceInterfaceMacAddressOutput() DeviceInterfaceMacAddressOutput
func (DeviceInterfaceMacAddressArgs) ToDeviceInterfaceMacAddressOutputWithContext ¶
func (i DeviceInterfaceMacAddressArgs) ToDeviceInterfaceMacAddressOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressOutput
type DeviceInterfaceMacAddressArray ¶
type DeviceInterfaceMacAddressArray []DeviceInterfaceMacAddressInput
func (DeviceInterfaceMacAddressArray) ElementType ¶
func (DeviceInterfaceMacAddressArray) ElementType() reflect.Type
func (DeviceInterfaceMacAddressArray) ToDeviceInterfaceMacAddressArrayOutput ¶
func (i DeviceInterfaceMacAddressArray) ToDeviceInterfaceMacAddressArrayOutput() DeviceInterfaceMacAddressArrayOutput
func (DeviceInterfaceMacAddressArray) ToDeviceInterfaceMacAddressArrayOutputWithContext ¶
func (i DeviceInterfaceMacAddressArray) ToDeviceInterfaceMacAddressArrayOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressArrayOutput
type DeviceInterfaceMacAddressArrayInput ¶
type DeviceInterfaceMacAddressArrayInput interface {
pulumi.Input
ToDeviceInterfaceMacAddressArrayOutput() DeviceInterfaceMacAddressArrayOutput
ToDeviceInterfaceMacAddressArrayOutputWithContext(context.Context) DeviceInterfaceMacAddressArrayOutput
}
DeviceInterfaceMacAddressArrayInput is an input type that accepts DeviceInterfaceMacAddressArray and DeviceInterfaceMacAddressArrayOutput values. You can construct a concrete instance of `DeviceInterfaceMacAddressArrayInput` via:
DeviceInterfaceMacAddressArray{ DeviceInterfaceMacAddressArgs{...} }
type DeviceInterfaceMacAddressArrayOutput ¶
type DeviceInterfaceMacAddressArrayOutput struct{ *pulumi.OutputState }
func (DeviceInterfaceMacAddressArrayOutput) ElementType ¶
func (DeviceInterfaceMacAddressArrayOutput) ElementType() reflect.Type
func (DeviceInterfaceMacAddressArrayOutput) Index ¶
func (o DeviceInterfaceMacAddressArrayOutput) Index(i pulumi.IntInput) DeviceInterfaceMacAddressOutput
func (DeviceInterfaceMacAddressArrayOutput) ToDeviceInterfaceMacAddressArrayOutput ¶
func (o DeviceInterfaceMacAddressArrayOutput) ToDeviceInterfaceMacAddressArrayOutput() DeviceInterfaceMacAddressArrayOutput
func (DeviceInterfaceMacAddressArrayOutput) ToDeviceInterfaceMacAddressArrayOutputWithContext ¶
func (o DeviceInterfaceMacAddressArrayOutput) ToDeviceInterfaceMacAddressArrayOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressArrayOutput
type DeviceInterfaceMacAddressInput ¶
type DeviceInterfaceMacAddressInput interface {
pulumi.Input
ToDeviceInterfaceMacAddressOutput() DeviceInterfaceMacAddressOutput
ToDeviceInterfaceMacAddressOutputWithContext(context.Context) DeviceInterfaceMacAddressOutput
}
DeviceInterfaceMacAddressInput is an input type that accepts DeviceInterfaceMacAddressArgs and DeviceInterfaceMacAddressOutput values. You can construct a concrete instance of `DeviceInterfaceMacAddressInput` via:
DeviceInterfaceMacAddressArgs{...}
type DeviceInterfaceMacAddressOutput ¶
type DeviceInterfaceMacAddressOutput struct{ *pulumi.OutputState }
func (DeviceInterfaceMacAddressOutput) Description ¶
func (o DeviceInterfaceMacAddressOutput) Description() pulumi.StringPtrOutput
func (DeviceInterfaceMacAddressOutput) ElementType ¶
func (DeviceInterfaceMacAddressOutput) ElementType() reflect.Type
func (DeviceInterfaceMacAddressOutput) Id ¶
func (o DeviceInterfaceMacAddressOutput) Id() pulumi.IntPtrOutput
func (DeviceInterfaceMacAddressOutput) MacAddress ¶
func (o DeviceInterfaceMacAddressOutput) MacAddress() pulumi.StringPtrOutput
func (DeviceInterfaceMacAddressOutput) ToDeviceInterfaceMacAddressOutput ¶
func (o DeviceInterfaceMacAddressOutput) ToDeviceInterfaceMacAddressOutput() DeviceInterfaceMacAddressOutput
func (DeviceInterfaceMacAddressOutput) ToDeviceInterfaceMacAddressOutputWithContext ¶
func (o DeviceInterfaceMacAddressOutput) ToDeviceInterfaceMacAddressOutputWithContext(ctx context.Context) DeviceInterfaceMacAddressOutput
type DeviceInterfaceMap ¶
type DeviceInterfaceMap map[string]DeviceInterfaceInput
func (DeviceInterfaceMap) ElementType ¶
func (DeviceInterfaceMap) ElementType() reflect.Type
func (DeviceInterfaceMap) ToDeviceInterfaceMapOutput ¶
func (i DeviceInterfaceMap) ToDeviceInterfaceMapOutput() DeviceInterfaceMapOutput
func (DeviceInterfaceMap) ToDeviceInterfaceMapOutputWithContext ¶
func (i DeviceInterfaceMap) ToDeviceInterfaceMapOutputWithContext(ctx context.Context) DeviceInterfaceMapOutput
type DeviceInterfaceMapInput ¶
type DeviceInterfaceMapInput interface {
pulumi.Input
ToDeviceInterfaceMapOutput() DeviceInterfaceMapOutput
ToDeviceInterfaceMapOutputWithContext(context.Context) DeviceInterfaceMapOutput
}
DeviceInterfaceMapInput is an input type that accepts DeviceInterfaceMap and DeviceInterfaceMapOutput values. You can construct a concrete instance of `DeviceInterfaceMapInput` via:
DeviceInterfaceMap{ "key": DeviceInterfaceArgs{...} }
type DeviceInterfaceMapOutput ¶
type DeviceInterfaceMapOutput struct{ *pulumi.OutputState }
func (DeviceInterfaceMapOutput) ElementType ¶
func (DeviceInterfaceMapOutput) ElementType() reflect.Type
func (DeviceInterfaceMapOutput) MapIndex ¶
func (o DeviceInterfaceMapOutput) MapIndex(k pulumi.StringInput) DeviceInterfaceOutput
func (DeviceInterfaceMapOutput) ToDeviceInterfaceMapOutput ¶
func (o DeviceInterfaceMapOutput) ToDeviceInterfaceMapOutput() DeviceInterfaceMapOutput
func (DeviceInterfaceMapOutput) ToDeviceInterfaceMapOutputWithContext ¶
func (o DeviceInterfaceMapOutput) ToDeviceInterfaceMapOutputWithContext(ctx context.Context) DeviceInterfaceMapOutput
type DeviceInterfaceOutput ¶
type DeviceInterfaceOutput struct{ *pulumi.OutputState }
func (DeviceInterfaceOutput) Description ¶
func (o DeviceInterfaceOutput) Description() pulumi.StringPtrOutput
func (DeviceInterfaceOutput) DeviceId ¶
func (o DeviceInterfaceOutput) DeviceId() pulumi.IntOutput
func (DeviceInterfaceOutput) ElementType ¶
func (DeviceInterfaceOutput) ElementType() reflect.Type
func (DeviceInterfaceOutput) Enabled ¶
func (o DeviceInterfaceOutput) Enabled() pulumi.BoolPtrOutput
Defaults to `true`.
func (DeviceInterfaceOutput) Label ¶
func (o DeviceInterfaceOutput) Label() pulumi.StringPtrOutput
func (DeviceInterfaceOutput) LagDeviceInterfaceId ¶
func (o DeviceInterfaceOutput) LagDeviceInterfaceId() pulumi.IntPtrOutput
If this device is a member of a LAG group, you can reference the LAG interface here.
func (DeviceInterfaceOutput) MacAddress ¶
func (o DeviceInterfaceOutput) MacAddress() pulumi.StringOutput
The MAC address as string from the first MAC address assigned to this interface, if any.
func (DeviceInterfaceOutput) MacAddresses ¶
func (o DeviceInterfaceOutput) MacAddresses() DeviceInterfaceMacAddressArrayOutput
func (DeviceInterfaceOutput) Mgmtonly ¶
func (o DeviceInterfaceOutput) Mgmtonly() pulumi.BoolPtrOutput
func (DeviceInterfaceOutput) Mode ¶
func (o DeviceInterfaceOutput) Mode() pulumi.StringPtrOutput
Valid values are `access`, `tagged`, `tagged-all` and `q-in-q`.
func (DeviceInterfaceOutput) Mtu ¶
func (o DeviceInterfaceOutput) Mtu() pulumi.IntPtrOutput
func (DeviceInterfaceOutput) Name ¶
func (o DeviceInterfaceOutput) Name() pulumi.StringOutput
func (DeviceInterfaceOutput) ParentDeviceInterfaceId ¶
func (o DeviceInterfaceOutput) ParentDeviceInterfaceId() pulumi.IntPtrOutput
The netbox*device*interface id of the parent interface. Useful if this interface is a logical interface.
func (DeviceInterfaceOutput) Speed ¶
func (o DeviceInterfaceOutput) Speed() pulumi.IntPtrOutput
func (DeviceInterfaceOutput) TaggedVlans ¶
func (o DeviceInterfaceOutput) TaggedVlans() pulumi.IntArrayOutput
func (DeviceInterfaceOutput) Tags ¶
func (o DeviceInterfaceOutput) Tags() pulumi.StringArrayOutput
func (DeviceInterfaceOutput) TagsAlls ¶
func (o DeviceInterfaceOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceInterfaceOutput) ToDeviceInterfaceOutput ¶
func (o DeviceInterfaceOutput) ToDeviceInterfaceOutput() DeviceInterfaceOutput
func (DeviceInterfaceOutput) ToDeviceInterfaceOutputWithContext ¶
func (o DeviceInterfaceOutput) ToDeviceInterfaceOutputWithContext(ctx context.Context) DeviceInterfaceOutput
func (DeviceInterfaceOutput) Type ¶
func (o DeviceInterfaceOutput) Type() pulumi.StringOutput
func (DeviceInterfaceOutput) UntaggedVlan ¶
func (o DeviceInterfaceOutput) UntaggedVlan() pulumi.IntPtrOutput
type DeviceInterfaceState ¶
type DeviceInterfaceState struct {
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
// Defaults to `true`.
Enabled pulumi.BoolPtrInput
Label pulumi.StringPtrInput
// If this device is a member of a LAG group, you can reference the LAG interface here.
LagDeviceInterfaceId pulumi.IntPtrInput
// The MAC address as string from the first MAC address assigned to this interface, if any.
MacAddress pulumi.StringPtrInput
MacAddresses DeviceInterfaceMacAddressArrayInput
Mgmtonly pulumi.BoolPtrInput
// Valid values are `access`, `tagged`, `tagged-all` and `q-in-q`.
Mode pulumi.StringPtrInput
Mtu pulumi.IntPtrInput
Name pulumi.StringPtrInput
// The netbox*device*interface id of the parent interface. Useful if this interface is a logical interface.
ParentDeviceInterfaceId pulumi.IntPtrInput
Speed pulumi.IntPtrInput
TaggedVlans pulumi.IntArrayInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
Type pulumi.StringPtrInput
UntaggedVlan pulumi.IntPtrInput
}
func (DeviceInterfaceState) ElementType ¶
func (DeviceInterfaceState) ElementType() reflect.Type
type DeviceMap ¶
type DeviceMap map[string]DeviceInput
func (DeviceMap) ElementType ¶
func (DeviceMap) ToDeviceMapOutput ¶
func (i DeviceMap) ToDeviceMapOutput() DeviceMapOutput
func (DeviceMap) ToDeviceMapOutputWithContext ¶
func (i DeviceMap) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOutput
type DeviceMapInput ¶
type DeviceMapInput interface {
pulumi.Input
ToDeviceMapOutput() DeviceMapOutput
ToDeviceMapOutputWithContext(context.Context) DeviceMapOutput
}
DeviceMapInput is an input type that accepts DeviceMap and DeviceMapOutput values. You can construct a concrete instance of `DeviceMapInput` via:
DeviceMap{ "key": DeviceArgs{...} }
type DeviceMapOutput ¶
type DeviceMapOutput struct{ *pulumi.OutputState }
func (DeviceMapOutput) ElementType ¶
func (DeviceMapOutput) ElementType() reflect.Type
func (DeviceMapOutput) MapIndex ¶
func (o DeviceMapOutput) MapIndex(k pulumi.StringInput) DeviceOutput
func (DeviceMapOutput) ToDeviceMapOutput ¶
func (o DeviceMapOutput) ToDeviceMapOutput() DeviceMapOutput
func (DeviceMapOutput) ToDeviceMapOutputWithContext ¶
func (o DeviceMapOutput) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOutput
type DeviceModuleBay ¶
type DeviceModuleBay struct {
pulumi.CustomResourceState
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
Name pulumi.StringOutput `pulumi:"name"`
Position pulumi.StringPtrOutput `pulumi:"position"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/modulebay/):
> Module bays represent a space or slot within a device in which a field-replaceable module may be installed. A common example is that of a chassis-based switch such as the Cisco Nexus 9000 or Juniper EX9200. Modules in turn hold additional components that become available to the parent device.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDeviceModuleBay(ctx, "test", &dcim.DeviceModuleBayArgs{
DeviceId: test.ID(),
Name: pulumi.String("module bay 1"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceModuleBay ¶
func GetDeviceModuleBay(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceModuleBayState, opts ...pulumi.ResourceOption) (*DeviceModuleBay, error)
GetDeviceModuleBay gets an existing DeviceModuleBay 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 NewDeviceModuleBay ¶
func NewDeviceModuleBay(ctx *pulumi.Context, name string, args *DeviceModuleBayArgs, opts ...pulumi.ResourceOption) (*DeviceModuleBay, error)
NewDeviceModuleBay registers a new resource with the given unique name, arguments, and options.
func (*DeviceModuleBay) ElementType ¶
func (*DeviceModuleBay) ElementType() reflect.Type
func (*DeviceModuleBay) ToDeviceModuleBayOutput ¶
func (i *DeviceModuleBay) ToDeviceModuleBayOutput() DeviceModuleBayOutput
func (*DeviceModuleBay) ToDeviceModuleBayOutputWithContext ¶
func (i *DeviceModuleBay) ToDeviceModuleBayOutputWithContext(ctx context.Context) DeviceModuleBayOutput
type DeviceModuleBayArgs ¶
type DeviceModuleBayArgs struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
Label pulumi.StringPtrInput
Name pulumi.StringPtrInput
Position pulumi.StringPtrInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a DeviceModuleBay resource.
func (DeviceModuleBayArgs) ElementType ¶
func (DeviceModuleBayArgs) ElementType() reflect.Type
type DeviceModuleBayArray ¶
type DeviceModuleBayArray []DeviceModuleBayInput
func (DeviceModuleBayArray) ElementType ¶
func (DeviceModuleBayArray) ElementType() reflect.Type
func (DeviceModuleBayArray) ToDeviceModuleBayArrayOutput ¶
func (i DeviceModuleBayArray) ToDeviceModuleBayArrayOutput() DeviceModuleBayArrayOutput
func (DeviceModuleBayArray) ToDeviceModuleBayArrayOutputWithContext ¶
func (i DeviceModuleBayArray) ToDeviceModuleBayArrayOutputWithContext(ctx context.Context) DeviceModuleBayArrayOutput
type DeviceModuleBayArrayInput ¶
type DeviceModuleBayArrayInput interface {
pulumi.Input
ToDeviceModuleBayArrayOutput() DeviceModuleBayArrayOutput
ToDeviceModuleBayArrayOutputWithContext(context.Context) DeviceModuleBayArrayOutput
}
DeviceModuleBayArrayInput is an input type that accepts DeviceModuleBayArray and DeviceModuleBayArrayOutput values. You can construct a concrete instance of `DeviceModuleBayArrayInput` via:
DeviceModuleBayArray{ DeviceModuleBayArgs{...} }
type DeviceModuleBayArrayOutput ¶
type DeviceModuleBayArrayOutput struct{ *pulumi.OutputState }
func (DeviceModuleBayArrayOutput) ElementType ¶
func (DeviceModuleBayArrayOutput) ElementType() reflect.Type
func (DeviceModuleBayArrayOutput) Index ¶
func (o DeviceModuleBayArrayOutput) Index(i pulumi.IntInput) DeviceModuleBayOutput
func (DeviceModuleBayArrayOutput) ToDeviceModuleBayArrayOutput ¶
func (o DeviceModuleBayArrayOutput) ToDeviceModuleBayArrayOutput() DeviceModuleBayArrayOutput
func (DeviceModuleBayArrayOutput) ToDeviceModuleBayArrayOutputWithContext ¶
func (o DeviceModuleBayArrayOutput) ToDeviceModuleBayArrayOutputWithContext(ctx context.Context) DeviceModuleBayArrayOutput
type DeviceModuleBayInput ¶
type DeviceModuleBayInput interface {
pulumi.Input
ToDeviceModuleBayOutput() DeviceModuleBayOutput
ToDeviceModuleBayOutputWithContext(ctx context.Context) DeviceModuleBayOutput
}
type DeviceModuleBayMap ¶
type DeviceModuleBayMap map[string]DeviceModuleBayInput
func (DeviceModuleBayMap) ElementType ¶
func (DeviceModuleBayMap) ElementType() reflect.Type
func (DeviceModuleBayMap) ToDeviceModuleBayMapOutput ¶
func (i DeviceModuleBayMap) ToDeviceModuleBayMapOutput() DeviceModuleBayMapOutput
func (DeviceModuleBayMap) ToDeviceModuleBayMapOutputWithContext ¶
func (i DeviceModuleBayMap) ToDeviceModuleBayMapOutputWithContext(ctx context.Context) DeviceModuleBayMapOutput
type DeviceModuleBayMapInput ¶
type DeviceModuleBayMapInput interface {
pulumi.Input
ToDeviceModuleBayMapOutput() DeviceModuleBayMapOutput
ToDeviceModuleBayMapOutputWithContext(context.Context) DeviceModuleBayMapOutput
}
DeviceModuleBayMapInput is an input type that accepts DeviceModuleBayMap and DeviceModuleBayMapOutput values. You can construct a concrete instance of `DeviceModuleBayMapInput` via:
DeviceModuleBayMap{ "key": DeviceModuleBayArgs{...} }
type DeviceModuleBayMapOutput ¶
type DeviceModuleBayMapOutput struct{ *pulumi.OutputState }
func (DeviceModuleBayMapOutput) ElementType ¶
func (DeviceModuleBayMapOutput) ElementType() reflect.Type
func (DeviceModuleBayMapOutput) MapIndex ¶
func (o DeviceModuleBayMapOutput) MapIndex(k pulumi.StringInput) DeviceModuleBayOutput
func (DeviceModuleBayMapOutput) ToDeviceModuleBayMapOutput ¶
func (o DeviceModuleBayMapOutput) ToDeviceModuleBayMapOutput() DeviceModuleBayMapOutput
func (DeviceModuleBayMapOutput) ToDeviceModuleBayMapOutputWithContext ¶
func (o DeviceModuleBayMapOutput) ToDeviceModuleBayMapOutputWithContext(ctx context.Context) DeviceModuleBayMapOutput
type DeviceModuleBayOutput ¶
type DeviceModuleBayOutput struct{ *pulumi.OutputState }
func (DeviceModuleBayOutput) CustomFields ¶
func (o DeviceModuleBayOutput) CustomFields() pulumi.StringMapOutput
func (DeviceModuleBayOutput) Description ¶
func (o DeviceModuleBayOutput) Description() pulumi.StringPtrOutput
func (DeviceModuleBayOutput) DeviceId ¶
func (o DeviceModuleBayOutput) DeviceId() pulumi.IntOutput
func (DeviceModuleBayOutput) ElementType ¶
func (DeviceModuleBayOutput) ElementType() reflect.Type
func (DeviceModuleBayOutput) Label ¶
func (o DeviceModuleBayOutput) Label() pulumi.StringPtrOutput
func (DeviceModuleBayOutput) Name ¶
func (o DeviceModuleBayOutput) Name() pulumi.StringOutput
func (DeviceModuleBayOutput) Position ¶
func (o DeviceModuleBayOutput) Position() pulumi.StringPtrOutput
func (DeviceModuleBayOutput) Tags ¶
func (o DeviceModuleBayOutput) Tags() pulumi.StringArrayOutput
func (DeviceModuleBayOutput) TagsAlls ¶
func (o DeviceModuleBayOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceModuleBayOutput) ToDeviceModuleBayOutput ¶
func (o DeviceModuleBayOutput) ToDeviceModuleBayOutput() DeviceModuleBayOutput
func (DeviceModuleBayOutput) ToDeviceModuleBayOutputWithContext ¶
func (o DeviceModuleBayOutput) ToDeviceModuleBayOutputWithContext(ctx context.Context) DeviceModuleBayOutput
type DeviceModuleBayState ¶
type DeviceModuleBayState struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
Label pulumi.StringPtrInput
Name pulumi.StringPtrInput
Position pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (DeviceModuleBayState) ElementType ¶
func (DeviceModuleBayState) ElementType() reflect.Type
type DeviceOutput ¶
type DeviceOutput struct{ *pulumi.OutputState }
func (DeviceOutput) AssetTag ¶
func (o DeviceOutput) AssetTag() pulumi.StringPtrOutput
func (DeviceOutput) ClusterId ¶
func (o DeviceOutput) ClusterId() pulumi.IntPtrOutput
func (DeviceOutput) Comments ¶
func (o DeviceOutput) Comments() pulumi.StringPtrOutput
func (DeviceOutput) ConfigTemplateId ¶
func (o DeviceOutput) ConfigTemplateId() pulumi.IntPtrOutput
func (DeviceOutput) CustomFields ¶
func (o DeviceOutput) CustomFields() pulumi.StringMapOutput
func (DeviceOutput) Description ¶
func (o DeviceOutput) Description() pulumi.StringPtrOutput
func (DeviceOutput) DeviceTypeId ¶
func (o DeviceOutput) DeviceTypeId() pulumi.IntOutput
func (DeviceOutput) ElementType ¶
func (DeviceOutput) ElementType() reflect.Type
func (DeviceOutput) LocalContextData ¶
func (o DeviceOutput) LocalContextData() pulumi.StringPtrOutput
This is best managed through the use of `jsonencode` and a map of settings.
func (DeviceOutput) LocationId ¶
func (o DeviceOutput) LocationId() pulumi.IntPtrOutput
func (DeviceOutput) Name ¶
func (o DeviceOutput) Name() pulumi.StringOutput
func (DeviceOutput) PlatformId ¶
func (o DeviceOutput) PlatformId() pulumi.IntPtrOutput
func (DeviceOutput) PrimaryIpv4 ¶
func (o DeviceOutput) PrimaryIpv4() pulumi.IntOutput
func (DeviceOutput) PrimaryIpv6 ¶
func (o DeviceOutput) PrimaryIpv6() pulumi.IntOutput
func (DeviceOutput) RackFace ¶
func (o DeviceOutput) RackFace() pulumi.StringPtrOutput
Valid values are `front` and `rear`. Required when `rackPosition` is set.
func (DeviceOutput) RackId ¶
func (o DeviceOutput) RackId() pulumi.IntPtrOutput
func (DeviceOutput) RackPosition ¶
func (o DeviceOutput) RackPosition() pulumi.Float64PtrOutput
func (DeviceOutput) RoleId ¶
func (o DeviceOutput) RoleId() pulumi.IntOutput
func (DeviceOutput) Serial ¶
func (o DeviceOutput) Serial() pulumi.StringPtrOutput
func (DeviceOutput) SiteId ¶
func (o DeviceOutput) SiteId() pulumi.IntOutput
func (DeviceOutput) Status ¶
func (o DeviceOutput) Status() pulumi.StringPtrOutput
Valid values are `offline`, `active`, `planned`, `staged`, `failed`, `inventory` and `decommissioning`. Defaults to `active`.
func (DeviceOutput) Tags ¶
func (o DeviceOutput) Tags() pulumi.StringArrayOutput
func (DeviceOutput) TagsAlls ¶
func (o DeviceOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceOutput) TenantId ¶
func (o DeviceOutput) TenantId() pulumi.IntPtrOutput
func (DeviceOutput) ToDeviceOutput ¶
func (o DeviceOutput) ToDeviceOutput() DeviceOutput
func (DeviceOutput) ToDeviceOutputWithContext ¶
func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
func (DeviceOutput) VirtualChassisId ¶
func (o DeviceOutput) VirtualChassisId() pulumi.IntPtrOutput
Required when `virtualChassisMaster` and `virtualChassisId` is set.
func (DeviceOutput) VirtualChassisMaster ¶
func (o DeviceOutput) VirtualChassisMaster() pulumi.BoolPtrOutput
Required when `virtualChassisMaster` and `virtualChassisId` is set.
func (DeviceOutput) VirtualChassisPosition ¶
func (o DeviceOutput) VirtualChassisPosition() pulumi.IntPtrOutput
func (DeviceOutput) VirtualChassisPriority ¶
func (o DeviceOutput) VirtualChassisPriority() pulumi.IntPtrOutput
type DevicePowerOutlet ¶
type DevicePowerOutlet struct {
pulumi.CustomResourceState
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
// One of [A, B, C].
FeedLeg pulumi.StringPtrOutput `pulumi:"feedLeg"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
ModuleId pulumi.IntPtrOutput `pulumi:"moduleId"`
Name pulumi.StringOutput `pulumi:"name"`
PowerPortId pulumi.IntPtrOutput `pulumi:"powerPortId"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Type pulumi.StringPtrOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/poweroutlet/):
> Power outlets represent the outlets on a power distribution unit (PDU) or other device that supplies power to dependent devices. Each power port may be assigned a physical type, and may be associated with a specific feed leg (where three-phase power is used) and/or a specific upstream power port. This association can be used to model the distribution of power within a device.
For example, imagine a PDU with one power port which draws from a three-phase feed and 48 power outlets arranged into three banks of 16 outlets each. Outlets 1-16 would be associated with leg A on the port, and outlets 17-32 and 33-48 would be associated with legs B and C, respectively.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDevicePowerOutlet(ctx, "test", &dcim.DevicePowerOutletArgs{
DeviceId: test.ID(),
Name: pulumi.String("power outlet"),
Type: pulumi.String("iec-60320-c5"),
FeedLeg: pulumi.String("A"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDevicePowerOutlet ¶
func GetDevicePowerOutlet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DevicePowerOutletState, opts ...pulumi.ResourceOption) (*DevicePowerOutlet, error)
GetDevicePowerOutlet gets an existing DevicePowerOutlet 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 NewDevicePowerOutlet ¶
func NewDevicePowerOutlet(ctx *pulumi.Context, name string, args *DevicePowerOutletArgs, opts ...pulumi.ResourceOption) (*DevicePowerOutlet, error)
NewDevicePowerOutlet registers a new resource with the given unique name, arguments, and options.
func (*DevicePowerOutlet) ElementType ¶
func (*DevicePowerOutlet) ElementType() reflect.Type
func (*DevicePowerOutlet) ToDevicePowerOutletOutput ¶
func (i *DevicePowerOutlet) ToDevicePowerOutletOutput() DevicePowerOutletOutput
func (*DevicePowerOutlet) ToDevicePowerOutletOutputWithContext ¶
func (i *DevicePowerOutlet) ToDevicePowerOutletOutputWithContext(ctx context.Context) DevicePowerOutletOutput
type DevicePowerOutletArgs ¶
type DevicePowerOutletArgs struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
// One of [A, B, C].
FeedLeg pulumi.StringPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
PowerPortId pulumi.IntPtrInput
Tags pulumi.StringArrayInput
// One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Type pulumi.StringPtrInput
}
The set of arguments for constructing a DevicePowerOutlet resource.
func (DevicePowerOutletArgs) ElementType ¶
func (DevicePowerOutletArgs) ElementType() reflect.Type
type DevicePowerOutletArray ¶
type DevicePowerOutletArray []DevicePowerOutletInput
func (DevicePowerOutletArray) ElementType ¶
func (DevicePowerOutletArray) ElementType() reflect.Type
func (DevicePowerOutletArray) ToDevicePowerOutletArrayOutput ¶
func (i DevicePowerOutletArray) ToDevicePowerOutletArrayOutput() DevicePowerOutletArrayOutput
func (DevicePowerOutletArray) ToDevicePowerOutletArrayOutputWithContext ¶
func (i DevicePowerOutletArray) ToDevicePowerOutletArrayOutputWithContext(ctx context.Context) DevicePowerOutletArrayOutput
type DevicePowerOutletArrayInput ¶
type DevicePowerOutletArrayInput interface {
pulumi.Input
ToDevicePowerOutletArrayOutput() DevicePowerOutletArrayOutput
ToDevicePowerOutletArrayOutputWithContext(context.Context) DevicePowerOutletArrayOutput
}
DevicePowerOutletArrayInput is an input type that accepts DevicePowerOutletArray and DevicePowerOutletArrayOutput values. You can construct a concrete instance of `DevicePowerOutletArrayInput` via:
DevicePowerOutletArray{ DevicePowerOutletArgs{...} }
type DevicePowerOutletArrayOutput ¶
type DevicePowerOutletArrayOutput struct{ *pulumi.OutputState }
func (DevicePowerOutletArrayOutput) ElementType ¶
func (DevicePowerOutletArrayOutput) ElementType() reflect.Type
func (DevicePowerOutletArrayOutput) Index ¶
func (o DevicePowerOutletArrayOutput) Index(i pulumi.IntInput) DevicePowerOutletOutput
func (DevicePowerOutletArrayOutput) ToDevicePowerOutletArrayOutput ¶
func (o DevicePowerOutletArrayOutput) ToDevicePowerOutletArrayOutput() DevicePowerOutletArrayOutput
func (DevicePowerOutletArrayOutput) ToDevicePowerOutletArrayOutputWithContext ¶
func (o DevicePowerOutletArrayOutput) ToDevicePowerOutletArrayOutputWithContext(ctx context.Context) DevicePowerOutletArrayOutput
type DevicePowerOutletInput ¶
type DevicePowerOutletInput interface {
pulumi.Input
ToDevicePowerOutletOutput() DevicePowerOutletOutput
ToDevicePowerOutletOutputWithContext(ctx context.Context) DevicePowerOutletOutput
}
type DevicePowerOutletMap ¶
type DevicePowerOutletMap map[string]DevicePowerOutletInput
func (DevicePowerOutletMap) ElementType ¶
func (DevicePowerOutletMap) ElementType() reflect.Type
func (DevicePowerOutletMap) ToDevicePowerOutletMapOutput ¶
func (i DevicePowerOutletMap) ToDevicePowerOutletMapOutput() DevicePowerOutletMapOutput
func (DevicePowerOutletMap) ToDevicePowerOutletMapOutputWithContext ¶
func (i DevicePowerOutletMap) ToDevicePowerOutletMapOutputWithContext(ctx context.Context) DevicePowerOutletMapOutput
type DevicePowerOutletMapInput ¶
type DevicePowerOutletMapInput interface {
pulumi.Input
ToDevicePowerOutletMapOutput() DevicePowerOutletMapOutput
ToDevicePowerOutletMapOutputWithContext(context.Context) DevicePowerOutletMapOutput
}
DevicePowerOutletMapInput is an input type that accepts DevicePowerOutletMap and DevicePowerOutletMapOutput values. You can construct a concrete instance of `DevicePowerOutletMapInput` via:
DevicePowerOutletMap{ "key": DevicePowerOutletArgs{...} }
type DevicePowerOutletMapOutput ¶
type DevicePowerOutletMapOutput struct{ *pulumi.OutputState }
func (DevicePowerOutletMapOutput) ElementType ¶
func (DevicePowerOutletMapOutput) ElementType() reflect.Type
func (DevicePowerOutletMapOutput) MapIndex ¶
func (o DevicePowerOutletMapOutput) MapIndex(k pulumi.StringInput) DevicePowerOutletOutput
func (DevicePowerOutletMapOutput) ToDevicePowerOutletMapOutput ¶
func (o DevicePowerOutletMapOutput) ToDevicePowerOutletMapOutput() DevicePowerOutletMapOutput
func (DevicePowerOutletMapOutput) ToDevicePowerOutletMapOutputWithContext ¶
func (o DevicePowerOutletMapOutput) ToDevicePowerOutletMapOutputWithContext(ctx context.Context) DevicePowerOutletMapOutput
type DevicePowerOutletOutput ¶
type DevicePowerOutletOutput struct{ *pulumi.OutputState }
func (DevicePowerOutletOutput) CustomFields ¶
func (o DevicePowerOutletOutput) CustomFields() pulumi.StringMapOutput
func (DevicePowerOutletOutput) Description ¶
func (o DevicePowerOutletOutput) Description() pulumi.StringPtrOutput
func (DevicePowerOutletOutput) DeviceId ¶
func (o DevicePowerOutletOutput) DeviceId() pulumi.IntOutput
func (DevicePowerOutletOutput) ElementType ¶
func (DevicePowerOutletOutput) ElementType() reflect.Type
func (DevicePowerOutletOutput) FeedLeg ¶
func (o DevicePowerOutletOutput) FeedLeg() pulumi.StringPtrOutput
One of [A, B, C].
func (DevicePowerOutletOutput) Label ¶
func (o DevicePowerOutletOutput) Label() pulumi.StringPtrOutput
func (DevicePowerOutletOutput) MarkConnected ¶
func (o DevicePowerOutletOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (DevicePowerOutletOutput) ModuleId ¶
func (o DevicePowerOutletOutput) ModuleId() pulumi.IntPtrOutput
func (DevicePowerOutletOutput) Name ¶
func (o DevicePowerOutletOutput) Name() pulumi.StringOutput
func (DevicePowerOutletOutput) PowerPortId ¶
func (o DevicePowerOutletOutput) PowerPortId() pulumi.IntPtrOutput
func (DevicePowerOutletOutput) Tags ¶
func (o DevicePowerOutletOutput) Tags() pulumi.StringArrayOutput
func (DevicePowerOutletOutput) TagsAlls ¶
func (o DevicePowerOutletOutput) TagsAlls() pulumi.StringArrayOutput
func (DevicePowerOutletOutput) ToDevicePowerOutletOutput ¶
func (o DevicePowerOutletOutput) ToDevicePowerOutletOutput() DevicePowerOutletOutput
func (DevicePowerOutletOutput) ToDevicePowerOutletOutputWithContext ¶
func (o DevicePowerOutletOutput) ToDevicePowerOutletOutputWithContext(ctx context.Context) DevicePowerOutletOutput
func (DevicePowerOutletOutput) Type ¶
func (o DevicePowerOutletOutput) Type() pulumi.StringPtrOutput
One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
type DevicePowerOutletState ¶
type DevicePowerOutletState struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
// One of [A, B, C].
FeedLeg pulumi.StringPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
PowerPortId pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Type pulumi.StringPtrInput
}
func (DevicePowerOutletState) ElementType ¶
func (DevicePowerOutletState) ElementType() reflect.Type
type DevicePowerPort ¶
type DevicePowerPort struct {
pulumi.CustomResourceState
AllocatedDraw pulumi.IntPtrOutput `pulumi:"allocatedDraw"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
MaximumDraw pulumi.IntPtrOutput `pulumi:"maximumDraw"`
ModuleId pulumi.IntPtrOutput `pulumi:"moduleId"`
Name pulumi.StringOutput `pulumi:"name"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [iec-60320-c6, iec-60320-c8, iec-60320-c14, iec-60320-c16, iec-60320-c20, iec-60320-c22, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15p, nema-5-15p, nema-5-20p, nema-5-30p, nema-5-50p, nema-6-15p, nema-6-20p, nema-6-30p, nema-6-50p, nema-10-30p, nema-10-50p, nema-14-20p, nema-14-30p, nema-14-50p, nema-14-60p, nema-15-15p, nema-15-20p, nema-15-30p, nema-15-50p, nema-15-60p, nema-l1-15p, nema-l5-15p, nema-l5-20p, nema-l5-30p, nema-l5-50p, nema-l6-15p, nema-l6-20p, nema-l6-30p, nema-l6-50p, nema-l10-30p, nema-l14-20p, nema-l14-30p, nema-l14-50p, nema-l14-60p, nema-l15-20p, nema-l15-30p, nema-l15-50p, nema-l15-60p, nema-l21-20p, nema-l21-30p, nema-l22-30p, cs6361c, cs6365c, cs8165c, cs8265c, cs8365c, cs8465c, ita-c, ita-e, ita-f, ita-ef, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, usb-3-b, usb-3-micro-b, dc-terminal, saf-d-grid, neutrik-powercon-20, neutrik-powercon-32, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Type pulumi.StringPtrOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/powerport/):
> A power port is a device component which draws power from some external source (e.g. an upstream power outlet), and generally represents a power supply internal to a device.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDevicePowerPort(ctx, "test", &dcim.DevicePowerPortArgs{
DeviceId: test.ID(),
Name: pulumi.String("power port"),
MaximumDraw: pulumi.Int(750),
AllocatedDraw: pulumi.Int(500),
Type: pulumi.String("iec-60320-c6"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDevicePowerPort ¶
func GetDevicePowerPort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DevicePowerPortState, opts ...pulumi.ResourceOption) (*DevicePowerPort, error)
GetDevicePowerPort gets an existing DevicePowerPort 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 NewDevicePowerPort ¶
func NewDevicePowerPort(ctx *pulumi.Context, name string, args *DevicePowerPortArgs, opts ...pulumi.ResourceOption) (*DevicePowerPort, error)
NewDevicePowerPort registers a new resource with the given unique name, arguments, and options.
func (*DevicePowerPort) ElementType ¶
func (*DevicePowerPort) ElementType() reflect.Type
func (*DevicePowerPort) ToDevicePowerPortOutput ¶
func (i *DevicePowerPort) ToDevicePowerPortOutput() DevicePowerPortOutput
func (*DevicePowerPort) ToDevicePowerPortOutputWithContext ¶
func (i *DevicePowerPort) ToDevicePowerPortOutputWithContext(ctx context.Context) DevicePowerPortOutput
type DevicePowerPortArgs ¶
type DevicePowerPortArgs struct {
AllocatedDraw pulumi.IntPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
MaximumDraw pulumi.IntPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Tags pulumi.StringArrayInput
// One of [iec-60320-c6, iec-60320-c8, iec-60320-c14, iec-60320-c16, iec-60320-c20, iec-60320-c22, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15p, nema-5-15p, nema-5-20p, nema-5-30p, nema-5-50p, nema-6-15p, nema-6-20p, nema-6-30p, nema-6-50p, nema-10-30p, nema-10-50p, nema-14-20p, nema-14-30p, nema-14-50p, nema-14-60p, nema-15-15p, nema-15-20p, nema-15-30p, nema-15-50p, nema-15-60p, nema-l1-15p, nema-l5-15p, nema-l5-20p, nema-l5-30p, nema-l5-50p, nema-l6-15p, nema-l6-20p, nema-l6-30p, nema-l6-50p, nema-l10-30p, nema-l14-20p, nema-l14-30p, nema-l14-50p, nema-l14-60p, nema-l15-20p, nema-l15-30p, nema-l15-50p, nema-l15-60p, nema-l21-20p, nema-l21-30p, nema-l22-30p, cs6361c, cs6365c, cs8165c, cs8265c, cs8365c, cs8465c, ita-c, ita-e, ita-f, ita-ef, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, usb-3-b, usb-3-micro-b, dc-terminal, saf-d-grid, neutrik-powercon-20, neutrik-powercon-32, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Type pulumi.StringPtrInput
}
The set of arguments for constructing a DevicePowerPort resource.
func (DevicePowerPortArgs) ElementType ¶
func (DevicePowerPortArgs) ElementType() reflect.Type
type DevicePowerPortArray ¶
type DevicePowerPortArray []DevicePowerPortInput
func (DevicePowerPortArray) ElementType ¶
func (DevicePowerPortArray) ElementType() reflect.Type
func (DevicePowerPortArray) ToDevicePowerPortArrayOutput ¶
func (i DevicePowerPortArray) ToDevicePowerPortArrayOutput() DevicePowerPortArrayOutput
func (DevicePowerPortArray) ToDevicePowerPortArrayOutputWithContext ¶
func (i DevicePowerPortArray) ToDevicePowerPortArrayOutputWithContext(ctx context.Context) DevicePowerPortArrayOutput
type DevicePowerPortArrayInput ¶
type DevicePowerPortArrayInput interface {
pulumi.Input
ToDevicePowerPortArrayOutput() DevicePowerPortArrayOutput
ToDevicePowerPortArrayOutputWithContext(context.Context) DevicePowerPortArrayOutput
}
DevicePowerPortArrayInput is an input type that accepts DevicePowerPortArray and DevicePowerPortArrayOutput values. You can construct a concrete instance of `DevicePowerPortArrayInput` via:
DevicePowerPortArray{ DevicePowerPortArgs{...} }
type DevicePowerPortArrayOutput ¶
type DevicePowerPortArrayOutput struct{ *pulumi.OutputState }
func (DevicePowerPortArrayOutput) ElementType ¶
func (DevicePowerPortArrayOutput) ElementType() reflect.Type
func (DevicePowerPortArrayOutput) Index ¶
func (o DevicePowerPortArrayOutput) Index(i pulumi.IntInput) DevicePowerPortOutput
func (DevicePowerPortArrayOutput) ToDevicePowerPortArrayOutput ¶
func (o DevicePowerPortArrayOutput) ToDevicePowerPortArrayOutput() DevicePowerPortArrayOutput
func (DevicePowerPortArrayOutput) ToDevicePowerPortArrayOutputWithContext ¶
func (o DevicePowerPortArrayOutput) ToDevicePowerPortArrayOutputWithContext(ctx context.Context) DevicePowerPortArrayOutput
type DevicePowerPortInput ¶
type DevicePowerPortInput interface {
pulumi.Input
ToDevicePowerPortOutput() DevicePowerPortOutput
ToDevicePowerPortOutputWithContext(ctx context.Context) DevicePowerPortOutput
}
type DevicePowerPortMap ¶
type DevicePowerPortMap map[string]DevicePowerPortInput
func (DevicePowerPortMap) ElementType ¶
func (DevicePowerPortMap) ElementType() reflect.Type
func (DevicePowerPortMap) ToDevicePowerPortMapOutput ¶
func (i DevicePowerPortMap) ToDevicePowerPortMapOutput() DevicePowerPortMapOutput
func (DevicePowerPortMap) ToDevicePowerPortMapOutputWithContext ¶
func (i DevicePowerPortMap) ToDevicePowerPortMapOutputWithContext(ctx context.Context) DevicePowerPortMapOutput
type DevicePowerPortMapInput ¶
type DevicePowerPortMapInput interface {
pulumi.Input
ToDevicePowerPortMapOutput() DevicePowerPortMapOutput
ToDevicePowerPortMapOutputWithContext(context.Context) DevicePowerPortMapOutput
}
DevicePowerPortMapInput is an input type that accepts DevicePowerPortMap and DevicePowerPortMapOutput values. You can construct a concrete instance of `DevicePowerPortMapInput` via:
DevicePowerPortMap{ "key": DevicePowerPortArgs{...} }
type DevicePowerPortMapOutput ¶
type DevicePowerPortMapOutput struct{ *pulumi.OutputState }
func (DevicePowerPortMapOutput) ElementType ¶
func (DevicePowerPortMapOutput) ElementType() reflect.Type
func (DevicePowerPortMapOutput) MapIndex ¶
func (o DevicePowerPortMapOutput) MapIndex(k pulumi.StringInput) DevicePowerPortOutput
func (DevicePowerPortMapOutput) ToDevicePowerPortMapOutput ¶
func (o DevicePowerPortMapOutput) ToDevicePowerPortMapOutput() DevicePowerPortMapOutput
func (DevicePowerPortMapOutput) ToDevicePowerPortMapOutputWithContext ¶
func (o DevicePowerPortMapOutput) ToDevicePowerPortMapOutputWithContext(ctx context.Context) DevicePowerPortMapOutput
type DevicePowerPortOutput ¶
type DevicePowerPortOutput struct{ *pulumi.OutputState }
func (DevicePowerPortOutput) AllocatedDraw ¶
func (o DevicePowerPortOutput) AllocatedDraw() pulumi.IntPtrOutput
func (DevicePowerPortOutput) CustomFields ¶
func (o DevicePowerPortOutput) CustomFields() pulumi.StringMapOutput
func (DevicePowerPortOutput) Description ¶
func (o DevicePowerPortOutput) Description() pulumi.StringPtrOutput
func (DevicePowerPortOutput) DeviceId ¶
func (o DevicePowerPortOutput) DeviceId() pulumi.IntOutput
func (DevicePowerPortOutput) ElementType ¶
func (DevicePowerPortOutput) ElementType() reflect.Type
func (DevicePowerPortOutput) Label ¶
func (o DevicePowerPortOutput) Label() pulumi.StringPtrOutput
func (DevicePowerPortOutput) MarkConnected ¶
func (o DevicePowerPortOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (DevicePowerPortOutput) MaximumDraw ¶
func (o DevicePowerPortOutput) MaximumDraw() pulumi.IntPtrOutput
func (DevicePowerPortOutput) ModuleId ¶
func (o DevicePowerPortOutput) ModuleId() pulumi.IntPtrOutput
func (DevicePowerPortOutput) Name ¶
func (o DevicePowerPortOutput) Name() pulumi.StringOutput
func (DevicePowerPortOutput) Tags ¶
func (o DevicePowerPortOutput) Tags() pulumi.StringArrayOutput
func (DevicePowerPortOutput) TagsAlls ¶
func (o DevicePowerPortOutput) TagsAlls() pulumi.StringArrayOutput
func (DevicePowerPortOutput) ToDevicePowerPortOutput ¶
func (o DevicePowerPortOutput) ToDevicePowerPortOutput() DevicePowerPortOutput
func (DevicePowerPortOutput) ToDevicePowerPortOutputWithContext ¶
func (o DevicePowerPortOutput) ToDevicePowerPortOutputWithContext(ctx context.Context) DevicePowerPortOutput
func (DevicePowerPortOutput) Type ¶
func (o DevicePowerPortOutput) Type() pulumi.StringPtrOutput
One of [iec-60320-c6, iec-60320-c8, iec-60320-c14, iec-60320-c16, iec-60320-c20, iec-60320-c22, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15p, nema-5-15p, nema-5-20p, nema-5-30p, nema-5-50p, nema-6-15p, nema-6-20p, nema-6-30p, nema-6-50p, nema-10-30p, nema-10-50p, nema-14-20p, nema-14-30p, nema-14-50p, nema-14-60p, nema-15-15p, nema-15-20p, nema-15-30p, nema-15-50p, nema-15-60p, nema-l1-15p, nema-l5-15p, nema-l5-20p, nema-l5-30p, nema-l5-50p, nema-l6-15p, nema-l6-20p, nema-l6-30p, nema-l6-50p, nema-l10-30p, nema-l14-20p, nema-l14-30p, nema-l14-50p, nema-l14-60p, nema-l15-20p, nema-l15-30p, nema-l15-50p, nema-l15-60p, nema-l21-20p, nema-l21-30p, nema-l22-30p, cs6361c, cs6365c, cs8165c, cs8265c, cs8365c, cs8465c, ita-c, ita-e, ita-f, ita-ef, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, usb-3-b, usb-3-micro-b, dc-terminal, saf-d-grid, neutrik-powercon-20, neutrik-powercon-32, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
type DevicePowerPortState ¶
type DevicePowerPortState struct {
AllocatedDraw pulumi.IntPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
MaximumDraw pulumi.IntPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [iec-60320-c6, iec-60320-c8, iec-60320-c14, iec-60320-c16, iec-60320-c20, iec-60320-c22, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15p, nema-5-15p, nema-5-20p, nema-5-30p, nema-5-50p, nema-6-15p, nema-6-20p, nema-6-30p, nema-6-50p, nema-10-30p, nema-10-50p, nema-14-20p, nema-14-30p, nema-14-50p, nema-14-60p, nema-15-15p, nema-15-20p, nema-15-30p, nema-15-50p, nema-15-60p, nema-l1-15p, nema-l5-15p, nema-l5-20p, nema-l5-30p, nema-l5-50p, nema-l6-15p, nema-l6-20p, nema-l6-30p, nema-l6-50p, nema-l10-30p, nema-l14-20p, nema-l14-30p, nema-l14-50p, nema-l14-60p, nema-l15-20p, nema-l15-30p, nema-l15-50p, nema-l15-60p, nema-l21-20p, nema-l21-30p, nema-l22-30p, cs6361c, cs6365c, cs8165c, cs8265c, cs8365c, cs8465c, ita-c, ita-e, ita-f, ita-ef, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, usb-a, usb-b, usb-c, usb-mini-a, usb-mini-b, usb-micro-a, usb-micro-b, usb-micro-ab, usb-3-b, usb-3-micro-b, dc-terminal, saf-d-grid, neutrik-powercon-20, neutrik-powercon-32, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Type pulumi.StringPtrInput
}
func (DevicePowerPortState) ElementType ¶
func (DevicePowerPortState) ElementType() reflect.Type
type DevicePrimaryIp ¶
type DevicePrimaryIp struct {
pulumi.CustomResourceState
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
IpAddressId pulumi.IntOutput `pulumi:"ipAddressId"`
// Defaults to `4`.
IpAddressVersion pulumi.IntPtrOutput `pulumi:"ipAddressVersion"`
}
This resource is used to define the primary IP for a given device. The primary IP is reflected in the device Netbox UI, which identifies the Primary IPv4 and IPv6 addresses.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/ipam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = ipam.NewIpAddress(ctx, "test_v4", &ipam.IpAddressArgs{
IpAddress: pulumi.String("1.1.1.1/32"),
Status: pulumi.String("active"),
DeviceInterfaceId: pulumi.Any(testNetboxDeviceInterface.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDevicePrimaryIp(ctx, "test_v4", &dcim.DevicePrimaryIpArgs{
DeviceId: test.ID(),
IpAddressId: pulumi.Any(testNetboxIpAddress.Id),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDevicePrimaryIp ¶
func GetDevicePrimaryIp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DevicePrimaryIpState, opts ...pulumi.ResourceOption) (*DevicePrimaryIp, error)
GetDevicePrimaryIp gets an existing DevicePrimaryIp 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 NewDevicePrimaryIp ¶
func NewDevicePrimaryIp(ctx *pulumi.Context, name string, args *DevicePrimaryIpArgs, opts ...pulumi.ResourceOption) (*DevicePrimaryIp, error)
NewDevicePrimaryIp registers a new resource with the given unique name, arguments, and options.
func (*DevicePrimaryIp) ElementType ¶
func (*DevicePrimaryIp) ElementType() reflect.Type
func (*DevicePrimaryIp) ToDevicePrimaryIpOutput ¶
func (i *DevicePrimaryIp) ToDevicePrimaryIpOutput() DevicePrimaryIpOutput
func (*DevicePrimaryIp) ToDevicePrimaryIpOutputWithContext ¶
func (i *DevicePrimaryIp) ToDevicePrimaryIpOutputWithContext(ctx context.Context) DevicePrimaryIpOutput
type DevicePrimaryIpArgs ¶
type DevicePrimaryIpArgs struct {
DeviceId pulumi.IntInput
IpAddressId pulumi.IntInput
// Defaults to `4`.
IpAddressVersion pulumi.IntPtrInput
}
The set of arguments for constructing a DevicePrimaryIp resource.
func (DevicePrimaryIpArgs) ElementType ¶
func (DevicePrimaryIpArgs) ElementType() reflect.Type
type DevicePrimaryIpArray ¶
type DevicePrimaryIpArray []DevicePrimaryIpInput
func (DevicePrimaryIpArray) ElementType ¶
func (DevicePrimaryIpArray) ElementType() reflect.Type
func (DevicePrimaryIpArray) ToDevicePrimaryIpArrayOutput ¶
func (i DevicePrimaryIpArray) ToDevicePrimaryIpArrayOutput() DevicePrimaryIpArrayOutput
func (DevicePrimaryIpArray) ToDevicePrimaryIpArrayOutputWithContext ¶
func (i DevicePrimaryIpArray) ToDevicePrimaryIpArrayOutputWithContext(ctx context.Context) DevicePrimaryIpArrayOutput
type DevicePrimaryIpArrayInput ¶
type DevicePrimaryIpArrayInput interface {
pulumi.Input
ToDevicePrimaryIpArrayOutput() DevicePrimaryIpArrayOutput
ToDevicePrimaryIpArrayOutputWithContext(context.Context) DevicePrimaryIpArrayOutput
}
DevicePrimaryIpArrayInput is an input type that accepts DevicePrimaryIpArray and DevicePrimaryIpArrayOutput values. You can construct a concrete instance of `DevicePrimaryIpArrayInput` via:
DevicePrimaryIpArray{ DevicePrimaryIpArgs{...} }
type DevicePrimaryIpArrayOutput ¶
type DevicePrimaryIpArrayOutput struct{ *pulumi.OutputState }
func (DevicePrimaryIpArrayOutput) ElementType ¶
func (DevicePrimaryIpArrayOutput) ElementType() reflect.Type
func (DevicePrimaryIpArrayOutput) Index ¶
func (o DevicePrimaryIpArrayOutput) Index(i pulumi.IntInput) DevicePrimaryIpOutput
func (DevicePrimaryIpArrayOutput) ToDevicePrimaryIpArrayOutput ¶
func (o DevicePrimaryIpArrayOutput) ToDevicePrimaryIpArrayOutput() DevicePrimaryIpArrayOutput
func (DevicePrimaryIpArrayOutput) ToDevicePrimaryIpArrayOutputWithContext ¶
func (o DevicePrimaryIpArrayOutput) ToDevicePrimaryIpArrayOutputWithContext(ctx context.Context) DevicePrimaryIpArrayOutput
type DevicePrimaryIpInput ¶
type DevicePrimaryIpInput interface {
pulumi.Input
ToDevicePrimaryIpOutput() DevicePrimaryIpOutput
ToDevicePrimaryIpOutputWithContext(ctx context.Context) DevicePrimaryIpOutput
}
type DevicePrimaryIpMap ¶
type DevicePrimaryIpMap map[string]DevicePrimaryIpInput
func (DevicePrimaryIpMap) ElementType ¶
func (DevicePrimaryIpMap) ElementType() reflect.Type
func (DevicePrimaryIpMap) ToDevicePrimaryIpMapOutput ¶
func (i DevicePrimaryIpMap) ToDevicePrimaryIpMapOutput() DevicePrimaryIpMapOutput
func (DevicePrimaryIpMap) ToDevicePrimaryIpMapOutputWithContext ¶
func (i DevicePrimaryIpMap) ToDevicePrimaryIpMapOutputWithContext(ctx context.Context) DevicePrimaryIpMapOutput
type DevicePrimaryIpMapInput ¶
type DevicePrimaryIpMapInput interface {
pulumi.Input
ToDevicePrimaryIpMapOutput() DevicePrimaryIpMapOutput
ToDevicePrimaryIpMapOutputWithContext(context.Context) DevicePrimaryIpMapOutput
}
DevicePrimaryIpMapInput is an input type that accepts DevicePrimaryIpMap and DevicePrimaryIpMapOutput values. You can construct a concrete instance of `DevicePrimaryIpMapInput` via:
DevicePrimaryIpMap{ "key": DevicePrimaryIpArgs{...} }
type DevicePrimaryIpMapOutput ¶
type DevicePrimaryIpMapOutput struct{ *pulumi.OutputState }
func (DevicePrimaryIpMapOutput) ElementType ¶
func (DevicePrimaryIpMapOutput) ElementType() reflect.Type
func (DevicePrimaryIpMapOutput) MapIndex ¶
func (o DevicePrimaryIpMapOutput) MapIndex(k pulumi.StringInput) DevicePrimaryIpOutput
func (DevicePrimaryIpMapOutput) ToDevicePrimaryIpMapOutput ¶
func (o DevicePrimaryIpMapOutput) ToDevicePrimaryIpMapOutput() DevicePrimaryIpMapOutput
func (DevicePrimaryIpMapOutput) ToDevicePrimaryIpMapOutputWithContext ¶
func (o DevicePrimaryIpMapOutput) ToDevicePrimaryIpMapOutputWithContext(ctx context.Context) DevicePrimaryIpMapOutput
type DevicePrimaryIpOutput ¶
type DevicePrimaryIpOutput struct{ *pulumi.OutputState }
func (DevicePrimaryIpOutput) DeviceId ¶
func (o DevicePrimaryIpOutput) DeviceId() pulumi.IntOutput
func (DevicePrimaryIpOutput) ElementType ¶
func (DevicePrimaryIpOutput) ElementType() reflect.Type
func (DevicePrimaryIpOutput) IpAddressId ¶
func (o DevicePrimaryIpOutput) IpAddressId() pulumi.IntOutput
func (DevicePrimaryIpOutput) IpAddressVersion ¶
func (o DevicePrimaryIpOutput) IpAddressVersion() pulumi.IntPtrOutput
Defaults to `4`.
func (DevicePrimaryIpOutput) ToDevicePrimaryIpOutput ¶
func (o DevicePrimaryIpOutput) ToDevicePrimaryIpOutput() DevicePrimaryIpOutput
func (DevicePrimaryIpOutput) ToDevicePrimaryIpOutputWithContext ¶
func (o DevicePrimaryIpOutput) ToDevicePrimaryIpOutputWithContext(ctx context.Context) DevicePrimaryIpOutput
type DevicePrimaryIpState ¶
type DevicePrimaryIpState struct {
DeviceId pulumi.IntPtrInput
IpAddressId pulumi.IntPtrInput
// Defaults to `4`.
IpAddressVersion pulumi.IntPtrInput
}
func (DevicePrimaryIpState) ElementType ¶
func (DevicePrimaryIpState) ElementType() reflect.Type
type DeviceRearPort ¶
type DeviceRearPort struct {
pulumi.CustomResourceState
ColorHex pulumi.StringPtrOutput `pulumi:"colorHex"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
ModuleId pulumi.IntPtrOutput `pulumi:"moduleId"`
Name pulumi.StringOutput `pulumi:"name"`
Positions pulumi.IntOutput `pulumi:"positions"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
Type pulumi.StringOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/rearport/):
> Like front ports, rear ports are pass-through ports which represent the continuation of a path from one cable to the next. Each rear port is defined with its physical type and a number of positions: Rear ports with more than one position can be mapped to multiple front ports. This can be useful for modeling instances where multiple paths share a common cable (for example, six discrete two-strand fiber connections sharing a 12-strand MPO cable).
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
_, err = dcim.NewDeviceRearPort(ctx, "test", &dcim.DeviceRearPortArgs{
DeviceId: test.ID(),
Name: pulumi.String("rear port 1"),
Type: pulumi.String("8p8c"),
Positions: pulumi.Int(2),
MarkConnected: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceRearPort ¶
func GetDeviceRearPort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceRearPortState, opts ...pulumi.ResourceOption) (*DeviceRearPort, error)
GetDeviceRearPort gets an existing DeviceRearPort 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 NewDeviceRearPort ¶
func NewDeviceRearPort(ctx *pulumi.Context, name string, args *DeviceRearPortArgs, opts ...pulumi.ResourceOption) (*DeviceRearPort, error)
NewDeviceRearPort registers a new resource with the given unique name, arguments, and options.
func (*DeviceRearPort) ElementType ¶
func (*DeviceRearPort) ElementType() reflect.Type
func (*DeviceRearPort) ToDeviceRearPortOutput ¶
func (i *DeviceRearPort) ToDeviceRearPortOutput() DeviceRearPortOutput
func (*DeviceRearPort) ToDeviceRearPortOutputWithContext ¶
func (i *DeviceRearPort) ToDeviceRearPortOutputWithContext(ctx context.Context) DeviceRearPortOutput
type DeviceRearPortArgs ¶
type DeviceRearPortArgs struct {
ColorHex pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Positions pulumi.IntInput
Tags pulumi.StringArrayInput
// One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
Type pulumi.StringInput
}
The set of arguments for constructing a DeviceRearPort resource.
func (DeviceRearPortArgs) ElementType ¶
func (DeviceRearPortArgs) ElementType() reflect.Type
type DeviceRearPortArray ¶
type DeviceRearPortArray []DeviceRearPortInput
func (DeviceRearPortArray) ElementType ¶
func (DeviceRearPortArray) ElementType() reflect.Type
func (DeviceRearPortArray) ToDeviceRearPortArrayOutput ¶
func (i DeviceRearPortArray) ToDeviceRearPortArrayOutput() DeviceRearPortArrayOutput
func (DeviceRearPortArray) ToDeviceRearPortArrayOutputWithContext ¶
func (i DeviceRearPortArray) ToDeviceRearPortArrayOutputWithContext(ctx context.Context) DeviceRearPortArrayOutput
type DeviceRearPortArrayInput ¶
type DeviceRearPortArrayInput interface {
pulumi.Input
ToDeviceRearPortArrayOutput() DeviceRearPortArrayOutput
ToDeviceRearPortArrayOutputWithContext(context.Context) DeviceRearPortArrayOutput
}
DeviceRearPortArrayInput is an input type that accepts DeviceRearPortArray and DeviceRearPortArrayOutput values. You can construct a concrete instance of `DeviceRearPortArrayInput` via:
DeviceRearPortArray{ DeviceRearPortArgs{...} }
type DeviceRearPortArrayOutput ¶
type DeviceRearPortArrayOutput struct{ *pulumi.OutputState }
func (DeviceRearPortArrayOutput) ElementType ¶
func (DeviceRearPortArrayOutput) ElementType() reflect.Type
func (DeviceRearPortArrayOutput) Index ¶
func (o DeviceRearPortArrayOutput) Index(i pulumi.IntInput) DeviceRearPortOutput
func (DeviceRearPortArrayOutput) ToDeviceRearPortArrayOutput ¶
func (o DeviceRearPortArrayOutput) ToDeviceRearPortArrayOutput() DeviceRearPortArrayOutput
func (DeviceRearPortArrayOutput) ToDeviceRearPortArrayOutputWithContext ¶
func (o DeviceRearPortArrayOutput) ToDeviceRearPortArrayOutputWithContext(ctx context.Context) DeviceRearPortArrayOutput
type DeviceRearPortInput ¶
type DeviceRearPortInput interface {
pulumi.Input
ToDeviceRearPortOutput() DeviceRearPortOutput
ToDeviceRearPortOutputWithContext(ctx context.Context) DeviceRearPortOutput
}
type DeviceRearPortMap ¶
type DeviceRearPortMap map[string]DeviceRearPortInput
func (DeviceRearPortMap) ElementType ¶
func (DeviceRearPortMap) ElementType() reflect.Type
func (DeviceRearPortMap) ToDeviceRearPortMapOutput ¶
func (i DeviceRearPortMap) ToDeviceRearPortMapOutput() DeviceRearPortMapOutput
func (DeviceRearPortMap) ToDeviceRearPortMapOutputWithContext ¶
func (i DeviceRearPortMap) ToDeviceRearPortMapOutputWithContext(ctx context.Context) DeviceRearPortMapOutput
type DeviceRearPortMapInput ¶
type DeviceRearPortMapInput interface {
pulumi.Input
ToDeviceRearPortMapOutput() DeviceRearPortMapOutput
ToDeviceRearPortMapOutputWithContext(context.Context) DeviceRearPortMapOutput
}
DeviceRearPortMapInput is an input type that accepts DeviceRearPortMap and DeviceRearPortMapOutput values. You can construct a concrete instance of `DeviceRearPortMapInput` via:
DeviceRearPortMap{ "key": DeviceRearPortArgs{...} }
type DeviceRearPortMapOutput ¶
type DeviceRearPortMapOutput struct{ *pulumi.OutputState }
func (DeviceRearPortMapOutput) ElementType ¶
func (DeviceRearPortMapOutput) ElementType() reflect.Type
func (DeviceRearPortMapOutput) MapIndex ¶
func (o DeviceRearPortMapOutput) MapIndex(k pulumi.StringInput) DeviceRearPortOutput
func (DeviceRearPortMapOutput) ToDeviceRearPortMapOutput ¶
func (o DeviceRearPortMapOutput) ToDeviceRearPortMapOutput() DeviceRearPortMapOutput
func (DeviceRearPortMapOutput) ToDeviceRearPortMapOutputWithContext ¶
func (o DeviceRearPortMapOutput) ToDeviceRearPortMapOutputWithContext(ctx context.Context) DeviceRearPortMapOutput
type DeviceRearPortOutput ¶
type DeviceRearPortOutput struct{ *pulumi.OutputState }
func (DeviceRearPortOutput) ColorHex ¶
func (o DeviceRearPortOutput) ColorHex() pulumi.StringPtrOutput
func (DeviceRearPortOutput) CustomFields ¶
func (o DeviceRearPortOutput) CustomFields() pulumi.StringMapOutput
func (DeviceRearPortOutput) Description ¶
func (o DeviceRearPortOutput) Description() pulumi.StringPtrOutput
func (DeviceRearPortOutput) DeviceId ¶
func (o DeviceRearPortOutput) DeviceId() pulumi.IntOutput
func (DeviceRearPortOutput) ElementType ¶
func (DeviceRearPortOutput) ElementType() reflect.Type
func (DeviceRearPortOutput) Label ¶
func (o DeviceRearPortOutput) Label() pulumi.StringPtrOutput
func (DeviceRearPortOutput) MarkConnected ¶
func (o DeviceRearPortOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (DeviceRearPortOutput) ModuleId ¶
func (o DeviceRearPortOutput) ModuleId() pulumi.IntPtrOutput
func (DeviceRearPortOutput) Name ¶
func (o DeviceRearPortOutput) Name() pulumi.StringOutput
func (DeviceRearPortOutput) Positions ¶
func (o DeviceRearPortOutput) Positions() pulumi.IntOutput
func (DeviceRearPortOutput) Tags ¶
func (o DeviceRearPortOutput) Tags() pulumi.StringArrayOutput
func (DeviceRearPortOutput) TagsAlls ¶
func (o DeviceRearPortOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceRearPortOutput) ToDeviceRearPortOutput ¶
func (o DeviceRearPortOutput) ToDeviceRearPortOutput() DeviceRearPortOutput
func (DeviceRearPortOutput) ToDeviceRearPortOutputWithContext ¶
func (o DeviceRearPortOutput) ToDeviceRearPortOutputWithContext(ctx context.Context) DeviceRearPortOutput
func (DeviceRearPortOutput) Type ¶
func (o DeviceRearPortOutput) Type() pulumi.StringOutput
One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
type DeviceRearPortState ¶
type DeviceRearPortState struct {
ColorHex pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
Label pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
ModuleId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Positions pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [8p8c, 8p6c, 8p4c, 8p2c, 6p6c, 6p4c, 6p2c, 4p4c, 4p2c, gg45, tera-4p, tera-2p, tera-1p, 110-punch, bnc, f, n, mrj21, fc, lc, lc-pc, lc-upc, lc-apc, lsh, lsh-pc, lsh-upc, lsh-apc, mpo, mtrj, sc, sc-pc, sc-upc, sc-apc, st, cs, sn, sma-905, sma-906, urm-p2, urm-p4, urm-p8, splice, other].
Type pulumi.StringPtrInput
}
func (DeviceRearPortState) ElementType ¶
func (DeviceRearPortState) ElementType() reflect.Type
type DeviceRole ¶
type DeviceRole struct {
pulumi.CustomResourceState
ColorHex pulumi.StringOutput `pulumi:"colorHex"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// Defaults to `true`.
VmRole pulumi.BoolPtrOutput `pulumi:"vmRole"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/devices/#device-roles):
> Devices can be organized by functional roles, which are fully customizable by the user. For example, you might create roles for core switches, distribution switches, and access switches within your network.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.NewDeviceRole(ctx, "core_sw", &dcim.DeviceRoleArgs{
ColorHex: pulumi.String("FF00FF"),
Name: pulumi.String("core-sw"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceRole ¶
func GetDeviceRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceRoleState, opts ...pulumi.ResourceOption) (*DeviceRole, error)
GetDeviceRole gets an existing DeviceRole 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 NewDeviceRole ¶
func NewDeviceRole(ctx *pulumi.Context, name string, args *DeviceRoleArgs, opts ...pulumi.ResourceOption) (*DeviceRole, error)
NewDeviceRole registers a new resource with the given unique name, arguments, and options.
func (*DeviceRole) ElementType ¶
func (*DeviceRole) ElementType() reflect.Type
func (*DeviceRole) ToDeviceRoleOutput ¶
func (i *DeviceRole) ToDeviceRoleOutput() DeviceRoleOutput
func (*DeviceRole) ToDeviceRoleOutputWithContext ¶
func (i *DeviceRole) ToDeviceRoleOutputWithContext(ctx context.Context) DeviceRoleOutput
type DeviceRoleArgs ¶
type DeviceRoleArgs struct {
ColorHex pulumi.StringInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
// Defaults to `true`.
VmRole pulumi.BoolPtrInput
}
The set of arguments for constructing a DeviceRole resource.
func (DeviceRoleArgs) ElementType ¶
func (DeviceRoleArgs) ElementType() reflect.Type
type DeviceRoleArray ¶
type DeviceRoleArray []DeviceRoleInput
func (DeviceRoleArray) ElementType ¶
func (DeviceRoleArray) ElementType() reflect.Type
func (DeviceRoleArray) ToDeviceRoleArrayOutput ¶
func (i DeviceRoleArray) ToDeviceRoleArrayOutput() DeviceRoleArrayOutput
func (DeviceRoleArray) ToDeviceRoleArrayOutputWithContext ¶
func (i DeviceRoleArray) ToDeviceRoleArrayOutputWithContext(ctx context.Context) DeviceRoleArrayOutput
type DeviceRoleArrayInput ¶
type DeviceRoleArrayInput interface {
pulumi.Input
ToDeviceRoleArrayOutput() DeviceRoleArrayOutput
ToDeviceRoleArrayOutputWithContext(context.Context) DeviceRoleArrayOutput
}
DeviceRoleArrayInput is an input type that accepts DeviceRoleArray and DeviceRoleArrayOutput values. You can construct a concrete instance of `DeviceRoleArrayInput` via:
DeviceRoleArray{ DeviceRoleArgs{...} }
type DeviceRoleArrayOutput ¶
type DeviceRoleArrayOutput struct{ *pulumi.OutputState }
func (DeviceRoleArrayOutput) ElementType ¶
func (DeviceRoleArrayOutput) ElementType() reflect.Type
func (DeviceRoleArrayOutput) Index ¶
func (o DeviceRoleArrayOutput) Index(i pulumi.IntInput) DeviceRoleOutput
func (DeviceRoleArrayOutput) ToDeviceRoleArrayOutput ¶
func (o DeviceRoleArrayOutput) ToDeviceRoleArrayOutput() DeviceRoleArrayOutput
func (DeviceRoleArrayOutput) ToDeviceRoleArrayOutputWithContext ¶
func (o DeviceRoleArrayOutput) ToDeviceRoleArrayOutputWithContext(ctx context.Context) DeviceRoleArrayOutput
type DeviceRoleInput ¶
type DeviceRoleInput interface {
pulumi.Input
ToDeviceRoleOutput() DeviceRoleOutput
ToDeviceRoleOutputWithContext(ctx context.Context) DeviceRoleOutput
}
type DeviceRoleMap ¶
type DeviceRoleMap map[string]DeviceRoleInput
func (DeviceRoleMap) ElementType ¶
func (DeviceRoleMap) ElementType() reflect.Type
func (DeviceRoleMap) ToDeviceRoleMapOutput ¶
func (i DeviceRoleMap) ToDeviceRoleMapOutput() DeviceRoleMapOutput
func (DeviceRoleMap) ToDeviceRoleMapOutputWithContext ¶
func (i DeviceRoleMap) ToDeviceRoleMapOutputWithContext(ctx context.Context) DeviceRoleMapOutput
type DeviceRoleMapInput ¶
type DeviceRoleMapInput interface {
pulumi.Input
ToDeviceRoleMapOutput() DeviceRoleMapOutput
ToDeviceRoleMapOutputWithContext(context.Context) DeviceRoleMapOutput
}
DeviceRoleMapInput is an input type that accepts DeviceRoleMap and DeviceRoleMapOutput values. You can construct a concrete instance of `DeviceRoleMapInput` via:
DeviceRoleMap{ "key": DeviceRoleArgs{...} }
type DeviceRoleMapOutput ¶
type DeviceRoleMapOutput struct{ *pulumi.OutputState }
func (DeviceRoleMapOutput) ElementType ¶
func (DeviceRoleMapOutput) ElementType() reflect.Type
func (DeviceRoleMapOutput) MapIndex ¶
func (o DeviceRoleMapOutput) MapIndex(k pulumi.StringInput) DeviceRoleOutput
func (DeviceRoleMapOutput) ToDeviceRoleMapOutput ¶
func (o DeviceRoleMapOutput) ToDeviceRoleMapOutput() DeviceRoleMapOutput
func (DeviceRoleMapOutput) ToDeviceRoleMapOutputWithContext ¶
func (o DeviceRoleMapOutput) ToDeviceRoleMapOutputWithContext(ctx context.Context) DeviceRoleMapOutput
type DeviceRoleOutput ¶
type DeviceRoleOutput struct{ *pulumi.OutputState }
func (DeviceRoleOutput) ColorHex ¶
func (o DeviceRoleOutput) ColorHex() pulumi.StringOutput
func (DeviceRoleOutput) Description ¶
func (o DeviceRoleOutput) Description() pulumi.StringPtrOutput
func (DeviceRoleOutput) ElementType ¶
func (DeviceRoleOutput) ElementType() reflect.Type
func (DeviceRoleOutput) Name ¶
func (o DeviceRoleOutput) Name() pulumi.StringOutput
func (DeviceRoleOutput) Slug ¶
func (o DeviceRoleOutput) Slug() pulumi.StringOutput
func (DeviceRoleOutput) Tags ¶
func (o DeviceRoleOutput) Tags() pulumi.StringArrayOutput
func (DeviceRoleOutput) TagsAlls ¶
func (o DeviceRoleOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceRoleOutput) ToDeviceRoleOutput ¶
func (o DeviceRoleOutput) ToDeviceRoleOutput() DeviceRoleOutput
func (DeviceRoleOutput) ToDeviceRoleOutputWithContext ¶
func (o DeviceRoleOutput) ToDeviceRoleOutputWithContext(ctx context.Context) DeviceRoleOutput
func (DeviceRoleOutput) VmRole ¶
func (o DeviceRoleOutput) VmRole() pulumi.BoolPtrOutput
Defaults to `true`.
type DeviceRoleState ¶
type DeviceRoleState struct {
ColorHex pulumi.StringPtrInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// Defaults to `true`.
VmRole pulumi.BoolPtrInput
}
func (DeviceRoleState) ElementType ¶
func (DeviceRoleState) ElementType() reflect.Type
type DeviceState ¶
type DeviceState struct {
AssetTag pulumi.StringPtrInput
ClusterId pulumi.IntPtrInput
Comments pulumi.StringPtrInput
ConfigTemplateId pulumi.IntPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceTypeId pulumi.IntPtrInput
// This is best managed through the use of `jsonencode` and a map of settings.
LocalContextData pulumi.StringPtrInput
LocationId pulumi.IntPtrInput
Name pulumi.StringPtrInput
PlatformId pulumi.IntPtrInput
PrimaryIpv4 pulumi.IntPtrInput
PrimaryIpv6 pulumi.IntPtrInput
// Valid values are `front` and `rear`. Required when `rackPosition` is set.
RackFace pulumi.StringPtrInput
RackId pulumi.IntPtrInput
RackPosition pulumi.Float64PtrInput
RoleId pulumi.IntPtrInput
Serial pulumi.StringPtrInput
SiteId pulumi.IntPtrInput
// Valid values are `offline`, `active`, `planned`, `staged`, `failed`, `inventory` and `decommissioning`. Defaults to `active`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
// Required when `virtualChassisMaster` and `virtualChassisId` is set.
VirtualChassisId pulumi.IntPtrInput
// Required when `virtualChassisMaster` and `virtualChassisId` is set.
VirtualChassisMaster pulumi.BoolPtrInput
VirtualChassisPosition pulumi.IntPtrInput
VirtualChassisPriority pulumi.IntPtrInput
}
func (DeviceState) ElementType ¶
func (DeviceState) ElementType() reflect.Type
type DeviceType ¶
type DeviceType struct {
pulumi.CustomResourceState
IsFullDepth pulumi.BoolPtrOutput `pulumi:"isFullDepth"`
ManufacturerId pulumi.IntOutput `pulumi:"manufacturerId"`
Model pulumi.StringOutput `pulumi:"model"`
PartNumber pulumi.StringPtrOutput `pulumi:"partNumber"`
Slug pulumi.StringOutput `pulumi:"slug"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// Defaults to `1.0`.
UHeight pulumi.Float64PtrOutput `pulumi:"uHeight"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/device-types/#device-types_1):
> A device type represents a particular make and model of hardware that exists in the real world. Device types define the physical attributes of a device (rack height and depth) and its individual components (console, power, network interfaces, and so on).
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
_, err = dcim.NewDeviceType(ctx, "test", &dcim.DeviceTypeArgs{
Model: pulumi.String("test"),
PartNumber: pulumi.String("123"),
ManufacturerId: test.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetDeviceType ¶
func GetDeviceType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceTypeState, opts ...pulumi.ResourceOption) (*DeviceType, error)
GetDeviceType gets an existing DeviceType 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 NewDeviceType ¶
func NewDeviceType(ctx *pulumi.Context, name string, args *DeviceTypeArgs, opts ...pulumi.ResourceOption) (*DeviceType, error)
NewDeviceType registers a new resource with the given unique name, arguments, and options.
func (*DeviceType) ElementType ¶
func (*DeviceType) ElementType() reflect.Type
func (*DeviceType) ToDeviceTypeOutput ¶
func (i *DeviceType) ToDeviceTypeOutput() DeviceTypeOutput
func (*DeviceType) ToDeviceTypeOutputWithContext ¶
func (i *DeviceType) ToDeviceTypeOutputWithContext(ctx context.Context) DeviceTypeOutput
type DeviceTypeArgs ¶
type DeviceTypeArgs struct {
IsFullDepth pulumi.BoolPtrInput
ManufacturerId pulumi.IntInput
Model pulumi.StringInput
PartNumber pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
// Defaults to `1.0`.
UHeight pulumi.Float64PtrInput
}
The set of arguments for constructing a DeviceType resource.
func (DeviceTypeArgs) ElementType ¶
func (DeviceTypeArgs) ElementType() reflect.Type
type DeviceTypeArray ¶
type DeviceTypeArray []DeviceTypeInput
func (DeviceTypeArray) ElementType ¶
func (DeviceTypeArray) ElementType() reflect.Type
func (DeviceTypeArray) ToDeviceTypeArrayOutput ¶
func (i DeviceTypeArray) ToDeviceTypeArrayOutput() DeviceTypeArrayOutput
func (DeviceTypeArray) ToDeviceTypeArrayOutputWithContext ¶
func (i DeviceTypeArray) ToDeviceTypeArrayOutputWithContext(ctx context.Context) DeviceTypeArrayOutput
type DeviceTypeArrayInput ¶
type DeviceTypeArrayInput interface {
pulumi.Input
ToDeviceTypeArrayOutput() DeviceTypeArrayOutput
ToDeviceTypeArrayOutputWithContext(context.Context) DeviceTypeArrayOutput
}
DeviceTypeArrayInput is an input type that accepts DeviceTypeArray and DeviceTypeArrayOutput values. You can construct a concrete instance of `DeviceTypeArrayInput` via:
DeviceTypeArray{ DeviceTypeArgs{...} }
type DeviceTypeArrayOutput ¶
type DeviceTypeArrayOutput struct{ *pulumi.OutputState }
func (DeviceTypeArrayOutput) ElementType ¶
func (DeviceTypeArrayOutput) ElementType() reflect.Type
func (DeviceTypeArrayOutput) Index ¶
func (o DeviceTypeArrayOutput) Index(i pulumi.IntInput) DeviceTypeOutput
func (DeviceTypeArrayOutput) ToDeviceTypeArrayOutput ¶
func (o DeviceTypeArrayOutput) ToDeviceTypeArrayOutput() DeviceTypeArrayOutput
func (DeviceTypeArrayOutput) ToDeviceTypeArrayOutputWithContext ¶
func (o DeviceTypeArrayOutput) ToDeviceTypeArrayOutputWithContext(ctx context.Context) DeviceTypeArrayOutput
type DeviceTypeInput ¶
type DeviceTypeInput interface {
pulumi.Input
ToDeviceTypeOutput() DeviceTypeOutput
ToDeviceTypeOutputWithContext(ctx context.Context) DeviceTypeOutput
}
type DeviceTypeMap ¶
type DeviceTypeMap map[string]DeviceTypeInput
func (DeviceTypeMap) ElementType ¶
func (DeviceTypeMap) ElementType() reflect.Type
func (DeviceTypeMap) ToDeviceTypeMapOutput ¶
func (i DeviceTypeMap) ToDeviceTypeMapOutput() DeviceTypeMapOutput
func (DeviceTypeMap) ToDeviceTypeMapOutputWithContext ¶
func (i DeviceTypeMap) ToDeviceTypeMapOutputWithContext(ctx context.Context) DeviceTypeMapOutput
type DeviceTypeMapInput ¶
type DeviceTypeMapInput interface {
pulumi.Input
ToDeviceTypeMapOutput() DeviceTypeMapOutput
ToDeviceTypeMapOutputWithContext(context.Context) DeviceTypeMapOutput
}
DeviceTypeMapInput is an input type that accepts DeviceTypeMap and DeviceTypeMapOutput values. You can construct a concrete instance of `DeviceTypeMapInput` via:
DeviceTypeMap{ "key": DeviceTypeArgs{...} }
type DeviceTypeMapOutput ¶
type DeviceTypeMapOutput struct{ *pulumi.OutputState }
func (DeviceTypeMapOutput) ElementType ¶
func (DeviceTypeMapOutput) ElementType() reflect.Type
func (DeviceTypeMapOutput) MapIndex ¶
func (o DeviceTypeMapOutput) MapIndex(k pulumi.StringInput) DeviceTypeOutput
func (DeviceTypeMapOutput) ToDeviceTypeMapOutput ¶
func (o DeviceTypeMapOutput) ToDeviceTypeMapOutput() DeviceTypeMapOutput
func (DeviceTypeMapOutput) ToDeviceTypeMapOutputWithContext ¶
func (o DeviceTypeMapOutput) ToDeviceTypeMapOutputWithContext(ctx context.Context) DeviceTypeMapOutput
type DeviceTypeOutput ¶
type DeviceTypeOutput struct{ *pulumi.OutputState }
func (DeviceTypeOutput) ElementType ¶
func (DeviceTypeOutput) ElementType() reflect.Type
func (DeviceTypeOutput) IsFullDepth ¶
func (o DeviceTypeOutput) IsFullDepth() pulumi.BoolPtrOutput
func (DeviceTypeOutput) ManufacturerId ¶
func (o DeviceTypeOutput) ManufacturerId() pulumi.IntOutput
func (DeviceTypeOutput) Model ¶
func (o DeviceTypeOutput) Model() pulumi.StringOutput
func (DeviceTypeOutput) PartNumber ¶
func (o DeviceTypeOutput) PartNumber() pulumi.StringPtrOutput
func (DeviceTypeOutput) Slug ¶
func (o DeviceTypeOutput) Slug() pulumi.StringOutput
func (DeviceTypeOutput) Tags ¶
func (o DeviceTypeOutput) Tags() pulumi.StringArrayOutput
func (DeviceTypeOutput) TagsAlls ¶
func (o DeviceTypeOutput) TagsAlls() pulumi.StringArrayOutput
func (DeviceTypeOutput) ToDeviceTypeOutput ¶
func (o DeviceTypeOutput) ToDeviceTypeOutput() DeviceTypeOutput
func (DeviceTypeOutput) ToDeviceTypeOutputWithContext ¶
func (o DeviceTypeOutput) ToDeviceTypeOutputWithContext(ctx context.Context) DeviceTypeOutput
func (DeviceTypeOutput) UHeight ¶
func (o DeviceTypeOutput) UHeight() pulumi.Float64PtrOutput
Defaults to `1.0`.
type DeviceTypeState ¶
type DeviceTypeState struct {
IsFullDepth pulumi.BoolPtrInput
ManufacturerId pulumi.IntPtrInput
Model pulumi.StringPtrInput
PartNumber pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// Defaults to `1.0`.
UHeight pulumi.Float64PtrInput
}
func (DeviceTypeState) ElementType ¶
func (DeviceTypeState) ElementType() reflect.Type
type GetDeviceInterfacesArgs ¶
type GetDeviceInterfacesArgs struct {
Filters []GetDeviceInterfacesFilter `pulumi:"filters"`
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of arguments for invoking getDeviceInterfaces.
type GetDeviceInterfacesFilterArgs ¶
type GetDeviceInterfacesFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (GetDeviceInterfacesFilterArgs) ElementType ¶
func (GetDeviceInterfacesFilterArgs) ElementType() reflect.Type
func (GetDeviceInterfacesFilterArgs) ToGetDeviceInterfacesFilterOutput ¶
func (i GetDeviceInterfacesFilterArgs) ToGetDeviceInterfacesFilterOutput() GetDeviceInterfacesFilterOutput
func (GetDeviceInterfacesFilterArgs) ToGetDeviceInterfacesFilterOutputWithContext ¶
func (i GetDeviceInterfacesFilterArgs) ToGetDeviceInterfacesFilterOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterOutput
type GetDeviceInterfacesFilterArray ¶
type GetDeviceInterfacesFilterArray []GetDeviceInterfacesFilterInput
func (GetDeviceInterfacesFilterArray) ElementType ¶
func (GetDeviceInterfacesFilterArray) ElementType() reflect.Type
func (GetDeviceInterfacesFilterArray) ToGetDeviceInterfacesFilterArrayOutput ¶
func (i GetDeviceInterfacesFilterArray) ToGetDeviceInterfacesFilterArrayOutput() GetDeviceInterfacesFilterArrayOutput
func (GetDeviceInterfacesFilterArray) ToGetDeviceInterfacesFilterArrayOutputWithContext ¶
func (i GetDeviceInterfacesFilterArray) ToGetDeviceInterfacesFilterArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterArrayOutput
type GetDeviceInterfacesFilterArrayInput ¶
type GetDeviceInterfacesFilterArrayInput interface {
pulumi.Input
ToGetDeviceInterfacesFilterArrayOutput() GetDeviceInterfacesFilterArrayOutput
ToGetDeviceInterfacesFilterArrayOutputWithContext(context.Context) GetDeviceInterfacesFilterArrayOutput
}
GetDeviceInterfacesFilterArrayInput is an input type that accepts GetDeviceInterfacesFilterArray and GetDeviceInterfacesFilterArrayOutput values. You can construct a concrete instance of `GetDeviceInterfacesFilterArrayInput` via:
GetDeviceInterfacesFilterArray{ GetDeviceInterfacesFilterArgs{...} }
type GetDeviceInterfacesFilterArrayOutput ¶
type GetDeviceInterfacesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesFilterArrayOutput) ElementType ¶
func (GetDeviceInterfacesFilterArrayOutput) ElementType() reflect.Type
func (GetDeviceInterfacesFilterArrayOutput) Index ¶
func (o GetDeviceInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfacesFilterOutput
func (GetDeviceInterfacesFilterArrayOutput) ToGetDeviceInterfacesFilterArrayOutput ¶
func (o GetDeviceInterfacesFilterArrayOutput) ToGetDeviceInterfacesFilterArrayOutput() GetDeviceInterfacesFilterArrayOutput
func (GetDeviceInterfacesFilterArrayOutput) ToGetDeviceInterfacesFilterArrayOutputWithContext ¶
func (o GetDeviceInterfacesFilterArrayOutput) ToGetDeviceInterfacesFilterArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterArrayOutput
type GetDeviceInterfacesFilterInput ¶
type GetDeviceInterfacesFilterInput interface {
pulumi.Input
ToGetDeviceInterfacesFilterOutput() GetDeviceInterfacesFilterOutput
ToGetDeviceInterfacesFilterOutputWithContext(context.Context) GetDeviceInterfacesFilterOutput
}
GetDeviceInterfacesFilterInput is an input type that accepts GetDeviceInterfacesFilterArgs and GetDeviceInterfacesFilterOutput values. You can construct a concrete instance of `GetDeviceInterfacesFilterInput` via:
GetDeviceInterfacesFilterArgs{...}
type GetDeviceInterfacesFilterOutput ¶
type GetDeviceInterfacesFilterOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesFilterOutput) ElementType ¶
func (GetDeviceInterfacesFilterOutput) ElementType() reflect.Type
func (GetDeviceInterfacesFilterOutput) Name ¶
func (o GetDeviceInterfacesFilterOutput) Name() pulumi.StringOutput
func (GetDeviceInterfacesFilterOutput) ToGetDeviceInterfacesFilterOutput ¶
func (o GetDeviceInterfacesFilterOutput) ToGetDeviceInterfacesFilterOutput() GetDeviceInterfacesFilterOutput
func (GetDeviceInterfacesFilterOutput) ToGetDeviceInterfacesFilterOutputWithContext ¶
func (o GetDeviceInterfacesFilterOutput) ToGetDeviceInterfacesFilterOutputWithContext(ctx context.Context) GetDeviceInterfacesFilterOutput
func (GetDeviceInterfacesFilterOutput) Value ¶
func (o GetDeviceInterfacesFilterOutput) Value() pulumi.StringOutput
type GetDeviceInterfacesInterface ¶
type GetDeviceInterfacesInterface struct {
Description string `pulumi:"description"`
DeviceId int `pulumi:"deviceId"`
Enabled bool `pulumi:"enabled"`
Id int `pulumi:"id"`
// The MAC address as string from the first MAC address assigned to this interface, if any.
MacAddress string `pulumi:"macAddress"`
MacAddresses []GetDeviceInterfacesInterfaceMacAddress `pulumi:"macAddresses"`
Mode map[string]string `pulumi:"mode"`
Mtu int `pulumi:"mtu"`
Name string `pulumi:"name"`
TagIds []int `pulumi:"tagIds"`
TaggedVlans []GetDeviceInterfacesInterfaceTaggedVlan `pulumi:"taggedVlans"`
UntaggedVlans []GetDeviceInterfacesInterfaceUntaggedVlan `pulumi:"untaggedVlans"`
}
type GetDeviceInterfacesInterfaceArgs ¶
type GetDeviceInterfacesInterfaceArgs struct {
Description pulumi.StringInput `pulumi:"description"`
DeviceId pulumi.IntInput `pulumi:"deviceId"`
Enabled pulumi.BoolInput `pulumi:"enabled"`
Id pulumi.IntInput `pulumi:"id"`
// The MAC address as string from the first MAC address assigned to this interface, if any.
MacAddress pulumi.StringInput `pulumi:"macAddress"`
MacAddresses GetDeviceInterfacesInterfaceMacAddressArrayInput `pulumi:"macAddresses"`
Mode pulumi.StringMapInput `pulumi:"mode"`
Mtu pulumi.IntInput `pulumi:"mtu"`
Name pulumi.StringInput `pulumi:"name"`
TagIds pulumi.IntArrayInput `pulumi:"tagIds"`
TaggedVlans GetDeviceInterfacesInterfaceTaggedVlanArrayInput `pulumi:"taggedVlans"`
UntaggedVlans GetDeviceInterfacesInterfaceUntaggedVlanArrayInput `pulumi:"untaggedVlans"`
}
func (GetDeviceInterfacesInterfaceArgs) ElementType ¶
func (GetDeviceInterfacesInterfaceArgs) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceArgs) ToGetDeviceInterfacesInterfaceOutput ¶
func (i GetDeviceInterfacesInterfaceArgs) ToGetDeviceInterfacesInterfaceOutput() GetDeviceInterfacesInterfaceOutput
func (GetDeviceInterfacesInterfaceArgs) ToGetDeviceInterfacesInterfaceOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceArgs) ToGetDeviceInterfacesInterfaceOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceOutput
type GetDeviceInterfacesInterfaceArray ¶
type GetDeviceInterfacesInterfaceArray []GetDeviceInterfacesInterfaceInput
func (GetDeviceInterfacesInterfaceArray) ElementType ¶
func (GetDeviceInterfacesInterfaceArray) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceArray) ToGetDeviceInterfacesInterfaceArrayOutput ¶
func (i GetDeviceInterfacesInterfaceArray) ToGetDeviceInterfacesInterfaceArrayOutput() GetDeviceInterfacesInterfaceArrayOutput
func (GetDeviceInterfacesInterfaceArray) ToGetDeviceInterfacesInterfaceArrayOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceArray) ToGetDeviceInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceArrayOutput
type GetDeviceInterfacesInterfaceArrayInput ¶
type GetDeviceInterfacesInterfaceArrayInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceArrayOutput() GetDeviceInterfacesInterfaceArrayOutput
ToGetDeviceInterfacesInterfaceArrayOutputWithContext(context.Context) GetDeviceInterfacesInterfaceArrayOutput
}
GetDeviceInterfacesInterfaceArrayInput is an input type that accepts GetDeviceInterfacesInterfaceArray and GetDeviceInterfacesInterfaceArrayOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceArrayInput` via:
GetDeviceInterfacesInterfaceArray{ GetDeviceInterfacesInterfaceArgs{...} }
type GetDeviceInterfacesInterfaceArrayOutput ¶
type GetDeviceInterfacesInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceArrayOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceArrayOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceArrayOutput) ToGetDeviceInterfacesInterfaceArrayOutput ¶
func (o GetDeviceInterfacesInterfaceArrayOutput) ToGetDeviceInterfacesInterfaceArrayOutput() GetDeviceInterfacesInterfaceArrayOutput
func (GetDeviceInterfacesInterfaceArrayOutput) ToGetDeviceInterfacesInterfaceArrayOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceArrayOutput) ToGetDeviceInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceArrayOutput
type GetDeviceInterfacesInterfaceInput ¶
type GetDeviceInterfacesInterfaceInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceOutput() GetDeviceInterfacesInterfaceOutput
ToGetDeviceInterfacesInterfaceOutputWithContext(context.Context) GetDeviceInterfacesInterfaceOutput
}
GetDeviceInterfacesInterfaceInput is an input type that accepts GetDeviceInterfacesInterfaceArgs and GetDeviceInterfacesInterfaceOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceInput` via:
GetDeviceInterfacesInterfaceArgs{...}
type GetDeviceInterfacesInterfaceMacAddressArgs ¶
type GetDeviceInterfacesInterfaceMacAddressArgs struct {
Description pulumi.StringInput `pulumi:"description"`
Id pulumi.IntInput `pulumi:"id"`
MacAddress pulumi.StringInput `pulumi:"macAddress"`
}
func (GetDeviceInterfacesInterfaceMacAddressArgs) ElementType ¶
func (GetDeviceInterfacesInterfaceMacAddressArgs) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceMacAddressArgs) ToGetDeviceInterfacesInterfaceMacAddressOutput ¶
func (i GetDeviceInterfacesInterfaceMacAddressArgs) ToGetDeviceInterfacesInterfaceMacAddressOutput() GetDeviceInterfacesInterfaceMacAddressOutput
func (GetDeviceInterfacesInterfaceMacAddressArgs) ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceMacAddressArgs) ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressOutput
type GetDeviceInterfacesInterfaceMacAddressArray ¶
type GetDeviceInterfacesInterfaceMacAddressArray []GetDeviceInterfacesInterfaceMacAddressInput
func (GetDeviceInterfacesInterfaceMacAddressArray) ElementType ¶
func (GetDeviceInterfacesInterfaceMacAddressArray) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceMacAddressArray) ToGetDeviceInterfacesInterfaceMacAddressArrayOutput ¶
func (i GetDeviceInterfacesInterfaceMacAddressArray) ToGetDeviceInterfacesInterfaceMacAddressArrayOutput() GetDeviceInterfacesInterfaceMacAddressArrayOutput
func (GetDeviceInterfacesInterfaceMacAddressArray) ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceMacAddressArray) ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressArrayOutput
type GetDeviceInterfacesInterfaceMacAddressArrayInput ¶
type GetDeviceInterfacesInterfaceMacAddressArrayInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceMacAddressArrayOutput() GetDeviceInterfacesInterfaceMacAddressArrayOutput
ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext(context.Context) GetDeviceInterfacesInterfaceMacAddressArrayOutput
}
GetDeviceInterfacesInterfaceMacAddressArrayInput is an input type that accepts GetDeviceInterfacesInterfaceMacAddressArray and GetDeviceInterfacesInterfaceMacAddressArrayOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceMacAddressArrayInput` via:
GetDeviceInterfacesInterfaceMacAddressArray{ GetDeviceInterfacesInterfaceMacAddressArgs{...} }
type GetDeviceInterfacesInterfaceMacAddressArrayOutput ¶
type GetDeviceInterfacesInterfaceMacAddressArrayOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceMacAddressArrayOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceMacAddressArrayOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceMacAddressArrayOutput) ToGetDeviceInterfacesInterfaceMacAddressArrayOutput ¶
func (o GetDeviceInterfacesInterfaceMacAddressArrayOutput) ToGetDeviceInterfacesInterfaceMacAddressArrayOutput() GetDeviceInterfacesInterfaceMacAddressArrayOutput
func (GetDeviceInterfacesInterfaceMacAddressArrayOutput) ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceMacAddressArrayOutput) ToGetDeviceInterfacesInterfaceMacAddressArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressArrayOutput
type GetDeviceInterfacesInterfaceMacAddressInput ¶
type GetDeviceInterfacesInterfaceMacAddressInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceMacAddressOutput() GetDeviceInterfacesInterfaceMacAddressOutput
ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext(context.Context) GetDeviceInterfacesInterfaceMacAddressOutput
}
GetDeviceInterfacesInterfaceMacAddressInput is an input type that accepts GetDeviceInterfacesInterfaceMacAddressArgs and GetDeviceInterfacesInterfaceMacAddressOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceMacAddressInput` via:
GetDeviceInterfacesInterfaceMacAddressArgs{...}
type GetDeviceInterfacesInterfaceMacAddressOutput ¶
type GetDeviceInterfacesInterfaceMacAddressOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceMacAddressOutput) Description ¶
func (o GetDeviceInterfacesInterfaceMacAddressOutput) Description() pulumi.StringOutput
func (GetDeviceInterfacesInterfaceMacAddressOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceMacAddressOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceMacAddressOutput) Id ¶
func (o GetDeviceInterfacesInterfaceMacAddressOutput) Id() pulumi.IntOutput
func (GetDeviceInterfacesInterfaceMacAddressOutput) MacAddress ¶
func (o GetDeviceInterfacesInterfaceMacAddressOutput) MacAddress() pulumi.StringOutput
func (GetDeviceInterfacesInterfaceMacAddressOutput) ToGetDeviceInterfacesInterfaceMacAddressOutput ¶
func (o GetDeviceInterfacesInterfaceMacAddressOutput) ToGetDeviceInterfacesInterfaceMacAddressOutput() GetDeviceInterfacesInterfaceMacAddressOutput
func (GetDeviceInterfacesInterfaceMacAddressOutput) ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceMacAddressOutput) ToGetDeviceInterfacesInterfaceMacAddressOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceMacAddressOutput
type GetDeviceInterfacesInterfaceOutput ¶
type GetDeviceInterfacesInterfaceOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceOutput) Description ¶
func (o GetDeviceInterfacesInterfaceOutput) Description() pulumi.StringOutput
func (GetDeviceInterfacesInterfaceOutput) DeviceId ¶
func (o GetDeviceInterfacesInterfaceOutput) DeviceId() pulumi.IntOutput
func (GetDeviceInterfacesInterfaceOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceOutput) Enabled ¶
func (o GetDeviceInterfacesInterfaceOutput) Enabled() pulumi.BoolOutput
func (GetDeviceInterfacesInterfaceOutput) Id ¶
func (o GetDeviceInterfacesInterfaceOutput) Id() pulumi.IntOutput
func (GetDeviceInterfacesInterfaceOutput) MacAddress ¶
func (o GetDeviceInterfacesInterfaceOutput) MacAddress() pulumi.StringOutput
The MAC address as string from the first MAC address assigned to this interface, if any.
func (GetDeviceInterfacesInterfaceOutput) MacAddresses ¶
func (o GetDeviceInterfacesInterfaceOutput) MacAddresses() GetDeviceInterfacesInterfaceMacAddressArrayOutput
func (GetDeviceInterfacesInterfaceOutput) Mode ¶
func (o GetDeviceInterfacesInterfaceOutput) Mode() pulumi.StringMapOutput
func (GetDeviceInterfacesInterfaceOutput) Mtu ¶
func (o GetDeviceInterfacesInterfaceOutput) Mtu() pulumi.IntOutput
func (GetDeviceInterfacesInterfaceOutput) Name ¶
func (o GetDeviceInterfacesInterfaceOutput) Name() pulumi.StringOutput
func (GetDeviceInterfacesInterfaceOutput) TagIds ¶
func (o GetDeviceInterfacesInterfaceOutput) TagIds() pulumi.IntArrayOutput
func (GetDeviceInterfacesInterfaceOutput) TaggedVlans ¶
func (o GetDeviceInterfacesInterfaceOutput) TaggedVlans() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
func (GetDeviceInterfacesInterfaceOutput) ToGetDeviceInterfacesInterfaceOutput ¶
func (o GetDeviceInterfacesInterfaceOutput) ToGetDeviceInterfacesInterfaceOutput() GetDeviceInterfacesInterfaceOutput
func (GetDeviceInterfacesInterfaceOutput) ToGetDeviceInterfacesInterfaceOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceOutput) ToGetDeviceInterfacesInterfaceOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceOutput
func (GetDeviceInterfacesInterfaceOutput) UntaggedVlans ¶
func (o GetDeviceInterfacesInterfaceOutput) UntaggedVlans() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
type GetDeviceInterfacesInterfaceTaggedVlanArgs ¶
type GetDeviceInterfacesInterfaceTaggedVlanArgs struct {
Id pulumi.IntInput `pulumi:"id"`
Name pulumi.StringInput `pulumi:"name"`
Vid pulumi.IntInput `pulumi:"vid"`
}
func (GetDeviceInterfacesInterfaceTaggedVlanArgs) ElementType ¶
func (GetDeviceInterfacesInterfaceTaggedVlanArgs) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceTaggedVlanArgs) ToGetDeviceInterfacesInterfaceTaggedVlanOutput ¶
func (i GetDeviceInterfacesInterfaceTaggedVlanArgs) ToGetDeviceInterfacesInterfaceTaggedVlanOutput() GetDeviceInterfacesInterfaceTaggedVlanOutput
func (GetDeviceInterfacesInterfaceTaggedVlanArgs) ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceTaggedVlanArgs) ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanOutput
type GetDeviceInterfacesInterfaceTaggedVlanArray ¶
type GetDeviceInterfacesInterfaceTaggedVlanArray []GetDeviceInterfacesInterfaceTaggedVlanInput
func (GetDeviceInterfacesInterfaceTaggedVlanArray) ElementType ¶
func (GetDeviceInterfacesInterfaceTaggedVlanArray) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceTaggedVlanArray) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput ¶
func (i GetDeviceInterfacesInterfaceTaggedVlanArray) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
func (GetDeviceInterfacesInterfaceTaggedVlanArray) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceTaggedVlanArray) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
type GetDeviceInterfacesInterfaceTaggedVlanArrayInput ¶
type GetDeviceInterfacesInterfaceTaggedVlanArrayInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext(context.Context) GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
}
GetDeviceInterfacesInterfaceTaggedVlanArrayInput is an input type that accepts GetDeviceInterfacesInterfaceTaggedVlanArray and GetDeviceInterfacesInterfaceTaggedVlanArrayOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceTaggedVlanArrayInput` via:
GetDeviceInterfacesInterfaceTaggedVlanArray{ GetDeviceInterfacesInterfaceTaggedVlanArgs{...} }
type GetDeviceInterfacesInterfaceTaggedVlanArrayOutput ¶
type GetDeviceInterfacesInterfaceTaggedVlanArrayOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutput() GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
func (GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanArrayOutput
type GetDeviceInterfacesInterfaceTaggedVlanInput ¶
type GetDeviceInterfacesInterfaceTaggedVlanInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceTaggedVlanOutput() GetDeviceInterfacesInterfaceTaggedVlanOutput
ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext(context.Context) GetDeviceInterfacesInterfaceTaggedVlanOutput
}
GetDeviceInterfacesInterfaceTaggedVlanInput is an input type that accepts GetDeviceInterfacesInterfaceTaggedVlanArgs and GetDeviceInterfacesInterfaceTaggedVlanOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceTaggedVlanInput` via:
GetDeviceInterfacesInterfaceTaggedVlanArgs{...}
type GetDeviceInterfacesInterfaceTaggedVlanOutput ¶
type GetDeviceInterfacesInterfaceTaggedVlanOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) Id ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) Id() pulumi.IntOutput
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) Name ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) Name() pulumi.StringOutput
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) ToGetDeviceInterfacesInterfaceTaggedVlanOutput ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) ToGetDeviceInterfacesInterfaceTaggedVlanOutput() GetDeviceInterfacesInterfaceTaggedVlanOutput
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) ToGetDeviceInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceTaggedVlanOutput
func (GetDeviceInterfacesInterfaceTaggedVlanOutput) Vid ¶
func (o GetDeviceInterfacesInterfaceTaggedVlanOutput) Vid() pulumi.IntOutput
type GetDeviceInterfacesInterfaceUntaggedVlanArgs ¶
type GetDeviceInterfacesInterfaceUntaggedVlanArgs struct {
Id pulumi.IntInput `pulumi:"id"`
Name pulumi.StringInput `pulumi:"name"`
Vid pulumi.IntInput `pulumi:"vid"`
}
func (GetDeviceInterfacesInterfaceUntaggedVlanArgs) ElementType ¶
func (GetDeviceInterfacesInterfaceUntaggedVlanArgs) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceUntaggedVlanArgs) ToGetDeviceInterfacesInterfaceUntaggedVlanOutput ¶
func (i GetDeviceInterfacesInterfaceUntaggedVlanArgs) ToGetDeviceInterfacesInterfaceUntaggedVlanOutput() GetDeviceInterfacesInterfaceUntaggedVlanOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanArgs) ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceUntaggedVlanArgs) ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanOutput
type GetDeviceInterfacesInterfaceUntaggedVlanArray ¶
type GetDeviceInterfacesInterfaceUntaggedVlanArray []GetDeviceInterfacesInterfaceUntaggedVlanInput
func (GetDeviceInterfacesInterfaceUntaggedVlanArray) ElementType ¶
func (GetDeviceInterfacesInterfaceUntaggedVlanArray) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceUntaggedVlanArray) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput ¶
func (i GetDeviceInterfacesInterfaceUntaggedVlanArray) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanArray) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext ¶
func (i GetDeviceInterfacesInterfaceUntaggedVlanArray) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
type GetDeviceInterfacesInterfaceUntaggedVlanArrayInput ¶
type GetDeviceInterfacesInterfaceUntaggedVlanArrayInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext(context.Context) GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
}
GetDeviceInterfacesInterfaceUntaggedVlanArrayInput is an input type that accepts GetDeviceInterfacesInterfaceUntaggedVlanArray and GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceUntaggedVlanArrayInput` via:
GetDeviceInterfacesInterfaceUntaggedVlanArray{ GetDeviceInterfacesInterfaceUntaggedVlanArgs{...} }
type GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput ¶
type GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutput() GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanArrayOutput
type GetDeviceInterfacesInterfaceUntaggedVlanInput ¶
type GetDeviceInterfacesInterfaceUntaggedVlanInput interface {
pulumi.Input
ToGetDeviceInterfacesInterfaceUntaggedVlanOutput() GetDeviceInterfacesInterfaceUntaggedVlanOutput
ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext(context.Context) GetDeviceInterfacesInterfaceUntaggedVlanOutput
}
GetDeviceInterfacesInterfaceUntaggedVlanInput is an input type that accepts GetDeviceInterfacesInterfaceUntaggedVlanArgs and GetDeviceInterfacesInterfaceUntaggedVlanOutput values. You can construct a concrete instance of `GetDeviceInterfacesInterfaceUntaggedVlanInput` via:
GetDeviceInterfacesInterfaceUntaggedVlanArgs{...}
type GetDeviceInterfacesInterfaceUntaggedVlanOutput ¶
type GetDeviceInterfacesInterfaceUntaggedVlanOutput struct{ *pulumi.OutputState }
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) ElementType ¶
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) ElementType() reflect.Type
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) Id ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) Id() pulumi.IntOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) Name ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) Name() pulumi.StringOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanOutput ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanOutput() GetDeviceInterfacesInterfaceUntaggedVlanOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) ToGetDeviceInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetDeviceInterfacesInterfaceUntaggedVlanOutput
func (GetDeviceInterfacesInterfaceUntaggedVlanOutput) Vid ¶
func (o GetDeviceInterfacesInterfaceUntaggedVlanOutput) Vid() pulumi.IntOutput
type GetDeviceInterfacesOutputArgs ¶
type GetDeviceInterfacesOutputArgs struct {
Filters GetDeviceInterfacesFilterArrayInput `pulumi:"filters"`
Limit pulumi.IntPtrInput `pulumi:"limit"`
NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
}
A collection of arguments for invoking getDeviceInterfaces.
func (GetDeviceInterfacesOutputArgs) ElementType ¶
func (GetDeviceInterfacesOutputArgs) ElementType() reflect.Type
type GetDeviceInterfacesResult ¶
type GetDeviceInterfacesResult struct {
Filters []GetDeviceInterfacesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Interfaces []GetDeviceInterfacesInterface `pulumi:"interfaces"`
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of values returned by getDeviceInterfaces.
func GetDeviceInterfaces ¶
func GetDeviceInterfaces(ctx *pulumi.Context, args *GetDeviceInterfacesArgs, opts ...pulumi.InvokeOption) (*GetDeviceInterfacesResult, error)
type GetDeviceInterfacesResultOutput ¶
type GetDeviceInterfacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDeviceInterfaces.
func GetDeviceInterfacesOutput ¶
func GetDeviceInterfacesOutput(ctx *pulumi.Context, args GetDeviceInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetDeviceInterfacesResultOutput
func (GetDeviceInterfacesResultOutput) ElementType ¶
func (GetDeviceInterfacesResultOutput) ElementType() reflect.Type
func (GetDeviceInterfacesResultOutput) Filters ¶
func (o GetDeviceInterfacesResultOutput) Filters() GetDeviceInterfacesFilterArrayOutput
func (GetDeviceInterfacesResultOutput) Id ¶
func (o GetDeviceInterfacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDeviceInterfacesResultOutput) Interfaces ¶
func (o GetDeviceInterfacesResultOutput) Interfaces() GetDeviceInterfacesInterfaceArrayOutput
func (GetDeviceInterfacesResultOutput) Limit ¶
func (o GetDeviceInterfacesResultOutput) Limit() pulumi.IntPtrOutput
func (GetDeviceInterfacesResultOutput) NameRegex ¶
func (o GetDeviceInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDeviceInterfacesResultOutput) ToGetDeviceInterfacesResultOutput ¶
func (o GetDeviceInterfacesResultOutput) ToGetDeviceInterfacesResultOutput() GetDeviceInterfacesResultOutput
func (GetDeviceInterfacesResultOutput) ToGetDeviceInterfacesResultOutputWithContext ¶
func (o GetDeviceInterfacesResultOutput) ToGetDeviceInterfacesResultOutputWithContext(ctx context.Context) GetDeviceInterfacesResultOutput
type GetDevicesArgs ¶
type GetDevicesArgs struct {
Filters []GetDevicesFilter `pulumi:"filters"`
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of arguments for invoking getDevices.
type GetDevicesDevice ¶
type GetDevicesDevice struct {
AssetTag string `pulumi:"assetTag"`
ClusterId int `pulumi:"clusterId"`
Comments string `pulumi:"comments"`
ConfigContext string `pulumi:"configContext"`
CustomFields map[string]string `pulumi:"customFields"`
Description string `pulumi:"description"`
DeviceId int `pulumi:"deviceId"`
DeviceTypeId int `pulumi:"deviceTypeId"`
LocalContextData string `pulumi:"localContextData"`
LocationId int `pulumi:"locationId"`
ManufacturerId int `pulumi:"manufacturerId"`
Model string `pulumi:"model"`
Name string `pulumi:"name"`
OobIp string `pulumi:"oobIp"`
PlatformId int `pulumi:"platformId"`
PrimaryIpv4 string `pulumi:"primaryIpv4"`
PrimaryIpv6 string `pulumi:"primaryIpv6"`
RackFace string `pulumi:"rackFace"`
RackId int `pulumi:"rackId"`
RackPosition float64 `pulumi:"rackPosition"`
RoleId int `pulumi:"roleId"`
Serial string `pulumi:"serial"`
SiteId int `pulumi:"siteId"`
Status string `pulumi:"status"`
Tags []string `pulumi:"tags"`
TenantId int `pulumi:"tenantId"`
}
type GetDevicesDeviceArgs ¶
type GetDevicesDeviceArgs struct {
AssetTag pulumi.StringInput `pulumi:"assetTag"`
ClusterId pulumi.IntInput `pulumi:"clusterId"`
Comments pulumi.StringInput `pulumi:"comments"`
ConfigContext pulumi.StringInput `pulumi:"configContext"`
CustomFields pulumi.StringMapInput `pulumi:"customFields"`
Description pulumi.StringInput `pulumi:"description"`
DeviceId pulumi.IntInput `pulumi:"deviceId"`
DeviceTypeId pulumi.IntInput `pulumi:"deviceTypeId"`
LocalContextData pulumi.StringInput `pulumi:"localContextData"`
LocationId pulumi.IntInput `pulumi:"locationId"`
ManufacturerId pulumi.IntInput `pulumi:"manufacturerId"`
Model pulumi.StringInput `pulumi:"model"`
Name pulumi.StringInput `pulumi:"name"`
OobIp pulumi.StringInput `pulumi:"oobIp"`
PlatformId pulumi.IntInput `pulumi:"platformId"`
PrimaryIpv4 pulumi.StringInput `pulumi:"primaryIpv4"`
PrimaryIpv6 pulumi.StringInput `pulumi:"primaryIpv6"`
RackFace pulumi.StringInput `pulumi:"rackFace"`
RackId pulumi.IntInput `pulumi:"rackId"`
RackPosition pulumi.Float64Input `pulumi:"rackPosition"`
RoleId pulumi.IntInput `pulumi:"roleId"`
Serial pulumi.StringInput `pulumi:"serial"`
SiteId pulumi.IntInput `pulumi:"siteId"`
Status pulumi.StringInput `pulumi:"status"`
Tags pulumi.StringArrayInput `pulumi:"tags"`
TenantId pulumi.IntInput `pulumi:"tenantId"`
}
func (GetDevicesDeviceArgs) ElementType ¶
func (GetDevicesDeviceArgs) ElementType() reflect.Type
func (GetDevicesDeviceArgs) ToGetDevicesDeviceOutput ¶
func (i GetDevicesDeviceArgs) ToGetDevicesDeviceOutput() GetDevicesDeviceOutput
func (GetDevicesDeviceArgs) ToGetDevicesDeviceOutputWithContext ¶
func (i GetDevicesDeviceArgs) ToGetDevicesDeviceOutputWithContext(ctx context.Context) GetDevicesDeviceOutput
type GetDevicesDeviceArray ¶
type GetDevicesDeviceArray []GetDevicesDeviceInput
func (GetDevicesDeviceArray) ElementType ¶
func (GetDevicesDeviceArray) ElementType() reflect.Type
func (GetDevicesDeviceArray) ToGetDevicesDeviceArrayOutput ¶
func (i GetDevicesDeviceArray) ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput
func (GetDevicesDeviceArray) ToGetDevicesDeviceArrayOutputWithContext ¶
func (i GetDevicesDeviceArray) ToGetDevicesDeviceArrayOutputWithContext(ctx context.Context) GetDevicesDeviceArrayOutput
type GetDevicesDeviceArrayInput ¶
type GetDevicesDeviceArrayInput interface {
pulumi.Input
ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput
ToGetDevicesDeviceArrayOutputWithContext(context.Context) GetDevicesDeviceArrayOutput
}
GetDevicesDeviceArrayInput is an input type that accepts GetDevicesDeviceArray and GetDevicesDeviceArrayOutput values. You can construct a concrete instance of `GetDevicesDeviceArrayInput` via:
GetDevicesDeviceArray{ GetDevicesDeviceArgs{...} }
type GetDevicesDeviceArrayOutput ¶
type GetDevicesDeviceArrayOutput struct{ *pulumi.OutputState }
func (GetDevicesDeviceArrayOutput) ElementType ¶
func (GetDevicesDeviceArrayOutput) ElementType() reflect.Type
func (GetDevicesDeviceArrayOutput) Index ¶
func (o GetDevicesDeviceArrayOutput) Index(i pulumi.IntInput) GetDevicesDeviceOutput
func (GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutput ¶
func (o GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput
func (GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutputWithContext ¶
func (o GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutputWithContext(ctx context.Context) GetDevicesDeviceArrayOutput
type GetDevicesDeviceInput ¶
type GetDevicesDeviceInput interface {
pulumi.Input
ToGetDevicesDeviceOutput() GetDevicesDeviceOutput
ToGetDevicesDeviceOutputWithContext(context.Context) GetDevicesDeviceOutput
}
GetDevicesDeviceInput is an input type that accepts GetDevicesDeviceArgs and GetDevicesDeviceOutput values. You can construct a concrete instance of `GetDevicesDeviceInput` via:
GetDevicesDeviceArgs{...}
type GetDevicesDeviceOutput ¶
type GetDevicesDeviceOutput struct{ *pulumi.OutputState }
func (GetDevicesDeviceOutput) AssetTag ¶
func (o GetDevicesDeviceOutput) AssetTag() pulumi.StringOutput
func (GetDevicesDeviceOutput) ClusterId ¶
func (o GetDevicesDeviceOutput) ClusterId() pulumi.IntOutput
func (GetDevicesDeviceOutput) Comments ¶
func (o GetDevicesDeviceOutput) Comments() pulumi.StringOutput
func (GetDevicesDeviceOutput) ConfigContext ¶
func (o GetDevicesDeviceOutput) ConfigContext() pulumi.StringOutput
func (GetDevicesDeviceOutput) CustomFields ¶
func (o GetDevicesDeviceOutput) CustomFields() pulumi.StringMapOutput
func (GetDevicesDeviceOutput) Description ¶
func (o GetDevicesDeviceOutput) Description() pulumi.StringOutput
func (GetDevicesDeviceOutput) DeviceId ¶
func (o GetDevicesDeviceOutput) DeviceId() pulumi.IntOutput
func (GetDevicesDeviceOutput) DeviceTypeId ¶
func (o GetDevicesDeviceOutput) DeviceTypeId() pulumi.IntOutput
func (GetDevicesDeviceOutput) ElementType ¶
func (GetDevicesDeviceOutput) ElementType() reflect.Type
func (GetDevicesDeviceOutput) LocalContextData ¶
func (o GetDevicesDeviceOutput) LocalContextData() pulumi.StringOutput
func (GetDevicesDeviceOutput) LocationId ¶
func (o GetDevicesDeviceOutput) LocationId() pulumi.IntOutput
func (GetDevicesDeviceOutput) ManufacturerId ¶
func (o GetDevicesDeviceOutput) ManufacturerId() pulumi.IntOutput
func (GetDevicesDeviceOutput) Model ¶
func (o GetDevicesDeviceOutput) Model() pulumi.StringOutput
func (GetDevicesDeviceOutput) Name ¶
func (o GetDevicesDeviceOutput) Name() pulumi.StringOutput
func (GetDevicesDeviceOutput) OobIp ¶
func (o GetDevicesDeviceOutput) OobIp() pulumi.StringOutput
func (GetDevicesDeviceOutput) PlatformId ¶
func (o GetDevicesDeviceOutput) PlatformId() pulumi.IntOutput
func (GetDevicesDeviceOutput) PrimaryIpv4 ¶
func (o GetDevicesDeviceOutput) PrimaryIpv4() pulumi.StringOutput
func (GetDevicesDeviceOutput) PrimaryIpv6 ¶
func (o GetDevicesDeviceOutput) PrimaryIpv6() pulumi.StringOutput
func (GetDevicesDeviceOutput) RackFace ¶
func (o GetDevicesDeviceOutput) RackFace() pulumi.StringOutput
func (GetDevicesDeviceOutput) RackId ¶
func (o GetDevicesDeviceOutput) RackId() pulumi.IntOutput
func (GetDevicesDeviceOutput) RackPosition ¶
func (o GetDevicesDeviceOutput) RackPosition() pulumi.Float64Output
func (GetDevicesDeviceOutput) RoleId ¶
func (o GetDevicesDeviceOutput) RoleId() pulumi.IntOutput
func (GetDevicesDeviceOutput) Serial ¶
func (o GetDevicesDeviceOutput) Serial() pulumi.StringOutput
func (GetDevicesDeviceOutput) SiteId ¶
func (o GetDevicesDeviceOutput) SiteId() pulumi.IntOutput
func (GetDevicesDeviceOutput) Status ¶
func (o GetDevicesDeviceOutput) Status() pulumi.StringOutput
func (GetDevicesDeviceOutput) Tags ¶
func (o GetDevicesDeviceOutput) Tags() pulumi.StringArrayOutput
func (GetDevicesDeviceOutput) TenantId ¶
func (o GetDevicesDeviceOutput) TenantId() pulumi.IntOutput
func (GetDevicesDeviceOutput) ToGetDevicesDeviceOutput ¶
func (o GetDevicesDeviceOutput) ToGetDevicesDeviceOutput() GetDevicesDeviceOutput
func (GetDevicesDeviceOutput) ToGetDevicesDeviceOutputWithContext ¶
func (o GetDevicesDeviceOutput) ToGetDevicesDeviceOutputWithContext(ctx context.Context) GetDevicesDeviceOutput
type GetDevicesFilter ¶
type GetDevicesFilterArgs ¶
type GetDevicesFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (GetDevicesFilterArgs) ElementType ¶
func (GetDevicesFilterArgs) ElementType() reflect.Type
func (GetDevicesFilterArgs) ToGetDevicesFilterOutput ¶
func (i GetDevicesFilterArgs) ToGetDevicesFilterOutput() GetDevicesFilterOutput
func (GetDevicesFilterArgs) ToGetDevicesFilterOutputWithContext ¶
func (i GetDevicesFilterArgs) ToGetDevicesFilterOutputWithContext(ctx context.Context) GetDevicesFilterOutput
type GetDevicesFilterArray ¶
type GetDevicesFilterArray []GetDevicesFilterInput
func (GetDevicesFilterArray) ElementType ¶
func (GetDevicesFilterArray) ElementType() reflect.Type
func (GetDevicesFilterArray) ToGetDevicesFilterArrayOutput ¶
func (i GetDevicesFilterArray) ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput
func (GetDevicesFilterArray) ToGetDevicesFilterArrayOutputWithContext ¶
func (i GetDevicesFilterArray) ToGetDevicesFilterArrayOutputWithContext(ctx context.Context) GetDevicesFilterArrayOutput
type GetDevicesFilterArrayInput ¶
type GetDevicesFilterArrayInput interface {
pulumi.Input
ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput
ToGetDevicesFilterArrayOutputWithContext(context.Context) GetDevicesFilterArrayOutput
}
GetDevicesFilterArrayInput is an input type that accepts GetDevicesFilterArray and GetDevicesFilterArrayOutput values. You can construct a concrete instance of `GetDevicesFilterArrayInput` via:
GetDevicesFilterArray{ GetDevicesFilterArgs{...} }
type GetDevicesFilterArrayOutput ¶
type GetDevicesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDevicesFilterArrayOutput) ElementType ¶
func (GetDevicesFilterArrayOutput) ElementType() reflect.Type
func (GetDevicesFilterArrayOutput) Index ¶
func (o GetDevicesFilterArrayOutput) Index(i pulumi.IntInput) GetDevicesFilterOutput
func (GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutput ¶
func (o GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput
func (GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutputWithContext ¶
func (o GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutputWithContext(ctx context.Context) GetDevicesFilterArrayOutput
type GetDevicesFilterInput ¶
type GetDevicesFilterInput interface {
pulumi.Input
ToGetDevicesFilterOutput() GetDevicesFilterOutput
ToGetDevicesFilterOutputWithContext(context.Context) GetDevicesFilterOutput
}
GetDevicesFilterInput is an input type that accepts GetDevicesFilterArgs and GetDevicesFilterOutput values. You can construct a concrete instance of `GetDevicesFilterInput` via:
GetDevicesFilterArgs{...}
type GetDevicesFilterOutput ¶
type GetDevicesFilterOutput struct{ *pulumi.OutputState }
func (GetDevicesFilterOutput) ElementType ¶
func (GetDevicesFilterOutput) ElementType() reflect.Type
func (GetDevicesFilterOutput) Name ¶
func (o GetDevicesFilterOutput) Name() pulumi.StringOutput
func (GetDevicesFilterOutput) ToGetDevicesFilterOutput ¶
func (o GetDevicesFilterOutput) ToGetDevicesFilterOutput() GetDevicesFilterOutput
func (GetDevicesFilterOutput) ToGetDevicesFilterOutputWithContext ¶
func (o GetDevicesFilterOutput) ToGetDevicesFilterOutputWithContext(ctx context.Context) GetDevicesFilterOutput
func (GetDevicesFilterOutput) Value ¶
func (o GetDevicesFilterOutput) Value() pulumi.StringOutput
type GetDevicesOutputArgs ¶
type GetDevicesOutputArgs struct {
Filters GetDevicesFilterArrayInput `pulumi:"filters"`
Limit pulumi.IntPtrInput `pulumi:"limit"`
NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
}
A collection of arguments for invoking getDevices.
func (GetDevicesOutputArgs) ElementType ¶
func (GetDevicesOutputArgs) ElementType() reflect.Type
type GetDevicesResult ¶
type GetDevicesResult struct {
Devices []GetDevicesDevice `pulumi:"devices"`
Filters []GetDevicesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of values returned by getDevices.
func GetDevices ¶
func GetDevices(ctx *pulumi.Context, args *GetDevicesArgs, opts ...pulumi.InvokeOption) (*GetDevicesResult, error)
type GetDevicesResultOutput ¶
type GetDevicesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDevices.
func GetDevicesOutput ¶
func GetDevicesOutput(ctx *pulumi.Context, args GetDevicesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesResultOutput
func (GetDevicesResultOutput) Devices ¶
func (o GetDevicesResultOutput) Devices() GetDevicesDeviceArrayOutput
func (GetDevicesResultOutput) ElementType ¶
func (GetDevicesResultOutput) ElementType() reflect.Type
func (GetDevicesResultOutput) Filters ¶
func (o GetDevicesResultOutput) Filters() GetDevicesFilterArrayOutput
func (GetDevicesResultOutput) Id ¶
func (o GetDevicesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDevicesResultOutput) Limit ¶
func (o GetDevicesResultOutput) Limit() pulumi.IntPtrOutput
func (GetDevicesResultOutput) NameRegex ¶
func (o GetDevicesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDevicesResultOutput) ToGetDevicesResultOutput ¶
func (o GetDevicesResultOutput) ToGetDevicesResultOutput() GetDevicesResultOutput
func (GetDevicesResultOutput) ToGetDevicesResultOutputWithContext ¶
func (o GetDevicesResultOutput) ToGetDevicesResultOutputWithContext(ctx context.Context) GetDevicesResultOutput
type GetLocationsArgs ¶
type GetLocationsArgs struct {
// A list of filter to apply to the API query when requesting locations.
Filters []GetLocationsFilter `pulumi:"filters"`
// The limit of objects to return from the API lookup. Defaults to `0`.
Limit *int `pulumi:"limit"`
// A list of tags to filter on.
Tags []string `pulumi:"tags"`
}
A collection of arguments for invoking getLocations.
type GetLocationsFilter ¶
type GetLocationsFilterArgs ¶
type GetLocationsFilterArgs struct {
// The name of the field to filter on. Supported fields are: .
Name pulumi.StringInput `pulumi:"name"`
// The value to pass to the specified filter.
Value pulumi.StringInput `pulumi:"value"`
}
func (GetLocationsFilterArgs) ElementType ¶
func (GetLocationsFilterArgs) ElementType() reflect.Type
func (GetLocationsFilterArgs) ToGetLocationsFilterOutput ¶
func (i GetLocationsFilterArgs) ToGetLocationsFilterOutput() GetLocationsFilterOutput
func (GetLocationsFilterArgs) ToGetLocationsFilterOutputWithContext ¶
func (i GetLocationsFilterArgs) ToGetLocationsFilterOutputWithContext(ctx context.Context) GetLocationsFilterOutput
type GetLocationsFilterArray ¶
type GetLocationsFilterArray []GetLocationsFilterInput
func (GetLocationsFilterArray) ElementType ¶
func (GetLocationsFilterArray) ElementType() reflect.Type
func (GetLocationsFilterArray) ToGetLocationsFilterArrayOutput ¶
func (i GetLocationsFilterArray) ToGetLocationsFilterArrayOutput() GetLocationsFilterArrayOutput
func (GetLocationsFilterArray) ToGetLocationsFilterArrayOutputWithContext ¶
func (i GetLocationsFilterArray) ToGetLocationsFilterArrayOutputWithContext(ctx context.Context) GetLocationsFilterArrayOutput
type GetLocationsFilterArrayInput ¶
type GetLocationsFilterArrayInput interface {
pulumi.Input
ToGetLocationsFilterArrayOutput() GetLocationsFilterArrayOutput
ToGetLocationsFilterArrayOutputWithContext(context.Context) GetLocationsFilterArrayOutput
}
GetLocationsFilterArrayInput is an input type that accepts GetLocationsFilterArray and GetLocationsFilterArrayOutput values. You can construct a concrete instance of `GetLocationsFilterArrayInput` via:
GetLocationsFilterArray{ GetLocationsFilterArgs{...} }
type GetLocationsFilterArrayOutput ¶
type GetLocationsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetLocationsFilterArrayOutput) ElementType ¶
func (GetLocationsFilterArrayOutput) ElementType() reflect.Type
func (GetLocationsFilterArrayOutput) Index ¶
func (o GetLocationsFilterArrayOutput) Index(i pulumi.IntInput) GetLocationsFilterOutput
func (GetLocationsFilterArrayOutput) ToGetLocationsFilterArrayOutput ¶
func (o GetLocationsFilterArrayOutput) ToGetLocationsFilterArrayOutput() GetLocationsFilterArrayOutput
func (GetLocationsFilterArrayOutput) ToGetLocationsFilterArrayOutputWithContext ¶
func (o GetLocationsFilterArrayOutput) ToGetLocationsFilterArrayOutputWithContext(ctx context.Context) GetLocationsFilterArrayOutput
type GetLocationsFilterInput ¶
type GetLocationsFilterInput interface {
pulumi.Input
ToGetLocationsFilterOutput() GetLocationsFilterOutput
ToGetLocationsFilterOutputWithContext(context.Context) GetLocationsFilterOutput
}
GetLocationsFilterInput is an input type that accepts GetLocationsFilterArgs and GetLocationsFilterOutput values. You can construct a concrete instance of `GetLocationsFilterInput` via:
GetLocationsFilterArgs{...}
type GetLocationsFilterOutput ¶
type GetLocationsFilterOutput struct{ *pulumi.OutputState }
func (GetLocationsFilterOutput) ElementType ¶
func (GetLocationsFilterOutput) ElementType() reflect.Type
func (GetLocationsFilterOutput) Name ¶
func (o GetLocationsFilterOutput) Name() pulumi.StringOutput
The name of the field to filter on. Supported fields are: .
func (GetLocationsFilterOutput) ToGetLocationsFilterOutput ¶
func (o GetLocationsFilterOutput) ToGetLocationsFilterOutput() GetLocationsFilterOutput
func (GetLocationsFilterOutput) ToGetLocationsFilterOutputWithContext ¶
func (o GetLocationsFilterOutput) ToGetLocationsFilterOutputWithContext(ctx context.Context) GetLocationsFilterOutput
func (GetLocationsFilterOutput) Value ¶
func (o GetLocationsFilterOutput) Value() pulumi.StringOutput
The value to pass to the specified filter.
type GetLocationsLocation ¶
type GetLocationsLocation struct {
Description string `pulumi:"description"`
Facility string `pulumi:"facility"`
Id string `pulumi:"id"`
Name *string `pulumi:"name"`
ParentId int `pulumi:"parentId"`
SiteId int `pulumi:"siteId"`
Slug *string `pulumi:"slug"`
Status string `pulumi:"status"`
TenantId int `pulumi:"tenantId"`
}
type GetLocationsLocationArgs ¶
type GetLocationsLocationArgs struct {
Description pulumi.StringInput `pulumi:"description"`
Facility pulumi.StringInput `pulumi:"facility"`
Id pulumi.StringInput `pulumi:"id"`
Name pulumi.StringPtrInput `pulumi:"name"`
ParentId pulumi.IntInput `pulumi:"parentId"`
SiteId pulumi.IntInput `pulumi:"siteId"`
Slug pulumi.StringPtrInput `pulumi:"slug"`
Status pulumi.StringInput `pulumi:"status"`
TenantId pulumi.IntInput `pulumi:"tenantId"`
}
func (GetLocationsLocationArgs) ElementType ¶
func (GetLocationsLocationArgs) ElementType() reflect.Type
func (GetLocationsLocationArgs) ToGetLocationsLocationOutput ¶
func (i GetLocationsLocationArgs) ToGetLocationsLocationOutput() GetLocationsLocationOutput
func (GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext ¶
func (i GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput
type GetLocationsLocationArray ¶
type GetLocationsLocationArray []GetLocationsLocationInput
func (GetLocationsLocationArray) ElementType ¶
func (GetLocationsLocationArray) ElementType() reflect.Type
func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutput ¶
func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext ¶
func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput
type GetLocationsLocationArrayInput ¶
type GetLocationsLocationArrayInput interface {
pulumi.Input
ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
ToGetLocationsLocationArrayOutputWithContext(context.Context) GetLocationsLocationArrayOutput
}
GetLocationsLocationArrayInput is an input type that accepts GetLocationsLocationArray and GetLocationsLocationArrayOutput values. You can construct a concrete instance of `GetLocationsLocationArrayInput` via:
GetLocationsLocationArray{ GetLocationsLocationArgs{...} }
type GetLocationsLocationArrayOutput ¶
type GetLocationsLocationArrayOutput struct{ *pulumi.OutputState }
func (GetLocationsLocationArrayOutput) ElementType ¶
func (GetLocationsLocationArrayOutput) ElementType() reflect.Type
func (GetLocationsLocationArrayOutput) Index ¶
func (o GetLocationsLocationArrayOutput) Index(i pulumi.IntInput) GetLocationsLocationOutput
func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput ¶
func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext ¶
func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput
type GetLocationsLocationInput ¶
type GetLocationsLocationInput interface {
pulumi.Input
ToGetLocationsLocationOutput() GetLocationsLocationOutput
ToGetLocationsLocationOutputWithContext(context.Context) GetLocationsLocationOutput
}
GetLocationsLocationInput is an input type that accepts GetLocationsLocationArgs and GetLocationsLocationOutput values. You can construct a concrete instance of `GetLocationsLocationInput` via:
GetLocationsLocationArgs{...}
type GetLocationsLocationOutput ¶
type GetLocationsLocationOutput struct{ *pulumi.OutputState }
func (GetLocationsLocationOutput) Description ¶
func (o GetLocationsLocationOutput) Description() pulumi.StringOutput
func (GetLocationsLocationOutput) ElementType ¶
func (GetLocationsLocationOutput) ElementType() reflect.Type
func (GetLocationsLocationOutput) Facility ¶
func (o GetLocationsLocationOutput) Facility() pulumi.StringOutput
func (GetLocationsLocationOutput) Id ¶
func (o GetLocationsLocationOutput) Id() pulumi.StringOutput
func (GetLocationsLocationOutput) Name ¶
func (o GetLocationsLocationOutput) Name() pulumi.StringPtrOutput
func (GetLocationsLocationOutput) ParentId ¶
func (o GetLocationsLocationOutput) ParentId() pulumi.IntOutput
func (GetLocationsLocationOutput) SiteId ¶
func (o GetLocationsLocationOutput) SiteId() pulumi.IntOutput
func (GetLocationsLocationOutput) Slug ¶
func (o GetLocationsLocationOutput) Slug() pulumi.StringPtrOutput
func (GetLocationsLocationOutput) Status ¶
func (o GetLocationsLocationOutput) Status() pulumi.StringOutput
func (GetLocationsLocationOutput) TenantId ¶
func (o GetLocationsLocationOutput) TenantId() pulumi.IntOutput
func (GetLocationsLocationOutput) ToGetLocationsLocationOutput ¶
func (o GetLocationsLocationOutput) ToGetLocationsLocationOutput() GetLocationsLocationOutput
func (GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext ¶
func (o GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput
type GetLocationsOutputArgs ¶
type GetLocationsOutputArgs struct {
// A list of filter to apply to the API query when requesting locations.
Filters GetLocationsFilterArrayInput `pulumi:"filters"`
// The limit of objects to return from the API lookup. Defaults to `0`.
Limit pulumi.IntPtrInput `pulumi:"limit"`
// A list of tags to filter on.
Tags pulumi.StringArrayInput `pulumi:"tags"`
}
A collection of arguments for invoking getLocations.
func (GetLocationsOutputArgs) ElementType ¶
func (GetLocationsOutputArgs) ElementType() reflect.Type
type GetLocationsResult ¶
type GetLocationsResult struct {
// A list of filter to apply to the API query when requesting locations.
Filters []GetLocationsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// The limit of objects to return from the API lookup. Defaults to `0`.
Limit *int `pulumi:"limit"`
Locations []GetLocationsLocation `pulumi:"locations"`
// A list of tags to filter on.
Tags []string `pulumi:"tags"`
}
A collection of values returned by getLocations.
func GetLocations ¶
func GetLocations(ctx *pulumi.Context, args *GetLocationsArgs, opts ...pulumi.InvokeOption) (*GetLocationsResult, error)
type GetLocationsResultOutput ¶
type GetLocationsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocations.
func GetLocationsOutput ¶
func GetLocationsOutput(ctx *pulumi.Context, args GetLocationsOutputArgs, opts ...pulumi.InvokeOption) GetLocationsResultOutput
func (GetLocationsResultOutput) ElementType ¶
func (GetLocationsResultOutput) ElementType() reflect.Type
func (GetLocationsResultOutput) Filters ¶
func (o GetLocationsResultOutput) Filters() GetLocationsFilterArrayOutput
A list of filter to apply to the API query when requesting locations.
func (GetLocationsResultOutput) Id ¶
func (o GetLocationsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocationsResultOutput) Limit ¶
func (o GetLocationsResultOutput) Limit() pulumi.IntPtrOutput
The limit of objects to return from the API lookup. Defaults to `0`.
func (GetLocationsResultOutput) Locations ¶
func (o GetLocationsResultOutput) Locations() GetLocationsLocationArrayOutput
func (GetLocationsResultOutput) Tags ¶
func (o GetLocationsResultOutput) Tags() pulumi.StringArrayOutput
A list of tags to filter on.
func (GetLocationsResultOutput) ToGetLocationsResultOutput ¶
func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput
func (GetLocationsResultOutput) ToGetLocationsResultOutputWithContext ¶
func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput
type GetRacksArgs ¶
type GetRacksArgs struct {
Filters []GetRacksFilter `pulumi:"filters"`
// Defaults to `0`.
Limit *int `pulumi:"limit"`
}
A collection of arguments for invoking getRacks.
type GetRacksFilter ¶
type GetRacksFilterArgs ¶
type GetRacksFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (GetRacksFilterArgs) ElementType ¶
func (GetRacksFilterArgs) ElementType() reflect.Type
func (GetRacksFilterArgs) ToGetRacksFilterOutput ¶
func (i GetRacksFilterArgs) ToGetRacksFilterOutput() GetRacksFilterOutput
func (GetRacksFilterArgs) ToGetRacksFilterOutputWithContext ¶
func (i GetRacksFilterArgs) ToGetRacksFilterOutputWithContext(ctx context.Context) GetRacksFilterOutput
type GetRacksFilterArray ¶
type GetRacksFilterArray []GetRacksFilterInput
func (GetRacksFilterArray) ElementType ¶
func (GetRacksFilterArray) ElementType() reflect.Type
func (GetRacksFilterArray) ToGetRacksFilterArrayOutput ¶
func (i GetRacksFilterArray) ToGetRacksFilterArrayOutput() GetRacksFilterArrayOutput
func (GetRacksFilterArray) ToGetRacksFilterArrayOutputWithContext ¶
func (i GetRacksFilterArray) ToGetRacksFilterArrayOutputWithContext(ctx context.Context) GetRacksFilterArrayOutput
type GetRacksFilterArrayInput ¶
type GetRacksFilterArrayInput interface {
pulumi.Input
ToGetRacksFilterArrayOutput() GetRacksFilterArrayOutput
ToGetRacksFilterArrayOutputWithContext(context.Context) GetRacksFilterArrayOutput
}
GetRacksFilterArrayInput is an input type that accepts GetRacksFilterArray and GetRacksFilterArrayOutput values. You can construct a concrete instance of `GetRacksFilterArrayInput` via:
GetRacksFilterArray{ GetRacksFilterArgs{...} }
type GetRacksFilterArrayOutput ¶
type GetRacksFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRacksFilterArrayOutput) ElementType ¶
func (GetRacksFilterArrayOutput) ElementType() reflect.Type
func (GetRacksFilterArrayOutput) Index ¶
func (o GetRacksFilterArrayOutput) Index(i pulumi.IntInput) GetRacksFilterOutput
func (GetRacksFilterArrayOutput) ToGetRacksFilterArrayOutput ¶
func (o GetRacksFilterArrayOutput) ToGetRacksFilterArrayOutput() GetRacksFilterArrayOutput
func (GetRacksFilterArrayOutput) ToGetRacksFilterArrayOutputWithContext ¶
func (o GetRacksFilterArrayOutput) ToGetRacksFilterArrayOutputWithContext(ctx context.Context) GetRacksFilterArrayOutput
type GetRacksFilterInput ¶
type GetRacksFilterInput interface {
pulumi.Input
ToGetRacksFilterOutput() GetRacksFilterOutput
ToGetRacksFilterOutputWithContext(context.Context) GetRacksFilterOutput
}
GetRacksFilterInput is an input type that accepts GetRacksFilterArgs and GetRacksFilterOutput values. You can construct a concrete instance of `GetRacksFilterInput` via:
GetRacksFilterArgs{...}
type GetRacksFilterOutput ¶
type GetRacksFilterOutput struct{ *pulumi.OutputState }
func (GetRacksFilterOutput) ElementType ¶
func (GetRacksFilterOutput) ElementType() reflect.Type
func (GetRacksFilterOutput) Name ¶
func (o GetRacksFilterOutput) Name() pulumi.StringOutput
func (GetRacksFilterOutput) ToGetRacksFilterOutput ¶
func (o GetRacksFilterOutput) ToGetRacksFilterOutput() GetRacksFilterOutput
func (GetRacksFilterOutput) ToGetRacksFilterOutputWithContext ¶
func (o GetRacksFilterOutput) ToGetRacksFilterOutputWithContext(ctx context.Context) GetRacksFilterOutput
func (GetRacksFilterOutput) Value ¶
func (o GetRacksFilterOutput) Value() pulumi.StringOutput
type GetRacksOutputArgs ¶
type GetRacksOutputArgs struct {
Filters GetRacksFilterArrayInput `pulumi:"filters"`
// Defaults to `0`.
Limit pulumi.IntPtrInput `pulumi:"limit"`
}
A collection of arguments for invoking getRacks.
func (GetRacksOutputArgs) ElementType ¶
func (GetRacksOutputArgs) ElementType() reflect.Type
type GetRacksRack ¶
type GetRacksRack struct {
AssetTag string `pulumi:"assetTag"`
Comments string `pulumi:"comments"`
CustomFields map[string]string `pulumi:"customFields"`
DescUnits bool `pulumi:"descUnits"`
Description string `pulumi:"description"`
FacilityId string `pulumi:"facilityId"`
Id int `pulumi:"id"`
LocationId int `pulumi:"locationId"`
MaxWeight int `pulumi:"maxWeight"`
MountingDepth int `pulumi:"mountingDepth"`
Name string `pulumi:"name"`
OuterDepth int `pulumi:"outerDepth"`
OuterUnit string `pulumi:"outerUnit"`
OuterWidth int `pulumi:"outerWidth"`
RoleId int `pulumi:"roleId"`
Serial string `pulumi:"serial"`
SiteId int `pulumi:"siteId"`
Status string `pulumi:"status"`
Tags []string `pulumi:"tags"`
TenantId int `pulumi:"tenantId"`
TypeId int `pulumi:"typeId"`
UHeight int `pulumi:"uHeight"`
Weight float64 `pulumi:"weight"`
WeightUnit string `pulumi:"weightUnit"`
Width int `pulumi:"width"`
}
type GetRacksRackArgs ¶
type GetRacksRackArgs struct {
AssetTag pulumi.StringInput `pulumi:"assetTag"`
Comments pulumi.StringInput `pulumi:"comments"`
CustomFields pulumi.StringMapInput `pulumi:"customFields"`
DescUnits pulumi.BoolInput `pulumi:"descUnits"`
Description pulumi.StringInput `pulumi:"description"`
FacilityId pulumi.StringInput `pulumi:"facilityId"`
Id pulumi.IntInput `pulumi:"id"`
LocationId pulumi.IntInput `pulumi:"locationId"`
MaxWeight pulumi.IntInput `pulumi:"maxWeight"`
MountingDepth pulumi.IntInput `pulumi:"mountingDepth"`
Name pulumi.StringInput `pulumi:"name"`
OuterDepth pulumi.IntInput `pulumi:"outerDepth"`
OuterUnit pulumi.StringInput `pulumi:"outerUnit"`
OuterWidth pulumi.IntInput `pulumi:"outerWidth"`
RoleId pulumi.IntInput `pulumi:"roleId"`
Serial pulumi.StringInput `pulumi:"serial"`
SiteId pulumi.IntInput `pulumi:"siteId"`
Status pulumi.StringInput `pulumi:"status"`
Tags pulumi.StringArrayInput `pulumi:"tags"`
TenantId pulumi.IntInput `pulumi:"tenantId"`
TypeId pulumi.IntInput `pulumi:"typeId"`
UHeight pulumi.IntInput `pulumi:"uHeight"`
Weight pulumi.Float64Input `pulumi:"weight"`
WeightUnit pulumi.StringInput `pulumi:"weightUnit"`
Width pulumi.IntInput `pulumi:"width"`
}
func (GetRacksRackArgs) ElementType ¶
func (GetRacksRackArgs) ElementType() reflect.Type
func (GetRacksRackArgs) ToGetRacksRackOutput ¶
func (i GetRacksRackArgs) ToGetRacksRackOutput() GetRacksRackOutput
func (GetRacksRackArgs) ToGetRacksRackOutputWithContext ¶
func (i GetRacksRackArgs) ToGetRacksRackOutputWithContext(ctx context.Context) GetRacksRackOutput
type GetRacksRackArray ¶
type GetRacksRackArray []GetRacksRackInput
func (GetRacksRackArray) ElementType ¶
func (GetRacksRackArray) ElementType() reflect.Type
func (GetRacksRackArray) ToGetRacksRackArrayOutput ¶
func (i GetRacksRackArray) ToGetRacksRackArrayOutput() GetRacksRackArrayOutput
func (GetRacksRackArray) ToGetRacksRackArrayOutputWithContext ¶
func (i GetRacksRackArray) ToGetRacksRackArrayOutputWithContext(ctx context.Context) GetRacksRackArrayOutput
type GetRacksRackArrayInput ¶
type GetRacksRackArrayInput interface {
pulumi.Input
ToGetRacksRackArrayOutput() GetRacksRackArrayOutput
ToGetRacksRackArrayOutputWithContext(context.Context) GetRacksRackArrayOutput
}
GetRacksRackArrayInput is an input type that accepts GetRacksRackArray and GetRacksRackArrayOutput values. You can construct a concrete instance of `GetRacksRackArrayInput` via:
GetRacksRackArray{ GetRacksRackArgs{...} }
type GetRacksRackArrayOutput ¶
type GetRacksRackArrayOutput struct{ *pulumi.OutputState }
func (GetRacksRackArrayOutput) ElementType ¶
func (GetRacksRackArrayOutput) ElementType() reflect.Type
func (GetRacksRackArrayOutput) Index ¶
func (o GetRacksRackArrayOutput) Index(i pulumi.IntInput) GetRacksRackOutput
func (GetRacksRackArrayOutput) ToGetRacksRackArrayOutput ¶
func (o GetRacksRackArrayOutput) ToGetRacksRackArrayOutput() GetRacksRackArrayOutput
func (GetRacksRackArrayOutput) ToGetRacksRackArrayOutputWithContext ¶
func (o GetRacksRackArrayOutput) ToGetRacksRackArrayOutputWithContext(ctx context.Context) GetRacksRackArrayOutput
type GetRacksRackInput ¶
type GetRacksRackInput interface {
pulumi.Input
ToGetRacksRackOutput() GetRacksRackOutput
ToGetRacksRackOutputWithContext(context.Context) GetRacksRackOutput
}
GetRacksRackInput is an input type that accepts GetRacksRackArgs and GetRacksRackOutput values. You can construct a concrete instance of `GetRacksRackInput` via:
GetRacksRackArgs{...}
type GetRacksRackOutput ¶
type GetRacksRackOutput struct{ *pulumi.OutputState }
func (GetRacksRackOutput) AssetTag ¶
func (o GetRacksRackOutput) AssetTag() pulumi.StringOutput
func (GetRacksRackOutput) Comments ¶
func (o GetRacksRackOutput) Comments() pulumi.StringOutput
func (GetRacksRackOutput) CustomFields ¶
func (o GetRacksRackOutput) CustomFields() pulumi.StringMapOutput
func (GetRacksRackOutput) DescUnits ¶
func (o GetRacksRackOutput) DescUnits() pulumi.BoolOutput
func (GetRacksRackOutput) Description ¶
func (o GetRacksRackOutput) Description() pulumi.StringOutput
func (GetRacksRackOutput) ElementType ¶
func (GetRacksRackOutput) ElementType() reflect.Type
func (GetRacksRackOutput) FacilityId ¶
func (o GetRacksRackOutput) FacilityId() pulumi.StringOutput
func (GetRacksRackOutput) Id ¶
func (o GetRacksRackOutput) Id() pulumi.IntOutput
func (GetRacksRackOutput) LocationId ¶
func (o GetRacksRackOutput) LocationId() pulumi.IntOutput
func (GetRacksRackOutput) MaxWeight ¶
func (o GetRacksRackOutput) MaxWeight() pulumi.IntOutput
func (GetRacksRackOutput) MountingDepth ¶
func (o GetRacksRackOutput) MountingDepth() pulumi.IntOutput
func (GetRacksRackOutput) Name ¶
func (o GetRacksRackOutput) Name() pulumi.StringOutput
func (GetRacksRackOutput) OuterDepth ¶
func (o GetRacksRackOutput) OuterDepth() pulumi.IntOutput
func (GetRacksRackOutput) OuterUnit ¶
func (o GetRacksRackOutput) OuterUnit() pulumi.StringOutput
func (GetRacksRackOutput) OuterWidth ¶
func (o GetRacksRackOutput) OuterWidth() pulumi.IntOutput
func (GetRacksRackOutput) RoleId ¶
func (o GetRacksRackOutput) RoleId() pulumi.IntOutput
func (GetRacksRackOutput) Serial ¶
func (o GetRacksRackOutput) Serial() pulumi.StringOutput
func (GetRacksRackOutput) SiteId ¶
func (o GetRacksRackOutput) SiteId() pulumi.IntOutput
func (GetRacksRackOutput) Status ¶
func (o GetRacksRackOutput) Status() pulumi.StringOutput
func (GetRacksRackOutput) Tags ¶
func (o GetRacksRackOutput) Tags() pulumi.StringArrayOutput
func (GetRacksRackOutput) TenantId ¶
func (o GetRacksRackOutput) TenantId() pulumi.IntOutput
func (GetRacksRackOutput) ToGetRacksRackOutput ¶
func (o GetRacksRackOutput) ToGetRacksRackOutput() GetRacksRackOutput
func (GetRacksRackOutput) ToGetRacksRackOutputWithContext ¶
func (o GetRacksRackOutput) ToGetRacksRackOutputWithContext(ctx context.Context) GetRacksRackOutput
func (GetRacksRackOutput) TypeId ¶
func (o GetRacksRackOutput) TypeId() pulumi.IntOutput
func (GetRacksRackOutput) UHeight ¶
func (o GetRacksRackOutput) UHeight() pulumi.IntOutput
func (GetRacksRackOutput) Weight ¶
func (o GetRacksRackOutput) Weight() pulumi.Float64Output
func (GetRacksRackOutput) WeightUnit ¶
func (o GetRacksRackOutput) WeightUnit() pulumi.StringOutput
func (GetRacksRackOutput) Width ¶
func (o GetRacksRackOutput) Width() pulumi.IntOutput
type GetRacksResult ¶
type GetRacksResult struct {
Filters []GetRacksFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Defaults to `0`.
Limit *int `pulumi:"limit"`
Racks []GetRacksRack `pulumi:"racks"`
}
A collection of values returned by getRacks.
func GetRacks ¶
func GetRacks(ctx *pulumi.Context, args *GetRacksArgs, opts ...pulumi.InvokeOption) (*GetRacksResult, error)
type GetRacksResultOutput ¶
type GetRacksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRacks.
func GetRacksOutput ¶
func GetRacksOutput(ctx *pulumi.Context, args GetRacksOutputArgs, opts ...pulumi.InvokeOption) GetRacksResultOutput
func (GetRacksResultOutput) ElementType ¶
func (GetRacksResultOutput) ElementType() reflect.Type
func (GetRacksResultOutput) Filters ¶
func (o GetRacksResultOutput) Filters() GetRacksFilterArrayOutput
func (GetRacksResultOutput) Id ¶
func (o GetRacksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRacksResultOutput) Limit ¶
func (o GetRacksResultOutput) Limit() pulumi.IntPtrOutput
Defaults to `0`.
func (GetRacksResultOutput) Racks ¶
func (o GetRacksResultOutput) Racks() GetRacksRackArrayOutput
func (GetRacksResultOutput) ToGetRacksResultOutput ¶
func (o GetRacksResultOutput) ToGetRacksResultOutput() GetRacksResultOutput
func (GetRacksResultOutput) ToGetRacksResultOutputWithContext ¶
func (o GetRacksResultOutput) ToGetRacksResultOutputWithContext(ctx context.Context) GetRacksResultOutput
type GetRegionFilter ¶
type GetRegionFilterArgs ¶
type GetRegionFilterArgs struct {
// The ID of this resource.
Id pulumi.IntPtrInput `pulumi:"id"`
Name pulumi.StringPtrInput `pulumi:"name"`
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
func (GetRegionFilterArgs) ElementType ¶
func (GetRegionFilterArgs) ElementType() reflect.Type
func (GetRegionFilterArgs) ToGetRegionFilterOutput ¶
func (i GetRegionFilterArgs) ToGetRegionFilterOutput() GetRegionFilterOutput
func (GetRegionFilterArgs) ToGetRegionFilterOutputWithContext ¶
func (i GetRegionFilterArgs) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput
type GetRegionFilterArray ¶
type GetRegionFilterArray []GetRegionFilterInput
func (GetRegionFilterArray) ElementType ¶
func (GetRegionFilterArray) ElementType() reflect.Type
func (GetRegionFilterArray) ToGetRegionFilterArrayOutput ¶
func (i GetRegionFilterArray) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
func (GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext ¶
func (i GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput
type GetRegionFilterArrayInput ¶
type GetRegionFilterArrayInput interface {
pulumi.Input
ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
ToGetRegionFilterArrayOutputWithContext(context.Context) GetRegionFilterArrayOutput
}
GetRegionFilterArrayInput is an input type that accepts GetRegionFilterArray and GetRegionFilterArrayOutput values. You can construct a concrete instance of `GetRegionFilterArrayInput` via:
GetRegionFilterArray{ GetRegionFilterArgs{...} }
type GetRegionFilterArrayOutput ¶
type GetRegionFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRegionFilterArrayOutput) ElementType ¶
func (GetRegionFilterArrayOutput) ElementType() reflect.Type
func (GetRegionFilterArrayOutput) Index ¶
func (o GetRegionFilterArrayOutput) Index(i pulumi.IntInput) GetRegionFilterOutput
func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput ¶
func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext ¶
func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput
type GetRegionFilterInput ¶
type GetRegionFilterInput interface {
pulumi.Input
ToGetRegionFilterOutput() GetRegionFilterOutput
ToGetRegionFilterOutputWithContext(context.Context) GetRegionFilterOutput
}
GetRegionFilterInput is an input type that accepts GetRegionFilterArgs and GetRegionFilterOutput values. You can construct a concrete instance of `GetRegionFilterInput` via:
GetRegionFilterArgs{...}
type GetRegionFilterOutput ¶
type GetRegionFilterOutput struct{ *pulumi.OutputState }
func (GetRegionFilterOutput) ElementType ¶
func (GetRegionFilterOutput) ElementType() reflect.Type
func (GetRegionFilterOutput) Id ¶
func (o GetRegionFilterOutput) Id() pulumi.IntPtrOutput
The ID of this resource.
func (GetRegionFilterOutput) Name ¶
func (o GetRegionFilterOutput) Name() pulumi.StringPtrOutput
func (GetRegionFilterOutput) Slug ¶
func (o GetRegionFilterOutput) Slug() pulumi.StringPtrOutput
func (GetRegionFilterOutput) ToGetRegionFilterOutput ¶
func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput
func (GetRegionFilterOutput) ToGetRegionFilterOutputWithContext ¶
func (o GetRegionFilterOutput) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput
type InterfaceTemplate ¶
type InterfaceTemplate struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
// Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
DeviceTypeId pulumi.IntPtrOutput `pulumi:"deviceTypeId"`
Label pulumi.StringPtrOutput `pulumi:"label"`
MgmtOnly pulumi.BoolPtrOutput `pulumi:"mgmtOnly"`
// Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
ModuleTypeId pulumi.IntPtrOutput `pulumi:"moduleTypeId"`
Name pulumi.StringOutput `pulumi:"name"`
Type pulumi.StringOutput `pulumi:"type"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/interfacetemplate/):
> A template for a network interface that will be created on all instantiations of the parent device type. See the interface documentation for more detail.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("my-manufacturer"),
})
if err != nil {
return err
}
testDeviceType, err := dcim.NewDeviceType(ctx, "test", &dcim.DeviceTypeArgs{
Model: pulumi.String("test-model"),
Slug: pulumi.String("test-model"),
PartNumber: pulumi.String("test-part-number"),
ManufacturerId: test.ID(),
})
if err != nil {
return err
}
_, err = dcim.NewInterfaceTemplate(ctx, "test", &dcim.InterfaceTemplateArgs{
Name: pulumi.String("eth0"),
Description: pulumi.String("eth0 description"),
Label: pulumi.String("eth0 label"),
DeviceTypeId: testDeviceType.ID(),
Type: pulumi.String("100base-tx"),
MgmtOnly: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
```
func GetInterfaceTemplate ¶
func GetInterfaceTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceTemplateState, opts ...pulumi.ResourceOption) (*InterfaceTemplate, error)
GetInterfaceTemplate gets an existing InterfaceTemplate 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 NewInterfaceTemplate ¶
func NewInterfaceTemplate(ctx *pulumi.Context, name string, args *InterfaceTemplateArgs, opts ...pulumi.ResourceOption) (*InterfaceTemplate, error)
NewInterfaceTemplate registers a new resource with the given unique name, arguments, and options.
func (*InterfaceTemplate) ElementType ¶
func (*InterfaceTemplate) ElementType() reflect.Type
func (*InterfaceTemplate) ToInterfaceTemplateOutput ¶
func (i *InterfaceTemplate) ToInterfaceTemplateOutput() InterfaceTemplateOutput
func (*InterfaceTemplate) ToInterfaceTemplateOutputWithContext ¶
func (i *InterfaceTemplate) ToInterfaceTemplateOutputWithContext(ctx context.Context) InterfaceTemplateOutput
type InterfaceTemplateArgs ¶
type InterfaceTemplateArgs struct {
Description pulumi.StringPtrInput
// Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
DeviceTypeId pulumi.IntPtrInput
Label pulumi.StringPtrInput
MgmtOnly pulumi.BoolPtrInput
// Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
ModuleTypeId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Type pulumi.StringInput
}
The set of arguments for constructing a InterfaceTemplate resource.
func (InterfaceTemplateArgs) ElementType ¶
func (InterfaceTemplateArgs) ElementType() reflect.Type
type InterfaceTemplateArray ¶
type InterfaceTemplateArray []InterfaceTemplateInput
func (InterfaceTemplateArray) ElementType ¶
func (InterfaceTemplateArray) ElementType() reflect.Type
func (InterfaceTemplateArray) ToInterfaceTemplateArrayOutput ¶
func (i InterfaceTemplateArray) ToInterfaceTemplateArrayOutput() InterfaceTemplateArrayOutput
func (InterfaceTemplateArray) ToInterfaceTemplateArrayOutputWithContext ¶
func (i InterfaceTemplateArray) ToInterfaceTemplateArrayOutputWithContext(ctx context.Context) InterfaceTemplateArrayOutput
type InterfaceTemplateArrayInput ¶
type InterfaceTemplateArrayInput interface {
pulumi.Input
ToInterfaceTemplateArrayOutput() InterfaceTemplateArrayOutput
ToInterfaceTemplateArrayOutputWithContext(context.Context) InterfaceTemplateArrayOutput
}
InterfaceTemplateArrayInput is an input type that accepts InterfaceTemplateArray and InterfaceTemplateArrayOutput values. You can construct a concrete instance of `InterfaceTemplateArrayInput` via:
InterfaceTemplateArray{ InterfaceTemplateArgs{...} }
type InterfaceTemplateArrayOutput ¶
type InterfaceTemplateArrayOutput struct{ *pulumi.OutputState }
func (InterfaceTemplateArrayOutput) ElementType ¶
func (InterfaceTemplateArrayOutput) ElementType() reflect.Type
func (InterfaceTemplateArrayOutput) Index ¶
func (o InterfaceTemplateArrayOutput) Index(i pulumi.IntInput) InterfaceTemplateOutput
func (InterfaceTemplateArrayOutput) ToInterfaceTemplateArrayOutput ¶
func (o InterfaceTemplateArrayOutput) ToInterfaceTemplateArrayOutput() InterfaceTemplateArrayOutput
func (InterfaceTemplateArrayOutput) ToInterfaceTemplateArrayOutputWithContext ¶
func (o InterfaceTemplateArrayOutput) ToInterfaceTemplateArrayOutputWithContext(ctx context.Context) InterfaceTemplateArrayOutput
type InterfaceTemplateInput ¶
type InterfaceTemplateInput interface {
pulumi.Input
ToInterfaceTemplateOutput() InterfaceTemplateOutput
ToInterfaceTemplateOutputWithContext(ctx context.Context) InterfaceTemplateOutput
}
type InterfaceTemplateMap ¶
type InterfaceTemplateMap map[string]InterfaceTemplateInput
func (InterfaceTemplateMap) ElementType ¶
func (InterfaceTemplateMap) ElementType() reflect.Type
func (InterfaceTemplateMap) ToInterfaceTemplateMapOutput ¶
func (i InterfaceTemplateMap) ToInterfaceTemplateMapOutput() InterfaceTemplateMapOutput
func (InterfaceTemplateMap) ToInterfaceTemplateMapOutputWithContext ¶
func (i InterfaceTemplateMap) ToInterfaceTemplateMapOutputWithContext(ctx context.Context) InterfaceTemplateMapOutput
type InterfaceTemplateMapInput ¶
type InterfaceTemplateMapInput interface {
pulumi.Input
ToInterfaceTemplateMapOutput() InterfaceTemplateMapOutput
ToInterfaceTemplateMapOutputWithContext(context.Context) InterfaceTemplateMapOutput
}
InterfaceTemplateMapInput is an input type that accepts InterfaceTemplateMap and InterfaceTemplateMapOutput values. You can construct a concrete instance of `InterfaceTemplateMapInput` via:
InterfaceTemplateMap{ "key": InterfaceTemplateArgs{...} }
type InterfaceTemplateMapOutput ¶
type InterfaceTemplateMapOutput struct{ *pulumi.OutputState }
func (InterfaceTemplateMapOutput) ElementType ¶
func (InterfaceTemplateMapOutput) ElementType() reflect.Type
func (InterfaceTemplateMapOutput) MapIndex ¶
func (o InterfaceTemplateMapOutput) MapIndex(k pulumi.StringInput) InterfaceTemplateOutput
func (InterfaceTemplateMapOutput) ToInterfaceTemplateMapOutput ¶
func (o InterfaceTemplateMapOutput) ToInterfaceTemplateMapOutput() InterfaceTemplateMapOutput
func (InterfaceTemplateMapOutput) ToInterfaceTemplateMapOutputWithContext ¶
func (o InterfaceTemplateMapOutput) ToInterfaceTemplateMapOutputWithContext(ctx context.Context) InterfaceTemplateMapOutput
type InterfaceTemplateOutput ¶
type InterfaceTemplateOutput struct{ *pulumi.OutputState }
func (InterfaceTemplateOutput) Description ¶
func (o InterfaceTemplateOutput) Description() pulumi.StringPtrOutput
func (InterfaceTemplateOutput) DeviceTypeId ¶
func (o InterfaceTemplateOutput) DeviceTypeId() pulumi.IntPtrOutput
Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
func (InterfaceTemplateOutput) ElementType ¶
func (InterfaceTemplateOutput) ElementType() reflect.Type
func (InterfaceTemplateOutput) Label ¶
func (o InterfaceTemplateOutput) Label() pulumi.StringPtrOutput
func (InterfaceTemplateOutput) MgmtOnly ¶
func (o InterfaceTemplateOutput) MgmtOnly() pulumi.BoolPtrOutput
func (InterfaceTemplateOutput) ModuleTypeId ¶
func (o InterfaceTemplateOutput) ModuleTypeId() pulumi.IntPtrOutput
Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
func (InterfaceTemplateOutput) Name ¶
func (o InterfaceTemplateOutput) Name() pulumi.StringOutput
func (InterfaceTemplateOutput) ToInterfaceTemplateOutput ¶
func (o InterfaceTemplateOutput) ToInterfaceTemplateOutput() InterfaceTemplateOutput
func (InterfaceTemplateOutput) ToInterfaceTemplateOutputWithContext ¶
func (o InterfaceTemplateOutput) ToInterfaceTemplateOutputWithContext(ctx context.Context) InterfaceTemplateOutput
func (InterfaceTemplateOutput) Type ¶
func (o InterfaceTemplateOutput) Type() pulumi.StringOutput
type InterfaceTemplateState ¶
type InterfaceTemplateState struct {
Description pulumi.StringPtrInput
// Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
DeviceTypeId pulumi.IntPtrInput
Label pulumi.StringPtrInput
MgmtOnly pulumi.BoolPtrInput
// Exactly one of `deviceTypeId` or `moduleTypeId` must be given.
ModuleTypeId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Type pulumi.StringPtrInput
}
func (InterfaceTemplateState) ElementType ¶
func (InterfaceTemplateState) ElementType() reflect.Type
type InventoryItem ¶
type InventoryItem struct {
pulumi.CustomResourceState
AssetTag pulumi.StringPtrOutput `pulumi:"assetTag"`
// Required when `componentType` is set.
ComponentId pulumi.IntPtrOutput `pulumi:"componentId"`
ComponentType pulumi.StringPtrOutput `pulumi:"componentType"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
// Defaults to `false`.
Discovered pulumi.BoolPtrOutput `pulumi:"discovered"`
Label pulumi.StringPtrOutput `pulumi:"label"`
ManufacturerId pulumi.IntPtrOutput `pulumi:"manufacturerId"`
Name pulumi.StringOutput `pulumi:"name"`
ParentId pulumi.IntPtrOutput `pulumi:"parentId"`
PartId pulumi.StringPtrOutput `pulumi:"partId"`
RoleId pulumi.IntPtrOutput `pulumi:"roleId"`
Serial pulumi.StringPtrOutput `pulumi:"serial"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/inventoryitem/):
> Inventory items represent hardware components installed within a device, such as a power supply or CPU or line card. They are intended to be used primarily for inventory purposes.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
TenantId: pulumi.Any(testNetboxTenant.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
testDeviceRearPort, err := dcim.NewDeviceRearPort(ctx, "test", &dcim.DeviceRearPortArgs{
DeviceId: test.ID(),
Name: pulumi.String("rear port"),
Type: pulumi.String("8p8c"),
Positions: pulumi.Int(1),
MarkConnected: pulumi.Bool(true),
})
if err != nil {
return err
}
parent, err := dcim.NewInventoryItem(ctx, "parent", &dcim.InventoryItemArgs{
DeviceId: test.ID(),
Name: pulumi.String("Parent Item"),
})
if err != nil {
return err
}
_, err = dcim.NewInventoryItem(ctx, "test", &dcim.InventoryItemArgs{
DeviceId: test.ID(),
Name: pulumi.String("Child Item"),
ParentId: parent.ID(),
ComponentType: pulumi.String("dcim.rearport"),
ComponentId: testDeviceRearPort.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetInventoryItem ¶
func GetInventoryItem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InventoryItemState, opts ...pulumi.ResourceOption) (*InventoryItem, error)
GetInventoryItem gets an existing InventoryItem 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 NewInventoryItem ¶
func NewInventoryItem(ctx *pulumi.Context, name string, args *InventoryItemArgs, opts ...pulumi.ResourceOption) (*InventoryItem, error)
NewInventoryItem registers a new resource with the given unique name, arguments, and options.
func (*InventoryItem) ElementType ¶
func (*InventoryItem) ElementType() reflect.Type
func (*InventoryItem) ToInventoryItemOutput ¶
func (i *InventoryItem) ToInventoryItemOutput() InventoryItemOutput
func (*InventoryItem) ToInventoryItemOutputWithContext ¶
func (i *InventoryItem) ToInventoryItemOutputWithContext(ctx context.Context) InventoryItemOutput
type InventoryItemArgs ¶
type InventoryItemArgs struct {
AssetTag pulumi.StringPtrInput
// Required when `componentType` is set.
ComponentId pulumi.IntPtrInput
ComponentType pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
// Defaults to `false`.
Discovered pulumi.BoolPtrInput
Label pulumi.StringPtrInput
ManufacturerId pulumi.IntPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
PartId pulumi.StringPtrInput
RoleId pulumi.IntPtrInput
Serial pulumi.StringPtrInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a InventoryItem resource.
func (InventoryItemArgs) ElementType ¶
func (InventoryItemArgs) ElementType() reflect.Type
type InventoryItemArray ¶
type InventoryItemArray []InventoryItemInput
func (InventoryItemArray) ElementType ¶
func (InventoryItemArray) ElementType() reflect.Type
func (InventoryItemArray) ToInventoryItemArrayOutput ¶
func (i InventoryItemArray) ToInventoryItemArrayOutput() InventoryItemArrayOutput
func (InventoryItemArray) ToInventoryItemArrayOutputWithContext ¶
func (i InventoryItemArray) ToInventoryItemArrayOutputWithContext(ctx context.Context) InventoryItemArrayOutput
type InventoryItemArrayInput ¶
type InventoryItemArrayInput interface {
pulumi.Input
ToInventoryItemArrayOutput() InventoryItemArrayOutput
ToInventoryItemArrayOutputWithContext(context.Context) InventoryItemArrayOutput
}
InventoryItemArrayInput is an input type that accepts InventoryItemArray and InventoryItemArrayOutput values. You can construct a concrete instance of `InventoryItemArrayInput` via:
InventoryItemArray{ InventoryItemArgs{...} }
type InventoryItemArrayOutput ¶
type InventoryItemArrayOutput struct{ *pulumi.OutputState }
func (InventoryItemArrayOutput) ElementType ¶
func (InventoryItemArrayOutput) ElementType() reflect.Type
func (InventoryItemArrayOutput) Index ¶
func (o InventoryItemArrayOutput) Index(i pulumi.IntInput) InventoryItemOutput
func (InventoryItemArrayOutput) ToInventoryItemArrayOutput ¶
func (o InventoryItemArrayOutput) ToInventoryItemArrayOutput() InventoryItemArrayOutput
func (InventoryItemArrayOutput) ToInventoryItemArrayOutputWithContext ¶
func (o InventoryItemArrayOutput) ToInventoryItemArrayOutputWithContext(ctx context.Context) InventoryItemArrayOutput
type InventoryItemInput ¶
type InventoryItemInput interface {
pulumi.Input
ToInventoryItemOutput() InventoryItemOutput
ToInventoryItemOutputWithContext(ctx context.Context) InventoryItemOutput
}
type InventoryItemMap ¶
type InventoryItemMap map[string]InventoryItemInput
func (InventoryItemMap) ElementType ¶
func (InventoryItemMap) ElementType() reflect.Type
func (InventoryItemMap) ToInventoryItemMapOutput ¶
func (i InventoryItemMap) ToInventoryItemMapOutput() InventoryItemMapOutput
func (InventoryItemMap) ToInventoryItemMapOutputWithContext ¶
func (i InventoryItemMap) ToInventoryItemMapOutputWithContext(ctx context.Context) InventoryItemMapOutput
type InventoryItemMapInput ¶
type InventoryItemMapInput interface {
pulumi.Input
ToInventoryItemMapOutput() InventoryItemMapOutput
ToInventoryItemMapOutputWithContext(context.Context) InventoryItemMapOutput
}
InventoryItemMapInput is an input type that accepts InventoryItemMap and InventoryItemMapOutput values. You can construct a concrete instance of `InventoryItemMapInput` via:
InventoryItemMap{ "key": InventoryItemArgs{...} }
type InventoryItemMapOutput ¶
type InventoryItemMapOutput struct{ *pulumi.OutputState }
func (InventoryItemMapOutput) ElementType ¶
func (InventoryItemMapOutput) ElementType() reflect.Type
func (InventoryItemMapOutput) MapIndex ¶
func (o InventoryItemMapOutput) MapIndex(k pulumi.StringInput) InventoryItemOutput
func (InventoryItemMapOutput) ToInventoryItemMapOutput ¶
func (o InventoryItemMapOutput) ToInventoryItemMapOutput() InventoryItemMapOutput
func (InventoryItemMapOutput) ToInventoryItemMapOutputWithContext ¶
func (o InventoryItemMapOutput) ToInventoryItemMapOutputWithContext(ctx context.Context) InventoryItemMapOutput
type InventoryItemOutput ¶
type InventoryItemOutput struct{ *pulumi.OutputState }
func (InventoryItemOutput) AssetTag ¶
func (o InventoryItemOutput) AssetTag() pulumi.StringPtrOutput
func (InventoryItemOutput) ComponentId ¶
func (o InventoryItemOutput) ComponentId() pulumi.IntPtrOutput
Required when `componentType` is set.
func (InventoryItemOutput) ComponentType ¶
func (o InventoryItemOutput) ComponentType() pulumi.StringPtrOutput
func (InventoryItemOutput) CustomFields ¶
func (o InventoryItemOutput) CustomFields() pulumi.StringMapOutput
func (InventoryItemOutput) Description ¶
func (o InventoryItemOutput) Description() pulumi.StringPtrOutput
func (InventoryItemOutput) DeviceId ¶
func (o InventoryItemOutput) DeviceId() pulumi.IntOutput
func (InventoryItemOutput) Discovered ¶
func (o InventoryItemOutput) Discovered() pulumi.BoolPtrOutput
Defaults to `false`.
func (InventoryItemOutput) ElementType ¶
func (InventoryItemOutput) ElementType() reflect.Type
func (InventoryItemOutput) Label ¶
func (o InventoryItemOutput) Label() pulumi.StringPtrOutput
func (InventoryItemOutput) ManufacturerId ¶
func (o InventoryItemOutput) ManufacturerId() pulumi.IntPtrOutput
func (InventoryItemOutput) Name ¶
func (o InventoryItemOutput) Name() pulumi.StringOutput
func (InventoryItemOutput) ParentId ¶
func (o InventoryItemOutput) ParentId() pulumi.IntPtrOutput
func (InventoryItemOutput) PartId ¶
func (o InventoryItemOutput) PartId() pulumi.StringPtrOutput
func (InventoryItemOutput) RoleId ¶
func (o InventoryItemOutput) RoleId() pulumi.IntPtrOutput
func (InventoryItemOutput) Serial ¶
func (o InventoryItemOutput) Serial() pulumi.StringPtrOutput
func (InventoryItemOutput) Tags ¶
func (o InventoryItemOutput) Tags() pulumi.StringArrayOutput
func (InventoryItemOutput) TagsAlls ¶
func (o InventoryItemOutput) TagsAlls() pulumi.StringArrayOutput
func (InventoryItemOutput) ToInventoryItemOutput ¶
func (o InventoryItemOutput) ToInventoryItemOutput() InventoryItemOutput
func (InventoryItemOutput) ToInventoryItemOutputWithContext ¶
func (o InventoryItemOutput) ToInventoryItemOutputWithContext(ctx context.Context) InventoryItemOutput
type InventoryItemRole ¶
type InventoryItemRole struct {
pulumi.CustomResourceState
ColorHex pulumi.StringOutput `pulumi:"colorHex"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/inventoryitemrole/):
> Inventory items can be organized by functional roles, which are fully customizable by the user. For example, you might create roles for power supplies, fans, interface optics, etc.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
TenantId: pulumi.Any(testNetboxTenant.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
testInventoryItemRole, err := dcim.NewInventoryItemRole(ctx, "test", &dcim.InventoryItemRoleArgs{
Name: pulumi.String("Role 1"),
Slug: pulumi.String("role-1-slug"),
ColorHex: pulumi.String("123456"),
})
if err != nil {
return err
}
_, err = dcim.NewInventoryItem(ctx, "parent", &dcim.InventoryItemArgs{
DeviceId: test.ID(),
Name: pulumi.String("Inventory Item 1"),
RoleId: testInventoryItemRole.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetInventoryItemRole ¶
func GetInventoryItemRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InventoryItemRoleState, opts ...pulumi.ResourceOption) (*InventoryItemRole, error)
GetInventoryItemRole gets an existing InventoryItemRole 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 NewInventoryItemRole ¶
func NewInventoryItemRole(ctx *pulumi.Context, name string, args *InventoryItemRoleArgs, opts ...pulumi.ResourceOption) (*InventoryItemRole, error)
NewInventoryItemRole registers a new resource with the given unique name, arguments, and options.
func (*InventoryItemRole) ElementType ¶
func (*InventoryItemRole) ElementType() reflect.Type
func (*InventoryItemRole) ToInventoryItemRoleOutput ¶
func (i *InventoryItemRole) ToInventoryItemRoleOutput() InventoryItemRoleOutput
func (*InventoryItemRole) ToInventoryItemRoleOutputWithContext ¶
func (i *InventoryItemRole) ToInventoryItemRoleOutputWithContext(ctx context.Context) InventoryItemRoleOutput
type InventoryItemRoleArgs ¶
type InventoryItemRoleArgs struct {
ColorHex pulumi.StringInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a InventoryItemRole resource.
func (InventoryItemRoleArgs) ElementType ¶
func (InventoryItemRoleArgs) ElementType() reflect.Type
type InventoryItemRoleArray ¶
type InventoryItemRoleArray []InventoryItemRoleInput
func (InventoryItemRoleArray) ElementType ¶
func (InventoryItemRoleArray) ElementType() reflect.Type
func (InventoryItemRoleArray) ToInventoryItemRoleArrayOutput ¶
func (i InventoryItemRoleArray) ToInventoryItemRoleArrayOutput() InventoryItemRoleArrayOutput
func (InventoryItemRoleArray) ToInventoryItemRoleArrayOutputWithContext ¶
func (i InventoryItemRoleArray) ToInventoryItemRoleArrayOutputWithContext(ctx context.Context) InventoryItemRoleArrayOutput
type InventoryItemRoleArrayInput ¶
type InventoryItemRoleArrayInput interface {
pulumi.Input
ToInventoryItemRoleArrayOutput() InventoryItemRoleArrayOutput
ToInventoryItemRoleArrayOutputWithContext(context.Context) InventoryItemRoleArrayOutput
}
InventoryItemRoleArrayInput is an input type that accepts InventoryItemRoleArray and InventoryItemRoleArrayOutput values. You can construct a concrete instance of `InventoryItemRoleArrayInput` via:
InventoryItemRoleArray{ InventoryItemRoleArgs{...} }
type InventoryItemRoleArrayOutput ¶
type InventoryItemRoleArrayOutput struct{ *pulumi.OutputState }
func (InventoryItemRoleArrayOutput) ElementType ¶
func (InventoryItemRoleArrayOutput) ElementType() reflect.Type
func (InventoryItemRoleArrayOutput) Index ¶
func (o InventoryItemRoleArrayOutput) Index(i pulumi.IntInput) InventoryItemRoleOutput
func (InventoryItemRoleArrayOutput) ToInventoryItemRoleArrayOutput ¶
func (o InventoryItemRoleArrayOutput) ToInventoryItemRoleArrayOutput() InventoryItemRoleArrayOutput
func (InventoryItemRoleArrayOutput) ToInventoryItemRoleArrayOutputWithContext ¶
func (o InventoryItemRoleArrayOutput) ToInventoryItemRoleArrayOutputWithContext(ctx context.Context) InventoryItemRoleArrayOutput
type InventoryItemRoleInput ¶
type InventoryItemRoleInput interface {
pulumi.Input
ToInventoryItemRoleOutput() InventoryItemRoleOutput
ToInventoryItemRoleOutputWithContext(ctx context.Context) InventoryItemRoleOutput
}
type InventoryItemRoleMap ¶
type InventoryItemRoleMap map[string]InventoryItemRoleInput
func (InventoryItemRoleMap) ElementType ¶
func (InventoryItemRoleMap) ElementType() reflect.Type
func (InventoryItemRoleMap) ToInventoryItemRoleMapOutput ¶
func (i InventoryItemRoleMap) ToInventoryItemRoleMapOutput() InventoryItemRoleMapOutput
func (InventoryItemRoleMap) ToInventoryItemRoleMapOutputWithContext ¶
func (i InventoryItemRoleMap) ToInventoryItemRoleMapOutputWithContext(ctx context.Context) InventoryItemRoleMapOutput
type InventoryItemRoleMapInput ¶
type InventoryItemRoleMapInput interface {
pulumi.Input
ToInventoryItemRoleMapOutput() InventoryItemRoleMapOutput
ToInventoryItemRoleMapOutputWithContext(context.Context) InventoryItemRoleMapOutput
}
InventoryItemRoleMapInput is an input type that accepts InventoryItemRoleMap and InventoryItemRoleMapOutput values. You can construct a concrete instance of `InventoryItemRoleMapInput` via:
InventoryItemRoleMap{ "key": InventoryItemRoleArgs{...} }
type InventoryItemRoleMapOutput ¶
type InventoryItemRoleMapOutput struct{ *pulumi.OutputState }
func (InventoryItemRoleMapOutput) ElementType ¶
func (InventoryItemRoleMapOutput) ElementType() reflect.Type
func (InventoryItemRoleMapOutput) MapIndex ¶
func (o InventoryItemRoleMapOutput) MapIndex(k pulumi.StringInput) InventoryItemRoleOutput
func (InventoryItemRoleMapOutput) ToInventoryItemRoleMapOutput ¶
func (o InventoryItemRoleMapOutput) ToInventoryItemRoleMapOutput() InventoryItemRoleMapOutput
func (InventoryItemRoleMapOutput) ToInventoryItemRoleMapOutputWithContext ¶
func (o InventoryItemRoleMapOutput) ToInventoryItemRoleMapOutputWithContext(ctx context.Context) InventoryItemRoleMapOutput
type InventoryItemRoleOutput ¶
type InventoryItemRoleOutput struct{ *pulumi.OutputState }
func (InventoryItemRoleOutput) ColorHex ¶
func (o InventoryItemRoleOutput) ColorHex() pulumi.StringOutput
func (InventoryItemRoleOutput) CustomFields ¶
func (o InventoryItemRoleOutput) CustomFields() pulumi.StringMapOutput
func (InventoryItemRoleOutput) Description ¶
func (o InventoryItemRoleOutput) Description() pulumi.StringPtrOutput
func (InventoryItemRoleOutput) ElementType ¶
func (InventoryItemRoleOutput) ElementType() reflect.Type
func (InventoryItemRoleOutput) Name ¶
func (o InventoryItemRoleOutput) Name() pulumi.StringOutput
func (InventoryItemRoleOutput) Slug ¶
func (o InventoryItemRoleOutput) Slug() pulumi.StringOutput
func (InventoryItemRoleOutput) Tags ¶
func (o InventoryItemRoleOutput) Tags() pulumi.StringArrayOutput
func (InventoryItemRoleOutput) TagsAlls ¶
func (o InventoryItemRoleOutput) TagsAlls() pulumi.StringArrayOutput
func (InventoryItemRoleOutput) ToInventoryItemRoleOutput ¶
func (o InventoryItemRoleOutput) ToInventoryItemRoleOutput() InventoryItemRoleOutput
func (InventoryItemRoleOutput) ToInventoryItemRoleOutputWithContext ¶
func (o InventoryItemRoleOutput) ToInventoryItemRoleOutputWithContext(ctx context.Context) InventoryItemRoleOutput
type InventoryItemRoleState ¶
type InventoryItemRoleState struct {
ColorHex pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (InventoryItemRoleState) ElementType ¶
func (InventoryItemRoleState) ElementType() reflect.Type
type InventoryItemState ¶
type InventoryItemState struct {
AssetTag pulumi.StringPtrInput
// Required when `componentType` is set.
ComponentId pulumi.IntPtrInput
ComponentType pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
// Defaults to `false`.
Discovered pulumi.BoolPtrInput
Label pulumi.StringPtrInput
ManufacturerId pulumi.IntPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
PartId pulumi.StringPtrInput
RoleId pulumi.IntPtrInput
Serial pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (InventoryItemState) ElementType ¶
func (InventoryItemState) ElementType() reflect.Type
type Location ¶
type Location struct {
pulumi.CustomResourceState
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Facility pulumi.StringPtrOutput `pulumi:"facility"`
Name pulumi.StringOutput `pulumi:"name"`
ParentId pulumi.IntPtrOutput `pulumi:"parentId"`
SiteId pulumi.IntOutput `pulumi:"siteId"`
Slug pulumi.StringOutput `pulumi:"slug"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/sites-and-racks/#locations):
> Racks and devices can be grouped by location within a site. A location may represent a floor, room, cage, or similar organizational unit. Locations can be nested to form a hierarchy. For example, you may have floors within a site, and rooms within a floor.
Each location must have a name that is unique within its parent site and location, if any.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewSite(ctx, "test", &dcim.SiteArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
testTenant, err := tenancy.NewTenant(ctx, "test", &tenancy.TenantArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
_, err = dcim.NewLocation(ctx, "test", &dcim.LocationArgs{
Name: pulumi.String("test"),
Description: pulumi.String("my description"),
SiteId: test.ID(),
TenantId: testTenant.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetLocation ¶
func GetLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocationState, opts ...pulumi.ResourceOption) (*Location, error)
GetLocation gets an existing Location 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 NewLocation ¶
func NewLocation(ctx *pulumi.Context, name string, args *LocationArgs, opts ...pulumi.ResourceOption) (*Location, error)
NewLocation registers a new resource with the given unique name, arguments, and options.
func (*Location) ElementType ¶
func (*Location) ToLocationOutput ¶
func (i *Location) ToLocationOutput() LocationOutput
func (*Location) ToLocationOutputWithContext ¶
func (i *Location) ToLocationOutputWithContext(ctx context.Context) LocationOutput
type LocationArgs ¶
type LocationArgs struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Facility pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
SiteId pulumi.IntInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
}
The set of arguments for constructing a Location resource.
func (LocationArgs) ElementType ¶
func (LocationArgs) ElementType() reflect.Type
type LocationArray ¶
type LocationArray []LocationInput
func (LocationArray) ElementType ¶
func (LocationArray) ElementType() reflect.Type
func (LocationArray) ToLocationArrayOutput ¶
func (i LocationArray) ToLocationArrayOutput() LocationArrayOutput
func (LocationArray) ToLocationArrayOutputWithContext ¶
func (i LocationArray) ToLocationArrayOutputWithContext(ctx context.Context) LocationArrayOutput
type LocationArrayInput ¶
type LocationArrayInput interface {
pulumi.Input
ToLocationArrayOutput() LocationArrayOutput
ToLocationArrayOutputWithContext(context.Context) LocationArrayOutput
}
LocationArrayInput is an input type that accepts LocationArray and LocationArrayOutput values. You can construct a concrete instance of `LocationArrayInput` via:
LocationArray{ LocationArgs{...} }
type LocationArrayOutput ¶
type LocationArrayOutput struct{ *pulumi.OutputState }
func (LocationArrayOutput) ElementType ¶
func (LocationArrayOutput) ElementType() reflect.Type
func (LocationArrayOutput) Index ¶
func (o LocationArrayOutput) Index(i pulumi.IntInput) LocationOutput
func (LocationArrayOutput) ToLocationArrayOutput ¶
func (o LocationArrayOutput) ToLocationArrayOutput() LocationArrayOutput
func (LocationArrayOutput) ToLocationArrayOutputWithContext ¶
func (o LocationArrayOutput) ToLocationArrayOutputWithContext(ctx context.Context) LocationArrayOutput
type LocationInput ¶
type LocationInput interface {
pulumi.Input
ToLocationOutput() LocationOutput
ToLocationOutputWithContext(ctx context.Context) LocationOutput
}
type LocationMap ¶
type LocationMap map[string]LocationInput
func (LocationMap) ElementType ¶
func (LocationMap) ElementType() reflect.Type
func (LocationMap) ToLocationMapOutput ¶
func (i LocationMap) ToLocationMapOutput() LocationMapOutput
func (LocationMap) ToLocationMapOutputWithContext ¶
func (i LocationMap) ToLocationMapOutputWithContext(ctx context.Context) LocationMapOutput
type LocationMapInput ¶
type LocationMapInput interface {
pulumi.Input
ToLocationMapOutput() LocationMapOutput
ToLocationMapOutputWithContext(context.Context) LocationMapOutput
}
LocationMapInput is an input type that accepts LocationMap and LocationMapOutput values. You can construct a concrete instance of `LocationMapInput` via:
LocationMap{ "key": LocationArgs{...} }
type LocationMapOutput ¶
type LocationMapOutput struct{ *pulumi.OutputState }
func (LocationMapOutput) ElementType ¶
func (LocationMapOutput) ElementType() reflect.Type
func (LocationMapOutput) MapIndex ¶
func (o LocationMapOutput) MapIndex(k pulumi.StringInput) LocationOutput
func (LocationMapOutput) ToLocationMapOutput ¶
func (o LocationMapOutput) ToLocationMapOutput() LocationMapOutput
func (LocationMapOutput) ToLocationMapOutputWithContext ¶
func (o LocationMapOutput) ToLocationMapOutputWithContext(ctx context.Context) LocationMapOutput
type LocationOutput ¶
type LocationOutput struct{ *pulumi.OutputState }
func (LocationOutput) CustomFields ¶
func (o LocationOutput) CustomFields() pulumi.StringMapOutput
func (LocationOutput) Description ¶
func (o LocationOutput) Description() pulumi.StringPtrOutput
func (LocationOutput) ElementType ¶
func (LocationOutput) ElementType() reflect.Type
func (LocationOutput) Facility ¶
func (o LocationOutput) Facility() pulumi.StringPtrOutput
func (LocationOutput) Name ¶
func (o LocationOutput) Name() pulumi.StringOutput
func (LocationOutput) ParentId ¶
func (o LocationOutput) ParentId() pulumi.IntPtrOutput
func (LocationOutput) SiteId ¶
func (o LocationOutput) SiteId() pulumi.IntOutput
func (LocationOutput) Slug ¶
func (o LocationOutput) Slug() pulumi.StringOutput
func (LocationOutput) Tags ¶
func (o LocationOutput) Tags() pulumi.StringArrayOutput
func (LocationOutput) TagsAlls ¶
func (o LocationOutput) TagsAlls() pulumi.StringArrayOutput
func (LocationOutput) TenantId ¶
func (o LocationOutput) TenantId() pulumi.IntPtrOutput
func (LocationOutput) ToLocationOutput ¶
func (o LocationOutput) ToLocationOutput() LocationOutput
func (LocationOutput) ToLocationOutputWithContext ¶
func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) LocationOutput
type LocationState ¶
type LocationState struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Facility pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
SiteId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
}
func (LocationState) ElementType ¶
func (LocationState) ElementType() reflect.Type
type LookupDeviceRoleArgs ¶
type LookupDeviceRoleArgs struct {
Name string `pulumi:"name"`
}
A collection of arguments for invoking getDeviceRole.
type LookupDeviceRoleOutputArgs ¶
type LookupDeviceRoleOutputArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getDeviceRole.
func (LookupDeviceRoleOutputArgs) ElementType ¶
func (LookupDeviceRoleOutputArgs) ElementType() reflect.Type
type LookupDeviceRoleResult ¶
type LookupDeviceRoleResult struct {
ColorHex string `pulumi:"colorHex"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
Slug string `pulumi:"slug"`
Tags []string `pulumi:"tags"`
}
A collection of values returned by getDeviceRole.
func LookupDeviceRole ¶
func LookupDeviceRole(ctx *pulumi.Context, args *LookupDeviceRoleArgs, opts ...pulumi.InvokeOption) (*LookupDeviceRoleResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.LookupDeviceRole(ctx, &dcim.LookupDeviceRoleArgs{
Name: "core-sw",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupDeviceRoleResultOutput ¶
type LookupDeviceRoleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDeviceRole.
func LookupDeviceRoleOutput ¶
func LookupDeviceRoleOutput(ctx *pulumi.Context, args LookupDeviceRoleOutputArgs, opts ...pulumi.InvokeOption) LookupDeviceRoleResultOutput
func (LookupDeviceRoleResultOutput) ColorHex ¶
func (o LookupDeviceRoleResultOutput) ColorHex() pulumi.StringOutput
func (LookupDeviceRoleResultOutput) ElementType ¶
func (LookupDeviceRoleResultOutput) ElementType() reflect.Type
func (LookupDeviceRoleResultOutput) Id ¶
func (o LookupDeviceRoleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDeviceRoleResultOutput) Name ¶
func (o LookupDeviceRoleResultOutput) Name() pulumi.StringOutput
func (LookupDeviceRoleResultOutput) Slug ¶
func (o LookupDeviceRoleResultOutput) Slug() pulumi.StringOutput
func (LookupDeviceRoleResultOutput) Tags ¶
func (o LookupDeviceRoleResultOutput) Tags() pulumi.StringArrayOutput
func (LookupDeviceRoleResultOutput) ToLookupDeviceRoleResultOutput ¶
func (o LookupDeviceRoleResultOutput) ToLookupDeviceRoleResultOutput() LookupDeviceRoleResultOutput
func (LookupDeviceRoleResultOutput) ToLookupDeviceRoleResultOutputWithContext ¶
func (o LookupDeviceRoleResultOutput) ToLookupDeviceRoleResultOutputWithContext(ctx context.Context) LookupDeviceRoleResultOutput
type LookupDeviceTypeArgs ¶
type LookupDeviceTypeArgs struct {
Manufacturer *string `pulumi:"manufacturer"`
Model *string `pulumi:"model"`
PartNumber *string `pulumi:"partNumber"`
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getDeviceType.
type LookupDeviceTypeOutputArgs ¶
type LookupDeviceTypeOutputArgs struct {
Manufacturer pulumi.StringPtrInput `pulumi:"manufacturer"`
Model pulumi.StringPtrInput `pulumi:"model"`
PartNumber pulumi.StringPtrInput `pulumi:"partNumber"`
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getDeviceType.
func (LookupDeviceTypeOutputArgs) ElementType ¶
func (LookupDeviceTypeOutputArgs) ElementType() reflect.Type
type LookupDeviceTypeResult ¶
type LookupDeviceTypeResult struct {
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
IsFullDepth bool `pulumi:"isFullDepth"`
Manufacturer *string `pulumi:"manufacturer"`
ManufacturerId int `pulumi:"manufacturerId"`
Model *string `pulumi:"model"`
PartNumber *string `pulumi:"partNumber"`
Slug *string `pulumi:"slug"`
UHeight float64 `pulumi:"uHeight"`
}
A collection of values returned by getDeviceType.
func LookupDeviceType ¶
func LookupDeviceType(ctx *pulumi.Context, args *LookupDeviceTypeArgs, opts ...pulumi.InvokeOption) (*LookupDeviceTypeResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get device type by model name
_, err := dcim.LookupDeviceType(ctx, &dcim.LookupDeviceTypeArgs{
Model: pulumi.StringRef("7210 SAS-Sx 10/100GE"),
}, nil)
if err != nil {
return err
}
// Get device type by slug
_, err = dcim.LookupDeviceType(ctx, &dcim.LookupDeviceTypeArgs{
Slug: pulumi.StringRef("7210-sas-sx-10-100GE"),
}, nil)
if err != nil {
return err
}
// Get device type by manufacturer and part number information
_, err = dcim.LookupDeviceType(ctx, &dcim.LookupDeviceTypeArgs{
Manufacturer: pulumi.StringRef("Nokia"),
PartNumber: pulumi.StringRef("3HE11597AARB01"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupDeviceTypeResultOutput ¶
type LookupDeviceTypeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDeviceType.
func LookupDeviceTypeOutput ¶
func LookupDeviceTypeOutput(ctx *pulumi.Context, args LookupDeviceTypeOutputArgs, opts ...pulumi.InvokeOption) LookupDeviceTypeResultOutput
func (LookupDeviceTypeResultOutput) ElementType ¶
func (LookupDeviceTypeResultOutput) ElementType() reflect.Type
func (LookupDeviceTypeResultOutput) Id ¶
func (o LookupDeviceTypeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDeviceTypeResultOutput) IsFullDepth ¶
func (o LookupDeviceTypeResultOutput) IsFullDepth() pulumi.BoolOutput
func (LookupDeviceTypeResultOutput) Manufacturer ¶
func (o LookupDeviceTypeResultOutput) Manufacturer() pulumi.StringPtrOutput
func (LookupDeviceTypeResultOutput) ManufacturerId ¶
func (o LookupDeviceTypeResultOutput) ManufacturerId() pulumi.IntOutput
func (LookupDeviceTypeResultOutput) Model ¶
func (o LookupDeviceTypeResultOutput) Model() pulumi.StringPtrOutput
func (LookupDeviceTypeResultOutput) PartNumber ¶
func (o LookupDeviceTypeResultOutput) PartNumber() pulumi.StringPtrOutput
func (LookupDeviceTypeResultOutput) Slug ¶
func (o LookupDeviceTypeResultOutput) Slug() pulumi.StringPtrOutput
func (LookupDeviceTypeResultOutput) ToLookupDeviceTypeResultOutput ¶
func (o LookupDeviceTypeResultOutput) ToLookupDeviceTypeResultOutput() LookupDeviceTypeResultOutput
func (LookupDeviceTypeResultOutput) ToLookupDeviceTypeResultOutputWithContext ¶
func (o LookupDeviceTypeResultOutput) ToLookupDeviceTypeResultOutputWithContext(ctx context.Context) LookupDeviceTypeResultOutput
func (LookupDeviceTypeResultOutput) UHeight ¶
func (o LookupDeviceTypeResultOutput) UHeight() pulumi.Float64Output
type LookupLocationArgs ¶
type LookupLocationArgs struct {
// The ID of this resource.
Id *string `pulumi:"id"`
Name *string `pulumi:"name"`
ParentId *int `pulumi:"parentId"`
SiteId *int `pulumi:"siteId"`
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getLocation.
type LookupLocationOutputArgs ¶
type LookupLocationOutputArgs struct {
// The ID of this resource.
Id pulumi.StringPtrInput `pulumi:"id"`
Name pulumi.StringPtrInput `pulumi:"name"`
ParentId pulumi.IntPtrInput `pulumi:"parentId"`
SiteId pulumi.IntPtrInput `pulumi:"siteId"`
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getLocation.
func (LookupLocationOutputArgs) ElementType ¶
func (LookupLocationOutputArgs) ElementType() reflect.Type
type LookupLocationResult ¶
type LookupLocationResult struct {
Description string `pulumi:"description"`
// The ID of this resource.
Id string `pulumi:"id"`
Name *string `pulumi:"name"`
ParentId int `pulumi:"parentId"`
SiteId int `pulumi:"siteId"`
Slug *string `pulumi:"slug"`
Status string `pulumi:"status"`
TenantId int `pulumi:"tenantId"`
}
A collection of values returned by getLocation.
func LookupLocation ¶
func LookupLocation(ctx *pulumi.Context, args *LookupLocationArgs, opts ...pulumi.InvokeOption) (*LookupLocationResult, error)
type LookupLocationResultOutput ¶
type LookupLocationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocation.
func LookupLocationOutput ¶
func LookupLocationOutput(ctx *pulumi.Context, args LookupLocationOutputArgs, opts ...pulumi.InvokeOption) LookupLocationResultOutput
func (LookupLocationResultOutput) Description ¶
func (o LookupLocationResultOutput) Description() pulumi.StringOutput
func (LookupLocationResultOutput) ElementType ¶
func (LookupLocationResultOutput) ElementType() reflect.Type
func (LookupLocationResultOutput) Id ¶
func (o LookupLocationResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (LookupLocationResultOutput) Name ¶
func (o LookupLocationResultOutput) Name() pulumi.StringPtrOutput
func (LookupLocationResultOutput) ParentId ¶
func (o LookupLocationResultOutput) ParentId() pulumi.IntOutput
func (LookupLocationResultOutput) SiteId ¶
func (o LookupLocationResultOutput) SiteId() pulumi.IntOutput
func (LookupLocationResultOutput) Slug ¶
func (o LookupLocationResultOutput) Slug() pulumi.StringPtrOutput
func (LookupLocationResultOutput) Status ¶
func (o LookupLocationResultOutput) Status() pulumi.StringOutput
func (LookupLocationResultOutput) TenantId ¶
func (o LookupLocationResultOutput) TenantId() pulumi.IntOutput
func (LookupLocationResultOutput) ToLookupLocationResultOutput ¶
func (o LookupLocationResultOutput) ToLookupLocationResultOutput() LookupLocationResultOutput
func (LookupLocationResultOutput) ToLookupLocationResultOutputWithContext ¶
func (o LookupLocationResultOutput) ToLookupLocationResultOutputWithContext(ctx context.Context) LookupLocationResultOutput
type LookupPlatformArgs ¶
type LookupPlatformArgs struct {
ManufacturerId *int `pulumi:"manufacturerId"`
Name string `pulumi:"name"`
}
A collection of arguments for invoking getPlatform.
type LookupPlatformOutputArgs ¶
type LookupPlatformOutputArgs struct {
ManufacturerId pulumi.IntPtrInput `pulumi:"manufacturerId"`
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getPlatform.
func (LookupPlatformOutputArgs) ElementType ¶
func (LookupPlatformOutputArgs) ElementType() reflect.Type
type LookupPlatformResult ¶
type LookupPlatformResult struct {
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
ManufacturerId *int `pulumi:"manufacturerId"`
Name string `pulumi:"name"`
Slug string `pulumi:"slug"`
}
A collection of values returned by getPlatform.
func LookupPlatform ¶
func LookupPlatform(ctx *pulumi.Context, args *LookupPlatformArgs, opts ...pulumi.InvokeOption) (*LookupPlatformResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.LookupPlatform(ctx, &dcim.LookupPlatformArgs{
Name: "PANOS",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupPlatformResultOutput ¶
type LookupPlatformResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPlatform.
func LookupPlatformOutput ¶
func LookupPlatformOutput(ctx *pulumi.Context, args LookupPlatformOutputArgs, opts ...pulumi.InvokeOption) LookupPlatformResultOutput
func (LookupPlatformResultOutput) ElementType ¶
func (LookupPlatformResultOutput) ElementType() reflect.Type
func (LookupPlatformResultOutput) Id ¶
func (o LookupPlatformResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPlatformResultOutput) ManufacturerId ¶
func (o LookupPlatformResultOutput) ManufacturerId() pulumi.IntPtrOutput
func (LookupPlatformResultOutput) Name ¶
func (o LookupPlatformResultOutput) Name() pulumi.StringOutput
func (LookupPlatformResultOutput) Slug ¶
func (o LookupPlatformResultOutput) Slug() pulumi.StringOutput
func (LookupPlatformResultOutput) ToLookupPlatformResultOutput ¶
func (o LookupPlatformResultOutput) ToLookupPlatformResultOutput() LookupPlatformResultOutput
func (LookupPlatformResultOutput) ToLookupPlatformResultOutputWithContext ¶
func (o LookupPlatformResultOutput) ToLookupPlatformResultOutputWithContext(ctx context.Context) LookupPlatformResultOutput
type LookupRackRoleArgs ¶
type LookupRackRoleArgs struct {
Name string `pulumi:"name"`
}
A collection of arguments for invoking getRackRole.
type LookupRackRoleOutputArgs ¶
type LookupRackRoleOutputArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getRackRole.
func (LookupRackRoleOutputArgs) ElementType ¶
func (LookupRackRoleOutputArgs) ElementType() reflect.Type
type LookupRackRoleResult ¶
type LookupRackRoleResult struct {
ColorHex string `pulumi:"colorHex"`
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
Slug string `pulumi:"slug"`
Tags []string `pulumi:"tags"`
}
A collection of values returned by getRackRole.
func LookupRackRole ¶
func LookupRackRole(ctx *pulumi.Context, args *LookupRackRoleArgs, opts ...pulumi.InvokeOption) (*LookupRackRoleResult, error)
type LookupRackRoleResultOutput ¶
type LookupRackRoleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRackRole.
func LookupRackRoleOutput ¶
func LookupRackRoleOutput(ctx *pulumi.Context, args LookupRackRoleOutputArgs, opts ...pulumi.InvokeOption) LookupRackRoleResultOutput
func (LookupRackRoleResultOutput) ColorHex ¶
func (o LookupRackRoleResultOutput) ColorHex() pulumi.StringOutput
func (LookupRackRoleResultOutput) Description ¶
func (o LookupRackRoleResultOutput) Description() pulumi.StringOutput
func (LookupRackRoleResultOutput) ElementType ¶
func (LookupRackRoleResultOutput) ElementType() reflect.Type
func (LookupRackRoleResultOutput) Id ¶
func (o LookupRackRoleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRackRoleResultOutput) Name ¶
func (o LookupRackRoleResultOutput) Name() pulumi.StringOutput
func (LookupRackRoleResultOutput) Slug ¶
func (o LookupRackRoleResultOutput) Slug() pulumi.StringOutput
func (LookupRackRoleResultOutput) Tags ¶
func (o LookupRackRoleResultOutput) Tags() pulumi.StringArrayOutput
func (LookupRackRoleResultOutput) ToLookupRackRoleResultOutput ¶
func (o LookupRackRoleResultOutput) ToLookupRackRoleResultOutput() LookupRackRoleResultOutput
func (LookupRackRoleResultOutput) ToLookupRackRoleResultOutputWithContext ¶
func (o LookupRackRoleResultOutput) ToLookupRackRoleResultOutputWithContext(ctx context.Context) LookupRackRoleResultOutput
type LookupRegionArgs ¶
type LookupRegionArgs struct {
Filters []GetRegionFilter `pulumi:"filters"`
}
A collection of arguments for invoking getRegion.
type LookupRegionOutputArgs ¶
type LookupRegionOutputArgs struct {
Filters GetRegionFilterArrayInput `pulumi:"filters"`
}
A collection of arguments for invoking getRegion.
func (LookupRegionOutputArgs) ElementType ¶
func (LookupRegionOutputArgs) ElementType() reflect.Type
type LookupRegionResult ¶
type LookupRegionResult struct {
Description string `pulumi:"description"`
Filters []GetRegionFilter `pulumi:"filters"`
// The ID of this resource.
Id int `pulumi:"id"`
Name string `pulumi:"name"`
ParentRegionId int `pulumi:"parentRegionId"`
Slug string `pulumi:"slug"`
}
A collection of values returned by getRegion.
func LookupRegion ¶
func LookupRegion(ctx *pulumi.Context, args *LookupRegionArgs, opts ...pulumi.InvokeOption) (*LookupRegionResult, error)
type LookupRegionResultOutput ¶
type LookupRegionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegion.
func LookupRegionOutput ¶
func LookupRegionOutput(ctx *pulumi.Context, args LookupRegionOutputArgs, opts ...pulumi.InvokeOption) LookupRegionResultOutput
func (LookupRegionResultOutput) Description ¶
func (o LookupRegionResultOutput) Description() pulumi.StringOutput
func (LookupRegionResultOutput) ElementType ¶
func (LookupRegionResultOutput) ElementType() reflect.Type
func (LookupRegionResultOutput) Filters ¶
func (o LookupRegionResultOutput) Filters() GetRegionFilterArrayOutput
func (LookupRegionResultOutput) Id ¶
func (o LookupRegionResultOutput) Id() pulumi.IntOutput
The ID of this resource.
func (LookupRegionResultOutput) Name ¶
func (o LookupRegionResultOutput) Name() pulumi.StringOutput
func (LookupRegionResultOutput) ParentRegionId ¶
func (o LookupRegionResultOutput) ParentRegionId() pulumi.IntOutput
func (LookupRegionResultOutput) Slug ¶
func (o LookupRegionResultOutput) Slug() pulumi.StringOutput
func (LookupRegionResultOutput) ToLookupRegionResultOutput ¶
func (o LookupRegionResultOutput) ToLookupRegionResultOutput() LookupRegionResultOutput
func (LookupRegionResultOutput) ToLookupRegionResultOutputWithContext ¶
func (o LookupRegionResultOutput) ToLookupRegionResultOutputWithContext(ctx context.Context) LookupRegionResultOutput
type LookupSiteArgs ¶
type LookupSiteArgs struct {
Facility *string `pulumi:"facility"`
// The ID of this resource.
Id *string `pulumi:"id"`
Name *string `pulumi:"name"`
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getSite.
type LookupSiteGroupArgs ¶
type LookupSiteGroupArgs struct {
// At least one of `name` or `slug` must be given.
Name *string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getSiteGroup.
type LookupSiteGroupOutputArgs ¶
type LookupSiteGroupOutputArgs struct {
// At least one of `name` or `slug` must be given.
Name pulumi.StringPtrInput `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getSiteGroup.
func (LookupSiteGroupOutputArgs) ElementType ¶
func (LookupSiteGroupOutputArgs) ElementType() reflect.Type
type LookupSiteGroupResult ¶
type LookupSiteGroupResult struct {
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// At least one of `name` or `slug` must be given.
Name string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug string `pulumi:"slug"`
}
A collection of values returned by getSiteGroup.
func LookupSiteGroup ¶
func LookupSiteGroup(ctx *pulumi.Context, args *LookupSiteGroupArgs, opts ...pulumi.InvokeOption) (*LookupSiteGroupResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Assumes the corresponding site groups exist
_, err := dcim.LookupSiteGroup(ctx, &dcim.LookupSiteGroupArgs{
Name: pulumi.StringRef("example-sitegroup-1"),
}, nil)
if err != nil {
return err
}
_, err = dcim.LookupSiteGroup(ctx, &dcim.LookupSiteGroupArgs{
Slug: pulumi.StringRef("sitegrp"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupSiteGroupResultOutput ¶
type LookupSiteGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSiteGroup.
func LookupSiteGroupOutput ¶
func LookupSiteGroupOutput(ctx *pulumi.Context, args LookupSiteGroupOutputArgs, opts ...pulumi.InvokeOption) LookupSiteGroupResultOutput
func (LookupSiteGroupResultOutput) Description ¶
func (o LookupSiteGroupResultOutput) Description() pulumi.StringOutput
func (LookupSiteGroupResultOutput) ElementType ¶
func (LookupSiteGroupResultOutput) ElementType() reflect.Type
func (LookupSiteGroupResultOutput) Id ¶
func (o LookupSiteGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSiteGroupResultOutput) Name ¶
func (o LookupSiteGroupResultOutput) Name() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupSiteGroupResultOutput) Slug ¶
func (o LookupSiteGroupResultOutput) Slug() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupSiteGroupResultOutput) ToLookupSiteGroupResultOutput ¶
func (o LookupSiteGroupResultOutput) ToLookupSiteGroupResultOutput() LookupSiteGroupResultOutput
func (LookupSiteGroupResultOutput) ToLookupSiteGroupResultOutputWithContext ¶
func (o LookupSiteGroupResultOutput) ToLookupSiteGroupResultOutputWithContext(ctx context.Context) LookupSiteGroupResultOutput
type LookupSiteOutputArgs ¶
type LookupSiteOutputArgs struct {
Facility pulumi.StringPtrInput `pulumi:"facility"`
// The ID of this resource.
Id pulumi.StringPtrInput `pulumi:"id"`
Name pulumi.StringPtrInput `pulumi:"name"`
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getSite.
func (LookupSiteOutputArgs) ElementType ¶
func (LookupSiteOutputArgs) ElementType() reflect.Type
type LookupSiteResult ¶
type LookupSiteResult struct {
AsnIds []int `pulumi:"asnIds"`
Comments string `pulumi:"comments"`
Description string `pulumi:"description"`
Facility string `pulumi:"facility"`
GroupId int `pulumi:"groupId"`
// The ID of this resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
RegionId int `pulumi:"regionId"`
SiteId int `pulumi:"siteId"`
Slug string `pulumi:"slug"`
Status string `pulumi:"status"`
TenantId int `pulumi:"tenantId"`
TimeZone string `pulumi:"timeZone"`
}
A collection of values returned by getSite.
func LookupSite ¶
func LookupSite(ctx *pulumi.Context, args *LookupSiteArgs, opts ...pulumi.InvokeOption) (*LookupSiteResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.LookupSite(ctx, &dcim.LookupSiteArgs{
Name: pulumi.StringRef("Example Site 1"),
}, nil)
if err != nil {
return err
}
_, err = dcim.LookupSite(ctx, &dcim.LookupSiteArgs{
Slug: pulumi.StringRef("example-site-1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupSiteResultOutput ¶
type LookupSiteResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSite.
func LookupSiteOutput ¶
func LookupSiteOutput(ctx *pulumi.Context, args LookupSiteOutputArgs, opts ...pulumi.InvokeOption) LookupSiteResultOutput
func (LookupSiteResultOutput) AsnIds ¶
func (o LookupSiteResultOutput) AsnIds() pulumi.IntArrayOutput
func (LookupSiteResultOutput) Comments ¶
func (o LookupSiteResultOutput) Comments() pulumi.StringOutput
func (LookupSiteResultOutput) Description ¶
func (o LookupSiteResultOutput) Description() pulumi.StringOutput
func (LookupSiteResultOutput) ElementType ¶
func (LookupSiteResultOutput) ElementType() reflect.Type
func (LookupSiteResultOutput) Facility ¶
func (o LookupSiteResultOutput) Facility() pulumi.StringOutput
func (LookupSiteResultOutput) GroupId ¶
func (o LookupSiteResultOutput) GroupId() pulumi.IntOutput
func (LookupSiteResultOutput) Id ¶
func (o LookupSiteResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (LookupSiteResultOutput) Name ¶
func (o LookupSiteResultOutput) Name() pulumi.StringOutput
func (LookupSiteResultOutput) RegionId ¶
func (o LookupSiteResultOutput) RegionId() pulumi.IntOutput
func (LookupSiteResultOutput) SiteId ¶
func (o LookupSiteResultOutput) SiteId() pulumi.IntOutput
func (LookupSiteResultOutput) Slug ¶
func (o LookupSiteResultOutput) Slug() pulumi.StringOutput
func (LookupSiteResultOutput) Status ¶
func (o LookupSiteResultOutput) Status() pulumi.StringOutput
func (LookupSiteResultOutput) TenantId ¶
func (o LookupSiteResultOutput) TenantId() pulumi.IntOutput
func (LookupSiteResultOutput) TimeZone ¶
func (o LookupSiteResultOutput) TimeZone() pulumi.StringOutput
func (LookupSiteResultOutput) ToLookupSiteResultOutput ¶
func (o LookupSiteResultOutput) ToLookupSiteResultOutput() LookupSiteResultOutput
func (LookupSiteResultOutput) ToLookupSiteResultOutputWithContext ¶
func (o LookupSiteResultOutput) ToLookupSiteResultOutputWithContext(ctx context.Context) LookupSiteResultOutput
type Manufacturer ¶
type Manufacturer struct {
pulumi.CustomResourceState
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/device-types/#manufacturers):
> A manufacturer represents the "make" of a device; e.g. Cisco or Dell. Each device type must be assigned to a manufacturer. (Inventory items and platforms may also be associated with manufacturers.) Each manufacturer must have a unique name and may have a description assigned to it.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("testmanufacturer"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetManufacturer ¶
func GetManufacturer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManufacturerState, opts ...pulumi.ResourceOption) (*Manufacturer, error)
GetManufacturer gets an existing Manufacturer 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 NewManufacturer ¶
func NewManufacturer(ctx *pulumi.Context, name string, args *ManufacturerArgs, opts ...pulumi.ResourceOption) (*Manufacturer, error)
NewManufacturer registers a new resource with the given unique name, arguments, and options.
func (*Manufacturer) ElementType ¶
func (*Manufacturer) ElementType() reflect.Type
func (*Manufacturer) ToManufacturerOutput ¶
func (i *Manufacturer) ToManufacturerOutput() ManufacturerOutput
func (*Manufacturer) ToManufacturerOutputWithContext ¶
func (i *Manufacturer) ToManufacturerOutputWithContext(ctx context.Context) ManufacturerOutput
type ManufacturerArgs ¶
type ManufacturerArgs struct {
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a Manufacturer resource.
func (ManufacturerArgs) ElementType ¶
func (ManufacturerArgs) ElementType() reflect.Type
type ManufacturerArray ¶
type ManufacturerArray []ManufacturerInput
func (ManufacturerArray) ElementType ¶
func (ManufacturerArray) ElementType() reflect.Type
func (ManufacturerArray) ToManufacturerArrayOutput ¶
func (i ManufacturerArray) ToManufacturerArrayOutput() ManufacturerArrayOutput
func (ManufacturerArray) ToManufacturerArrayOutputWithContext ¶
func (i ManufacturerArray) ToManufacturerArrayOutputWithContext(ctx context.Context) ManufacturerArrayOutput
type ManufacturerArrayInput ¶
type ManufacturerArrayInput interface {
pulumi.Input
ToManufacturerArrayOutput() ManufacturerArrayOutput
ToManufacturerArrayOutputWithContext(context.Context) ManufacturerArrayOutput
}
ManufacturerArrayInput is an input type that accepts ManufacturerArray and ManufacturerArrayOutput values. You can construct a concrete instance of `ManufacturerArrayInput` via:
ManufacturerArray{ ManufacturerArgs{...} }
type ManufacturerArrayOutput ¶
type ManufacturerArrayOutput struct{ *pulumi.OutputState }
func (ManufacturerArrayOutput) ElementType ¶
func (ManufacturerArrayOutput) ElementType() reflect.Type
func (ManufacturerArrayOutput) Index ¶
func (o ManufacturerArrayOutput) Index(i pulumi.IntInput) ManufacturerOutput
func (ManufacturerArrayOutput) ToManufacturerArrayOutput ¶
func (o ManufacturerArrayOutput) ToManufacturerArrayOutput() ManufacturerArrayOutput
func (ManufacturerArrayOutput) ToManufacturerArrayOutputWithContext ¶
func (o ManufacturerArrayOutput) ToManufacturerArrayOutputWithContext(ctx context.Context) ManufacturerArrayOutput
type ManufacturerInput ¶
type ManufacturerInput interface {
pulumi.Input
ToManufacturerOutput() ManufacturerOutput
ToManufacturerOutputWithContext(ctx context.Context) ManufacturerOutput
}
type ManufacturerMap ¶
type ManufacturerMap map[string]ManufacturerInput
func (ManufacturerMap) ElementType ¶
func (ManufacturerMap) ElementType() reflect.Type
func (ManufacturerMap) ToManufacturerMapOutput ¶
func (i ManufacturerMap) ToManufacturerMapOutput() ManufacturerMapOutput
func (ManufacturerMap) ToManufacturerMapOutputWithContext ¶
func (i ManufacturerMap) ToManufacturerMapOutputWithContext(ctx context.Context) ManufacturerMapOutput
type ManufacturerMapInput ¶
type ManufacturerMapInput interface {
pulumi.Input
ToManufacturerMapOutput() ManufacturerMapOutput
ToManufacturerMapOutputWithContext(context.Context) ManufacturerMapOutput
}
ManufacturerMapInput is an input type that accepts ManufacturerMap and ManufacturerMapOutput values. You can construct a concrete instance of `ManufacturerMapInput` via:
ManufacturerMap{ "key": ManufacturerArgs{...} }
type ManufacturerMapOutput ¶
type ManufacturerMapOutput struct{ *pulumi.OutputState }
func (ManufacturerMapOutput) ElementType ¶
func (ManufacturerMapOutput) ElementType() reflect.Type
func (ManufacturerMapOutput) MapIndex ¶
func (o ManufacturerMapOutput) MapIndex(k pulumi.StringInput) ManufacturerOutput
func (ManufacturerMapOutput) ToManufacturerMapOutput ¶
func (o ManufacturerMapOutput) ToManufacturerMapOutput() ManufacturerMapOutput
func (ManufacturerMapOutput) ToManufacturerMapOutputWithContext ¶
func (o ManufacturerMapOutput) ToManufacturerMapOutputWithContext(ctx context.Context) ManufacturerMapOutput
type ManufacturerOutput ¶
type ManufacturerOutput struct{ *pulumi.OutputState }
func (ManufacturerOutput) ElementType ¶
func (ManufacturerOutput) ElementType() reflect.Type
func (ManufacturerOutput) Name ¶
func (o ManufacturerOutput) Name() pulumi.StringOutput
func (ManufacturerOutput) Slug ¶
func (o ManufacturerOutput) Slug() pulumi.StringOutput
func (ManufacturerOutput) ToManufacturerOutput ¶
func (o ManufacturerOutput) ToManufacturerOutput() ManufacturerOutput
func (ManufacturerOutput) ToManufacturerOutputWithContext ¶
func (o ManufacturerOutput) ToManufacturerOutputWithContext(ctx context.Context) ManufacturerOutput
type ManufacturerState ¶
type ManufacturerState struct {
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
func (ManufacturerState) ElementType ¶
func (ManufacturerState) ElementType() reflect.Type
type Module ¶
type Module struct {
pulumi.CustomResourceState
AssetTag pulumi.StringPtrOutput `pulumi:"assetTag"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntOutput `pulumi:"deviceId"`
ModuleBayId pulumi.IntOutput `pulumi:"moduleBayId"`
ModuleTypeId pulumi.IntOutput `pulumi:"moduleTypeId"`
Serial pulumi.StringPtrOutput `pulumi:"serial"`
// One of [offline, active, planned, staged, failed, decommissioning].
Status pulumi.StringOutput `pulumi:"status"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/module/):
> A module is a field-replaceable hardware component installed within a device which houses its own child components. The most common example is a chassis-based router or switch.
Similar to devices, modules are instantiated from module types, and any components associated with the module type are automatically instantiated on the new model. Each module must be installed within a module bay on a device, and each module bay may have only one module installed in it.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Note that some terraform code is not included in the example for brevity
test, err := dcim.NewDevice(ctx, "test", &dcim.DeviceArgs{
Name: pulumi.String("%[1]s"),
DeviceTypeId: pulumi.Any(testNetboxDeviceType.Id),
RoleId: pulumi.Any(testNetboxDeviceRole.Id),
SiteId: pulumi.Any(testNetboxSite.Id),
})
if err != nil {
return err
}
testDeviceModuleBay, err := dcim.NewDeviceModuleBay(ctx, "test", &dcim.DeviceModuleBayArgs{
DeviceId: test.ID(),
Name: pulumi.String("SFP"),
})
if err != nil {
return err
}
testManufacturer, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("Dell"),
})
if err != nil {
return err
}
testModuleType, err := dcim.NewModuleType(ctx, "test", &dcim.ModuleTypeArgs{
ManufacturerId: testManufacturer.ID(),
Model: pulumi.String("Networking"),
})
if err != nil {
return err
}
_, err = dcim.NewModule(ctx, "test", &dcim.ModuleArgs{
DeviceId: test.ID(),
ModuleBayId: testDeviceModuleBay.ID(),
ModuleTypeId: testModuleType.ID(),
Status: pulumi.String("active"),
Description: pulumi.String("SFP card"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetModule ¶
func GetModule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ModuleState, opts ...pulumi.ResourceOption) (*Module, error)
GetModule gets an existing Module 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 NewModule ¶
func NewModule(ctx *pulumi.Context, name string, args *ModuleArgs, opts ...pulumi.ResourceOption) (*Module, error)
NewModule registers a new resource with the given unique name, arguments, and options.
func (*Module) ElementType ¶
func (*Module) ToModuleOutput ¶
func (i *Module) ToModuleOutput() ModuleOutput
func (*Module) ToModuleOutputWithContext ¶
func (i *Module) ToModuleOutputWithContext(ctx context.Context) ModuleOutput
type ModuleArgs ¶
type ModuleArgs struct {
AssetTag pulumi.StringPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntInput
ModuleBayId pulumi.IntInput
ModuleTypeId pulumi.IntInput
Serial pulumi.StringPtrInput
// One of [offline, active, planned, staged, failed, decommissioning].
Status pulumi.StringInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a Module resource.
func (ModuleArgs) ElementType ¶
func (ModuleArgs) ElementType() reflect.Type
type ModuleArray ¶
type ModuleArray []ModuleInput
func (ModuleArray) ElementType ¶
func (ModuleArray) ElementType() reflect.Type
func (ModuleArray) ToModuleArrayOutput ¶
func (i ModuleArray) ToModuleArrayOutput() ModuleArrayOutput
func (ModuleArray) ToModuleArrayOutputWithContext ¶
func (i ModuleArray) ToModuleArrayOutputWithContext(ctx context.Context) ModuleArrayOutput
type ModuleArrayInput ¶
type ModuleArrayInput interface {
pulumi.Input
ToModuleArrayOutput() ModuleArrayOutput
ToModuleArrayOutputWithContext(context.Context) ModuleArrayOutput
}
ModuleArrayInput is an input type that accepts ModuleArray and ModuleArrayOutput values. You can construct a concrete instance of `ModuleArrayInput` via:
ModuleArray{ ModuleArgs{...} }
type ModuleArrayOutput ¶
type ModuleArrayOutput struct{ *pulumi.OutputState }
func (ModuleArrayOutput) ElementType ¶
func (ModuleArrayOutput) ElementType() reflect.Type
func (ModuleArrayOutput) Index ¶
func (o ModuleArrayOutput) Index(i pulumi.IntInput) ModuleOutput
func (ModuleArrayOutput) ToModuleArrayOutput ¶
func (o ModuleArrayOutput) ToModuleArrayOutput() ModuleArrayOutput
func (ModuleArrayOutput) ToModuleArrayOutputWithContext ¶
func (o ModuleArrayOutput) ToModuleArrayOutputWithContext(ctx context.Context) ModuleArrayOutput
type ModuleInput ¶
type ModuleInput interface {
pulumi.Input
ToModuleOutput() ModuleOutput
ToModuleOutputWithContext(ctx context.Context) ModuleOutput
}
type ModuleMap ¶
type ModuleMap map[string]ModuleInput
func (ModuleMap) ElementType ¶
func (ModuleMap) ToModuleMapOutput ¶
func (i ModuleMap) ToModuleMapOutput() ModuleMapOutput
func (ModuleMap) ToModuleMapOutputWithContext ¶
func (i ModuleMap) ToModuleMapOutputWithContext(ctx context.Context) ModuleMapOutput
type ModuleMapInput ¶
type ModuleMapInput interface {
pulumi.Input
ToModuleMapOutput() ModuleMapOutput
ToModuleMapOutputWithContext(context.Context) ModuleMapOutput
}
ModuleMapInput is an input type that accepts ModuleMap and ModuleMapOutput values. You can construct a concrete instance of `ModuleMapInput` via:
ModuleMap{ "key": ModuleArgs{...} }
type ModuleMapOutput ¶
type ModuleMapOutput struct{ *pulumi.OutputState }
func (ModuleMapOutput) ElementType ¶
func (ModuleMapOutput) ElementType() reflect.Type
func (ModuleMapOutput) MapIndex ¶
func (o ModuleMapOutput) MapIndex(k pulumi.StringInput) ModuleOutput
func (ModuleMapOutput) ToModuleMapOutput ¶
func (o ModuleMapOutput) ToModuleMapOutput() ModuleMapOutput
func (ModuleMapOutput) ToModuleMapOutputWithContext ¶
func (o ModuleMapOutput) ToModuleMapOutputWithContext(ctx context.Context) ModuleMapOutput
type ModuleOutput ¶
type ModuleOutput struct{ *pulumi.OutputState }
func (ModuleOutput) AssetTag ¶
func (o ModuleOutput) AssetTag() pulumi.StringPtrOutput
func (ModuleOutput) Comments ¶
func (o ModuleOutput) Comments() pulumi.StringPtrOutput
func (ModuleOutput) CustomFields ¶
func (o ModuleOutput) CustomFields() pulumi.StringMapOutput
func (ModuleOutput) Description ¶
func (o ModuleOutput) Description() pulumi.StringPtrOutput
func (ModuleOutput) DeviceId ¶
func (o ModuleOutput) DeviceId() pulumi.IntOutput
func (ModuleOutput) ElementType ¶
func (ModuleOutput) ElementType() reflect.Type
func (ModuleOutput) ModuleBayId ¶
func (o ModuleOutput) ModuleBayId() pulumi.IntOutput
func (ModuleOutput) ModuleTypeId ¶
func (o ModuleOutput) ModuleTypeId() pulumi.IntOutput
func (ModuleOutput) Serial ¶
func (o ModuleOutput) Serial() pulumi.StringPtrOutput
func (ModuleOutput) Status ¶
func (o ModuleOutput) Status() pulumi.StringOutput
One of [offline, active, planned, staged, failed, decommissioning].
func (ModuleOutput) Tags ¶
func (o ModuleOutput) Tags() pulumi.StringArrayOutput
func (ModuleOutput) TagsAlls ¶
func (o ModuleOutput) TagsAlls() pulumi.StringArrayOutput
func (ModuleOutput) ToModuleOutput ¶
func (o ModuleOutput) ToModuleOutput() ModuleOutput
func (ModuleOutput) ToModuleOutputWithContext ¶
func (o ModuleOutput) ToModuleOutputWithContext(ctx context.Context) ModuleOutput
type ModuleState ¶
type ModuleState struct {
AssetTag pulumi.StringPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
ModuleBayId pulumi.IntPtrInput
ModuleTypeId pulumi.IntPtrInput
Serial pulumi.StringPtrInput
// One of [offline, active, planned, staged, failed, decommissioning].
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (ModuleState) ElementType ¶
func (ModuleState) ElementType() reflect.Type
type ModuleType ¶
type ModuleType struct {
pulumi.CustomResourceState
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
ManufacturerId pulumi.IntOutput `pulumi:"manufacturerId"`
Model pulumi.StringOutput `pulumi:"model"`
PartNumber pulumi.StringPtrOutput `pulumi:"partNumber"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
Weight pulumi.Float64PtrOutput `pulumi:"weight"`
// One of [kg, g, lb, oz]. Required when `weight` is set.
WeightUnit pulumi.StringPtrOutput `pulumi:"weightUnit"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/moduletype/):
> A module type represents a specific make and model of hardware component which is installable within a device's module bay and has its own child components. For example, consider a chassis-based switch or router with a number of field-replaceable line cards. Each line card has its own model number and includes a certain set of components such as interfaces. Each module type may have a manufacturer, model number, and part number assigned to it.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("Dell"),
})
if err != nil {
return err
}
_, err = dcim.NewModuleType(ctx, "test", &dcim.ModuleTypeArgs{
ManufacturerId: test.ID(),
Model: pulumi.String("Networking"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetModuleType ¶
func GetModuleType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ModuleTypeState, opts ...pulumi.ResourceOption) (*ModuleType, error)
GetModuleType gets an existing ModuleType 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 NewModuleType ¶
func NewModuleType(ctx *pulumi.Context, name string, args *ModuleTypeArgs, opts ...pulumi.ResourceOption) (*ModuleType, error)
NewModuleType registers a new resource with the given unique name, arguments, and options.
func (*ModuleType) ElementType ¶
func (*ModuleType) ElementType() reflect.Type
func (*ModuleType) ToModuleTypeOutput ¶
func (i *ModuleType) ToModuleTypeOutput() ModuleTypeOutput
func (*ModuleType) ToModuleTypeOutputWithContext ¶
func (i *ModuleType) ToModuleTypeOutputWithContext(ctx context.Context) ModuleTypeOutput
type ModuleTypeArgs ¶
type ModuleTypeArgs struct {
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
ManufacturerId pulumi.IntInput
Model pulumi.StringInput
PartNumber pulumi.StringPtrInput
Tags pulumi.StringArrayInput
Weight pulumi.Float64PtrInput
// One of [kg, g, lb, oz]. Required when `weight` is set.
WeightUnit pulumi.StringPtrInput
}
The set of arguments for constructing a ModuleType resource.
func (ModuleTypeArgs) ElementType ¶
func (ModuleTypeArgs) ElementType() reflect.Type
type ModuleTypeArray ¶
type ModuleTypeArray []ModuleTypeInput
func (ModuleTypeArray) ElementType ¶
func (ModuleTypeArray) ElementType() reflect.Type
func (ModuleTypeArray) ToModuleTypeArrayOutput ¶
func (i ModuleTypeArray) ToModuleTypeArrayOutput() ModuleTypeArrayOutput
func (ModuleTypeArray) ToModuleTypeArrayOutputWithContext ¶
func (i ModuleTypeArray) ToModuleTypeArrayOutputWithContext(ctx context.Context) ModuleTypeArrayOutput
type ModuleTypeArrayInput ¶
type ModuleTypeArrayInput interface {
pulumi.Input
ToModuleTypeArrayOutput() ModuleTypeArrayOutput
ToModuleTypeArrayOutputWithContext(context.Context) ModuleTypeArrayOutput
}
ModuleTypeArrayInput is an input type that accepts ModuleTypeArray and ModuleTypeArrayOutput values. You can construct a concrete instance of `ModuleTypeArrayInput` via:
ModuleTypeArray{ ModuleTypeArgs{...} }
type ModuleTypeArrayOutput ¶
type ModuleTypeArrayOutput struct{ *pulumi.OutputState }
func (ModuleTypeArrayOutput) ElementType ¶
func (ModuleTypeArrayOutput) ElementType() reflect.Type
func (ModuleTypeArrayOutput) Index ¶
func (o ModuleTypeArrayOutput) Index(i pulumi.IntInput) ModuleTypeOutput
func (ModuleTypeArrayOutput) ToModuleTypeArrayOutput ¶
func (o ModuleTypeArrayOutput) ToModuleTypeArrayOutput() ModuleTypeArrayOutput
func (ModuleTypeArrayOutput) ToModuleTypeArrayOutputWithContext ¶
func (o ModuleTypeArrayOutput) ToModuleTypeArrayOutputWithContext(ctx context.Context) ModuleTypeArrayOutput
type ModuleTypeInput ¶
type ModuleTypeInput interface {
pulumi.Input
ToModuleTypeOutput() ModuleTypeOutput
ToModuleTypeOutputWithContext(ctx context.Context) ModuleTypeOutput
}
type ModuleTypeMap ¶
type ModuleTypeMap map[string]ModuleTypeInput
func (ModuleTypeMap) ElementType ¶
func (ModuleTypeMap) ElementType() reflect.Type
func (ModuleTypeMap) ToModuleTypeMapOutput ¶
func (i ModuleTypeMap) ToModuleTypeMapOutput() ModuleTypeMapOutput
func (ModuleTypeMap) ToModuleTypeMapOutputWithContext ¶
func (i ModuleTypeMap) ToModuleTypeMapOutputWithContext(ctx context.Context) ModuleTypeMapOutput
type ModuleTypeMapInput ¶
type ModuleTypeMapInput interface {
pulumi.Input
ToModuleTypeMapOutput() ModuleTypeMapOutput
ToModuleTypeMapOutputWithContext(context.Context) ModuleTypeMapOutput
}
ModuleTypeMapInput is an input type that accepts ModuleTypeMap and ModuleTypeMapOutput values. You can construct a concrete instance of `ModuleTypeMapInput` via:
ModuleTypeMap{ "key": ModuleTypeArgs{...} }
type ModuleTypeMapOutput ¶
type ModuleTypeMapOutput struct{ *pulumi.OutputState }
func (ModuleTypeMapOutput) ElementType ¶
func (ModuleTypeMapOutput) ElementType() reflect.Type
func (ModuleTypeMapOutput) MapIndex ¶
func (o ModuleTypeMapOutput) MapIndex(k pulumi.StringInput) ModuleTypeOutput
func (ModuleTypeMapOutput) ToModuleTypeMapOutput ¶
func (o ModuleTypeMapOutput) ToModuleTypeMapOutput() ModuleTypeMapOutput
func (ModuleTypeMapOutput) ToModuleTypeMapOutputWithContext ¶
func (o ModuleTypeMapOutput) ToModuleTypeMapOutputWithContext(ctx context.Context) ModuleTypeMapOutput
type ModuleTypeOutput ¶
type ModuleTypeOutput struct{ *pulumi.OutputState }
func (ModuleTypeOutput) Comments ¶
func (o ModuleTypeOutput) Comments() pulumi.StringPtrOutput
func (ModuleTypeOutput) CustomFields ¶
func (o ModuleTypeOutput) CustomFields() pulumi.StringMapOutput
func (ModuleTypeOutput) Description ¶
func (o ModuleTypeOutput) Description() pulumi.StringPtrOutput
func (ModuleTypeOutput) ElementType ¶
func (ModuleTypeOutput) ElementType() reflect.Type
func (ModuleTypeOutput) ManufacturerId ¶
func (o ModuleTypeOutput) ManufacturerId() pulumi.IntOutput
func (ModuleTypeOutput) Model ¶
func (o ModuleTypeOutput) Model() pulumi.StringOutput
func (ModuleTypeOutput) PartNumber ¶
func (o ModuleTypeOutput) PartNumber() pulumi.StringPtrOutput
func (ModuleTypeOutput) Tags ¶
func (o ModuleTypeOutput) Tags() pulumi.StringArrayOutput
func (ModuleTypeOutput) TagsAlls ¶
func (o ModuleTypeOutput) TagsAlls() pulumi.StringArrayOutput
func (ModuleTypeOutput) ToModuleTypeOutput ¶
func (o ModuleTypeOutput) ToModuleTypeOutput() ModuleTypeOutput
func (ModuleTypeOutput) ToModuleTypeOutputWithContext ¶
func (o ModuleTypeOutput) ToModuleTypeOutputWithContext(ctx context.Context) ModuleTypeOutput
func (ModuleTypeOutput) Weight ¶
func (o ModuleTypeOutput) Weight() pulumi.Float64PtrOutput
func (ModuleTypeOutput) WeightUnit ¶
func (o ModuleTypeOutput) WeightUnit() pulumi.StringPtrOutput
One of [kg, g, lb, oz]. Required when `weight` is set.
type ModuleTypeState ¶
type ModuleTypeState struct {
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
ManufacturerId pulumi.IntPtrInput
Model pulumi.StringPtrInput
PartNumber pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
Weight pulumi.Float64PtrInput
// One of [kg, g, lb, oz]. Required when `weight` is set.
WeightUnit pulumi.StringPtrInput
}
func (ModuleTypeState) ElementType ¶
func (ModuleTypeState) ElementType() reflect.Type
type Platform ¶
type Platform struct {
pulumi.CustomResourceState
ManufacturerId pulumi.IntPtrOutput `pulumi:"manufacturerId"`
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/devices/#platforms):
> A platform defines the type of software running on a device or virtual machine. This can be helpful to model when it is necessary to distinguish between different versions or feature sets. Note that two devices of the same type may be assigned different platforms: For example, one Juniper MX240 might run Junos 14 while another runs Junos 15.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Resource for PanOS (e.g. Panorama from Palo Alto)
_, err := dcim.NewPlatform(ctx, "PANOS", &dcim.PlatformArgs{
Name: pulumi.String("PANOS"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetPlatform ¶
func GetPlatform(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PlatformState, opts ...pulumi.ResourceOption) (*Platform, error)
GetPlatform gets an existing Platform 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 NewPlatform ¶
func NewPlatform(ctx *pulumi.Context, name string, args *PlatformArgs, opts ...pulumi.ResourceOption) (*Platform, error)
NewPlatform registers a new resource with the given unique name, arguments, and options.
func (*Platform) ElementType ¶
func (*Platform) ToPlatformOutput ¶
func (i *Platform) ToPlatformOutput() PlatformOutput
func (*Platform) ToPlatformOutputWithContext ¶
func (i *Platform) ToPlatformOutputWithContext(ctx context.Context) PlatformOutput
type PlatformArgs ¶
type PlatformArgs struct {
ManufacturerId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a Platform resource.
func (PlatformArgs) ElementType ¶
func (PlatformArgs) ElementType() reflect.Type
type PlatformArray ¶
type PlatformArray []PlatformInput
func (PlatformArray) ElementType ¶
func (PlatformArray) ElementType() reflect.Type
func (PlatformArray) ToPlatformArrayOutput ¶
func (i PlatformArray) ToPlatformArrayOutput() PlatformArrayOutput
func (PlatformArray) ToPlatformArrayOutputWithContext ¶
func (i PlatformArray) ToPlatformArrayOutputWithContext(ctx context.Context) PlatformArrayOutput
type PlatformArrayInput ¶
type PlatformArrayInput interface {
pulumi.Input
ToPlatformArrayOutput() PlatformArrayOutput
ToPlatformArrayOutputWithContext(context.Context) PlatformArrayOutput
}
PlatformArrayInput is an input type that accepts PlatformArray and PlatformArrayOutput values. You can construct a concrete instance of `PlatformArrayInput` via:
PlatformArray{ PlatformArgs{...} }
type PlatformArrayOutput ¶
type PlatformArrayOutput struct{ *pulumi.OutputState }
func (PlatformArrayOutput) ElementType ¶
func (PlatformArrayOutput) ElementType() reflect.Type
func (PlatformArrayOutput) Index ¶
func (o PlatformArrayOutput) Index(i pulumi.IntInput) PlatformOutput
func (PlatformArrayOutput) ToPlatformArrayOutput ¶
func (o PlatformArrayOutput) ToPlatformArrayOutput() PlatformArrayOutput
func (PlatformArrayOutput) ToPlatformArrayOutputWithContext ¶
func (o PlatformArrayOutput) ToPlatformArrayOutputWithContext(ctx context.Context) PlatformArrayOutput
type PlatformInput ¶
type PlatformInput interface {
pulumi.Input
ToPlatformOutput() PlatformOutput
ToPlatformOutputWithContext(ctx context.Context) PlatformOutput
}
type PlatformMap ¶
type PlatformMap map[string]PlatformInput
func (PlatformMap) ElementType ¶
func (PlatformMap) ElementType() reflect.Type
func (PlatformMap) ToPlatformMapOutput ¶
func (i PlatformMap) ToPlatformMapOutput() PlatformMapOutput
func (PlatformMap) ToPlatformMapOutputWithContext ¶
func (i PlatformMap) ToPlatformMapOutputWithContext(ctx context.Context) PlatformMapOutput
type PlatformMapInput ¶
type PlatformMapInput interface {
pulumi.Input
ToPlatformMapOutput() PlatformMapOutput
ToPlatformMapOutputWithContext(context.Context) PlatformMapOutput
}
PlatformMapInput is an input type that accepts PlatformMap and PlatformMapOutput values. You can construct a concrete instance of `PlatformMapInput` via:
PlatformMap{ "key": PlatformArgs{...} }
type PlatformMapOutput ¶
type PlatformMapOutput struct{ *pulumi.OutputState }
func (PlatformMapOutput) ElementType ¶
func (PlatformMapOutput) ElementType() reflect.Type
func (PlatformMapOutput) MapIndex ¶
func (o PlatformMapOutput) MapIndex(k pulumi.StringInput) PlatformOutput
func (PlatformMapOutput) ToPlatformMapOutput ¶
func (o PlatformMapOutput) ToPlatformMapOutput() PlatformMapOutput
func (PlatformMapOutput) ToPlatformMapOutputWithContext ¶
func (o PlatformMapOutput) ToPlatformMapOutputWithContext(ctx context.Context) PlatformMapOutput
type PlatformOutput ¶
type PlatformOutput struct{ *pulumi.OutputState }
func (PlatformOutput) ElementType ¶
func (PlatformOutput) ElementType() reflect.Type
func (PlatformOutput) ManufacturerId ¶
func (o PlatformOutput) ManufacturerId() pulumi.IntPtrOutput
func (PlatformOutput) Name ¶
func (o PlatformOutput) Name() pulumi.StringOutput
func (PlatformOutput) Slug ¶
func (o PlatformOutput) Slug() pulumi.StringOutput
func (PlatformOutput) ToPlatformOutput ¶
func (o PlatformOutput) ToPlatformOutput() PlatformOutput
func (PlatformOutput) ToPlatformOutputWithContext ¶
func (o PlatformOutput) ToPlatformOutputWithContext(ctx context.Context) PlatformOutput
type PlatformState ¶
type PlatformState struct {
ManufacturerId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
func (PlatformState) ElementType ¶
func (PlatformState) ElementType() reflect.Type
type PowerFeed ¶
type PowerFeed struct {
pulumi.CustomResourceState
Amperage pulumi.IntOutput `pulumi:"amperage"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
// Defaults to `false`.
MarkConnected pulumi.BoolPtrOutput `pulumi:"markConnected"`
MaxPercentUtilization pulumi.IntOutput `pulumi:"maxPercentUtilization"`
Name pulumi.StringOutput `pulumi:"name"`
// One of [single-phase, three-phase].
Phase pulumi.StringOutput `pulumi:"phase"`
PowerPanelId pulumi.IntOutput `pulumi:"powerPanelId"`
RackId pulumi.IntPtrOutput `pulumi:"rackId"`
// One of [offline, active, planned, failed].
Status pulumi.StringOutput `pulumi:"status"`
// One of [ac, dc].
Supply pulumi.StringOutput `pulumi:"supply"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// One of [primary, redundant].
Type pulumi.StringOutput `pulumi:"type"`
Voltage pulumi.IntOutput `pulumi:"voltage"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/powerfeed/):
> A power feed represents the distribution of power from a power panel to a particular device, typically a power distribution unit (PDU). The power port (inlet) on a device can be connected via a cable to a power feed. A power feed may optionally be assigned to a rack to allow more easily tracking the distribution of power among racks.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewSite(ctx, "test", &dcim.SiteArgs{
Name: pulumi.String("Site 1"),
Status: pulumi.String("active"),
})
if err != nil {
return err
}
testLocation, err := dcim.NewLocation(ctx, "test", &dcim.LocationArgs{
Name: pulumi.String("Location 1"),
SiteId: test.ID(),
})
if err != nil {
return err
}
testPowerPanel, err := dcim.NewPowerPanel(ctx, "test", &dcim.PowerPanelArgs{
Name: pulumi.String("Power Panel 1"),
SiteId: test.ID(),
LocationId: testLocation.ID(),
})
if err != nil {
return err
}
_, err = dcim.NewPowerFeed(ctx, "test", &dcim.PowerFeedArgs{
PowerPanelId: testPowerPanel.ID(),
Name: pulumi.String("Power Feed 1"),
Status: pulumi.String("active"),
Type: pulumi.String("primary"),
Supply: pulumi.String("ac"),
Phase: pulumi.String("single-phase"),
Voltage: pulumi.Int(250),
Amperage: pulumi.Int(100),
MaxPercentUtilization: pulumi.Int(80),
})
if err != nil {
return err
}
return nil
})
}
```
func GetPowerFeed ¶
func GetPowerFeed(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PowerFeedState, opts ...pulumi.ResourceOption) (*PowerFeed, error)
GetPowerFeed gets an existing PowerFeed 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 NewPowerFeed ¶
func NewPowerFeed(ctx *pulumi.Context, name string, args *PowerFeedArgs, opts ...pulumi.ResourceOption) (*PowerFeed, error)
NewPowerFeed registers a new resource with the given unique name, arguments, and options.
func (*PowerFeed) ElementType ¶
func (*PowerFeed) ToPowerFeedOutput ¶
func (i *PowerFeed) ToPowerFeedOutput() PowerFeedOutput
func (*PowerFeed) ToPowerFeedOutputWithContext ¶
func (i *PowerFeed) ToPowerFeedOutputWithContext(ctx context.Context) PowerFeedOutput
type PowerFeedArgs ¶
type PowerFeedArgs struct {
Amperage pulumi.IntInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
MaxPercentUtilization pulumi.IntInput
Name pulumi.StringPtrInput
// One of [single-phase, three-phase].
Phase pulumi.StringInput
PowerPanelId pulumi.IntInput
RackId pulumi.IntPtrInput
// One of [offline, active, planned, failed].
Status pulumi.StringInput
// One of [ac, dc].
Supply pulumi.StringInput
Tags pulumi.StringArrayInput
// One of [primary, redundant].
Type pulumi.StringInput
Voltage pulumi.IntInput
}
The set of arguments for constructing a PowerFeed resource.
func (PowerFeedArgs) ElementType ¶
func (PowerFeedArgs) ElementType() reflect.Type
type PowerFeedArray ¶
type PowerFeedArray []PowerFeedInput
func (PowerFeedArray) ElementType ¶
func (PowerFeedArray) ElementType() reflect.Type
func (PowerFeedArray) ToPowerFeedArrayOutput ¶
func (i PowerFeedArray) ToPowerFeedArrayOutput() PowerFeedArrayOutput
func (PowerFeedArray) ToPowerFeedArrayOutputWithContext ¶
func (i PowerFeedArray) ToPowerFeedArrayOutputWithContext(ctx context.Context) PowerFeedArrayOutput
type PowerFeedArrayInput ¶
type PowerFeedArrayInput interface {
pulumi.Input
ToPowerFeedArrayOutput() PowerFeedArrayOutput
ToPowerFeedArrayOutputWithContext(context.Context) PowerFeedArrayOutput
}
PowerFeedArrayInput is an input type that accepts PowerFeedArray and PowerFeedArrayOutput values. You can construct a concrete instance of `PowerFeedArrayInput` via:
PowerFeedArray{ PowerFeedArgs{...} }
type PowerFeedArrayOutput ¶
type PowerFeedArrayOutput struct{ *pulumi.OutputState }
func (PowerFeedArrayOutput) ElementType ¶
func (PowerFeedArrayOutput) ElementType() reflect.Type
func (PowerFeedArrayOutput) Index ¶
func (o PowerFeedArrayOutput) Index(i pulumi.IntInput) PowerFeedOutput
func (PowerFeedArrayOutput) ToPowerFeedArrayOutput ¶
func (o PowerFeedArrayOutput) ToPowerFeedArrayOutput() PowerFeedArrayOutput
func (PowerFeedArrayOutput) ToPowerFeedArrayOutputWithContext ¶
func (o PowerFeedArrayOutput) ToPowerFeedArrayOutputWithContext(ctx context.Context) PowerFeedArrayOutput
type PowerFeedInput ¶
type PowerFeedInput interface {
pulumi.Input
ToPowerFeedOutput() PowerFeedOutput
ToPowerFeedOutputWithContext(ctx context.Context) PowerFeedOutput
}
type PowerFeedMap ¶
type PowerFeedMap map[string]PowerFeedInput
func (PowerFeedMap) ElementType ¶
func (PowerFeedMap) ElementType() reflect.Type
func (PowerFeedMap) ToPowerFeedMapOutput ¶
func (i PowerFeedMap) ToPowerFeedMapOutput() PowerFeedMapOutput
func (PowerFeedMap) ToPowerFeedMapOutputWithContext ¶
func (i PowerFeedMap) ToPowerFeedMapOutputWithContext(ctx context.Context) PowerFeedMapOutput
type PowerFeedMapInput ¶
type PowerFeedMapInput interface {
pulumi.Input
ToPowerFeedMapOutput() PowerFeedMapOutput
ToPowerFeedMapOutputWithContext(context.Context) PowerFeedMapOutput
}
PowerFeedMapInput is an input type that accepts PowerFeedMap and PowerFeedMapOutput values. You can construct a concrete instance of `PowerFeedMapInput` via:
PowerFeedMap{ "key": PowerFeedArgs{...} }
type PowerFeedMapOutput ¶
type PowerFeedMapOutput struct{ *pulumi.OutputState }
func (PowerFeedMapOutput) ElementType ¶
func (PowerFeedMapOutput) ElementType() reflect.Type
func (PowerFeedMapOutput) MapIndex ¶
func (o PowerFeedMapOutput) MapIndex(k pulumi.StringInput) PowerFeedOutput
func (PowerFeedMapOutput) ToPowerFeedMapOutput ¶
func (o PowerFeedMapOutput) ToPowerFeedMapOutput() PowerFeedMapOutput
func (PowerFeedMapOutput) ToPowerFeedMapOutputWithContext ¶
func (o PowerFeedMapOutput) ToPowerFeedMapOutputWithContext(ctx context.Context) PowerFeedMapOutput
type PowerFeedOutput ¶
type PowerFeedOutput struct{ *pulumi.OutputState }
func (PowerFeedOutput) Amperage ¶
func (o PowerFeedOutput) Amperage() pulumi.IntOutput
func (PowerFeedOutput) Comments ¶
func (o PowerFeedOutput) Comments() pulumi.StringPtrOutput
func (PowerFeedOutput) CustomFields ¶
func (o PowerFeedOutput) CustomFields() pulumi.StringMapOutput
func (PowerFeedOutput) Description ¶
func (o PowerFeedOutput) Description() pulumi.StringPtrOutput
func (PowerFeedOutput) ElementType ¶
func (PowerFeedOutput) ElementType() reflect.Type
func (PowerFeedOutput) MarkConnected ¶
func (o PowerFeedOutput) MarkConnected() pulumi.BoolPtrOutput
Defaults to `false`.
func (PowerFeedOutput) MaxPercentUtilization ¶
func (o PowerFeedOutput) MaxPercentUtilization() pulumi.IntOutput
func (PowerFeedOutput) Name ¶
func (o PowerFeedOutput) Name() pulumi.StringOutput
func (PowerFeedOutput) Phase ¶
func (o PowerFeedOutput) Phase() pulumi.StringOutput
One of [single-phase, three-phase].
func (PowerFeedOutput) PowerPanelId ¶
func (o PowerFeedOutput) PowerPanelId() pulumi.IntOutput
func (PowerFeedOutput) RackId ¶
func (o PowerFeedOutput) RackId() pulumi.IntPtrOutput
func (PowerFeedOutput) Status ¶
func (o PowerFeedOutput) Status() pulumi.StringOutput
One of [offline, active, planned, failed].
func (PowerFeedOutput) Supply ¶
func (o PowerFeedOutput) Supply() pulumi.StringOutput
One of [ac, dc].
func (PowerFeedOutput) Tags ¶
func (o PowerFeedOutput) Tags() pulumi.StringArrayOutput
func (PowerFeedOutput) TagsAlls ¶
func (o PowerFeedOutput) TagsAlls() pulumi.StringArrayOutput
func (PowerFeedOutput) ToPowerFeedOutput ¶
func (o PowerFeedOutput) ToPowerFeedOutput() PowerFeedOutput
func (PowerFeedOutput) ToPowerFeedOutputWithContext ¶
func (o PowerFeedOutput) ToPowerFeedOutputWithContext(ctx context.Context) PowerFeedOutput
func (PowerFeedOutput) Type ¶
func (o PowerFeedOutput) Type() pulumi.StringOutput
One of [primary, redundant].
func (PowerFeedOutput) Voltage ¶
func (o PowerFeedOutput) Voltage() pulumi.IntOutput
type PowerFeedState ¶
type PowerFeedState struct {
Amperage pulumi.IntPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
// Defaults to `false`.
MarkConnected pulumi.BoolPtrInput
MaxPercentUtilization pulumi.IntPtrInput
Name pulumi.StringPtrInput
// One of [single-phase, three-phase].
Phase pulumi.StringPtrInput
PowerPanelId pulumi.IntPtrInput
RackId pulumi.IntPtrInput
// One of [offline, active, planned, failed].
Status pulumi.StringPtrInput
// One of [ac, dc].
Supply pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// One of [primary, redundant].
Type pulumi.StringPtrInput
Voltage pulumi.IntPtrInput
}
func (PowerFeedState) ElementType ¶
func (PowerFeedState) ElementType() reflect.Type
type PowerPanel ¶
type PowerPanel struct {
pulumi.CustomResourceState
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
LocationId pulumi.IntPtrOutput `pulumi:"locationId"`
Name pulumi.StringOutput `pulumi:"name"`
SiteId pulumi.IntOutput `pulumi:"siteId"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/powerpanel/):
> A power panel represents the origin point in NetBox for electrical power being disseminated by one or more power feeds. In a data center environment, one power panel often serves a group of racks, with an individual power feed extending to each rack, though this is not always the case. It is common to have two sets of panels and feeds arranged in parallel to provide redundant power to each rack.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewSite(ctx, "test", &dcim.SiteArgs{
Name: pulumi.String("Site 1"),
Status: pulumi.String("active"),
})
if err != nil {
return err
}
testLocation, err := dcim.NewLocation(ctx, "test", &dcim.LocationArgs{
Name: pulumi.String("Location 1"),
SiteId: test.ID(),
})
if err != nil {
return err
}
_, err = dcim.NewPowerPanel(ctx, "test", &dcim.PowerPanelArgs{
Name: pulumi.String("Power Panel 1"),
SiteId: test.ID(),
LocationId: testLocation.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetPowerPanel ¶
func GetPowerPanel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PowerPanelState, opts ...pulumi.ResourceOption) (*PowerPanel, error)
GetPowerPanel gets an existing PowerPanel 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 NewPowerPanel ¶
func NewPowerPanel(ctx *pulumi.Context, name string, args *PowerPanelArgs, opts ...pulumi.ResourceOption) (*PowerPanel, error)
NewPowerPanel registers a new resource with the given unique name, arguments, and options.
func (*PowerPanel) ElementType ¶
func (*PowerPanel) ElementType() reflect.Type
func (*PowerPanel) ToPowerPanelOutput ¶
func (i *PowerPanel) ToPowerPanelOutput() PowerPanelOutput
func (*PowerPanel) ToPowerPanelOutputWithContext ¶
func (i *PowerPanel) ToPowerPanelOutputWithContext(ctx context.Context) PowerPanelOutput
type PowerPanelArgs ¶
type PowerPanelArgs struct {
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
LocationId pulumi.IntPtrInput
Name pulumi.StringPtrInput
SiteId pulumi.IntInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a PowerPanel resource.
func (PowerPanelArgs) ElementType ¶
func (PowerPanelArgs) ElementType() reflect.Type
type PowerPanelArray ¶
type PowerPanelArray []PowerPanelInput
func (PowerPanelArray) ElementType ¶
func (PowerPanelArray) ElementType() reflect.Type
func (PowerPanelArray) ToPowerPanelArrayOutput ¶
func (i PowerPanelArray) ToPowerPanelArrayOutput() PowerPanelArrayOutput
func (PowerPanelArray) ToPowerPanelArrayOutputWithContext ¶
func (i PowerPanelArray) ToPowerPanelArrayOutputWithContext(ctx context.Context) PowerPanelArrayOutput
type PowerPanelArrayInput ¶
type PowerPanelArrayInput interface {
pulumi.Input
ToPowerPanelArrayOutput() PowerPanelArrayOutput
ToPowerPanelArrayOutputWithContext(context.Context) PowerPanelArrayOutput
}
PowerPanelArrayInput is an input type that accepts PowerPanelArray and PowerPanelArrayOutput values. You can construct a concrete instance of `PowerPanelArrayInput` via:
PowerPanelArray{ PowerPanelArgs{...} }
type PowerPanelArrayOutput ¶
type PowerPanelArrayOutput struct{ *pulumi.OutputState }
func (PowerPanelArrayOutput) ElementType ¶
func (PowerPanelArrayOutput) ElementType() reflect.Type
func (PowerPanelArrayOutput) Index ¶
func (o PowerPanelArrayOutput) Index(i pulumi.IntInput) PowerPanelOutput
func (PowerPanelArrayOutput) ToPowerPanelArrayOutput ¶
func (o PowerPanelArrayOutput) ToPowerPanelArrayOutput() PowerPanelArrayOutput
func (PowerPanelArrayOutput) ToPowerPanelArrayOutputWithContext ¶
func (o PowerPanelArrayOutput) ToPowerPanelArrayOutputWithContext(ctx context.Context) PowerPanelArrayOutput
type PowerPanelInput ¶
type PowerPanelInput interface {
pulumi.Input
ToPowerPanelOutput() PowerPanelOutput
ToPowerPanelOutputWithContext(ctx context.Context) PowerPanelOutput
}
type PowerPanelMap ¶
type PowerPanelMap map[string]PowerPanelInput
func (PowerPanelMap) ElementType ¶
func (PowerPanelMap) ElementType() reflect.Type
func (PowerPanelMap) ToPowerPanelMapOutput ¶
func (i PowerPanelMap) ToPowerPanelMapOutput() PowerPanelMapOutput
func (PowerPanelMap) ToPowerPanelMapOutputWithContext ¶
func (i PowerPanelMap) ToPowerPanelMapOutputWithContext(ctx context.Context) PowerPanelMapOutput
type PowerPanelMapInput ¶
type PowerPanelMapInput interface {
pulumi.Input
ToPowerPanelMapOutput() PowerPanelMapOutput
ToPowerPanelMapOutputWithContext(context.Context) PowerPanelMapOutput
}
PowerPanelMapInput is an input type that accepts PowerPanelMap and PowerPanelMapOutput values. You can construct a concrete instance of `PowerPanelMapInput` via:
PowerPanelMap{ "key": PowerPanelArgs{...} }
type PowerPanelMapOutput ¶
type PowerPanelMapOutput struct{ *pulumi.OutputState }
func (PowerPanelMapOutput) ElementType ¶
func (PowerPanelMapOutput) ElementType() reflect.Type
func (PowerPanelMapOutput) MapIndex ¶
func (o PowerPanelMapOutput) MapIndex(k pulumi.StringInput) PowerPanelOutput
func (PowerPanelMapOutput) ToPowerPanelMapOutput ¶
func (o PowerPanelMapOutput) ToPowerPanelMapOutput() PowerPanelMapOutput
func (PowerPanelMapOutput) ToPowerPanelMapOutputWithContext ¶
func (o PowerPanelMapOutput) ToPowerPanelMapOutputWithContext(ctx context.Context) PowerPanelMapOutput
type PowerPanelOutput ¶
type PowerPanelOutput struct{ *pulumi.OutputState }
func (PowerPanelOutput) Comments ¶
func (o PowerPanelOutput) Comments() pulumi.StringPtrOutput
func (PowerPanelOutput) CustomFields ¶
func (o PowerPanelOutput) CustomFields() pulumi.StringMapOutput
func (PowerPanelOutput) Description ¶
func (o PowerPanelOutput) Description() pulumi.StringPtrOutput
func (PowerPanelOutput) ElementType ¶
func (PowerPanelOutput) ElementType() reflect.Type
func (PowerPanelOutput) LocationId ¶
func (o PowerPanelOutput) LocationId() pulumi.IntPtrOutput
func (PowerPanelOutput) Name ¶
func (o PowerPanelOutput) Name() pulumi.StringOutput
func (PowerPanelOutput) SiteId ¶
func (o PowerPanelOutput) SiteId() pulumi.IntOutput
func (PowerPanelOutput) Tags ¶
func (o PowerPanelOutput) Tags() pulumi.StringArrayOutput
func (PowerPanelOutput) TagsAlls ¶
func (o PowerPanelOutput) TagsAlls() pulumi.StringArrayOutput
func (PowerPanelOutput) ToPowerPanelOutput ¶
func (o PowerPanelOutput) ToPowerPanelOutput() PowerPanelOutput
func (PowerPanelOutput) ToPowerPanelOutputWithContext ¶
func (o PowerPanelOutput) ToPowerPanelOutputWithContext(ctx context.Context) PowerPanelOutput
type PowerPanelState ¶
type PowerPanelState struct {
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
LocationId pulumi.IntPtrInput
Name pulumi.StringPtrInput
SiteId pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (PowerPanelState) ElementType ¶
func (PowerPanelState) ElementType() reflect.Type
type Rack ¶
type Rack struct {
pulumi.CustomResourceState
AssetTag pulumi.StringPtrOutput `pulumi:"assetTag"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
// If rack units are descending. Defaults to `false`.
DescUnits pulumi.BoolPtrOutput `pulumi:"descUnits"`
Description pulumi.StringPtrOutput `pulumi:"description"`
FacilityId pulumi.StringPtrOutput `pulumi:"facilityId"`
// Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
FormFactor pulumi.StringPtrOutput `pulumi:"formFactor"`
LocationId pulumi.IntPtrOutput `pulumi:"locationId"`
MaxWeight pulumi.IntPtrOutput `pulumi:"maxWeight"`
MountingDepth pulumi.IntPtrOutput `pulumi:"mountingDepth"`
Name pulumi.StringOutput `pulumi:"name"`
OuterDepth pulumi.IntPtrOutput `pulumi:"outerDepth"`
// Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
OuterUnit pulumi.StringPtrOutput `pulumi:"outerUnit"`
OuterWidth pulumi.IntPtrOutput `pulumi:"outerWidth"`
RoleId pulumi.IntPtrOutput `pulumi:"roleId"`
Serial pulumi.StringPtrOutput `pulumi:"serial"`
SiteId pulumi.IntOutput `pulumi:"siteId"`
// Valid values are `reserved`, `available`, `planned`, `active` and `deprecated`.
Status pulumi.StringOutput `pulumi:"status"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
UHeight pulumi.IntPtrOutput `pulumi:"uHeight"`
Weight pulumi.Float64PtrOutput `pulumi:"weight"`
// Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
WeightUnit pulumi.StringPtrOutput `pulumi:"weightUnit"`
// Valid values are `10`, `19`, `21` and `23`.
Width pulumi.IntPtrOutput `pulumi:"width"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/rack/):
> The rack model represents a physical two- or four-post equipment rack in which devices can be installed. Each rack must be assigned to a site, and may optionally be assigned to a location within that site. Racks can also be organized by user-defined functional roles. The name and facility ID of each rack within a location must be unique.
Rack height is measured in rack units (U); racks are commonly between 42U and 48U tall, but NetBox allows you to define racks of arbitrary height. A toggle is provided to indicate whether rack units are in ascending (from the ground up) or descending order.
Each rack is assigned a name and (optionally) a separate facility ID. This is helpful when leasing space in a data center your organization does not own: The facility will often assign a seemingly arbitrary ID to a rack (for example, "M204.313") whereas internally you refer to is simply as "R113." A unique serial number and asset tag may also be associated with each rack.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewSite(ctx, "test", &dcim.SiteArgs{
Name: pulumi.String("test"),
Status: pulumi.String("active"),
})
if err != nil {
return err
}
_, err = dcim.NewRack(ctx, "test", &dcim.RackArgs{
Name: pulumi.String("test"),
SiteId: test.ID(),
Status: pulumi.String("reserved"),
Width: pulumi.Int(19),
UHeight: pulumi.Int(48),
})
if err != nil {
return err
}
return nil
})
}
```
func GetRack ¶
func GetRack(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RackState, opts ...pulumi.ResourceOption) (*Rack, error)
GetRack gets an existing Rack 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 NewRack ¶
func NewRack(ctx *pulumi.Context, name string, args *RackArgs, opts ...pulumi.ResourceOption) (*Rack, error)
NewRack registers a new resource with the given unique name, arguments, and options.
func (*Rack) ElementType ¶
func (*Rack) ToRackOutput ¶
func (i *Rack) ToRackOutput() RackOutput
func (*Rack) ToRackOutputWithContext ¶
func (i *Rack) ToRackOutputWithContext(ctx context.Context) RackOutput
type RackArgs ¶
type RackArgs struct {
AssetTag pulumi.StringPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
// If rack units are descending. Defaults to `false`.
DescUnits pulumi.BoolPtrInput
Description pulumi.StringPtrInput
FacilityId pulumi.StringPtrInput
// Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
FormFactor pulumi.StringPtrInput
LocationId pulumi.IntPtrInput
MaxWeight pulumi.IntPtrInput
MountingDepth pulumi.IntPtrInput
Name pulumi.StringPtrInput
OuterDepth pulumi.IntPtrInput
// Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
OuterUnit pulumi.StringPtrInput
OuterWidth pulumi.IntPtrInput
RoleId pulumi.IntPtrInput
Serial pulumi.StringPtrInput
SiteId pulumi.IntInput
// Valid values are `reserved`, `available`, `planned`, `active` and `deprecated`.
Status pulumi.StringInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
UHeight pulumi.IntPtrInput
Weight pulumi.Float64PtrInput
// Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
WeightUnit pulumi.StringPtrInput
// Valid values are `10`, `19`, `21` and `23`.
Width pulumi.IntPtrInput
}
The set of arguments for constructing a Rack resource.
func (RackArgs) ElementType ¶
type RackArray ¶
type RackArray []RackInput
func (RackArray) ElementType ¶
func (RackArray) ToRackArrayOutput ¶
func (i RackArray) ToRackArrayOutput() RackArrayOutput
func (RackArray) ToRackArrayOutputWithContext ¶
func (i RackArray) ToRackArrayOutputWithContext(ctx context.Context) RackArrayOutput
type RackArrayInput ¶
type RackArrayInput interface {
pulumi.Input
ToRackArrayOutput() RackArrayOutput
ToRackArrayOutputWithContext(context.Context) RackArrayOutput
}
RackArrayInput is an input type that accepts RackArray and RackArrayOutput values. You can construct a concrete instance of `RackArrayInput` via:
RackArray{ RackArgs{...} }
type RackArrayOutput ¶
type RackArrayOutput struct{ *pulumi.OutputState }
func (RackArrayOutput) ElementType ¶
func (RackArrayOutput) ElementType() reflect.Type
func (RackArrayOutput) Index ¶
func (o RackArrayOutput) Index(i pulumi.IntInput) RackOutput
func (RackArrayOutput) ToRackArrayOutput ¶
func (o RackArrayOutput) ToRackArrayOutput() RackArrayOutput
func (RackArrayOutput) ToRackArrayOutputWithContext ¶
func (o RackArrayOutput) ToRackArrayOutputWithContext(ctx context.Context) RackArrayOutput
type RackInput ¶
type RackInput interface {
pulumi.Input
ToRackOutput() RackOutput
ToRackOutputWithContext(ctx context.Context) RackOutput
}
type RackMap ¶
func (RackMap) ElementType ¶
func (RackMap) ToRackMapOutput ¶
func (i RackMap) ToRackMapOutput() RackMapOutput
func (RackMap) ToRackMapOutputWithContext ¶
func (i RackMap) ToRackMapOutputWithContext(ctx context.Context) RackMapOutput
type RackMapInput ¶
type RackMapInput interface {
pulumi.Input
ToRackMapOutput() RackMapOutput
ToRackMapOutputWithContext(context.Context) RackMapOutput
}
RackMapInput is an input type that accepts RackMap and RackMapOutput values. You can construct a concrete instance of `RackMapInput` via:
RackMap{ "key": RackArgs{...} }
type RackMapOutput ¶
type RackMapOutput struct{ *pulumi.OutputState }
func (RackMapOutput) ElementType ¶
func (RackMapOutput) ElementType() reflect.Type
func (RackMapOutput) MapIndex ¶
func (o RackMapOutput) MapIndex(k pulumi.StringInput) RackOutput
func (RackMapOutput) ToRackMapOutput ¶
func (o RackMapOutput) ToRackMapOutput() RackMapOutput
func (RackMapOutput) ToRackMapOutputWithContext ¶
func (o RackMapOutput) ToRackMapOutputWithContext(ctx context.Context) RackMapOutput
type RackOutput ¶
type RackOutput struct{ *pulumi.OutputState }
func (RackOutput) AssetTag ¶
func (o RackOutput) AssetTag() pulumi.StringPtrOutput
func (RackOutput) Comments ¶
func (o RackOutput) Comments() pulumi.StringPtrOutput
func (RackOutput) CustomFields ¶
func (o RackOutput) CustomFields() pulumi.StringMapOutput
func (RackOutput) DescUnits ¶
func (o RackOutput) DescUnits() pulumi.BoolPtrOutput
If rack units are descending. Defaults to `false`.
func (RackOutput) Description ¶
func (o RackOutput) Description() pulumi.StringPtrOutput
func (RackOutput) ElementType ¶
func (RackOutput) ElementType() reflect.Type
func (RackOutput) FacilityId ¶
func (o RackOutput) FacilityId() pulumi.StringPtrOutput
func (RackOutput) FormFactor ¶
func (o RackOutput) FormFactor() pulumi.StringPtrOutput
Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
func (RackOutput) LocationId ¶
func (o RackOutput) LocationId() pulumi.IntPtrOutput
func (RackOutput) MaxWeight ¶
func (o RackOutput) MaxWeight() pulumi.IntPtrOutput
func (RackOutput) MountingDepth ¶
func (o RackOutput) MountingDepth() pulumi.IntPtrOutput
func (RackOutput) Name ¶
func (o RackOutput) Name() pulumi.StringOutput
func (RackOutput) OuterDepth ¶
func (o RackOutput) OuterDepth() pulumi.IntPtrOutput
func (RackOutput) OuterUnit ¶
func (o RackOutput) OuterUnit() pulumi.StringPtrOutput
Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
func (RackOutput) OuterWidth ¶
func (o RackOutput) OuterWidth() pulumi.IntPtrOutput
func (RackOutput) RoleId ¶
func (o RackOutput) RoleId() pulumi.IntPtrOutput
func (RackOutput) Serial ¶
func (o RackOutput) Serial() pulumi.StringPtrOutput
func (RackOutput) SiteId ¶
func (o RackOutput) SiteId() pulumi.IntOutput
func (RackOutput) Status ¶
func (o RackOutput) Status() pulumi.StringOutput
Valid values are `reserved`, `available`, `planned`, `active` and `deprecated`.
func (RackOutput) Tags ¶
func (o RackOutput) Tags() pulumi.StringArrayOutput
func (RackOutput) TagsAlls ¶
func (o RackOutput) TagsAlls() pulumi.StringArrayOutput
func (RackOutput) TenantId ¶
func (o RackOutput) TenantId() pulumi.IntPtrOutput
func (RackOutput) ToRackOutput ¶
func (o RackOutput) ToRackOutput() RackOutput
func (RackOutput) ToRackOutputWithContext ¶
func (o RackOutput) ToRackOutputWithContext(ctx context.Context) RackOutput
func (RackOutput) UHeight ¶
func (o RackOutput) UHeight() pulumi.IntPtrOutput
func (RackOutput) Weight ¶
func (o RackOutput) Weight() pulumi.Float64PtrOutput
func (RackOutput) WeightUnit ¶
func (o RackOutput) WeightUnit() pulumi.StringPtrOutput
Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
func (RackOutput) Width ¶
func (o RackOutput) Width() pulumi.IntPtrOutput
Valid values are `10`, `19`, `21` and `23`.
type RackReservation ¶
type RackReservation struct {
pulumi.CustomResourceState
Comments pulumi.StringPtrOutput `pulumi:"comments"`
Description pulumi.StringOutput `pulumi:"description"`
RackId pulumi.IntOutput `pulumi:"rackId"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
Units pulumi.IntArrayOutput `pulumi:"units"`
UserId pulumi.IntOutput `pulumi:"userId"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/rackreservation/):
> Users can reserve specific units within a rack for future use. An arbitrary set of units within a rack can be associated with a single reservation, but reservations cannot span multiple racks. A description is required for each reservation, reservations may optionally be associated with a specific tenant.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewSite(ctx, "test", &dcim.SiteArgs{
Name: pulumi.String("test"),
Status: pulumi.String("active"),
})
if err != nil {
return err
}
testRack, err := dcim.NewRack(ctx, "test", &dcim.RackArgs{
Name: pulumi.String("test"),
SiteId: test.ID(),
Status: pulumi.String("active"),
Width: pulumi.Int(10),
UHeight: pulumi.Int(40),
})
if err != nil {
return err
}
_, err = dcim.NewRackReservation(ctx, "test", &dcim.RackReservationArgs{
RackId: testRack.ID(),
Units: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(2),
pulumi.Int(3),
pulumi.Int(4),
pulumi.Int(5),
},
UserId: pulumi.Int(1),
Description: pulumi.String("my description"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetRackReservation ¶
func GetRackReservation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RackReservationState, opts ...pulumi.ResourceOption) (*RackReservation, error)
GetRackReservation gets an existing RackReservation 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 NewRackReservation ¶
func NewRackReservation(ctx *pulumi.Context, name string, args *RackReservationArgs, opts ...pulumi.ResourceOption) (*RackReservation, error)
NewRackReservation registers a new resource with the given unique name, arguments, and options.
func (*RackReservation) ElementType ¶
func (*RackReservation) ElementType() reflect.Type
func (*RackReservation) ToRackReservationOutput ¶
func (i *RackReservation) ToRackReservationOutput() RackReservationOutput
func (*RackReservation) ToRackReservationOutputWithContext ¶
func (i *RackReservation) ToRackReservationOutputWithContext(ctx context.Context) RackReservationOutput
type RackReservationArgs ¶
type RackReservationArgs struct {
Comments pulumi.StringPtrInput
Description pulumi.StringInput
RackId pulumi.IntInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
Units pulumi.IntArrayInput
UserId pulumi.IntInput
}
The set of arguments for constructing a RackReservation resource.
func (RackReservationArgs) ElementType ¶
func (RackReservationArgs) ElementType() reflect.Type
type RackReservationArray ¶
type RackReservationArray []RackReservationInput
func (RackReservationArray) ElementType ¶
func (RackReservationArray) ElementType() reflect.Type
func (RackReservationArray) ToRackReservationArrayOutput ¶
func (i RackReservationArray) ToRackReservationArrayOutput() RackReservationArrayOutput
func (RackReservationArray) ToRackReservationArrayOutputWithContext ¶
func (i RackReservationArray) ToRackReservationArrayOutputWithContext(ctx context.Context) RackReservationArrayOutput
type RackReservationArrayInput ¶
type RackReservationArrayInput interface {
pulumi.Input
ToRackReservationArrayOutput() RackReservationArrayOutput
ToRackReservationArrayOutputWithContext(context.Context) RackReservationArrayOutput
}
RackReservationArrayInput is an input type that accepts RackReservationArray and RackReservationArrayOutput values. You can construct a concrete instance of `RackReservationArrayInput` via:
RackReservationArray{ RackReservationArgs{...} }
type RackReservationArrayOutput ¶
type RackReservationArrayOutput struct{ *pulumi.OutputState }
func (RackReservationArrayOutput) ElementType ¶
func (RackReservationArrayOutput) ElementType() reflect.Type
func (RackReservationArrayOutput) Index ¶
func (o RackReservationArrayOutput) Index(i pulumi.IntInput) RackReservationOutput
func (RackReservationArrayOutput) ToRackReservationArrayOutput ¶
func (o RackReservationArrayOutput) ToRackReservationArrayOutput() RackReservationArrayOutput
func (RackReservationArrayOutput) ToRackReservationArrayOutputWithContext ¶
func (o RackReservationArrayOutput) ToRackReservationArrayOutputWithContext(ctx context.Context) RackReservationArrayOutput
type RackReservationInput ¶
type RackReservationInput interface {
pulumi.Input
ToRackReservationOutput() RackReservationOutput
ToRackReservationOutputWithContext(ctx context.Context) RackReservationOutput
}
type RackReservationMap ¶
type RackReservationMap map[string]RackReservationInput
func (RackReservationMap) ElementType ¶
func (RackReservationMap) ElementType() reflect.Type
func (RackReservationMap) ToRackReservationMapOutput ¶
func (i RackReservationMap) ToRackReservationMapOutput() RackReservationMapOutput
func (RackReservationMap) ToRackReservationMapOutputWithContext ¶
func (i RackReservationMap) ToRackReservationMapOutputWithContext(ctx context.Context) RackReservationMapOutput
type RackReservationMapInput ¶
type RackReservationMapInput interface {
pulumi.Input
ToRackReservationMapOutput() RackReservationMapOutput
ToRackReservationMapOutputWithContext(context.Context) RackReservationMapOutput
}
RackReservationMapInput is an input type that accepts RackReservationMap and RackReservationMapOutput values. You can construct a concrete instance of `RackReservationMapInput` via:
RackReservationMap{ "key": RackReservationArgs{...} }
type RackReservationMapOutput ¶
type RackReservationMapOutput struct{ *pulumi.OutputState }
func (RackReservationMapOutput) ElementType ¶
func (RackReservationMapOutput) ElementType() reflect.Type
func (RackReservationMapOutput) MapIndex ¶
func (o RackReservationMapOutput) MapIndex(k pulumi.StringInput) RackReservationOutput
func (RackReservationMapOutput) ToRackReservationMapOutput ¶
func (o RackReservationMapOutput) ToRackReservationMapOutput() RackReservationMapOutput
func (RackReservationMapOutput) ToRackReservationMapOutputWithContext ¶
func (o RackReservationMapOutput) ToRackReservationMapOutputWithContext(ctx context.Context) RackReservationMapOutput
type RackReservationOutput ¶
type RackReservationOutput struct{ *pulumi.OutputState }
func (RackReservationOutput) Comments ¶
func (o RackReservationOutput) Comments() pulumi.StringPtrOutput
func (RackReservationOutput) Description ¶
func (o RackReservationOutput) Description() pulumi.StringOutput
func (RackReservationOutput) ElementType ¶
func (RackReservationOutput) ElementType() reflect.Type
func (RackReservationOutput) RackId ¶
func (o RackReservationOutput) RackId() pulumi.IntOutput
func (RackReservationOutput) Tags ¶
func (o RackReservationOutput) Tags() pulumi.StringArrayOutput
func (RackReservationOutput) TagsAlls ¶
func (o RackReservationOutput) TagsAlls() pulumi.StringArrayOutput
func (RackReservationOutput) TenantId ¶
func (o RackReservationOutput) TenantId() pulumi.IntPtrOutput
func (RackReservationOutput) ToRackReservationOutput ¶
func (o RackReservationOutput) ToRackReservationOutput() RackReservationOutput
func (RackReservationOutput) ToRackReservationOutputWithContext ¶
func (o RackReservationOutput) ToRackReservationOutputWithContext(ctx context.Context) RackReservationOutput
func (RackReservationOutput) Units ¶
func (o RackReservationOutput) Units() pulumi.IntArrayOutput
func (RackReservationOutput) UserId ¶
func (o RackReservationOutput) UserId() pulumi.IntOutput
type RackReservationState ¶
type RackReservationState struct {
Comments pulumi.StringPtrInput
Description pulumi.StringPtrInput
RackId pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
Units pulumi.IntArrayInput
UserId pulumi.IntPtrInput
}
func (RackReservationState) ElementType ¶
func (RackReservationState) ElementType() reflect.Type
type RackRole ¶
type RackRole struct {
pulumi.CustomResourceState
ColorHex pulumi.StringOutput `pulumi:"colorHex"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/dcim/rackrole/):
> Each rack can optionally be assigned a user-defined functional role. For example, you might designate a rack for compute or storage resources, or to house colocated customer devices.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.NewRackRole(ctx, "test", &dcim.RackRoleArgs{
Name: pulumi.String("test"),
ColorHex: pulumi.String("111111"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetRackRole ¶
func GetRackRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RackRoleState, opts ...pulumi.ResourceOption) (*RackRole, error)
GetRackRole gets an existing RackRole 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 NewRackRole ¶
func NewRackRole(ctx *pulumi.Context, name string, args *RackRoleArgs, opts ...pulumi.ResourceOption) (*RackRole, error)
NewRackRole registers a new resource with the given unique name, arguments, and options.
func (*RackRole) ElementType ¶
func (*RackRole) ToRackRoleOutput ¶
func (i *RackRole) ToRackRoleOutput() RackRoleOutput
func (*RackRole) ToRackRoleOutputWithContext ¶
func (i *RackRole) ToRackRoleOutputWithContext(ctx context.Context) RackRoleOutput
type RackRoleArgs ¶
type RackRoleArgs struct {
ColorHex pulumi.StringInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a RackRole resource.
func (RackRoleArgs) ElementType ¶
func (RackRoleArgs) ElementType() reflect.Type
type RackRoleArray ¶
type RackRoleArray []RackRoleInput
func (RackRoleArray) ElementType ¶
func (RackRoleArray) ElementType() reflect.Type
func (RackRoleArray) ToRackRoleArrayOutput ¶
func (i RackRoleArray) ToRackRoleArrayOutput() RackRoleArrayOutput
func (RackRoleArray) ToRackRoleArrayOutputWithContext ¶
func (i RackRoleArray) ToRackRoleArrayOutputWithContext(ctx context.Context) RackRoleArrayOutput
type RackRoleArrayInput ¶
type RackRoleArrayInput interface {
pulumi.Input
ToRackRoleArrayOutput() RackRoleArrayOutput
ToRackRoleArrayOutputWithContext(context.Context) RackRoleArrayOutput
}
RackRoleArrayInput is an input type that accepts RackRoleArray and RackRoleArrayOutput values. You can construct a concrete instance of `RackRoleArrayInput` via:
RackRoleArray{ RackRoleArgs{...} }
type RackRoleArrayOutput ¶
type RackRoleArrayOutput struct{ *pulumi.OutputState }
func (RackRoleArrayOutput) ElementType ¶
func (RackRoleArrayOutput) ElementType() reflect.Type
func (RackRoleArrayOutput) Index ¶
func (o RackRoleArrayOutput) Index(i pulumi.IntInput) RackRoleOutput
func (RackRoleArrayOutput) ToRackRoleArrayOutput ¶
func (o RackRoleArrayOutput) ToRackRoleArrayOutput() RackRoleArrayOutput
func (RackRoleArrayOutput) ToRackRoleArrayOutputWithContext ¶
func (o RackRoleArrayOutput) ToRackRoleArrayOutputWithContext(ctx context.Context) RackRoleArrayOutput
type RackRoleInput ¶
type RackRoleInput interface {
pulumi.Input
ToRackRoleOutput() RackRoleOutput
ToRackRoleOutputWithContext(ctx context.Context) RackRoleOutput
}
type RackRoleMap ¶
type RackRoleMap map[string]RackRoleInput
func (RackRoleMap) ElementType ¶
func (RackRoleMap) ElementType() reflect.Type
func (RackRoleMap) ToRackRoleMapOutput ¶
func (i RackRoleMap) ToRackRoleMapOutput() RackRoleMapOutput
func (RackRoleMap) ToRackRoleMapOutputWithContext ¶
func (i RackRoleMap) ToRackRoleMapOutputWithContext(ctx context.Context) RackRoleMapOutput
type RackRoleMapInput ¶
type RackRoleMapInput interface {
pulumi.Input
ToRackRoleMapOutput() RackRoleMapOutput
ToRackRoleMapOutputWithContext(context.Context) RackRoleMapOutput
}
RackRoleMapInput is an input type that accepts RackRoleMap and RackRoleMapOutput values. You can construct a concrete instance of `RackRoleMapInput` via:
RackRoleMap{ "key": RackRoleArgs{...} }
type RackRoleMapOutput ¶
type RackRoleMapOutput struct{ *pulumi.OutputState }
func (RackRoleMapOutput) ElementType ¶
func (RackRoleMapOutput) ElementType() reflect.Type
func (RackRoleMapOutput) MapIndex ¶
func (o RackRoleMapOutput) MapIndex(k pulumi.StringInput) RackRoleOutput
func (RackRoleMapOutput) ToRackRoleMapOutput ¶
func (o RackRoleMapOutput) ToRackRoleMapOutput() RackRoleMapOutput
func (RackRoleMapOutput) ToRackRoleMapOutputWithContext ¶
func (o RackRoleMapOutput) ToRackRoleMapOutputWithContext(ctx context.Context) RackRoleMapOutput
type RackRoleOutput ¶
type RackRoleOutput struct{ *pulumi.OutputState }
func (RackRoleOutput) ColorHex ¶
func (o RackRoleOutput) ColorHex() pulumi.StringOutput
func (RackRoleOutput) Description ¶
func (o RackRoleOutput) Description() pulumi.StringPtrOutput
func (RackRoleOutput) ElementType ¶
func (RackRoleOutput) ElementType() reflect.Type
func (RackRoleOutput) Name ¶
func (o RackRoleOutput) Name() pulumi.StringOutput
func (RackRoleOutput) Slug ¶
func (o RackRoleOutput) Slug() pulumi.StringOutput
func (RackRoleOutput) Tags ¶
func (o RackRoleOutput) Tags() pulumi.StringArrayOutput
func (RackRoleOutput) TagsAlls ¶
func (o RackRoleOutput) TagsAlls() pulumi.StringArrayOutput
func (RackRoleOutput) ToRackRoleOutput ¶
func (o RackRoleOutput) ToRackRoleOutput() RackRoleOutput
func (RackRoleOutput) ToRackRoleOutputWithContext ¶
func (o RackRoleOutput) ToRackRoleOutputWithContext(ctx context.Context) RackRoleOutput
type RackRoleState ¶
type RackRoleState struct {
ColorHex pulumi.StringPtrInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (RackRoleState) ElementType ¶
func (RackRoleState) ElementType() reflect.Type
type RackState ¶
type RackState struct {
AssetTag pulumi.StringPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
// If rack units are descending. Defaults to `false`.
DescUnits pulumi.BoolPtrInput
Description pulumi.StringPtrInput
FacilityId pulumi.StringPtrInput
// Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
FormFactor pulumi.StringPtrInput
LocationId pulumi.IntPtrInput
MaxWeight pulumi.IntPtrInput
MountingDepth pulumi.IntPtrInput
Name pulumi.StringPtrInput
OuterDepth pulumi.IntPtrInput
// Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
OuterUnit pulumi.StringPtrInput
OuterWidth pulumi.IntPtrInput
RoleId pulumi.IntPtrInput
Serial pulumi.StringPtrInput
SiteId pulumi.IntPtrInput
// Valid values are `reserved`, `available`, `planned`, `active` and `deprecated`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
UHeight pulumi.IntPtrInput
Weight pulumi.Float64PtrInput
// Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
WeightUnit pulumi.StringPtrInput
// Valid values are `10`, `19`, `21` and `23`.
Width pulumi.IntPtrInput
}
func (RackState) ElementType ¶
type RackType ¶
type RackType struct {
pulumi.CustomResourceState
Comments pulumi.StringPtrOutput `pulumi:"comments"`
Description pulumi.StringPtrOutput `pulumi:"description"`
// Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
FormFactor pulumi.StringOutput `pulumi:"formFactor"`
ManufacturerId pulumi.IntPtrOutput `pulumi:"manufacturerId"`
MaxWeight pulumi.IntPtrOutput `pulumi:"maxWeight"`
Model pulumi.StringOutput `pulumi:"model"`
MountingDepthMm pulumi.IntPtrOutput `pulumi:"mountingDepthMm"`
OuterDepth pulumi.IntPtrOutput `pulumi:"outerDepth"`
// Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
OuterUnit pulumi.StringPtrOutput `pulumi:"outerUnit"`
OuterWidth pulumi.IntPtrOutput `pulumi:"outerWidth"`
Slug pulumi.StringOutput `pulumi:"slug"`
StartingUnit pulumi.IntOutput `pulumi:"startingUnit"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
UHeight pulumi.IntOutput `pulumi:"uHeight"`
Weight pulumi.Float64PtrOutput `pulumi:"weight"`
// Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
WeightUnit pulumi.StringPtrOutput `pulumi:"weightUnit"`
// Valid values are `10`, `19`, `21` and `23`.
Width pulumi.IntOutput `pulumi:"width"`
}
From the [official documentation](https://netboxlabs.com/docs/netbox/en/stable/models/dcim/racktype/):
> A rack type defines the physical characteristics of a particular model of rack.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := dcim.NewManufacturer(ctx, "test", &dcim.ManufacturerArgs{
Name: pulumi.String("my-manufacturer"),
})
if err != nil {
return err
}
_, err = dcim.NewRackType(ctx, "test", &dcim.RackTypeArgs{
Model: pulumi.String("mymodel"),
ManufacturerId: test.ID(),
Width: pulumi.Int(19),
UHeight: pulumi.Int(48),
StartingUnit: pulumi.Int(1),
FormFactor: pulumi.String("2-post-frame"),
Description: pulumi.String("My description"),
OuterWidth: pulumi.Int(10),
OuterDepth: pulumi.Int(15),
OuterUnit: pulumi.String("mm"),
Weight: pulumi.Float64(15),
MaxWeight: pulumi.Int(20),
WeightUnit: pulumi.String("kg"),
MountingDepthMm: pulumi.Int(21),
Comments: pulumi.String("My comments"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetRackType ¶
func GetRackType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RackTypeState, opts ...pulumi.ResourceOption) (*RackType, error)
GetRackType gets an existing RackType 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 NewRackType ¶
func NewRackType(ctx *pulumi.Context, name string, args *RackTypeArgs, opts ...pulumi.ResourceOption) (*RackType, error)
NewRackType registers a new resource with the given unique name, arguments, and options.
func (*RackType) ElementType ¶
func (*RackType) ToRackTypeOutput ¶
func (i *RackType) ToRackTypeOutput() RackTypeOutput
func (*RackType) ToRackTypeOutputWithContext ¶
func (i *RackType) ToRackTypeOutputWithContext(ctx context.Context) RackTypeOutput
type RackTypeArgs ¶
type RackTypeArgs struct {
Comments pulumi.StringPtrInput
Description pulumi.StringPtrInput
// Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
FormFactor pulumi.StringInput
ManufacturerId pulumi.IntPtrInput
MaxWeight pulumi.IntPtrInput
Model pulumi.StringInput
MountingDepthMm pulumi.IntPtrInput
OuterDepth pulumi.IntPtrInput
// Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
OuterUnit pulumi.StringPtrInput
OuterWidth pulumi.IntPtrInput
Slug pulumi.StringPtrInput
StartingUnit pulumi.IntInput
Tags pulumi.StringArrayInput
UHeight pulumi.IntInput
Weight pulumi.Float64PtrInput
// Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
WeightUnit pulumi.StringPtrInput
// Valid values are `10`, `19`, `21` and `23`.
Width pulumi.IntInput
}
The set of arguments for constructing a RackType resource.
func (RackTypeArgs) ElementType ¶
func (RackTypeArgs) ElementType() reflect.Type
type RackTypeArray ¶
type RackTypeArray []RackTypeInput
func (RackTypeArray) ElementType ¶
func (RackTypeArray) ElementType() reflect.Type
func (RackTypeArray) ToRackTypeArrayOutput ¶
func (i RackTypeArray) ToRackTypeArrayOutput() RackTypeArrayOutput
func (RackTypeArray) ToRackTypeArrayOutputWithContext ¶
func (i RackTypeArray) ToRackTypeArrayOutputWithContext(ctx context.Context) RackTypeArrayOutput
type RackTypeArrayInput ¶
type RackTypeArrayInput interface {
pulumi.Input
ToRackTypeArrayOutput() RackTypeArrayOutput
ToRackTypeArrayOutputWithContext(context.Context) RackTypeArrayOutput
}
RackTypeArrayInput is an input type that accepts RackTypeArray and RackTypeArrayOutput values. You can construct a concrete instance of `RackTypeArrayInput` via:
RackTypeArray{ RackTypeArgs{...} }
type RackTypeArrayOutput ¶
type RackTypeArrayOutput struct{ *pulumi.OutputState }
func (RackTypeArrayOutput) ElementType ¶
func (RackTypeArrayOutput) ElementType() reflect.Type
func (RackTypeArrayOutput) Index ¶
func (o RackTypeArrayOutput) Index(i pulumi.IntInput) RackTypeOutput
func (RackTypeArrayOutput) ToRackTypeArrayOutput ¶
func (o RackTypeArrayOutput) ToRackTypeArrayOutput() RackTypeArrayOutput
func (RackTypeArrayOutput) ToRackTypeArrayOutputWithContext ¶
func (o RackTypeArrayOutput) ToRackTypeArrayOutputWithContext(ctx context.Context) RackTypeArrayOutput
type RackTypeInput ¶
type RackTypeInput interface {
pulumi.Input
ToRackTypeOutput() RackTypeOutput
ToRackTypeOutputWithContext(ctx context.Context) RackTypeOutput
}
type RackTypeMap ¶
type RackTypeMap map[string]RackTypeInput
func (RackTypeMap) ElementType ¶
func (RackTypeMap) ElementType() reflect.Type
func (RackTypeMap) ToRackTypeMapOutput ¶
func (i RackTypeMap) ToRackTypeMapOutput() RackTypeMapOutput
func (RackTypeMap) ToRackTypeMapOutputWithContext ¶
func (i RackTypeMap) ToRackTypeMapOutputWithContext(ctx context.Context) RackTypeMapOutput
type RackTypeMapInput ¶
type RackTypeMapInput interface {
pulumi.Input
ToRackTypeMapOutput() RackTypeMapOutput
ToRackTypeMapOutputWithContext(context.Context) RackTypeMapOutput
}
RackTypeMapInput is an input type that accepts RackTypeMap and RackTypeMapOutput values. You can construct a concrete instance of `RackTypeMapInput` via:
RackTypeMap{ "key": RackTypeArgs{...} }
type RackTypeMapOutput ¶
type RackTypeMapOutput struct{ *pulumi.OutputState }
func (RackTypeMapOutput) ElementType ¶
func (RackTypeMapOutput) ElementType() reflect.Type
func (RackTypeMapOutput) MapIndex ¶
func (o RackTypeMapOutput) MapIndex(k pulumi.StringInput) RackTypeOutput
func (RackTypeMapOutput) ToRackTypeMapOutput ¶
func (o RackTypeMapOutput) ToRackTypeMapOutput() RackTypeMapOutput
func (RackTypeMapOutput) ToRackTypeMapOutputWithContext ¶
func (o RackTypeMapOutput) ToRackTypeMapOutputWithContext(ctx context.Context) RackTypeMapOutput
type RackTypeOutput ¶
type RackTypeOutput struct{ *pulumi.OutputState }
func (RackTypeOutput) Comments ¶
func (o RackTypeOutput) Comments() pulumi.StringPtrOutput
func (RackTypeOutput) Description ¶
func (o RackTypeOutput) Description() pulumi.StringPtrOutput
func (RackTypeOutput) ElementType ¶
func (RackTypeOutput) ElementType() reflect.Type
func (RackTypeOutput) FormFactor ¶
func (o RackTypeOutput) FormFactor() pulumi.StringOutput
Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
func (RackTypeOutput) ManufacturerId ¶
func (o RackTypeOutput) ManufacturerId() pulumi.IntPtrOutput
func (RackTypeOutput) MaxWeight ¶
func (o RackTypeOutput) MaxWeight() pulumi.IntPtrOutput
func (RackTypeOutput) Model ¶
func (o RackTypeOutput) Model() pulumi.StringOutput
func (RackTypeOutput) MountingDepthMm ¶
func (o RackTypeOutput) MountingDepthMm() pulumi.IntPtrOutput
func (RackTypeOutput) OuterDepth ¶
func (o RackTypeOutput) OuterDepth() pulumi.IntPtrOutput
func (RackTypeOutput) OuterUnit ¶
func (o RackTypeOutput) OuterUnit() pulumi.StringPtrOutput
Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
func (RackTypeOutput) OuterWidth ¶
func (o RackTypeOutput) OuterWidth() pulumi.IntPtrOutput
func (RackTypeOutput) Slug ¶
func (o RackTypeOutput) Slug() pulumi.StringOutput
func (RackTypeOutput) StartingUnit ¶
func (o RackTypeOutput) StartingUnit() pulumi.IntOutput
func (RackTypeOutput) Tags ¶
func (o RackTypeOutput) Tags() pulumi.StringArrayOutput
func (RackTypeOutput) TagsAlls ¶
func (o RackTypeOutput) TagsAlls() pulumi.StringArrayOutput
func (RackTypeOutput) ToRackTypeOutput ¶
func (o RackTypeOutput) ToRackTypeOutput() RackTypeOutput
func (RackTypeOutput) ToRackTypeOutputWithContext ¶
func (o RackTypeOutput) ToRackTypeOutputWithContext(ctx context.Context) RackTypeOutput
func (RackTypeOutput) UHeight ¶
func (o RackTypeOutput) UHeight() pulumi.IntOutput
func (RackTypeOutput) Weight ¶
func (o RackTypeOutput) Weight() pulumi.Float64PtrOutput
func (RackTypeOutput) WeightUnit ¶
func (o RackTypeOutput) WeightUnit() pulumi.StringPtrOutput
Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
func (RackTypeOutput) Width ¶
func (o RackTypeOutput) Width() pulumi.IntOutput
Valid values are `10`, `19`, `21` and `23`.
type RackTypeState ¶
type RackTypeState struct {
Comments pulumi.StringPtrInput
Description pulumi.StringPtrInput
// Valid values are `2-post-frame`, `4-post-frame`, `4-post-cabinet`, `wall-frame`, `wall-frame-vertical`, `wall-cabinet` and `wall-cabinet-vertical`.
FormFactor pulumi.StringPtrInput
ManufacturerId pulumi.IntPtrInput
MaxWeight pulumi.IntPtrInput
Model pulumi.StringPtrInput
MountingDepthMm pulumi.IntPtrInput
OuterDepth pulumi.IntPtrInput
// Valid values are `mm` and `in`. Required when `outerWidth` and `outerDepth` is set.
OuterUnit pulumi.StringPtrInput
OuterWidth pulumi.IntPtrInput
Slug pulumi.StringPtrInput
StartingUnit pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
UHeight pulumi.IntPtrInput
Weight pulumi.Float64PtrInput
// Valid values are `kg`, `g`, `lb` and `oz`. Required when `weight` and `maxWeight` is set.
WeightUnit pulumi.StringPtrInput
// Valid values are `10`, `19`, `21` and `23`.
Width pulumi.IntPtrInput
}
func (RackTypeState) ElementType ¶
func (RackTypeState) ElementType() reflect.Type
type Region ¶
type Region struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
ParentRegionId pulumi.IntPtrOutput `pulumi:"parentRegionId"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/sites-and-racks/#regions):
> Sites can be arranged geographically using regions. A region might represent a continent, country, city, campus, or other area depending on your use case. Regions can be nested recursively to construct a hierarchy. For example, you might define several country regions, and within each of those several state or city regions to which sites are assigned. > > Each region must have a name that is unique within its parent region, if any.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.NewRegion(ctx, "test", &dcim.RegionArgs{
Name: pulumi.String("test"),
Description: pulumi.String("test description"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetRegion ¶
func GetRegion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionState, opts ...pulumi.ResourceOption) (*Region, error)
GetRegion gets an existing Region 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 NewRegion ¶
func NewRegion(ctx *pulumi.Context, name string, args *RegionArgs, opts ...pulumi.ResourceOption) (*Region, error)
NewRegion registers a new resource with the given unique name, arguments, and options.
func (*Region) ElementType ¶
func (*Region) ToRegionOutput ¶
func (i *Region) ToRegionOutput() RegionOutput
func (*Region) ToRegionOutputWithContext ¶
func (i *Region) ToRegionOutputWithContext(ctx context.Context) RegionOutput
type RegionArgs ¶
type RegionArgs struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentRegionId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a Region resource.
func (RegionArgs) ElementType ¶
func (RegionArgs) ElementType() reflect.Type
type RegionArray ¶
type RegionArray []RegionInput
func (RegionArray) ElementType ¶
func (RegionArray) ElementType() reflect.Type
func (RegionArray) ToRegionArrayOutput ¶
func (i RegionArray) ToRegionArrayOutput() RegionArrayOutput
func (RegionArray) ToRegionArrayOutputWithContext ¶
func (i RegionArray) ToRegionArrayOutputWithContext(ctx context.Context) RegionArrayOutput
type RegionArrayInput ¶
type RegionArrayInput interface {
pulumi.Input
ToRegionArrayOutput() RegionArrayOutput
ToRegionArrayOutputWithContext(context.Context) RegionArrayOutput
}
RegionArrayInput is an input type that accepts RegionArray and RegionArrayOutput values. You can construct a concrete instance of `RegionArrayInput` via:
RegionArray{ RegionArgs{...} }
type RegionArrayOutput ¶
type RegionArrayOutput struct{ *pulumi.OutputState }
func (RegionArrayOutput) ElementType ¶
func (RegionArrayOutput) ElementType() reflect.Type
func (RegionArrayOutput) Index ¶
func (o RegionArrayOutput) Index(i pulumi.IntInput) RegionOutput
func (RegionArrayOutput) ToRegionArrayOutput ¶
func (o RegionArrayOutput) ToRegionArrayOutput() RegionArrayOutput
func (RegionArrayOutput) ToRegionArrayOutputWithContext ¶
func (o RegionArrayOutput) ToRegionArrayOutputWithContext(ctx context.Context) RegionArrayOutput
type RegionInput ¶
type RegionInput interface {
pulumi.Input
ToRegionOutput() RegionOutput
ToRegionOutputWithContext(ctx context.Context) RegionOutput
}
type RegionMap ¶
type RegionMap map[string]RegionInput
func (RegionMap) ElementType ¶
func (RegionMap) ToRegionMapOutput ¶
func (i RegionMap) ToRegionMapOutput() RegionMapOutput
func (RegionMap) ToRegionMapOutputWithContext ¶
func (i RegionMap) ToRegionMapOutputWithContext(ctx context.Context) RegionMapOutput
type RegionMapInput ¶
type RegionMapInput interface {
pulumi.Input
ToRegionMapOutput() RegionMapOutput
ToRegionMapOutputWithContext(context.Context) RegionMapOutput
}
RegionMapInput is an input type that accepts RegionMap and RegionMapOutput values. You can construct a concrete instance of `RegionMapInput` via:
RegionMap{ "key": RegionArgs{...} }
type RegionMapOutput ¶
type RegionMapOutput struct{ *pulumi.OutputState }
func (RegionMapOutput) ElementType ¶
func (RegionMapOutput) ElementType() reflect.Type
func (RegionMapOutput) MapIndex ¶
func (o RegionMapOutput) MapIndex(k pulumi.StringInput) RegionOutput
func (RegionMapOutput) ToRegionMapOutput ¶
func (o RegionMapOutput) ToRegionMapOutput() RegionMapOutput
func (RegionMapOutput) ToRegionMapOutputWithContext ¶
func (o RegionMapOutput) ToRegionMapOutputWithContext(ctx context.Context) RegionMapOutput
type RegionOutput ¶
type RegionOutput struct{ *pulumi.OutputState }
func (RegionOutput) Description ¶
func (o RegionOutput) Description() pulumi.StringPtrOutput
func (RegionOutput) ElementType ¶
func (RegionOutput) ElementType() reflect.Type
func (RegionOutput) Name ¶
func (o RegionOutput) Name() pulumi.StringOutput
func (RegionOutput) ParentRegionId ¶
func (o RegionOutput) ParentRegionId() pulumi.IntPtrOutput
func (RegionOutput) Slug ¶
func (o RegionOutput) Slug() pulumi.StringOutput
func (RegionOutput) ToRegionOutput ¶
func (o RegionOutput) ToRegionOutput() RegionOutput
func (RegionOutput) ToRegionOutputWithContext ¶
func (o RegionOutput) ToRegionOutputWithContext(ctx context.Context) RegionOutput
type RegionState ¶
type RegionState struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentRegionId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
func (RegionState) ElementType ¶
func (RegionState) ElementType() reflect.Type
type Site ¶
type Site struct {
pulumi.CustomResourceState
AsnIds pulumi.IntArrayOutput `pulumi:"asnIds"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Facility pulumi.StringPtrOutput `pulumi:"facility"`
GroupId pulumi.IntPtrOutput `pulumi:"groupId"`
Latitude pulumi.Float64PtrOutput `pulumi:"latitude"`
Longitude pulumi.Float64PtrOutput `pulumi:"longitude"`
Name pulumi.StringOutput `pulumi:"name"`
PhysicalAddress pulumi.StringPtrOutput `pulumi:"physicalAddress"`
RegionId pulumi.IntPtrOutput `pulumi:"regionId"`
ShippingAddress pulumi.StringPtrOutput `pulumi:"shippingAddress"`
Slug pulumi.StringOutput `pulumi:"slug"`
// Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`.
Status pulumi.StringPtrOutput `pulumi:"status"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
Timezone pulumi.StringPtrOutput `pulumi:"timezone"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/sites-and-racks/#sites):
> How you choose to employ sites when modeling your network may vary depending on the nature of your organization, but generally a site will equate to a building or campus. For example, a chain of banks might create a site to represent each of its branches, a site for its corporate headquarters, and two additional sites for its presence in two colocation facilities. > > Each site must be assigned a unique name and may optionally be assigned to a region and/or tenant.
func GetSite ¶
func GetSite(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SiteState, opts ...pulumi.ResourceOption) (*Site, error)
GetSite gets an existing Site 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 NewSite ¶
func NewSite(ctx *pulumi.Context, name string, args *SiteArgs, opts ...pulumi.ResourceOption) (*Site, error)
NewSite registers a new resource with the given unique name, arguments, and options.
func (*Site) ElementType ¶
func (*Site) ToSiteOutput ¶
func (i *Site) ToSiteOutput() SiteOutput
func (*Site) ToSiteOutputWithContext ¶
func (i *Site) ToSiteOutputWithContext(ctx context.Context) SiteOutput
type SiteArgs ¶
type SiteArgs struct {
AsnIds pulumi.IntArrayInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Facility pulumi.StringPtrInput
GroupId pulumi.IntPtrInput
Latitude pulumi.Float64PtrInput
Longitude pulumi.Float64PtrInput
Name pulumi.StringPtrInput
PhysicalAddress pulumi.StringPtrInput
RegionId pulumi.IntPtrInput
ShippingAddress pulumi.StringPtrInput
Slug pulumi.StringPtrInput
// Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
Timezone pulumi.StringPtrInput
}
The set of arguments for constructing a Site resource.
func (SiteArgs) ElementType ¶
type SiteArray ¶
type SiteArray []SiteInput
func (SiteArray) ElementType ¶
func (SiteArray) ToSiteArrayOutput ¶
func (i SiteArray) ToSiteArrayOutput() SiteArrayOutput
func (SiteArray) ToSiteArrayOutputWithContext ¶
func (i SiteArray) ToSiteArrayOutputWithContext(ctx context.Context) SiteArrayOutput
type SiteArrayInput ¶
type SiteArrayInput interface {
pulumi.Input
ToSiteArrayOutput() SiteArrayOutput
ToSiteArrayOutputWithContext(context.Context) SiteArrayOutput
}
SiteArrayInput is an input type that accepts SiteArray and SiteArrayOutput values. You can construct a concrete instance of `SiteArrayInput` via:
SiteArray{ SiteArgs{...} }
type SiteArrayOutput ¶
type SiteArrayOutput struct{ *pulumi.OutputState }
func (SiteArrayOutput) ElementType ¶
func (SiteArrayOutput) ElementType() reflect.Type
func (SiteArrayOutput) Index ¶
func (o SiteArrayOutput) Index(i pulumi.IntInput) SiteOutput
func (SiteArrayOutput) ToSiteArrayOutput ¶
func (o SiteArrayOutput) ToSiteArrayOutput() SiteArrayOutput
func (SiteArrayOutput) ToSiteArrayOutputWithContext ¶
func (o SiteArrayOutput) ToSiteArrayOutputWithContext(ctx context.Context) SiteArrayOutput
type SiteGroup ¶
type SiteGroup struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
ParentId pulumi.IntPtrOutput `pulumi:"parentId"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/facilities/#site-groups):
> Like regions, site groups can be arranged in a recursive hierarchy for grouping sites. However, whereas regions are intended for geographic organization, site groups may be used for functional grouping. For example, you might classify sites as corporate, branch, or customer sites in addition to where they are physically located. > > The use of both regions and site groups affords to independent but complementary dimensions across which sites can be organized.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
parent, err := dcim.NewSiteGroup(ctx, "parent", &dcim.SiteGroupArgs{
Name: pulumi.String("parent"),
Description: pulumi.String("sample description"),
})
if err != nil {
return err
}
_, err = dcim.NewSiteGroup(ctx, "child", &dcim.SiteGroupArgs{
Name: pulumi.String("child"),
Description: pulumi.String("sample description"),
ParentId: parent.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetSiteGroup ¶
func GetSiteGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SiteGroupState, opts ...pulumi.ResourceOption) (*SiteGroup, error)
GetSiteGroup gets an existing SiteGroup 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 NewSiteGroup ¶
func NewSiteGroup(ctx *pulumi.Context, name string, args *SiteGroupArgs, opts ...pulumi.ResourceOption) (*SiteGroup, error)
NewSiteGroup registers a new resource with the given unique name, arguments, and options.
func (*SiteGroup) ElementType ¶
func (*SiteGroup) ToSiteGroupOutput ¶
func (i *SiteGroup) ToSiteGroupOutput() SiteGroupOutput
func (*SiteGroup) ToSiteGroupOutputWithContext ¶
func (i *SiteGroup) ToSiteGroupOutputWithContext(ctx context.Context) SiteGroupOutput
type SiteGroupArgs ¶
type SiteGroupArgs struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a SiteGroup resource.
func (SiteGroupArgs) ElementType ¶
func (SiteGroupArgs) ElementType() reflect.Type
type SiteGroupArray ¶
type SiteGroupArray []SiteGroupInput
func (SiteGroupArray) ElementType ¶
func (SiteGroupArray) ElementType() reflect.Type
func (SiteGroupArray) ToSiteGroupArrayOutput ¶
func (i SiteGroupArray) ToSiteGroupArrayOutput() SiteGroupArrayOutput
func (SiteGroupArray) ToSiteGroupArrayOutputWithContext ¶
func (i SiteGroupArray) ToSiteGroupArrayOutputWithContext(ctx context.Context) SiteGroupArrayOutput
type SiteGroupArrayInput ¶
type SiteGroupArrayInput interface {
pulumi.Input
ToSiteGroupArrayOutput() SiteGroupArrayOutput
ToSiteGroupArrayOutputWithContext(context.Context) SiteGroupArrayOutput
}
SiteGroupArrayInput is an input type that accepts SiteGroupArray and SiteGroupArrayOutput values. You can construct a concrete instance of `SiteGroupArrayInput` via:
SiteGroupArray{ SiteGroupArgs{...} }
type SiteGroupArrayOutput ¶
type SiteGroupArrayOutput struct{ *pulumi.OutputState }
func (SiteGroupArrayOutput) ElementType ¶
func (SiteGroupArrayOutput) ElementType() reflect.Type
func (SiteGroupArrayOutput) Index ¶
func (o SiteGroupArrayOutput) Index(i pulumi.IntInput) SiteGroupOutput
func (SiteGroupArrayOutput) ToSiteGroupArrayOutput ¶
func (o SiteGroupArrayOutput) ToSiteGroupArrayOutput() SiteGroupArrayOutput
func (SiteGroupArrayOutput) ToSiteGroupArrayOutputWithContext ¶
func (o SiteGroupArrayOutput) ToSiteGroupArrayOutputWithContext(ctx context.Context) SiteGroupArrayOutput
type SiteGroupInput ¶
type SiteGroupInput interface {
pulumi.Input
ToSiteGroupOutput() SiteGroupOutput
ToSiteGroupOutputWithContext(ctx context.Context) SiteGroupOutput
}
type SiteGroupMap ¶
type SiteGroupMap map[string]SiteGroupInput
func (SiteGroupMap) ElementType ¶
func (SiteGroupMap) ElementType() reflect.Type
func (SiteGroupMap) ToSiteGroupMapOutput ¶
func (i SiteGroupMap) ToSiteGroupMapOutput() SiteGroupMapOutput
func (SiteGroupMap) ToSiteGroupMapOutputWithContext ¶
func (i SiteGroupMap) ToSiteGroupMapOutputWithContext(ctx context.Context) SiteGroupMapOutput
type SiteGroupMapInput ¶
type SiteGroupMapInput interface {
pulumi.Input
ToSiteGroupMapOutput() SiteGroupMapOutput
ToSiteGroupMapOutputWithContext(context.Context) SiteGroupMapOutput
}
SiteGroupMapInput is an input type that accepts SiteGroupMap and SiteGroupMapOutput values. You can construct a concrete instance of `SiteGroupMapInput` via:
SiteGroupMap{ "key": SiteGroupArgs{...} }
type SiteGroupMapOutput ¶
type SiteGroupMapOutput struct{ *pulumi.OutputState }
func (SiteGroupMapOutput) ElementType ¶
func (SiteGroupMapOutput) ElementType() reflect.Type
func (SiteGroupMapOutput) MapIndex ¶
func (o SiteGroupMapOutput) MapIndex(k pulumi.StringInput) SiteGroupOutput
func (SiteGroupMapOutput) ToSiteGroupMapOutput ¶
func (o SiteGroupMapOutput) ToSiteGroupMapOutput() SiteGroupMapOutput
func (SiteGroupMapOutput) ToSiteGroupMapOutputWithContext ¶
func (o SiteGroupMapOutput) ToSiteGroupMapOutputWithContext(ctx context.Context) SiteGroupMapOutput
type SiteGroupOutput ¶
type SiteGroupOutput struct{ *pulumi.OutputState }
func (SiteGroupOutput) Description ¶
func (o SiteGroupOutput) Description() pulumi.StringPtrOutput
func (SiteGroupOutput) ElementType ¶
func (SiteGroupOutput) ElementType() reflect.Type
func (SiteGroupOutput) Name ¶
func (o SiteGroupOutput) Name() pulumi.StringOutput
func (SiteGroupOutput) ParentId ¶
func (o SiteGroupOutput) ParentId() pulumi.IntPtrOutput
func (SiteGroupOutput) Slug ¶
func (o SiteGroupOutput) Slug() pulumi.StringOutput
func (SiteGroupOutput) ToSiteGroupOutput ¶
func (o SiteGroupOutput) ToSiteGroupOutput() SiteGroupOutput
func (SiteGroupOutput) ToSiteGroupOutputWithContext ¶
func (o SiteGroupOutput) ToSiteGroupOutputWithContext(ctx context.Context) SiteGroupOutput
type SiteGroupState ¶
type SiteGroupState struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
func (SiteGroupState) ElementType ¶
func (SiteGroupState) ElementType() reflect.Type
type SiteInput ¶
type SiteInput interface {
pulumi.Input
ToSiteOutput() SiteOutput
ToSiteOutputWithContext(ctx context.Context) SiteOutput
}
type SiteMap ¶
func (SiteMap) ElementType ¶
func (SiteMap) ToSiteMapOutput ¶
func (i SiteMap) ToSiteMapOutput() SiteMapOutput
func (SiteMap) ToSiteMapOutputWithContext ¶
func (i SiteMap) ToSiteMapOutputWithContext(ctx context.Context) SiteMapOutput
type SiteMapInput ¶
type SiteMapInput interface {
pulumi.Input
ToSiteMapOutput() SiteMapOutput
ToSiteMapOutputWithContext(context.Context) SiteMapOutput
}
SiteMapInput is an input type that accepts SiteMap and SiteMapOutput values. You can construct a concrete instance of `SiteMapInput` via:
SiteMap{ "key": SiteArgs{...} }
type SiteMapOutput ¶
type SiteMapOutput struct{ *pulumi.OutputState }
func (SiteMapOutput) ElementType ¶
func (SiteMapOutput) ElementType() reflect.Type
func (SiteMapOutput) MapIndex ¶
func (o SiteMapOutput) MapIndex(k pulumi.StringInput) SiteOutput
func (SiteMapOutput) ToSiteMapOutput ¶
func (o SiteMapOutput) ToSiteMapOutput() SiteMapOutput
func (SiteMapOutput) ToSiteMapOutputWithContext ¶
func (o SiteMapOutput) ToSiteMapOutputWithContext(ctx context.Context) SiteMapOutput
type SiteOutput ¶
type SiteOutput struct{ *pulumi.OutputState }
func (SiteOutput) AsnIds ¶
func (o SiteOutput) AsnIds() pulumi.IntArrayOutput
func (SiteOutput) Comments ¶
func (o SiteOutput) Comments() pulumi.StringPtrOutput
func (SiteOutput) CustomFields ¶
func (o SiteOutput) CustomFields() pulumi.StringMapOutput
func (SiteOutput) Description ¶
func (o SiteOutput) Description() pulumi.StringPtrOutput
func (SiteOutput) ElementType ¶
func (SiteOutput) ElementType() reflect.Type
func (SiteOutput) Facility ¶
func (o SiteOutput) Facility() pulumi.StringPtrOutput
func (SiteOutput) GroupId ¶
func (o SiteOutput) GroupId() pulumi.IntPtrOutput
func (SiteOutput) Latitude ¶
func (o SiteOutput) Latitude() pulumi.Float64PtrOutput
func (SiteOutput) Longitude ¶
func (o SiteOutput) Longitude() pulumi.Float64PtrOutput
func (SiteOutput) Name ¶
func (o SiteOutput) Name() pulumi.StringOutput
func (SiteOutput) PhysicalAddress ¶
func (o SiteOutput) PhysicalAddress() pulumi.StringPtrOutput
func (SiteOutput) RegionId ¶
func (o SiteOutput) RegionId() pulumi.IntPtrOutput
func (SiteOutput) ShippingAddress ¶
func (o SiteOutput) ShippingAddress() pulumi.StringPtrOutput
func (SiteOutput) Slug ¶
func (o SiteOutput) Slug() pulumi.StringOutput
func (SiteOutput) Status ¶
func (o SiteOutput) Status() pulumi.StringPtrOutput
Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`.
func (SiteOutput) Tags ¶
func (o SiteOutput) Tags() pulumi.StringArrayOutput
func (SiteOutput) TagsAlls ¶
func (o SiteOutput) TagsAlls() pulumi.StringArrayOutput
func (SiteOutput) TenantId ¶
func (o SiteOutput) TenantId() pulumi.IntPtrOutput
func (SiteOutput) Timezone ¶
func (o SiteOutput) Timezone() pulumi.StringPtrOutput
func (SiteOutput) ToSiteOutput ¶
func (o SiteOutput) ToSiteOutput() SiteOutput
func (SiteOutput) ToSiteOutputWithContext ¶
func (o SiteOutput) ToSiteOutputWithContext(ctx context.Context) SiteOutput
type SiteState ¶
type SiteState struct {
AsnIds pulumi.IntArrayInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Facility pulumi.StringPtrInput
GroupId pulumi.IntPtrInput
Latitude pulumi.Float64PtrInput
Longitude pulumi.Float64PtrInput
Name pulumi.StringPtrInput
PhysicalAddress pulumi.StringPtrInput
RegionId pulumi.IntPtrInput
ShippingAddress pulumi.StringPtrInput
Slug pulumi.StringPtrInput
// Valid values are `planned`, `staging`, `active`, `decommissioning` and `retired`. Defaults to `active`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
Timezone pulumi.StringPtrInput
}
func (SiteState) ElementType ¶
type VirtualChassis ¶
type VirtualChassis struct {
pulumi.CustomResourceState
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Domain pulumi.StringPtrOutput `pulumi:"domain"`
Name pulumi.StringOutput `pulumi:"name"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/devices-cabling/#virtual-chassis):
> Sometimes it is necessary to model a set of physical devices as sharing a single management plane. Perhaps the most common example of such a scenario is stackable switches. These can be modeled as virtual chassis in NetBox, with one device acting as the chassis master and the rest as members. All components of member devices will appear on the master.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/dcim" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dcim.NewVirtualChassis(ctx, "example", &dcim.VirtualChassisArgs{
Name: pulumi.String("chassis"),
Domain: pulumi.String("domain"),
Description: pulumi.String("virtual chassis"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetVirtualChassis ¶
func GetVirtualChassis(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualChassisState, opts ...pulumi.ResourceOption) (*VirtualChassis, error)
GetVirtualChassis gets an existing VirtualChassis 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 NewVirtualChassis ¶
func NewVirtualChassis(ctx *pulumi.Context, name string, args *VirtualChassisArgs, opts ...pulumi.ResourceOption) (*VirtualChassis, error)
NewVirtualChassis registers a new resource with the given unique name, arguments, and options.
func (*VirtualChassis) ElementType ¶
func (*VirtualChassis) ElementType() reflect.Type
func (*VirtualChassis) ToVirtualChassisOutput ¶
func (i *VirtualChassis) ToVirtualChassisOutput() VirtualChassisOutput
func (*VirtualChassis) ToVirtualChassisOutputWithContext ¶
func (i *VirtualChassis) ToVirtualChassisOutputWithContext(ctx context.Context) VirtualChassisOutput
type VirtualChassisArgs ¶
type VirtualChassisArgs struct {
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Domain pulumi.StringPtrInput
Name pulumi.StringPtrInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a VirtualChassis resource.
func (VirtualChassisArgs) ElementType ¶
func (VirtualChassisArgs) ElementType() reflect.Type
type VirtualChassisArray ¶
type VirtualChassisArray []VirtualChassisInput
func (VirtualChassisArray) ElementType ¶
func (VirtualChassisArray) ElementType() reflect.Type
func (VirtualChassisArray) ToVirtualChassisArrayOutput ¶
func (i VirtualChassisArray) ToVirtualChassisArrayOutput() VirtualChassisArrayOutput
func (VirtualChassisArray) ToVirtualChassisArrayOutputWithContext ¶
func (i VirtualChassisArray) ToVirtualChassisArrayOutputWithContext(ctx context.Context) VirtualChassisArrayOutput
type VirtualChassisArrayInput ¶
type VirtualChassisArrayInput interface {
pulumi.Input
ToVirtualChassisArrayOutput() VirtualChassisArrayOutput
ToVirtualChassisArrayOutputWithContext(context.Context) VirtualChassisArrayOutput
}
VirtualChassisArrayInput is an input type that accepts VirtualChassisArray and VirtualChassisArrayOutput values. You can construct a concrete instance of `VirtualChassisArrayInput` via:
VirtualChassisArray{ VirtualChassisArgs{...} }
type VirtualChassisArrayOutput ¶
type VirtualChassisArrayOutput struct{ *pulumi.OutputState }
func (VirtualChassisArrayOutput) ElementType ¶
func (VirtualChassisArrayOutput) ElementType() reflect.Type
func (VirtualChassisArrayOutput) Index ¶
func (o VirtualChassisArrayOutput) Index(i pulumi.IntInput) VirtualChassisOutput
func (VirtualChassisArrayOutput) ToVirtualChassisArrayOutput ¶
func (o VirtualChassisArrayOutput) ToVirtualChassisArrayOutput() VirtualChassisArrayOutput
func (VirtualChassisArrayOutput) ToVirtualChassisArrayOutputWithContext ¶
func (o VirtualChassisArrayOutput) ToVirtualChassisArrayOutputWithContext(ctx context.Context) VirtualChassisArrayOutput
type VirtualChassisInput ¶
type VirtualChassisInput interface {
pulumi.Input
ToVirtualChassisOutput() VirtualChassisOutput
ToVirtualChassisOutputWithContext(ctx context.Context) VirtualChassisOutput
}
type VirtualChassisMap ¶
type VirtualChassisMap map[string]VirtualChassisInput
func (VirtualChassisMap) ElementType ¶
func (VirtualChassisMap) ElementType() reflect.Type
func (VirtualChassisMap) ToVirtualChassisMapOutput ¶
func (i VirtualChassisMap) ToVirtualChassisMapOutput() VirtualChassisMapOutput
func (VirtualChassisMap) ToVirtualChassisMapOutputWithContext ¶
func (i VirtualChassisMap) ToVirtualChassisMapOutputWithContext(ctx context.Context) VirtualChassisMapOutput
type VirtualChassisMapInput ¶
type VirtualChassisMapInput interface {
pulumi.Input
ToVirtualChassisMapOutput() VirtualChassisMapOutput
ToVirtualChassisMapOutputWithContext(context.Context) VirtualChassisMapOutput
}
VirtualChassisMapInput is an input type that accepts VirtualChassisMap and VirtualChassisMapOutput values. You can construct a concrete instance of `VirtualChassisMapInput` via:
VirtualChassisMap{ "key": VirtualChassisArgs{...} }
type VirtualChassisMapOutput ¶
type VirtualChassisMapOutput struct{ *pulumi.OutputState }
func (VirtualChassisMapOutput) ElementType ¶
func (VirtualChassisMapOutput) ElementType() reflect.Type
func (VirtualChassisMapOutput) MapIndex ¶
func (o VirtualChassisMapOutput) MapIndex(k pulumi.StringInput) VirtualChassisOutput
func (VirtualChassisMapOutput) ToVirtualChassisMapOutput ¶
func (o VirtualChassisMapOutput) ToVirtualChassisMapOutput() VirtualChassisMapOutput
func (VirtualChassisMapOutput) ToVirtualChassisMapOutputWithContext ¶
func (o VirtualChassisMapOutput) ToVirtualChassisMapOutputWithContext(ctx context.Context) VirtualChassisMapOutput
type VirtualChassisOutput ¶
type VirtualChassisOutput struct{ *pulumi.OutputState }
func (VirtualChassisOutput) Comments ¶
func (o VirtualChassisOutput) Comments() pulumi.StringPtrOutput
func (VirtualChassisOutput) CustomFields ¶
func (o VirtualChassisOutput) CustomFields() pulumi.StringMapOutput
func (VirtualChassisOutput) Description ¶
func (o VirtualChassisOutput) Description() pulumi.StringPtrOutput
func (VirtualChassisOutput) Domain ¶
func (o VirtualChassisOutput) Domain() pulumi.StringPtrOutput
func (VirtualChassisOutput) ElementType ¶
func (VirtualChassisOutput) ElementType() reflect.Type
func (VirtualChassisOutput) Name ¶
func (o VirtualChassisOutput) Name() pulumi.StringOutput
func (VirtualChassisOutput) Tags ¶
func (o VirtualChassisOutput) Tags() pulumi.StringArrayOutput
func (VirtualChassisOutput) TagsAlls ¶
func (o VirtualChassisOutput) TagsAlls() pulumi.StringArrayOutput
func (VirtualChassisOutput) ToVirtualChassisOutput ¶
func (o VirtualChassisOutput) ToVirtualChassisOutput() VirtualChassisOutput
func (VirtualChassisOutput) ToVirtualChassisOutputWithContext ¶
func (o VirtualChassisOutput) ToVirtualChassisOutputWithContext(ctx context.Context) VirtualChassisOutput
type VirtualChassisState ¶
type VirtualChassisState struct {
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Domain pulumi.StringPtrInput
Name pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (VirtualChassisState) ElementType ¶
func (VirtualChassisState) ElementType() reflect.Type
Source Files
¶
- cable.go
- device.go
- deviceConsolePort.go
- deviceConsoleServerPort.go
- deviceFrontPort.go
- deviceInterface.go
- deviceModuleBay.go
- devicePowerOutlet.go
- devicePowerPort.go
- devicePrimaryIp.go
- deviceRearPort.go
- deviceRole.go
- deviceType.go
- getDeviceInterfaces.go
- getDeviceRole.go
- getDeviceType.go
- getDevices.go
- getLocation.go
- getLocations.go
- getPlatform.go
- getRackRole.go
- getRacks.go
- getRegion.go
- getSite.go
- getSiteGroup.go
- init.go
- interfaceTemplate.go
- inventoryItem.go
- inventoryItemRole.go
- location.go
- manufacturer.go
- module.go
- moduleType.go
- platform.go
- powerFeed.go
- powerPanel.go
- pulumiTypes.go
- rack.go
- rackReservation.go
- rackRole.go
- rackType.go
- region.go
- site.go
- siteGroup.go
- virtualChassis.go