Documentation ¶
Index ¶
- type Guest
- type GuestArgs
- type GuestArray
- type GuestArrayInput
- type GuestArrayOutput
- type GuestInput
- type GuestMap
- type GuestMapInput
- type GuestMapOutput
- type GuestOutput
- func (o GuestOutput) AllowedSlots() pulumi.IntArrayOutput
- func (o GuestOutput) CoresPerSlot() pulumi.IntOutput
- func (o GuestOutput) DeleteVirtualDisk() pulumi.BoolPtrOutput
- func (GuestOutput) ElementType() reflect.Type
- func (o GuestOutput) FullPath() pulumi.StringOutput
- func (o GuestOutput) InitialHotfix() pulumi.StringOutput
- func (o GuestOutput) InitialImage() pulumi.StringOutput
- func (o GuestOutput) MgmtAddress() pulumi.StringOutput
- func (o GuestOutput) MgmtNetwork() pulumi.StringOutput
- func (o GuestOutput) MgmtRoute() pulumi.StringOutput
- func (o GuestOutput) MinNumberOfSlots() pulumi.IntOutput
- func (o GuestOutput) Name() pulumi.StringOutput
- func (o GuestOutput) NumberOfSlots() pulumi.IntOutput
- func (o GuestOutput) State() pulumi.StringOutput
- func (o GuestOutput) ToGuestOutput() GuestOutput
- func (o GuestOutput) ToGuestOutputWithContext(ctx context.Context) GuestOutput
- func (o GuestOutput) VirtualDisk() pulumi.StringOutput
- func (o GuestOutput) Vlans() pulumi.StringArrayOutput
- type GuestState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Guest ¶
type Guest struct { pulumi.CustomResourceState // Contains those slots to which the guest is allowed to be assigned. AllowedSlots pulumi.IntArrayOutput `pulumi:"allowedSlots"` // Specifies the number of cores the system allocates to the guest. CoresPerSlot pulumi.IntOutput `pulumi:"coresPerSlot"` // Indicates if virtual disk associated with vCMP guest should be removed during remove operation. The default is `true` DeleteVirtualDisk pulumi.BoolPtrOutput `pulumi:"deleteVirtualDisk"` // Resource name including prepended partition path. FullPath pulumi.StringOutput `pulumi:"fullPath"` // Specifies the hotfix ISO image file which is applied on top of the base image. InitialHotfix pulumi.StringOutput `pulumi:"initialHotfix"` // Specifies the base software release ISO image file for installing the TMOS hypervisor instance. InitialImage pulumi.StringOutput `pulumi:"initialImage"` // Specifies the IP address and subnet or subnet mask you use to access the guest when you want to manage a module running within the guest. MgmtAddress pulumi.StringOutput `pulumi:"mgmtAddress"` // Specifies the method by which the management address is used in the vCMP guest. options : [`bridged`,`isolated`,`host-only`]. MgmtNetwork pulumi.StringOutput `pulumi:"mgmtNetwork"` // Specifies the gateway address for the `mgmtAddress`. Can be set to `none` to remove the value from the configuration. MgmtRoute pulumi.StringOutput `pulumi:"mgmtRoute"` // Specifies the minimum number of slots the guest must be assigned to in order to deploy. MinNumberOfSlots pulumi.IntOutput `pulumi:"minNumberOfSlots"` // Name of the vCMP guest Name pulumi.StringOutput `pulumi:"name"` // Specifies the number of slots for the system to use when creating the guest. NumberOfSlots pulumi.IntOutput `pulumi:"numberOfSlots"` // Specifies the state of the vCMP guest on the system. options : [`configured`,`provisioned`,`deployed`]. State pulumi.StringOutput `pulumi:"state"` // Virtual disk associated with vCMP guest. VirtualDisk pulumi.StringOutput `pulumi:"virtualDisk"` // Specifies the list of VLANs the vCMP guest uses to communicate with other guests, the host, and with the external network. The naming format must be the combination of the partition + name. For example /Common/my-vlan Vlans pulumi.StringArrayOutput `pulumi:"vlans"` }
`vcmp.Guest` Manages a vCMP guest configuration
Resource does not wait for vCMP guest to reach the desired state, it only ensures that a desired configuration is set on the target device.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/vcmp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vcmp.NewGuest(ctx, "vcmp-test", &vcmp.GuestArgs{ CoresPerSlot: pulumi.Int(2), InitialImage: pulumi.String("12.1.2.iso"), MgmtAddress: pulumi.String("10.1.1.1/24"), MgmtNetwork: pulumi.String("bridged"), MgmtRoute: pulumi.String("none"), MinNumberOfSlots: pulumi.Int(1), Name: pulumi.String("tf_guest"), NumberOfSlots: pulumi.Int(1), State: pulumi.String("provisioned"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetGuest ¶
func GetGuest(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GuestState, opts ...pulumi.ResourceOption) (*Guest, error)
GetGuest gets an existing Guest 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 NewGuest ¶
func NewGuest(ctx *pulumi.Context, name string, args *GuestArgs, opts ...pulumi.ResourceOption) (*Guest, error)
NewGuest registers a new resource with the given unique name, arguments, and options.
func (*Guest) ElementType ¶
func (*Guest) ToGuestOutput ¶
func (i *Guest) ToGuestOutput() GuestOutput
func (*Guest) ToGuestOutputWithContext ¶
func (i *Guest) ToGuestOutputWithContext(ctx context.Context) GuestOutput
type GuestArgs ¶
type GuestArgs struct { // Contains those slots to which the guest is allowed to be assigned. AllowedSlots pulumi.IntArrayInput // Specifies the number of cores the system allocates to the guest. CoresPerSlot pulumi.IntPtrInput // Indicates if virtual disk associated with vCMP guest should be removed during remove operation. The default is `true` DeleteVirtualDisk pulumi.BoolPtrInput // Specifies the hotfix ISO image file which is applied on top of the base image. InitialHotfix pulumi.StringPtrInput // Specifies the base software release ISO image file for installing the TMOS hypervisor instance. InitialImage pulumi.StringPtrInput // Specifies the IP address and subnet or subnet mask you use to access the guest when you want to manage a module running within the guest. MgmtAddress pulumi.StringPtrInput // Specifies the method by which the management address is used in the vCMP guest. options : [`bridged`,`isolated`,`host-only`]. MgmtNetwork pulumi.StringPtrInput // Specifies the gateway address for the `mgmtAddress`. Can be set to `none` to remove the value from the configuration. MgmtRoute pulumi.StringPtrInput // Specifies the minimum number of slots the guest must be assigned to in order to deploy. MinNumberOfSlots pulumi.IntPtrInput // Name of the vCMP guest Name pulumi.StringInput // Specifies the number of slots for the system to use when creating the guest. NumberOfSlots pulumi.IntPtrInput // Specifies the state of the vCMP guest on the system. options : [`configured`,`provisioned`,`deployed`]. State pulumi.StringPtrInput // Specifies the list of VLANs the vCMP guest uses to communicate with other guests, the host, and with the external network. The naming format must be the combination of the partition + name. For example /Common/my-vlan Vlans pulumi.StringArrayInput }
The set of arguments for constructing a Guest resource.
func (GuestArgs) ElementType ¶
type GuestArray ¶
type GuestArray []GuestInput
func (GuestArray) ElementType ¶
func (GuestArray) ElementType() reflect.Type
func (GuestArray) ToGuestArrayOutput ¶
func (i GuestArray) ToGuestArrayOutput() GuestArrayOutput
func (GuestArray) ToGuestArrayOutputWithContext ¶
func (i GuestArray) ToGuestArrayOutputWithContext(ctx context.Context) GuestArrayOutput
type GuestArrayInput ¶
type GuestArrayInput interface { pulumi.Input ToGuestArrayOutput() GuestArrayOutput ToGuestArrayOutputWithContext(context.Context) GuestArrayOutput }
GuestArrayInput is an input type that accepts GuestArray and GuestArrayOutput values. You can construct a concrete instance of `GuestArrayInput` via:
GuestArray{ GuestArgs{...} }
type GuestArrayOutput ¶
type GuestArrayOutput struct{ *pulumi.OutputState }
func (GuestArrayOutput) ElementType ¶
func (GuestArrayOutput) ElementType() reflect.Type
func (GuestArrayOutput) Index ¶
func (o GuestArrayOutput) Index(i pulumi.IntInput) GuestOutput
func (GuestArrayOutput) ToGuestArrayOutput ¶
func (o GuestArrayOutput) ToGuestArrayOutput() GuestArrayOutput
func (GuestArrayOutput) ToGuestArrayOutputWithContext ¶
func (o GuestArrayOutput) ToGuestArrayOutputWithContext(ctx context.Context) GuestArrayOutput
type GuestInput ¶
type GuestInput interface { pulumi.Input ToGuestOutput() GuestOutput ToGuestOutputWithContext(ctx context.Context) GuestOutput }
type GuestMap ¶
type GuestMap map[string]GuestInput
func (GuestMap) ElementType ¶
func (GuestMap) ToGuestMapOutput ¶
func (i GuestMap) ToGuestMapOutput() GuestMapOutput
func (GuestMap) ToGuestMapOutputWithContext ¶
func (i GuestMap) ToGuestMapOutputWithContext(ctx context.Context) GuestMapOutput
type GuestMapInput ¶
type GuestMapInput interface { pulumi.Input ToGuestMapOutput() GuestMapOutput ToGuestMapOutputWithContext(context.Context) GuestMapOutput }
GuestMapInput is an input type that accepts GuestMap and GuestMapOutput values. You can construct a concrete instance of `GuestMapInput` via:
GuestMap{ "key": GuestArgs{...} }
type GuestMapOutput ¶
type GuestMapOutput struct{ *pulumi.OutputState }
func (GuestMapOutput) ElementType ¶
func (GuestMapOutput) ElementType() reflect.Type
func (GuestMapOutput) MapIndex ¶
func (o GuestMapOutput) MapIndex(k pulumi.StringInput) GuestOutput
func (GuestMapOutput) ToGuestMapOutput ¶
func (o GuestMapOutput) ToGuestMapOutput() GuestMapOutput
func (GuestMapOutput) ToGuestMapOutputWithContext ¶
func (o GuestMapOutput) ToGuestMapOutputWithContext(ctx context.Context) GuestMapOutput
type GuestOutput ¶
type GuestOutput struct{ *pulumi.OutputState }
func (GuestOutput) AllowedSlots ¶
func (o GuestOutput) AllowedSlots() pulumi.IntArrayOutput
Contains those slots to which the guest is allowed to be assigned.
func (GuestOutput) CoresPerSlot ¶
func (o GuestOutput) CoresPerSlot() pulumi.IntOutput
Specifies the number of cores the system allocates to the guest.
func (GuestOutput) DeleteVirtualDisk ¶
func (o GuestOutput) DeleteVirtualDisk() pulumi.BoolPtrOutput
Indicates if virtual disk associated with vCMP guest should be removed during remove operation. The default is `true`
func (GuestOutput) ElementType ¶
func (GuestOutput) ElementType() reflect.Type
func (GuestOutput) FullPath ¶
func (o GuestOutput) FullPath() pulumi.StringOutput
Resource name including prepended partition path.
func (GuestOutput) InitialHotfix ¶
func (o GuestOutput) InitialHotfix() pulumi.StringOutput
Specifies the hotfix ISO image file which is applied on top of the base image.
func (GuestOutput) InitialImage ¶
func (o GuestOutput) InitialImage() pulumi.StringOutput
Specifies the base software release ISO image file for installing the TMOS hypervisor instance.
func (GuestOutput) MgmtAddress ¶
func (o GuestOutput) MgmtAddress() pulumi.StringOutput
Specifies the IP address and subnet or subnet mask you use to access the guest when you want to manage a module running within the guest.
func (GuestOutput) MgmtNetwork ¶
func (o GuestOutput) MgmtNetwork() pulumi.StringOutput
Specifies the method by which the management address is used in the vCMP guest. options : [`bridged`,`isolated`,`host-only`].
func (GuestOutput) MgmtRoute ¶
func (o GuestOutput) MgmtRoute() pulumi.StringOutput
Specifies the gateway address for the `mgmtAddress`. Can be set to `none` to remove the value from the configuration.
func (GuestOutput) MinNumberOfSlots ¶
func (o GuestOutput) MinNumberOfSlots() pulumi.IntOutput
Specifies the minimum number of slots the guest must be assigned to in order to deploy.
func (GuestOutput) NumberOfSlots ¶
func (o GuestOutput) NumberOfSlots() pulumi.IntOutput
Specifies the number of slots for the system to use when creating the guest.
func (GuestOutput) State ¶
func (o GuestOutput) State() pulumi.StringOutput
Specifies the state of the vCMP guest on the system. options : [`configured`,`provisioned`,`deployed`].
func (GuestOutput) ToGuestOutput ¶
func (o GuestOutput) ToGuestOutput() GuestOutput
func (GuestOutput) ToGuestOutputWithContext ¶
func (o GuestOutput) ToGuestOutputWithContext(ctx context.Context) GuestOutput
func (GuestOutput) VirtualDisk ¶
func (o GuestOutput) VirtualDisk() pulumi.StringOutput
Virtual disk associated with vCMP guest.
func (GuestOutput) Vlans ¶
func (o GuestOutput) Vlans() pulumi.StringArrayOutput
Specifies the list of VLANs the vCMP guest uses to communicate with other guests, the host, and with the external network. The naming format must be the combination of the partition + name. For example /Common/my-vlan
type GuestState ¶
type GuestState struct { // Contains those slots to which the guest is allowed to be assigned. AllowedSlots pulumi.IntArrayInput // Specifies the number of cores the system allocates to the guest. CoresPerSlot pulumi.IntPtrInput // Indicates if virtual disk associated with vCMP guest should be removed during remove operation. The default is `true` DeleteVirtualDisk pulumi.BoolPtrInput // Resource name including prepended partition path. FullPath pulumi.StringPtrInput // Specifies the hotfix ISO image file which is applied on top of the base image. InitialHotfix pulumi.StringPtrInput // Specifies the base software release ISO image file for installing the TMOS hypervisor instance. InitialImage pulumi.StringPtrInput // Specifies the IP address and subnet or subnet mask you use to access the guest when you want to manage a module running within the guest. MgmtAddress pulumi.StringPtrInput // Specifies the method by which the management address is used in the vCMP guest. options : [`bridged`,`isolated`,`host-only`]. MgmtNetwork pulumi.StringPtrInput // Specifies the gateway address for the `mgmtAddress`. Can be set to `none` to remove the value from the configuration. MgmtRoute pulumi.StringPtrInput // Specifies the minimum number of slots the guest must be assigned to in order to deploy. MinNumberOfSlots pulumi.IntPtrInput // Name of the vCMP guest Name pulumi.StringPtrInput // Specifies the number of slots for the system to use when creating the guest. NumberOfSlots pulumi.IntPtrInput // Specifies the state of the vCMP guest on the system. options : [`configured`,`provisioned`,`deployed`]. State pulumi.StringPtrInput // Virtual disk associated with vCMP guest. VirtualDisk pulumi.StringPtrInput // Specifies the list of VLANs the vCMP guest uses to communicate with other guests, the host, and with the external network. The naming format must be the combination of the partition + name. For example /Common/my-vlan Vlans pulumi.StringArrayInput }
func (GuestState) ElementType ¶
func (GuestState) ElementType() reflect.Type