Documentation
¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterGroup
- type ClusterGroupArgs
- type ClusterGroupArray
- type ClusterGroupArrayInput
- type ClusterGroupArrayOutput
- func (ClusterGroupArrayOutput) ElementType() reflect.Type
- func (o ClusterGroupArrayOutput) Index(i pulumi.IntInput) ClusterGroupOutput
- func (o ClusterGroupArrayOutput) ToClusterGroupArrayOutput() ClusterGroupArrayOutput
- func (o ClusterGroupArrayOutput) ToClusterGroupArrayOutputWithContext(ctx context.Context) ClusterGroupArrayOutput
- type ClusterGroupInput
- type ClusterGroupMap
- type ClusterGroupMapInput
- type ClusterGroupMapOutput
- func (ClusterGroupMapOutput) ElementType() reflect.Type
- func (o ClusterGroupMapOutput) MapIndex(k pulumi.StringInput) ClusterGroupOutput
- func (o ClusterGroupMapOutput) ToClusterGroupMapOutput() ClusterGroupMapOutput
- func (o ClusterGroupMapOutput) ToClusterGroupMapOutputWithContext(ctx context.Context) ClusterGroupMapOutput
- type ClusterGroupOutput
- func (o ClusterGroupOutput) Description() pulumi.StringPtrOutput
- func (ClusterGroupOutput) ElementType() reflect.Type
- func (o ClusterGroupOutput) Name() pulumi.StringOutput
- func (o ClusterGroupOutput) Slug() pulumi.StringOutput
- func (o ClusterGroupOutput) ToClusterGroupOutput() ClusterGroupOutput
- func (o ClusterGroupOutput) ToClusterGroupOutputWithContext(ctx context.Context) ClusterGroupOutput
- type ClusterGroupState
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) ClusterGroupId() pulumi.IntPtrOutput
- func (o ClusterOutput) ClusterTypeId() pulumi.IntOutput
- func (o ClusterOutput) Comments() pulumi.StringPtrOutput
- func (o ClusterOutput) Description() pulumi.StringPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) LocationId() pulumi.IntPtrOutput
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) RegionId() pulumi.IntPtrOutput
- func (o ClusterOutput) SiteGroupId() pulumi.IntPtrOutput
- func (o ClusterOutput) SiteId() pulumi.IntPtrOutput
- func (o ClusterOutput) Tags() pulumi.StringArrayOutput
- func (o ClusterOutput) TagsAlls() pulumi.StringArrayOutput
- func (o ClusterOutput) TenantId() pulumi.IntPtrOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- type ClusterState
- type ClusterType
- type ClusterTypeArgs
- type ClusterTypeArray
- type ClusterTypeArrayInput
- type ClusterTypeArrayOutput
- func (ClusterTypeArrayOutput) ElementType() reflect.Type
- func (o ClusterTypeArrayOutput) Index(i pulumi.IntInput) ClusterTypeOutput
- func (o ClusterTypeArrayOutput) ToClusterTypeArrayOutput() ClusterTypeArrayOutput
- func (o ClusterTypeArrayOutput) ToClusterTypeArrayOutputWithContext(ctx context.Context) ClusterTypeArrayOutput
- type ClusterTypeInput
- type ClusterTypeMap
- type ClusterTypeMapInput
- type ClusterTypeMapOutput
- func (ClusterTypeMapOutput) ElementType() reflect.Type
- func (o ClusterTypeMapOutput) MapIndex(k pulumi.StringInput) ClusterTypeOutput
- func (o ClusterTypeMapOutput) ToClusterTypeMapOutput() ClusterTypeMapOutput
- func (o ClusterTypeMapOutput) ToClusterTypeMapOutputWithContext(ctx context.Context) ClusterTypeMapOutput
- type ClusterTypeOutput
- func (ClusterTypeOutput) ElementType() reflect.Type
- func (o ClusterTypeOutput) Name() pulumi.StringOutput
- func (o ClusterTypeOutput) Slug() pulumi.StringOutput
- func (o ClusterTypeOutput) ToClusterTypeOutput() ClusterTypeOutput
- func (o ClusterTypeOutput) ToClusterTypeOutputWithContext(ctx context.Context) ClusterTypeOutput
- type ClusterTypeState
- type GetInterfacesArgs
- type GetInterfacesFilter
- type GetInterfacesFilterArgs
- type GetInterfacesFilterArray
- type GetInterfacesFilterArrayInput
- type GetInterfacesFilterArrayOutput
- func (GetInterfacesFilterArrayOutput) ElementType() reflect.Type
- func (o GetInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetInterfacesFilterOutput
- func (o GetInterfacesFilterArrayOutput) ToGetInterfacesFilterArrayOutput() GetInterfacesFilterArrayOutput
- func (o GetInterfacesFilterArrayOutput) ToGetInterfacesFilterArrayOutputWithContext(ctx context.Context) GetInterfacesFilterArrayOutput
- type GetInterfacesFilterInput
- type GetInterfacesFilterOutput
- func (GetInterfacesFilterOutput) ElementType() reflect.Type
- func (o GetInterfacesFilterOutput) Name() pulumi.StringOutput
- func (o GetInterfacesFilterOutput) ToGetInterfacesFilterOutput() GetInterfacesFilterOutput
- func (o GetInterfacesFilterOutput) ToGetInterfacesFilterOutputWithContext(ctx context.Context) GetInterfacesFilterOutput
- func (o GetInterfacesFilterOutput) Value() pulumi.StringOutput
- type GetInterfacesInterface
- type GetInterfacesInterfaceArgs
- type GetInterfacesInterfaceArray
- func (GetInterfacesInterfaceArray) ElementType() reflect.Type
- func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
- func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
- type GetInterfacesInterfaceArrayInput
- type GetInterfacesInterfaceArrayOutput
- func (GetInterfacesInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
- func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
- type GetInterfacesInterfaceInput
- type GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceOutput) Description() pulumi.StringOutput
- func (GetInterfacesInterfaceOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceOutput) Enabled() pulumi.BoolOutput
- func (o GetInterfacesInterfaceOutput) Id() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) MacAddress() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) Mode() pulumi.StringMapOutput
- func (o GetInterfacesInterfaceOutput) Mtu() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) Name() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) TagIds() pulumi.IntArrayOutput
- func (o GetInterfacesInterfaceOutput) TaggedVlans() GetInterfacesInterfaceTaggedVlanArrayOutput
- func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutputWithContext(ctx context.Context) GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceOutput) UntaggedVlans() GetInterfacesInterfaceUntaggedVlanArrayOutput
- func (o GetInterfacesInterfaceOutput) VmId() pulumi.IntOutput
- type GetInterfacesInterfaceTaggedVlan
- type GetInterfacesInterfaceTaggedVlanArgs
- func (GetInterfacesInterfaceTaggedVlanArgs) ElementType() reflect.Type
- func (i GetInterfacesInterfaceTaggedVlanArgs) ToGetInterfacesInterfaceTaggedVlanOutput() GetInterfacesInterfaceTaggedVlanOutput
- func (i GetInterfacesInterfaceTaggedVlanArgs) ToGetInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanOutput
- type GetInterfacesInterfaceTaggedVlanArray
- func (GetInterfacesInterfaceTaggedVlanArray) ElementType() reflect.Type
- func (i GetInterfacesInterfaceTaggedVlanArray) ToGetInterfacesInterfaceTaggedVlanArrayOutput() GetInterfacesInterfaceTaggedVlanArrayOutput
- func (i GetInterfacesInterfaceTaggedVlanArray) ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanArrayOutput
- type GetInterfacesInterfaceTaggedVlanArrayInput
- type GetInterfacesInterfaceTaggedVlanArrayOutput
- func (GetInterfacesInterfaceTaggedVlanArrayOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceTaggedVlanArrayOutput) Index(i pulumi.IntInput) GetInterfacesInterfaceTaggedVlanOutput
- func (o GetInterfacesInterfaceTaggedVlanArrayOutput) ToGetInterfacesInterfaceTaggedVlanArrayOutput() GetInterfacesInterfaceTaggedVlanArrayOutput
- func (o GetInterfacesInterfaceTaggedVlanArrayOutput) ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanArrayOutput
- type GetInterfacesInterfaceTaggedVlanInput
- type GetInterfacesInterfaceTaggedVlanOutput
- func (GetInterfacesInterfaceTaggedVlanOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceTaggedVlanOutput) Id() pulumi.IntOutput
- func (o GetInterfacesInterfaceTaggedVlanOutput) Name() pulumi.StringOutput
- func (o GetInterfacesInterfaceTaggedVlanOutput) ToGetInterfacesInterfaceTaggedVlanOutput() GetInterfacesInterfaceTaggedVlanOutput
- func (o GetInterfacesInterfaceTaggedVlanOutput) ToGetInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanOutput
- func (o GetInterfacesInterfaceTaggedVlanOutput) Vid() pulumi.IntOutput
- type GetInterfacesInterfaceUntaggedVlan
- type GetInterfacesInterfaceUntaggedVlanArgs
- func (GetInterfacesInterfaceUntaggedVlanArgs) ElementType() reflect.Type
- func (i GetInterfacesInterfaceUntaggedVlanArgs) ToGetInterfacesInterfaceUntaggedVlanOutput() GetInterfacesInterfaceUntaggedVlanOutput
- func (i GetInterfacesInterfaceUntaggedVlanArgs) ToGetInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanOutput
- type GetInterfacesInterfaceUntaggedVlanArray
- func (GetInterfacesInterfaceUntaggedVlanArray) ElementType() reflect.Type
- func (i GetInterfacesInterfaceUntaggedVlanArray) ToGetInterfacesInterfaceUntaggedVlanArrayOutput() GetInterfacesInterfaceUntaggedVlanArrayOutput
- func (i GetInterfacesInterfaceUntaggedVlanArray) ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanArrayOutput
- type GetInterfacesInterfaceUntaggedVlanArrayInput
- type GetInterfacesInterfaceUntaggedVlanArrayOutput
- func (GetInterfacesInterfaceUntaggedVlanArrayOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceUntaggedVlanArrayOutput) Index(i pulumi.IntInput) GetInterfacesInterfaceUntaggedVlanOutput
- func (o GetInterfacesInterfaceUntaggedVlanArrayOutput) ToGetInterfacesInterfaceUntaggedVlanArrayOutput() GetInterfacesInterfaceUntaggedVlanArrayOutput
- func (o GetInterfacesInterfaceUntaggedVlanArrayOutput) ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanArrayOutput
- type GetInterfacesInterfaceUntaggedVlanInput
- type GetInterfacesInterfaceUntaggedVlanOutput
- func (GetInterfacesInterfaceUntaggedVlanOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceUntaggedVlanOutput) Id() pulumi.IntOutput
- func (o GetInterfacesInterfaceUntaggedVlanOutput) Name() pulumi.StringOutput
- func (o GetInterfacesInterfaceUntaggedVlanOutput) ToGetInterfacesInterfaceUntaggedVlanOutput() GetInterfacesInterfaceUntaggedVlanOutput
- func (o GetInterfacesInterfaceUntaggedVlanOutput) ToGetInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanOutput
- func (o GetInterfacesInterfaceUntaggedVlanOutput) Vid() pulumi.IntOutput
- type GetInterfacesOutputArgs
- type GetInterfacesResult
- type GetInterfacesResultOutput
- func (GetInterfacesResultOutput) ElementType() reflect.Type
- func (o GetInterfacesResultOutput) Filters() GetInterfacesFilterArrayOutput
- func (o GetInterfacesResultOutput) Id() pulumi.StringOutput
- func (o GetInterfacesResultOutput) Interfaces() GetInterfacesInterfaceArrayOutput
- func (o GetInterfacesResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetInterfacesResultOutput) ToGetInterfacesResultOutput() GetInterfacesResultOutput
- func (o GetInterfacesResultOutput) ToGetInterfacesResultOutputWithContext(ctx context.Context) GetInterfacesResultOutput
- type GetVirtualMachinesArgs
- type GetVirtualMachinesFilter
- type GetVirtualMachinesFilterArgs
- func (GetVirtualMachinesFilterArgs) ElementType() reflect.Type
- func (i GetVirtualMachinesFilterArgs) ToGetVirtualMachinesFilterOutput() GetVirtualMachinesFilterOutput
- func (i GetVirtualMachinesFilterArgs) ToGetVirtualMachinesFilterOutputWithContext(ctx context.Context) GetVirtualMachinesFilterOutput
- type GetVirtualMachinesFilterArray
- func (GetVirtualMachinesFilterArray) ElementType() reflect.Type
- func (i GetVirtualMachinesFilterArray) ToGetVirtualMachinesFilterArrayOutput() GetVirtualMachinesFilterArrayOutput
- func (i GetVirtualMachinesFilterArray) ToGetVirtualMachinesFilterArrayOutputWithContext(ctx context.Context) GetVirtualMachinesFilterArrayOutput
- type GetVirtualMachinesFilterArrayInput
- type GetVirtualMachinesFilterArrayOutput
- func (GetVirtualMachinesFilterArrayOutput) ElementType() reflect.Type
- func (o GetVirtualMachinesFilterArrayOutput) Index(i pulumi.IntInput) GetVirtualMachinesFilterOutput
- func (o GetVirtualMachinesFilterArrayOutput) ToGetVirtualMachinesFilterArrayOutput() GetVirtualMachinesFilterArrayOutput
- func (o GetVirtualMachinesFilterArrayOutput) ToGetVirtualMachinesFilterArrayOutputWithContext(ctx context.Context) GetVirtualMachinesFilterArrayOutput
- type GetVirtualMachinesFilterInput
- type GetVirtualMachinesFilterOutput
- func (GetVirtualMachinesFilterOutput) ElementType() reflect.Type
- func (o GetVirtualMachinesFilterOutput) Name() pulumi.StringOutput
- func (o GetVirtualMachinesFilterOutput) ToGetVirtualMachinesFilterOutput() GetVirtualMachinesFilterOutput
- func (o GetVirtualMachinesFilterOutput) ToGetVirtualMachinesFilterOutputWithContext(ctx context.Context) GetVirtualMachinesFilterOutput
- func (o GetVirtualMachinesFilterOutput) Value() pulumi.StringOutput
- type GetVirtualMachinesOutputArgs
- type GetVirtualMachinesResult
- type GetVirtualMachinesResultOutput
- func (GetVirtualMachinesResultOutput) ElementType() reflect.Type
- func (o GetVirtualMachinesResultOutput) Filters() GetVirtualMachinesFilterArrayOutput
- func (o GetVirtualMachinesResultOutput) Id() pulumi.StringOutput
- func (o GetVirtualMachinesResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetVirtualMachinesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetVirtualMachinesResultOutput) ToGetVirtualMachinesResultOutput() GetVirtualMachinesResultOutput
- func (o GetVirtualMachinesResultOutput) ToGetVirtualMachinesResultOutputWithContext(ctx context.Context) GetVirtualMachinesResultOutput
- func (o GetVirtualMachinesResultOutput) Vms() GetVirtualMachinesVmArrayOutput
- type GetVirtualMachinesVm
- type GetVirtualMachinesVmArgs
- type GetVirtualMachinesVmArray
- type GetVirtualMachinesVmArrayInput
- type GetVirtualMachinesVmArrayOutput
- func (GetVirtualMachinesVmArrayOutput) ElementType() reflect.Type
- func (o GetVirtualMachinesVmArrayOutput) Index(i pulumi.IntInput) GetVirtualMachinesVmOutput
- func (o GetVirtualMachinesVmArrayOutput) ToGetVirtualMachinesVmArrayOutput() GetVirtualMachinesVmArrayOutput
- func (o GetVirtualMachinesVmArrayOutput) ToGetVirtualMachinesVmArrayOutputWithContext(ctx context.Context) GetVirtualMachinesVmArrayOutput
- type GetVirtualMachinesVmInput
- type GetVirtualMachinesVmOutput
- func (o GetVirtualMachinesVmOutput) ClusterId() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) Comments() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) ConfigContext() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) CustomFields() pulumi.StringMapOutput
- func (o GetVirtualMachinesVmOutput) Description() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) DeviceId() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) DeviceName() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) DiskSizeMb() pulumi.IntOutput
- func (GetVirtualMachinesVmOutput) ElementType() reflect.Type
- func (o GetVirtualMachinesVmOutput) LocalContextData() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) MemoryMb() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) Name() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) PlatformId() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) PlatformSlug() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) PrimaryIp() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) PrimaryIp4() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) PrimaryIp6() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) RoleId() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) SiteId() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) Status() pulumi.StringOutput
- func (o GetVirtualMachinesVmOutput) TagIds() pulumi.IntArrayOutput
- func (o GetVirtualMachinesVmOutput) TenantId() pulumi.IntOutput
- func (o GetVirtualMachinesVmOutput) ToGetVirtualMachinesVmOutput() GetVirtualMachinesVmOutput
- func (o GetVirtualMachinesVmOutput) ToGetVirtualMachinesVmOutputWithContext(ctx context.Context) GetVirtualMachinesVmOutput
- func (o GetVirtualMachinesVmOutput) Vcpus() pulumi.Float64Output
- func (o GetVirtualMachinesVmOutput) VmId() pulumi.IntOutput
- type Interface
- type InterfaceArgs
- type InterfaceArray
- type InterfaceArrayInput
- type InterfaceArrayOutput
- func (InterfaceArrayOutput) ElementType() reflect.Type
- func (o InterfaceArrayOutput) Index(i pulumi.IntInput) InterfaceOutput
- func (o InterfaceArrayOutput) ToInterfaceArrayOutput() InterfaceArrayOutput
- func (o InterfaceArrayOutput) ToInterfaceArrayOutputWithContext(ctx context.Context) InterfaceArrayOutput
- type InterfaceInput
- type InterfaceMap
- type InterfaceMapInput
- type InterfaceMapOutput
- type InterfaceOutput
- func (o InterfaceOutput) Description() pulumi.StringPtrOutput
- func (InterfaceOutput) ElementType() reflect.Type
- func (o InterfaceOutput) Enabled() pulumi.BoolPtrOutput
- func (o InterfaceOutput) MacAddress() pulumi.StringPtrOutput
- func (o InterfaceOutput) Mode() pulumi.StringPtrOutput
- func (o InterfaceOutput) Mtu() pulumi.IntPtrOutput
- func (o InterfaceOutput) Name() pulumi.StringOutput
- func (o InterfaceOutput) TaggedVlans() pulumi.IntArrayOutput
- func (o InterfaceOutput) Tags() pulumi.StringArrayOutput
- func (o InterfaceOutput) TagsAlls() pulumi.StringArrayOutput
- func (o InterfaceOutput) ToInterfaceOutput() InterfaceOutput
- func (o InterfaceOutput) ToInterfaceOutputWithContext(ctx context.Context) InterfaceOutput
- func (o InterfaceOutput) Type() pulumi.StringPtrOutputdeprecated
- func (o InterfaceOutput) UntaggedVlan() pulumi.IntPtrOutput
- func (o InterfaceOutput) VirtualMachineId() pulumi.IntOutput
- type InterfaceState
- type LookupClusterArgs
- type LookupClusterGroupArgs
- type LookupClusterGroupOutputArgs
- type LookupClusterGroupResult
- type LookupClusterGroupResultOutput
- func (o LookupClusterGroupResultOutput) ClusterGroupId() pulumi.IntOutput
- func (LookupClusterGroupResultOutput) ElementType() reflect.Type
- func (o LookupClusterGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupClusterGroupResultOutput) ToLookupClusterGroupResultOutput() LookupClusterGroupResultOutput
- func (o LookupClusterGroupResultOutput) ToLookupClusterGroupResultOutputWithContext(ctx context.Context) LookupClusterGroupResultOutput
- type LookupClusterOutputArgs
- type LookupClusterResult
- type LookupClusterResultOutput
- func (o LookupClusterResultOutput) ClusterGroupId() pulumi.IntOutput
- func (o LookupClusterResultOutput) ClusterId() pulumi.IntOutput
- func (o LookupClusterResultOutput) ClusterTypeId() pulumi.IntOutput
- func (o LookupClusterResultOutput) Comments() pulumi.StringOutput
- func (o LookupClusterResultOutput) CustomFields() pulumi.StringMapOutput
- func (o LookupClusterResultOutput) Description() pulumi.StringOutput
- func (LookupClusterResultOutput) ElementType() reflect.Type
- func (o LookupClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterResultOutput) LocationId() pulumi.IntOutput
- func (o LookupClusterResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupClusterResultOutput) RegionId() pulumi.IntOutput
- func (o LookupClusterResultOutput) ScopeId() pulumi.IntOutput
- func (o LookupClusterResultOutput) ScopeType() pulumi.StringOutput
- func (o LookupClusterResultOutput) SiteGroupId() pulumi.IntOutput
- func (o LookupClusterResultOutput) SiteId() pulumi.IntOutput
- func (o LookupClusterResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
- type LookupClusterTypeArgs
- type LookupClusterTypeOutputArgs
- type LookupClusterTypeResult
- type LookupClusterTypeResultOutput
- func (o LookupClusterTypeResultOutput) ClusterTypeId() pulumi.IntOutput
- func (LookupClusterTypeResultOutput) ElementType() reflect.Type
- func (o LookupClusterTypeResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterTypeResultOutput) Name() pulumi.StringOutput
- func (o LookupClusterTypeResultOutput) ToLookupClusterTypeResultOutput() LookupClusterTypeResultOutput
- func (o LookupClusterTypeResultOutput) ToLookupClusterTypeResultOutputWithContext(ctx context.Context) LookupClusterTypeResultOutput
- type PrimaryIp
- type PrimaryIpArgs
- type PrimaryIpArray
- type PrimaryIpArrayInput
- type PrimaryIpArrayOutput
- func (PrimaryIpArrayOutput) ElementType() reflect.Type
- func (o PrimaryIpArrayOutput) Index(i pulumi.IntInput) PrimaryIpOutput
- func (o PrimaryIpArrayOutput) ToPrimaryIpArrayOutput() PrimaryIpArrayOutput
- func (o PrimaryIpArrayOutput) ToPrimaryIpArrayOutputWithContext(ctx context.Context) PrimaryIpArrayOutput
- type PrimaryIpInput
- type PrimaryIpMap
- type PrimaryIpMapInput
- type PrimaryIpMapOutput
- type PrimaryIpOutput
- func (PrimaryIpOutput) ElementType() reflect.Type
- func (o PrimaryIpOutput) IpAddressId() pulumi.IntOutput
- func (o PrimaryIpOutput) IpAddressVersion() pulumi.IntPtrOutput
- func (o PrimaryIpOutput) ToPrimaryIpOutput() PrimaryIpOutput
- func (o PrimaryIpOutput) ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
- func (o PrimaryIpOutput) VirtualMachineId() pulumi.IntOutput
- type PrimaryIpState
- type VirtualDisk
- type VirtualDiskArgs
- type VirtualDiskArray
- type VirtualDiskArrayInput
- type VirtualDiskArrayOutput
- func (VirtualDiskArrayOutput) ElementType() reflect.Type
- func (o VirtualDiskArrayOutput) Index(i pulumi.IntInput) VirtualDiskOutput
- func (o VirtualDiskArrayOutput) ToVirtualDiskArrayOutput() VirtualDiskArrayOutput
- func (o VirtualDiskArrayOutput) ToVirtualDiskArrayOutputWithContext(ctx context.Context) VirtualDiskArrayOutput
- type VirtualDiskInput
- type VirtualDiskMap
- type VirtualDiskMapInput
- type VirtualDiskMapOutput
- func (VirtualDiskMapOutput) ElementType() reflect.Type
- func (o VirtualDiskMapOutput) MapIndex(k pulumi.StringInput) VirtualDiskOutput
- func (o VirtualDiskMapOutput) ToVirtualDiskMapOutput() VirtualDiskMapOutput
- func (o VirtualDiskMapOutput) ToVirtualDiskMapOutputWithContext(ctx context.Context) VirtualDiskMapOutput
- type VirtualDiskOutput
- func (o VirtualDiskOutput) CustomFields() pulumi.StringMapOutput
- func (o VirtualDiskOutput) Description() pulumi.StringPtrOutput
- func (VirtualDiskOutput) ElementType() reflect.Type
- func (o VirtualDiskOutput) Name() pulumi.StringOutput
- func (o VirtualDiskOutput) SizeMb() pulumi.IntOutput
- func (o VirtualDiskOutput) Tags() pulumi.StringArrayOutput
- func (o VirtualDiskOutput) TagsAlls() pulumi.StringArrayOutput
- func (o VirtualDiskOutput) ToVirtualDiskOutput() VirtualDiskOutput
- func (o VirtualDiskOutput) ToVirtualDiskOutputWithContext(ctx context.Context) VirtualDiskOutput
- func (o VirtualDiskOutput) VirtualMachineId() pulumi.IntOutput
- type VirtualDiskState
- type VirtualMachine
- type VirtualMachineArgs
- type VirtualMachineArray
- type VirtualMachineArrayInput
- type VirtualMachineArrayOutput
- func (VirtualMachineArrayOutput) ElementType() reflect.Type
- func (o VirtualMachineArrayOutput) Index(i pulumi.IntInput) VirtualMachineOutput
- func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
- func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutputWithContext(ctx context.Context) VirtualMachineArrayOutput
- type VirtualMachineInput
- type VirtualMachineMap
- type VirtualMachineMapInput
- type VirtualMachineMapOutput
- func (VirtualMachineMapOutput) ElementType() reflect.Type
- func (o VirtualMachineMapOutput) MapIndex(k pulumi.StringInput) VirtualMachineOutput
- func (o VirtualMachineMapOutput) ToVirtualMachineMapOutput() VirtualMachineMapOutput
- func (o VirtualMachineMapOutput) ToVirtualMachineMapOutputWithContext(ctx context.Context) VirtualMachineMapOutput
- type VirtualMachineOutput
- func (o VirtualMachineOutput) ClusterId() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) Comments() pulumi.StringPtrOutput
- func (o VirtualMachineOutput) CustomFields() pulumi.StringMapOutput
- func (o VirtualMachineOutput) Description() pulumi.StringPtrOutput
- func (o VirtualMachineOutput) DeviceId() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) DiskSizeMb() pulumi.IntOutput
- func (VirtualMachineOutput) ElementType() reflect.Type
- func (o VirtualMachineOutput) LocalContextData() pulumi.StringPtrOutput
- func (o VirtualMachineOutput) MemoryMb() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) Name() pulumi.StringOutput
- func (o VirtualMachineOutput) PlatformId() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) PrimaryIpv4() pulumi.IntOutput
- func (o VirtualMachineOutput) PrimaryIpv6() pulumi.IntOutput
- func (o VirtualMachineOutput) RoleId() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) SiteId() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) Status() pulumi.StringPtrOutput
- func (o VirtualMachineOutput) Tags() pulumi.StringArrayOutput
- func (o VirtualMachineOutput) TagsAlls() pulumi.StringArrayOutput
- func (o VirtualMachineOutput) TenantId() pulumi.IntPtrOutput
- func (o VirtualMachineOutput) ToVirtualMachineOutput() VirtualMachineOutput
- func (o VirtualMachineOutput) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
- func (o VirtualMachineOutput) Vcpus() pulumi.Float64PtrOutput
- type VirtualMachineState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
pulumi.CustomResourceState
ClusterGroupId pulumi.IntPtrOutput `pulumi:"clusterGroupId"`
ClusterTypeId pulumi.IntOutput `pulumi:"clusterTypeId"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
Description pulumi.StringPtrOutput `pulumi:"description"`
// Conflicts with `siteId`, `siteGroupId` and `regionId`.
LocationId pulumi.IntPtrOutput `pulumi:"locationId"`
Name pulumi.StringOutput `pulumi:"name"`
// Conflicts with `locationId`, `siteId` and `siteGroupId`.
RegionId pulumi.IntPtrOutput `pulumi:"regionId"`
// Conflicts with `locationId`, `siteId` and `regionId`.
SiteGroupId pulumi.IntPtrOutput `pulumi:"siteGroupId"`
// Conflicts with `locationId`, `siteGroupId` and `regionId`.
SiteId pulumi.IntPtrOutput `pulumi:"siteId"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
TenantId pulumi.IntPtrOutput `pulumi:"tenantId"`
}
From the [official documentation](https://netboxlabs.com/docs/netbox/models/virtualization/cluster/): > A cluster is a logical grouping of physical resources within which virtual machines run. Physical devices may be associated with clusters as hosts. This allows users to track on which host(s) a particular virtual machine may reside.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Assumes the 'dc-west' cluster group already exists
dcWest, err := virt.LookupClusterGroup(ctx, &virt.LookupClusterGroupArgs{
Name: "dc-west",
}, nil)
if err != nil {
return err
}
vmwVsphere, err := virt.NewClusterType(ctx, "vmw_vsphere", &virt.ClusterTypeArgs{
Name: pulumi.String("VMware vSphere 6"),
})
if err != nil {
return err
}
_, err = virt.NewCluster(ctx, "vmw_cluster_01", &virt.ClusterArgs{
ClusterTypeId: vmwVsphere.ID(),
Name: pulumi.String("vmw-cluster-01"),
ClusterGroupId: pulumi.String(dcWest.Id),
})
if err != nil {
return err
}
return nil
})
}
```
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster 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 NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct {
ClusterGroupId pulumi.IntPtrInput
ClusterTypeId pulumi.IntInput
Comments pulumi.StringPtrInput
Description pulumi.StringPtrInput
// Conflicts with `siteId`, `siteGroupId` and `regionId`.
LocationId pulumi.IntPtrInput
Name pulumi.StringPtrInput
// Conflicts with `locationId`, `siteId` and `siteGroupId`.
RegionId pulumi.IntPtrInput
// Conflicts with `locationId`, `siteId` and `regionId`.
SiteGroupId pulumi.IntPtrInput
// Conflicts with `locationId`, `siteGroupId` and `regionId`.
SiteId pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
}
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface {
pulumi.Input
ToClusterArrayOutput() ClusterArrayOutput
ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterGroup ¶
type ClusterGroup struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/virtualization/#cluster-groups):
> Cluster groups may be created for the purpose of organizing clusters. The arrangement of clusters into groups is optional.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := virt.NewClusterGroup(ctx, "dc_west", &virt.ClusterGroupArgs{
Description: pulumi.String("West Datacenter Cluster"),
Name: pulumi.String("dc-west"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetClusterGroup ¶
func GetClusterGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterGroupState, opts ...pulumi.ResourceOption) (*ClusterGroup, error)
GetClusterGroup gets an existing ClusterGroup 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 NewClusterGroup ¶
func NewClusterGroup(ctx *pulumi.Context, name string, args *ClusterGroupArgs, opts ...pulumi.ResourceOption) (*ClusterGroup, error)
NewClusterGroup registers a new resource with the given unique name, arguments, and options.
func (*ClusterGroup) ElementType ¶
func (*ClusterGroup) ElementType() reflect.Type
func (*ClusterGroup) ToClusterGroupOutput ¶
func (i *ClusterGroup) ToClusterGroupOutput() ClusterGroupOutput
func (*ClusterGroup) ToClusterGroupOutputWithContext ¶
func (i *ClusterGroup) ToClusterGroupOutputWithContext(ctx context.Context) ClusterGroupOutput
type ClusterGroupArgs ¶
type ClusterGroupArgs struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a ClusterGroup resource.
func (ClusterGroupArgs) ElementType ¶
func (ClusterGroupArgs) ElementType() reflect.Type
type ClusterGroupArray ¶
type ClusterGroupArray []ClusterGroupInput
func (ClusterGroupArray) ElementType ¶
func (ClusterGroupArray) ElementType() reflect.Type
func (ClusterGroupArray) ToClusterGroupArrayOutput ¶
func (i ClusterGroupArray) ToClusterGroupArrayOutput() ClusterGroupArrayOutput
func (ClusterGroupArray) ToClusterGroupArrayOutputWithContext ¶
func (i ClusterGroupArray) ToClusterGroupArrayOutputWithContext(ctx context.Context) ClusterGroupArrayOutput
type ClusterGroupArrayInput ¶
type ClusterGroupArrayInput interface {
pulumi.Input
ToClusterGroupArrayOutput() ClusterGroupArrayOutput
ToClusterGroupArrayOutputWithContext(context.Context) ClusterGroupArrayOutput
}
ClusterGroupArrayInput is an input type that accepts ClusterGroupArray and ClusterGroupArrayOutput values. You can construct a concrete instance of `ClusterGroupArrayInput` via:
ClusterGroupArray{ ClusterGroupArgs{...} }
type ClusterGroupArrayOutput ¶
type ClusterGroupArrayOutput struct{ *pulumi.OutputState }
func (ClusterGroupArrayOutput) ElementType ¶
func (ClusterGroupArrayOutput) ElementType() reflect.Type
func (ClusterGroupArrayOutput) Index ¶
func (o ClusterGroupArrayOutput) Index(i pulumi.IntInput) ClusterGroupOutput
func (ClusterGroupArrayOutput) ToClusterGroupArrayOutput ¶
func (o ClusterGroupArrayOutput) ToClusterGroupArrayOutput() ClusterGroupArrayOutput
func (ClusterGroupArrayOutput) ToClusterGroupArrayOutputWithContext ¶
func (o ClusterGroupArrayOutput) ToClusterGroupArrayOutputWithContext(ctx context.Context) ClusterGroupArrayOutput
type ClusterGroupInput ¶
type ClusterGroupInput interface {
pulumi.Input
ToClusterGroupOutput() ClusterGroupOutput
ToClusterGroupOutputWithContext(ctx context.Context) ClusterGroupOutput
}
type ClusterGroupMap ¶
type ClusterGroupMap map[string]ClusterGroupInput
func (ClusterGroupMap) ElementType ¶
func (ClusterGroupMap) ElementType() reflect.Type
func (ClusterGroupMap) ToClusterGroupMapOutput ¶
func (i ClusterGroupMap) ToClusterGroupMapOutput() ClusterGroupMapOutput
func (ClusterGroupMap) ToClusterGroupMapOutputWithContext ¶
func (i ClusterGroupMap) ToClusterGroupMapOutputWithContext(ctx context.Context) ClusterGroupMapOutput
type ClusterGroupMapInput ¶
type ClusterGroupMapInput interface {
pulumi.Input
ToClusterGroupMapOutput() ClusterGroupMapOutput
ToClusterGroupMapOutputWithContext(context.Context) ClusterGroupMapOutput
}
ClusterGroupMapInput is an input type that accepts ClusterGroupMap and ClusterGroupMapOutput values. You can construct a concrete instance of `ClusterGroupMapInput` via:
ClusterGroupMap{ "key": ClusterGroupArgs{...} }
type ClusterGroupMapOutput ¶
type ClusterGroupMapOutput struct{ *pulumi.OutputState }
func (ClusterGroupMapOutput) ElementType ¶
func (ClusterGroupMapOutput) ElementType() reflect.Type
func (ClusterGroupMapOutput) MapIndex ¶
func (o ClusterGroupMapOutput) MapIndex(k pulumi.StringInput) ClusterGroupOutput
func (ClusterGroupMapOutput) ToClusterGroupMapOutput ¶
func (o ClusterGroupMapOutput) ToClusterGroupMapOutput() ClusterGroupMapOutput
func (ClusterGroupMapOutput) ToClusterGroupMapOutputWithContext ¶
func (o ClusterGroupMapOutput) ToClusterGroupMapOutputWithContext(ctx context.Context) ClusterGroupMapOutput
type ClusterGroupOutput ¶
type ClusterGroupOutput struct{ *pulumi.OutputState }
func (ClusterGroupOutput) Description ¶
func (o ClusterGroupOutput) Description() pulumi.StringPtrOutput
func (ClusterGroupOutput) ElementType ¶
func (ClusterGroupOutput) ElementType() reflect.Type
func (ClusterGroupOutput) Name ¶
func (o ClusterGroupOutput) Name() pulumi.StringOutput
func (ClusterGroupOutput) Slug ¶
func (o ClusterGroupOutput) Slug() pulumi.StringOutput
func (ClusterGroupOutput) ToClusterGroupOutput ¶
func (o ClusterGroupOutput) ToClusterGroupOutput() ClusterGroupOutput
func (ClusterGroupOutput) ToClusterGroupOutputWithContext ¶
func (o ClusterGroupOutput) ToClusterGroupOutputWithContext(ctx context.Context) ClusterGroupOutput
type ClusterGroupState ¶
type ClusterGroupState struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
func (ClusterGroupState) ElementType ¶
func (ClusterGroupState) ElementType() reflect.Type
type ClusterInput ¶
type ClusterInput interface {
pulumi.Input
ToClusterOutput() ClusterOutput
ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface {
pulumi.Input
ToClusterMapOutput() ClusterMapOutput
ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) ClusterGroupId ¶
func (o ClusterOutput) ClusterGroupId() pulumi.IntPtrOutput
func (ClusterOutput) ClusterTypeId ¶
func (o ClusterOutput) ClusterTypeId() pulumi.IntOutput
func (ClusterOutput) Comments ¶
func (o ClusterOutput) Comments() pulumi.StringPtrOutput
func (ClusterOutput) Description ¶
func (o ClusterOutput) Description() pulumi.StringPtrOutput
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) LocationId ¶
func (o ClusterOutput) LocationId() pulumi.IntPtrOutput
Conflicts with `siteId`, `siteGroupId` and `regionId`.
func (ClusterOutput) Name ¶
func (o ClusterOutput) Name() pulumi.StringOutput
func (ClusterOutput) RegionId ¶
func (o ClusterOutput) RegionId() pulumi.IntPtrOutput
Conflicts with `locationId`, `siteId` and `siteGroupId`.
func (ClusterOutput) SiteGroupId ¶
func (o ClusterOutput) SiteGroupId() pulumi.IntPtrOutput
Conflicts with `locationId`, `siteId` and `regionId`.
func (ClusterOutput) SiteId ¶
func (o ClusterOutput) SiteId() pulumi.IntPtrOutput
Conflicts with `locationId`, `siteGroupId` and `regionId`.
func (ClusterOutput) Tags ¶
func (o ClusterOutput) Tags() pulumi.StringArrayOutput
func (ClusterOutput) TagsAlls ¶
func (o ClusterOutput) TagsAlls() pulumi.StringArrayOutput
func (ClusterOutput) TenantId ¶
func (o ClusterOutput) TenantId() pulumi.IntPtrOutput
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterState ¶
type ClusterState struct {
ClusterGroupId pulumi.IntPtrInput
ClusterTypeId pulumi.IntPtrInput
Comments pulumi.StringPtrInput
Description pulumi.StringPtrInput
// Conflicts with `siteId`, `siteGroupId` and `regionId`.
LocationId pulumi.IntPtrInput
Name pulumi.StringPtrInput
// Conflicts with `locationId`, `siteId` and `siteGroupId`.
RegionId pulumi.IntPtrInput
// Conflicts with `locationId`, `siteId` and `regionId`.
SiteGroupId pulumi.IntPtrInput
// Conflicts with `locationId`, `siteGroupId` and `regionId`.
SiteId pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
}
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type ClusterType ¶
type ClusterType struct {
pulumi.CustomResourceState
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/virtualization/#cluster-types):
> A cluster type represents a technology or mechanism by which a cluster is formed. For example, you might create a cluster type named "VMware vSphere" for a locally hosted cluster or "DigitalOcean NYC3" for one hosted by a cloud provider.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := virt.NewClusterType(ctx, "vmw_vsphere", &virt.ClusterTypeArgs{
Name: pulumi.String("VMware vSphere 6"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetClusterType ¶
func GetClusterType(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterTypeState, opts ...pulumi.ResourceOption) (*ClusterType, error)
GetClusterType gets an existing ClusterType 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 NewClusterType ¶
func NewClusterType(ctx *pulumi.Context, name string, args *ClusterTypeArgs, opts ...pulumi.ResourceOption) (*ClusterType, error)
NewClusterType registers a new resource with the given unique name, arguments, and options.
func (*ClusterType) ElementType ¶
func (*ClusterType) ElementType() reflect.Type
func (*ClusterType) ToClusterTypeOutput ¶
func (i *ClusterType) ToClusterTypeOutput() ClusterTypeOutput
func (*ClusterType) ToClusterTypeOutputWithContext ¶
func (i *ClusterType) ToClusterTypeOutputWithContext(ctx context.Context) ClusterTypeOutput
type ClusterTypeArgs ¶
type ClusterTypeArgs struct {
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a ClusterType resource.
func (ClusterTypeArgs) ElementType ¶
func (ClusterTypeArgs) ElementType() reflect.Type
type ClusterTypeArray ¶
type ClusterTypeArray []ClusterTypeInput
func (ClusterTypeArray) ElementType ¶
func (ClusterTypeArray) ElementType() reflect.Type
func (ClusterTypeArray) ToClusterTypeArrayOutput ¶
func (i ClusterTypeArray) ToClusterTypeArrayOutput() ClusterTypeArrayOutput
func (ClusterTypeArray) ToClusterTypeArrayOutputWithContext ¶
func (i ClusterTypeArray) ToClusterTypeArrayOutputWithContext(ctx context.Context) ClusterTypeArrayOutput
type ClusterTypeArrayInput ¶
type ClusterTypeArrayInput interface {
pulumi.Input
ToClusterTypeArrayOutput() ClusterTypeArrayOutput
ToClusterTypeArrayOutputWithContext(context.Context) ClusterTypeArrayOutput
}
ClusterTypeArrayInput is an input type that accepts ClusterTypeArray and ClusterTypeArrayOutput values. You can construct a concrete instance of `ClusterTypeArrayInput` via:
ClusterTypeArray{ ClusterTypeArgs{...} }
type ClusterTypeArrayOutput ¶
type ClusterTypeArrayOutput struct{ *pulumi.OutputState }
func (ClusterTypeArrayOutput) ElementType ¶
func (ClusterTypeArrayOutput) ElementType() reflect.Type
func (ClusterTypeArrayOutput) Index ¶
func (o ClusterTypeArrayOutput) Index(i pulumi.IntInput) ClusterTypeOutput
func (ClusterTypeArrayOutput) ToClusterTypeArrayOutput ¶
func (o ClusterTypeArrayOutput) ToClusterTypeArrayOutput() ClusterTypeArrayOutput
func (ClusterTypeArrayOutput) ToClusterTypeArrayOutputWithContext ¶
func (o ClusterTypeArrayOutput) ToClusterTypeArrayOutputWithContext(ctx context.Context) ClusterTypeArrayOutput
type ClusterTypeInput ¶
type ClusterTypeInput interface {
pulumi.Input
ToClusterTypeOutput() ClusterTypeOutput
ToClusterTypeOutputWithContext(ctx context.Context) ClusterTypeOutput
}
type ClusterTypeMap ¶
type ClusterTypeMap map[string]ClusterTypeInput
func (ClusterTypeMap) ElementType ¶
func (ClusterTypeMap) ElementType() reflect.Type
func (ClusterTypeMap) ToClusterTypeMapOutput ¶
func (i ClusterTypeMap) ToClusterTypeMapOutput() ClusterTypeMapOutput
func (ClusterTypeMap) ToClusterTypeMapOutputWithContext ¶
func (i ClusterTypeMap) ToClusterTypeMapOutputWithContext(ctx context.Context) ClusterTypeMapOutput
type ClusterTypeMapInput ¶
type ClusterTypeMapInput interface {
pulumi.Input
ToClusterTypeMapOutput() ClusterTypeMapOutput
ToClusterTypeMapOutputWithContext(context.Context) ClusterTypeMapOutput
}
ClusterTypeMapInput is an input type that accepts ClusterTypeMap and ClusterTypeMapOutput values. You can construct a concrete instance of `ClusterTypeMapInput` via:
ClusterTypeMap{ "key": ClusterTypeArgs{...} }
type ClusterTypeMapOutput ¶
type ClusterTypeMapOutput struct{ *pulumi.OutputState }
func (ClusterTypeMapOutput) ElementType ¶
func (ClusterTypeMapOutput) ElementType() reflect.Type
func (ClusterTypeMapOutput) MapIndex ¶
func (o ClusterTypeMapOutput) MapIndex(k pulumi.StringInput) ClusterTypeOutput
func (ClusterTypeMapOutput) ToClusterTypeMapOutput ¶
func (o ClusterTypeMapOutput) ToClusterTypeMapOutput() ClusterTypeMapOutput
func (ClusterTypeMapOutput) ToClusterTypeMapOutputWithContext ¶
func (o ClusterTypeMapOutput) ToClusterTypeMapOutputWithContext(ctx context.Context) ClusterTypeMapOutput
type ClusterTypeOutput ¶
type ClusterTypeOutput struct{ *pulumi.OutputState }
func (ClusterTypeOutput) ElementType ¶
func (ClusterTypeOutput) ElementType() reflect.Type
func (ClusterTypeOutput) Name ¶
func (o ClusterTypeOutput) Name() pulumi.StringOutput
func (ClusterTypeOutput) Slug ¶
func (o ClusterTypeOutput) Slug() pulumi.StringOutput
func (ClusterTypeOutput) ToClusterTypeOutput ¶
func (o ClusterTypeOutput) ToClusterTypeOutput() ClusterTypeOutput
func (ClusterTypeOutput) ToClusterTypeOutputWithContext ¶
func (o ClusterTypeOutput) ToClusterTypeOutputWithContext(ctx context.Context) ClusterTypeOutput
type ClusterTypeState ¶
type ClusterTypeState struct {
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
func (ClusterTypeState) ElementType ¶
func (ClusterTypeState) ElementType() reflect.Type
type GetInterfacesArgs ¶
type GetInterfacesArgs struct {
Filters []GetInterfacesFilter `pulumi:"filters"`
// The limit of objects to return from the API lookup. Defaults to `0`.
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of arguments for invoking getInterfaces.
type GetInterfacesFilter ¶
type GetInterfacesFilterArgs ¶
type GetInterfacesFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (GetInterfacesFilterArgs) ElementType ¶
func (GetInterfacesFilterArgs) ElementType() reflect.Type
func (GetInterfacesFilterArgs) ToGetInterfacesFilterOutput ¶
func (i GetInterfacesFilterArgs) ToGetInterfacesFilterOutput() GetInterfacesFilterOutput
func (GetInterfacesFilterArgs) ToGetInterfacesFilterOutputWithContext ¶
func (i GetInterfacesFilterArgs) ToGetInterfacesFilterOutputWithContext(ctx context.Context) GetInterfacesFilterOutput
type GetInterfacesFilterArray ¶
type GetInterfacesFilterArray []GetInterfacesFilterInput
func (GetInterfacesFilterArray) ElementType ¶
func (GetInterfacesFilterArray) ElementType() reflect.Type
func (GetInterfacesFilterArray) ToGetInterfacesFilterArrayOutput ¶
func (i GetInterfacesFilterArray) ToGetInterfacesFilterArrayOutput() GetInterfacesFilterArrayOutput
func (GetInterfacesFilterArray) ToGetInterfacesFilterArrayOutputWithContext ¶
func (i GetInterfacesFilterArray) ToGetInterfacesFilterArrayOutputWithContext(ctx context.Context) GetInterfacesFilterArrayOutput
type GetInterfacesFilterArrayInput ¶
type GetInterfacesFilterArrayInput interface {
pulumi.Input
ToGetInterfacesFilterArrayOutput() GetInterfacesFilterArrayOutput
ToGetInterfacesFilterArrayOutputWithContext(context.Context) GetInterfacesFilterArrayOutput
}
GetInterfacesFilterArrayInput is an input type that accepts GetInterfacesFilterArray and GetInterfacesFilterArrayOutput values. You can construct a concrete instance of `GetInterfacesFilterArrayInput` via:
GetInterfacesFilterArray{ GetInterfacesFilterArgs{...} }
type GetInterfacesFilterArrayOutput ¶
type GetInterfacesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInterfacesFilterArrayOutput) ElementType ¶
func (GetInterfacesFilterArrayOutput) ElementType() reflect.Type
func (GetInterfacesFilterArrayOutput) Index ¶
func (o GetInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetInterfacesFilterOutput
func (GetInterfacesFilterArrayOutput) ToGetInterfacesFilterArrayOutput ¶
func (o GetInterfacesFilterArrayOutput) ToGetInterfacesFilterArrayOutput() GetInterfacesFilterArrayOutput
func (GetInterfacesFilterArrayOutput) ToGetInterfacesFilterArrayOutputWithContext ¶
func (o GetInterfacesFilterArrayOutput) ToGetInterfacesFilterArrayOutputWithContext(ctx context.Context) GetInterfacesFilterArrayOutput
type GetInterfacesFilterInput ¶
type GetInterfacesFilterInput interface {
pulumi.Input
ToGetInterfacesFilterOutput() GetInterfacesFilterOutput
ToGetInterfacesFilterOutputWithContext(context.Context) GetInterfacesFilterOutput
}
GetInterfacesFilterInput is an input type that accepts GetInterfacesFilterArgs and GetInterfacesFilterOutput values. You can construct a concrete instance of `GetInterfacesFilterInput` via:
GetInterfacesFilterArgs{...}
type GetInterfacesFilterOutput ¶
type GetInterfacesFilterOutput struct{ *pulumi.OutputState }
func (GetInterfacesFilterOutput) ElementType ¶
func (GetInterfacesFilterOutput) ElementType() reflect.Type
func (GetInterfacesFilterOutput) Name ¶
func (o GetInterfacesFilterOutput) Name() pulumi.StringOutput
func (GetInterfacesFilterOutput) ToGetInterfacesFilterOutput ¶
func (o GetInterfacesFilterOutput) ToGetInterfacesFilterOutput() GetInterfacesFilterOutput
func (GetInterfacesFilterOutput) ToGetInterfacesFilterOutputWithContext ¶
func (o GetInterfacesFilterOutput) ToGetInterfacesFilterOutputWithContext(ctx context.Context) GetInterfacesFilterOutput
func (GetInterfacesFilterOutput) Value ¶
func (o GetInterfacesFilterOutput) Value() pulumi.StringOutput
type GetInterfacesInterface ¶
type GetInterfacesInterface struct {
Description string `pulumi:"description"`
Enabled bool `pulumi:"enabled"`
Id int `pulumi:"id"`
MacAddress string `pulumi:"macAddress"`
Mode map[string]string `pulumi:"mode"`
Mtu int `pulumi:"mtu"`
Name string `pulumi:"name"`
TagIds []int `pulumi:"tagIds"`
TaggedVlans []GetInterfacesInterfaceTaggedVlan `pulumi:"taggedVlans"`
UntaggedVlans []GetInterfacesInterfaceUntaggedVlan `pulumi:"untaggedVlans"`
VmId int `pulumi:"vmId"`
}
type GetInterfacesInterfaceArgs ¶
type GetInterfacesInterfaceArgs struct {
Description pulumi.StringInput `pulumi:"description"`
Enabled pulumi.BoolInput `pulumi:"enabled"`
Id pulumi.IntInput `pulumi:"id"`
MacAddress pulumi.StringInput `pulumi:"macAddress"`
Mode pulumi.StringMapInput `pulumi:"mode"`
Mtu pulumi.IntInput `pulumi:"mtu"`
Name pulumi.StringInput `pulumi:"name"`
TagIds pulumi.IntArrayInput `pulumi:"tagIds"`
TaggedVlans GetInterfacesInterfaceTaggedVlanArrayInput `pulumi:"taggedVlans"`
UntaggedVlans GetInterfacesInterfaceUntaggedVlanArrayInput `pulumi:"untaggedVlans"`
VmId pulumi.IntInput `pulumi:"vmId"`
}
func (GetInterfacesInterfaceArgs) ElementType ¶
func (GetInterfacesInterfaceArgs) ElementType() reflect.Type
func (GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutput ¶
func (i GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutputWithContext ¶
func (i GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutputWithContext(ctx context.Context) GetInterfacesInterfaceOutput
type GetInterfacesInterfaceArray ¶
type GetInterfacesInterfaceArray []GetInterfacesInterfaceInput
func (GetInterfacesInterfaceArray) ElementType ¶
func (GetInterfacesInterfaceArray) ElementType() reflect.Type
func (GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutput ¶
func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
func (GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutputWithContext ¶
func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
type GetInterfacesInterfaceArrayInput ¶
type GetInterfacesInterfaceArrayInput interface {
pulumi.Input
ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
ToGetInterfacesInterfaceArrayOutputWithContext(context.Context) GetInterfacesInterfaceArrayOutput
}
GetInterfacesInterfaceArrayInput is an input type that accepts GetInterfacesInterfaceArray and GetInterfacesInterfaceArrayOutput values. You can construct a concrete instance of `GetInterfacesInterfaceArrayInput` via:
GetInterfacesInterfaceArray{ GetInterfacesInterfaceArgs{...} }
type GetInterfacesInterfaceArrayOutput ¶
type GetInterfacesInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceArrayOutput) ElementType ¶
func (GetInterfacesInterfaceArrayOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceArrayOutput) Index ¶
func (o GetInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutput ¶
func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
func (GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutputWithContext ¶
func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
type GetInterfacesInterfaceInput ¶
type GetInterfacesInterfaceInput interface {
pulumi.Input
ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
ToGetInterfacesInterfaceOutputWithContext(context.Context) GetInterfacesInterfaceOutput
}
GetInterfacesInterfaceInput is an input type that accepts GetInterfacesInterfaceArgs and GetInterfacesInterfaceOutput values. You can construct a concrete instance of `GetInterfacesInterfaceInput` via:
GetInterfacesInterfaceArgs{...}
type GetInterfacesInterfaceOutput ¶
type GetInterfacesInterfaceOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceOutput) Description ¶
func (o GetInterfacesInterfaceOutput) Description() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) ElementType ¶
func (GetInterfacesInterfaceOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceOutput) Enabled ¶
func (o GetInterfacesInterfaceOutput) Enabled() pulumi.BoolOutput
func (GetInterfacesInterfaceOutput) Id ¶
func (o GetInterfacesInterfaceOutput) Id() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) MacAddress ¶
func (o GetInterfacesInterfaceOutput) MacAddress() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) Mode ¶
func (o GetInterfacesInterfaceOutput) Mode() pulumi.StringMapOutput
func (GetInterfacesInterfaceOutput) Mtu ¶
func (o GetInterfacesInterfaceOutput) Mtu() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) Name ¶
func (o GetInterfacesInterfaceOutput) Name() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) TagIds ¶
func (o GetInterfacesInterfaceOutput) TagIds() pulumi.IntArrayOutput
func (GetInterfacesInterfaceOutput) TaggedVlans ¶
func (o GetInterfacesInterfaceOutput) TaggedVlans() GetInterfacesInterfaceTaggedVlanArrayOutput
func (GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutput ¶
func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutputWithContext ¶
func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutputWithContext(ctx context.Context) GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceOutput) UntaggedVlans ¶
func (o GetInterfacesInterfaceOutput) UntaggedVlans() GetInterfacesInterfaceUntaggedVlanArrayOutput
func (GetInterfacesInterfaceOutput) VmId ¶
func (o GetInterfacesInterfaceOutput) VmId() pulumi.IntOutput
type GetInterfacesInterfaceTaggedVlanArgs ¶
type GetInterfacesInterfaceTaggedVlanArgs struct {
Id pulumi.IntInput `pulumi:"id"`
Name pulumi.StringInput `pulumi:"name"`
Vid pulumi.IntInput `pulumi:"vid"`
}
func (GetInterfacesInterfaceTaggedVlanArgs) ElementType ¶
func (GetInterfacesInterfaceTaggedVlanArgs) ElementType() reflect.Type
func (GetInterfacesInterfaceTaggedVlanArgs) ToGetInterfacesInterfaceTaggedVlanOutput ¶
func (i GetInterfacesInterfaceTaggedVlanArgs) ToGetInterfacesInterfaceTaggedVlanOutput() GetInterfacesInterfaceTaggedVlanOutput
func (GetInterfacesInterfaceTaggedVlanArgs) ToGetInterfacesInterfaceTaggedVlanOutputWithContext ¶
func (i GetInterfacesInterfaceTaggedVlanArgs) ToGetInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanOutput
type GetInterfacesInterfaceTaggedVlanArray ¶
type GetInterfacesInterfaceTaggedVlanArray []GetInterfacesInterfaceTaggedVlanInput
func (GetInterfacesInterfaceTaggedVlanArray) ElementType ¶
func (GetInterfacesInterfaceTaggedVlanArray) ElementType() reflect.Type
func (GetInterfacesInterfaceTaggedVlanArray) ToGetInterfacesInterfaceTaggedVlanArrayOutput ¶
func (i GetInterfacesInterfaceTaggedVlanArray) ToGetInterfacesInterfaceTaggedVlanArrayOutput() GetInterfacesInterfaceTaggedVlanArrayOutput
func (GetInterfacesInterfaceTaggedVlanArray) ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext ¶
func (i GetInterfacesInterfaceTaggedVlanArray) ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanArrayOutput
type GetInterfacesInterfaceTaggedVlanArrayInput ¶
type GetInterfacesInterfaceTaggedVlanArrayInput interface {
pulumi.Input
ToGetInterfacesInterfaceTaggedVlanArrayOutput() GetInterfacesInterfaceTaggedVlanArrayOutput
ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext(context.Context) GetInterfacesInterfaceTaggedVlanArrayOutput
}
GetInterfacesInterfaceTaggedVlanArrayInput is an input type that accepts GetInterfacesInterfaceTaggedVlanArray and GetInterfacesInterfaceTaggedVlanArrayOutput values. You can construct a concrete instance of `GetInterfacesInterfaceTaggedVlanArrayInput` via:
GetInterfacesInterfaceTaggedVlanArray{ GetInterfacesInterfaceTaggedVlanArgs{...} }
type GetInterfacesInterfaceTaggedVlanArrayOutput ¶
type GetInterfacesInterfaceTaggedVlanArrayOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceTaggedVlanArrayOutput) ElementType ¶
func (GetInterfacesInterfaceTaggedVlanArrayOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceTaggedVlanArrayOutput) ToGetInterfacesInterfaceTaggedVlanArrayOutput ¶
func (o GetInterfacesInterfaceTaggedVlanArrayOutput) ToGetInterfacesInterfaceTaggedVlanArrayOutput() GetInterfacesInterfaceTaggedVlanArrayOutput
func (GetInterfacesInterfaceTaggedVlanArrayOutput) ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext ¶
func (o GetInterfacesInterfaceTaggedVlanArrayOutput) ToGetInterfacesInterfaceTaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanArrayOutput
type GetInterfacesInterfaceTaggedVlanInput ¶
type GetInterfacesInterfaceTaggedVlanInput interface {
pulumi.Input
ToGetInterfacesInterfaceTaggedVlanOutput() GetInterfacesInterfaceTaggedVlanOutput
ToGetInterfacesInterfaceTaggedVlanOutputWithContext(context.Context) GetInterfacesInterfaceTaggedVlanOutput
}
GetInterfacesInterfaceTaggedVlanInput is an input type that accepts GetInterfacesInterfaceTaggedVlanArgs and GetInterfacesInterfaceTaggedVlanOutput values. You can construct a concrete instance of `GetInterfacesInterfaceTaggedVlanInput` via:
GetInterfacesInterfaceTaggedVlanArgs{...}
type GetInterfacesInterfaceTaggedVlanOutput ¶
type GetInterfacesInterfaceTaggedVlanOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceTaggedVlanOutput) ElementType ¶
func (GetInterfacesInterfaceTaggedVlanOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceTaggedVlanOutput) Id ¶
func (o GetInterfacesInterfaceTaggedVlanOutput) Id() pulumi.IntOutput
func (GetInterfacesInterfaceTaggedVlanOutput) Name ¶
func (o GetInterfacesInterfaceTaggedVlanOutput) Name() pulumi.StringOutput
func (GetInterfacesInterfaceTaggedVlanOutput) ToGetInterfacesInterfaceTaggedVlanOutput ¶
func (o GetInterfacesInterfaceTaggedVlanOutput) ToGetInterfacesInterfaceTaggedVlanOutput() GetInterfacesInterfaceTaggedVlanOutput
func (GetInterfacesInterfaceTaggedVlanOutput) ToGetInterfacesInterfaceTaggedVlanOutputWithContext ¶
func (o GetInterfacesInterfaceTaggedVlanOutput) ToGetInterfacesInterfaceTaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceTaggedVlanOutput
func (GetInterfacesInterfaceTaggedVlanOutput) Vid ¶
func (o GetInterfacesInterfaceTaggedVlanOutput) Vid() pulumi.IntOutput
type GetInterfacesInterfaceUntaggedVlanArgs ¶
type GetInterfacesInterfaceUntaggedVlanArgs struct {
Id pulumi.IntInput `pulumi:"id"`
Name pulumi.StringInput `pulumi:"name"`
Vid pulumi.IntInput `pulumi:"vid"`
}
func (GetInterfacesInterfaceUntaggedVlanArgs) ElementType ¶
func (GetInterfacesInterfaceUntaggedVlanArgs) ElementType() reflect.Type
func (GetInterfacesInterfaceUntaggedVlanArgs) ToGetInterfacesInterfaceUntaggedVlanOutput ¶
func (i GetInterfacesInterfaceUntaggedVlanArgs) ToGetInterfacesInterfaceUntaggedVlanOutput() GetInterfacesInterfaceUntaggedVlanOutput
func (GetInterfacesInterfaceUntaggedVlanArgs) ToGetInterfacesInterfaceUntaggedVlanOutputWithContext ¶
func (i GetInterfacesInterfaceUntaggedVlanArgs) ToGetInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanOutput
type GetInterfacesInterfaceUntaggedVlanArray ¶
type GetInterfacesInterfaceUntaggedVlanArray []GetInterfacesInterfaceUntaggedVlanInput
func (GetInterfacesInterfaceUntaggedVlanArray) ElementType ¶
func (GetInterfacesInterfaceUntaggedVlanArray) ElementType() reflect.Type
func (GetInterfacesInterfaceUntaggedVlanArray) ToGetInterfacesInterfaceUntaggedVlanArrayOutput ¶
func (i GetInterfacesInterfaceUntaggedVlanArray) ToGetInterfacesInterfaceUntaggedVlanArrayOutput() GetInterfacesInterfaceUntaggedVlanArrayOutput
func (GetInterfacesInterfaceUntaggedVlanArray) ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext ¶
func (i GetInterfacesInterfaceUntaggedVlanArray) ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanArrayOutput
type GetInterfacesInterfaceUntaggedVlanArrayInput ¶
type GetInterfacesInterfaceUntaggedVlanArrayInput interface {
pulumi.Input
ToGetInterfacesInterfaceUntaggedVlanArrayOutput() GetInterfacesInterfaceUntaggedVlanArrayOutput
ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext(context.Context) GetInterfacesInterfaceUntaggedVlanArrayOutput
}
GetInterfacesInterfaceUntaggedVlanArrayInput is an input type that accepts GetInterfacesInterfaceUntaggedVlanArray and GetInterfacesInterfaceUntaggedVlanArrayOutput values. You can construct a concrete instance of `GetInterfacesInterfaceUntaggedVlanArrayInput` via:
GetInterfacesInterfaceUntaggedVlanArray{ GetInterfacesInterfaceUntaggedVlanArgs{...} }
type GetInterfacesInterfaceUntaggedVlanArrayOutput ¶
type GetInterfacesInterfaceUntaggedVlanArrayOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceUntaggedVlanArrayOutput) ElementType ¶
func (GetInterfacesInterfaceUntaggedVlanArrayOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceUntaggedVlanArrayOutput) ToGetInterfacesInterfaceUntaggedVlanArrayOutput ¶
func (o GetInterfacesInterfaceUntaggedVlanArrayOutput) ToGetInterfacesInterfaceUntaggedVlanArrayOutput() GetInterfacesInterfaceUntaggedVlanArrayOutput
func (GetInterfacesInterfaceUntaggedVlanArrayOutput) ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext ¶
func (o GetInterfacesInterfaceUntaggedVlanArrayOutput) ToGetInterfacesInterfaceUntaggedVlanArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanArrayOutput
type GetInterfacesInterfaceUntaggedVlanInput ¶
type GetInterfacesInterfaceUntaggedVlanInput interface {
pulumi.Input
ToGetInterfacesInterfaceUntaggedVlanOutput() GetInterfacesInterfaceUntaggedVlanOutput
ToGetInterfacesInterfaceUntaggedVlanOutputWithContext(context.Context) GetInterfacesInterfaceUntaggedVlanOutput
}
GetInterfacesInterfaceUntaggedVlanInput is an input type that accepts GetInterfacesInterfaceUntaggedVlanArgs and GetInterfacesInterfaceUntaggedVlanOutput values. You can construct a concrete instance of `GetInterfacesInterfaceUntaggedVlanInput` via:
GetInterfacesInterfaceUntaggedVlanArgs{...}
type GetInterfacesInterfaceUntaggedVlanOutput ¶
type GetInterfacesInterfaceUntaggedVlanOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceUntaggedVlanOutput) ElementType ¶
func (GetInterfacesInterfaceUntaggedVlanOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceUntaggedVlanOutput) Id ¶
func (o GetInterfacesInterfaceUntaggedVlanOutput) Id() pulumi.IntOutput
func (GetInterfacesInterfaceUntaggedVlanOutput) Name ¶
func (o GetInterfacesInterfaceUntaggedVlanOutput) Name() pulumi.StringOutput
func (GetInterfacesInterfaceUntaggedVlanOutput) ToGetInterfacesInterfaceUntaggedVlanOutput ¶
func (o GetInterfacesInterfaceUntaggedVlanOutput) ToGetInterfacesInterfaceUntaggedVlanOutput() GetInterfacesInterfaceUntaggedVlanOutput
func (GetInterfacesInterfaceUntaggedVlanOutput) ToGetInterfacesInterfaceUntaggedVlanOutputWithContext ¶
func (o GetInterfacesInterfaceUntaggedVlanOutput) ToGetInterfacesInterfaceUntaggedVlanOutputWithContext(ctx context.Context) GetInterfacesInterfaceUntaggedVlanOutput
func (GetInterfacesInterfaceUntaggedVlanOutput) Vid ¶
func (o GetInterfacesInterfaceUntaggedVlanOutput) Vid() pulumi.IntOutput
type GetInterfacesOutputArgs ¶
type GetInterfacesOutputArgs struct {
Filters GetInterfacesFilterArrayInput `pulumi:"filters"`
// The limit of objects to return from the API lookup. Defaults to `0`.
Limit pulumi.IntPtrInput `pulumi:"limit"`
NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
}
A collection of arguments for invoking getInterfaces.
func (GetInterfacesOutputArgs) ElementType ¶
func (GetInterfacesOutputArgs) ElementType() reflect.Type
type GetInterfacesResult ¶
type GetInterfacesResult struct {
Filters []GetInterfacesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Interfaces []GetInterfacesInterface `pulumi:"interfaces"`
// The limit of objects to return from the API lookup. Defaults to `0`.
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of values returned by getInterfaces.
func GetInterfaces ¶
func GetInterfaces(ctx *pulumi.Context, args *GetInterfacesArgs, opts ...pulumi.InvokeOption) (*GetInterfacesResult, error)
## Example Usage
type GetInterfacesResultOutput ¶
type GetInterfacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInterfaces.
func GetInterfacesOutput ¶
func GetInterfacesOutput(ctx *pulumi.Context, args GetInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetInterfacesResultOutput
func (GetInterfacesResultOutput) ElementType ¶
func (GetInterfacesResultOutput) ElementType() reflect.Type
func (GetInterfacesResultOutput) Filters ¶
func (o GetInterfacesResultOutput) Filters() GetInterfacesFilterArrayOutput
func (GetInterfacesResultOutput) Id ¶
func (o GetInterfacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInterfacesResultOutput) Interfaces ¶
func (o GetInterfacesResultOutput) Interfaces() GetInterfacesInterfaceArrayOutput
func (GetInterfacesResultOutput) Limit ¶
func (o GetInterfacesResultOutput) Limit() pulumi.IntPtrOutput
The limit of objects to return from the API lookup. Defaults to `0`.
func (GetInterfacesResultOutput) NameRegex ¶
func (o GetInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetInterfacesResultOutput) ToGetInterfacesResultOutput ¶
func (o GetInterfacesResultOutput) ToGetInterfacesResultOutput() GetInterfacesResultOutput
func (GetInterfacesResultOutput) ToGetInterfacesResultOutputWithContext ¶
func (o GetInterfacesResultOutput) ToGetInterfacesResultOutputWithContext(ctx context.Context) GetInterfacesResultOutput
type GetVirtualMachinesArgs ¶
type GetVirtualMachinesArgs struct {
Filters []GetVirtualMachinesFilter `pulumi:"filters"`
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
}
A collection of arguments for invoking getVirtualMachines.
type GetVirtualMachinesFilterArgs ¶
type GetVirtualMachinesFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (GetVirtualMachinesFilterArgs) ElementType ¶
func (GetVirtualMachinesFilterArgs) ElementType() reflect.Type
func (GetVirtualMachinesFilterArgs) ToGetVirtualMachinesFilterOutput ¶
func (i GetVirtualMachinesFilterArgs) ToGetVirtualMachinesFilterOutput() GetVirtualMachinesFilterOutput
func (GetVirtualMachinesFilterArgs) ToGetVirtualMachinesFilterOutputWithContext ¶
func (i GetVirtualMachinesFilterArgs) ToGetVirtualMachinesFilterOutputWithContext(ctx context.Context) GetVirtualMachinesFilterOutput
type GetVirtualMachinesFilterArray ¶
type GetVirtualMachinesFilterArray []GetVirtualMachinesFilterInput
func (GetVirtualMachinesFilterArray) ElementType ¶
func (GetVirtualMachinesFilterArray) ElementType() reflect.Type
func (GetVirtualMachinesFilterArray) ToGetVirtualMachinesFilterArrayOutput ¶
func (i GetVirtualMachinesFilterArray) ToGetVirtualMachinesFilterArrayOutput() GetVirtualMachinesFilterArrayOutput
func (GetVirtualMachinesFilterArray) ToGetVirtualMachinesFilterArrayOutputWithContext ¶
func (i GetVirtualMachinesFilterArray) ToGetVirtualMachinesFilterArrayOutputWithContext(ctx context.Context) GetVirtualMachinesFilterArrayOutput
type GetVirtualMachinesFilterArrayInput ¶
type GetVirtualMachinesFilterArrayInput interface {
pulumi.Input
ToGetVirtualMachinesFilterArrayOutput() GetVirtualMachinesFilterArrayOutput
ToGetVirtualMachinesFilterArrayOutputWithContext(context.Context) GetVirtualMachinesFilterArrayOutput
}
GetVirtualMachinesFilterArrayInput is an input type that accepts GetVirtualMachinesFilterArray and GetVirtualMachinesFilterArrayOutput values. You can construct a concrete instance of `GetVirtualMachinesFilterArrayInput` via:
GetVirtualMachinesFilterArray{ GetVirtualMachinesFilterArgs{...} }
type GetVirtualMachinesFilterArrayOutput ¶
type GetVirtualMachinesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetVirtualMachinesFilterArrayOutput) ElementType ¶
func (GetVirtualMachinesFilterArrayOutput) ElementType() reflect.Type
func (GetVirtualMachinesFilterArrayOutput) Index ¶
func (o GetVirtualMachinesFilterArrayOutput) Index(i pulumi.IntInput) GetVirtualMachinesFilterOutput
func (GetVirtualMachinesFilterArrayOutput) ToGetVirtualMachinesFilterArrayOutput ¶
func (o GetVirtualMachinesFilterArrayOutput) ToGetVirtualMachinesFilterArrayOutput() GetVirtualMachinesFilterArrayOutput
func (GetVirtualMachinesFilterArrayOutput) ToGetVirtualMachinesFilterArrayOutputWithContext ¶
func (o GetVirtualMachinesFilterArrayOutput) ToGetVirtualMachinesFilterArrayOutputWithContext(ctx context.Context) GetVirtualMachinesFilterArrayOutput
type GetVirtualMachinesFilterInput ¶
type GetVirtualMachinesFilterInput interface {
pulumi.Input
ToGetVirtualMachinesFilterOutput() GetVirtualMachinesFilterOutput
ToGetVirtualMachinesFilterOutputWithContext(context.Context) GetVirtualMachinesFilterOutput
}
GetVirtualMachinesFilterInput is an input type that accepts GetVirtualMachinesFilterArgs and GetVirtualMachinesFilterOutput values. You can construct a concrete instance of `GetVirtualMachinesFilterInput` via:
GetVirtualMachinesFilterArgs{...}
type GetVirtualMachinesFilterOutput ¶
type GetVirtualMachinesFilterOutput struct{ *pulumi.OutputState }
func (GetVirtualMachinesFilterOutput) ElementType ¶
func (GetVirtualMachinesFilterOutput) ElementType() reflect.Type
func (GetVirtualMachinesFilterOutput) Name ¶
func (o GetVirtualMachinesFilterOutput) Name() pulumi.StringOutput
func (GetVirtualMachinesFilterOutput) ToGetVirtualMachinesFilterOutput ¶
func (o GetVirtualMachinesFilterOutput) ToGetVirtualMachinesFilterOutput() GetVirtualMachinesFilterOutput
func (GetVirtualMachinesFilterOutput) ToGetVirtualMachinesFilterOutputWithContext ¶
func (o GetVirtualMachinesFilterOutput) ToGetVirtualMachinesFilterOutputWithContext(ctx context.Context) GetVirtualMachinesFilterOutput
func (GetVirtualMachinesFilterOutput) Value ¶
func (o GetVirtualMachinesFilterOutput) Value() pulumi.StringOutput
type GetVirtualMachinesOutputArgs ¶
type GetVirtualMachinesOutputArgs struct {
Filters GetVirtualMachinesFilterArrayInput `pulumi:"filters"`
Limit pulumi.IntPtrInput `pulumi:"limit"`
NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
}
A collection of arguments for invoking getVirtualMachines.
func (GetVirtualMachinesOutputArgs) ElementType ¶
func (GetVirtualMachinesOutputArgs) ElementType() reflect.Type
type GetVirtualMachinesResult ¶
type GetVirtualMachinesResult struct {
Filters []GetVirtualMachinesFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Limit *int `pulumi:"limit"`
NameRegex *string `pulumi:"nameRegex"`
Vms []GetVirtualMachinesVm `pulumi:"vms"`
}
A collection of values returned by getVirtualMachines.
func GetVirtualMachines ¶
func GetVirtualMachines(ctx *pulumi.Context, args *GetVirtualMachinesArgs, opts ...pulumi.InvokeOption) (*GetVirtualMachinesResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Assumes vmw-cluster-01 exists as a cluster in Netbox
vmwCluster01, err := virt.LookupCluster(ctx, &virt.LookupClusterArgs{
Name: pulumi.StringRef("vmw-cluster-01"),
}, nil)
if err != nil {
return err
}
_, err = virt.GetVirtualMachines(ctx, &virt.GetVirtualMachinesArgs{
NameRegex: pulumi.StringRef("myvm-1"),
Filters: []virt.GetVirtualMachinesFilter{
{
Name: "cluster_id",
Value: vmwCluster01.Id,
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetVirtualMachinesResultOutput ¶
type GetVirtualMachinesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVirtualMachines.
func GetVirtualMachinesOutput ¶
func GetVirtualMachinesOutput(ctx *pulumi.Context, args GetVirtualMachinesOutputArgs, opts ...pulumi.InvokeOption) GetVirtualMachinesResultOutput
func (GetVirtualMachinesResultOutput) ElementType ¶
func (GetVirtualMachinesResultOutput) ElementType() reflect.Type
func (GetVirtualMachinesResultOutput) Filters ¶
func (o GetVirtualMachinesResultOutput) Filters() GetVirtualMachinesFilterArrayOutput
func (GetVirtualMachinesResultOutput) Id ¶
func (o GetVirtualMachinesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVirtualMachinesResultOutput) Limit ¶
func (o GetVirtualMachinesResultOutput) Limit() pulumi.IntPtrOutput
func (GetVirtualMachinesResultOutput) NameRegex ¶
func (o GetVirtualMachinesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetVirtualMachinesResultOutput) ToGetVirtualMachinesResultOutput ¶
func (o GetVirtualMachinesResultOutput) ToGetVirtualMachinesResultOutput() GetVirtualMachinesResultOutput
func (GetVirtualMachinesResultOutput) ToGetVirtualMachinesResultOutputWithContext ¶
func (o GetVirtualMachinesResultOutput) ToGetVirtualMachinesResultOutputWithContext(ctx context.Context) GetVirtualMachinesResultOutput
func (GetVirtualMachinesResultOutput) Vms ¶
func (o GetVirtualMachinesResultOutput) Vms() GetVirtualMachinesVmArrayOutput
type GetVirtualMachinesVm ¶
type GetVirtualMachinesVm struct {
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"`
DeviceName string `pulumi:"deviceName"`
DiskSizeMb int `pulumi:"diskSizeMb"`
LocalContextData string `pulumi:"localContextData"`
MemoryMb int `pulumi:"memoryMb"`
Name string `pulumi:"name"`
PlatformId int `pulumi:"platformId"`
PlatformSlug string `pulumi:"platformSlug"`
PrimaryIp string `pulumi:"primaryIp"`
PrimaryIp4 string `pulumi:"primaryIp4"`
PrimaryIp6 string `pulumi:"primaryIp6"`
RoleId int `pulumi:"roleId"`
SiteId int `pulumi:"siteId"`
Status string `pulumi:"status"`
TagIds []int `pulumi:"tagIds"`
TenantId int `pulumi:"tenantId"`
Vcpus float64 `pulumi:"vcpus"`
VmId int `pulumi:"vmId"`
}
type GetVirtualMachinesVmArgs ¶
type GetVirtualMachinesVmArgs struct {
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"`
DeviceName pulumi.StringInput `pulumi:"deviceName"`
DiskSizeMb pulumi.IntInput `pulumi:"diskSizeMb"`
LocalContextData pulumi.StringInput `pulumi:"localContextData"`
MemoryMb pulumi.IntInput `pulumi:"memoryMb"`
Name pulumi.StringInput `pulumi:"name"`
PlatformId pulumi.IntInput `pulumi:"platformId"`
PlatformSlug pulumi.StringInput `pulumi:"platformSlug"`
PrimaryIp pulumi.StringInput `pulumi:"primaryIp"`
PrimaryIp4 pulumi.StringInput `pulumi:"primaryIp4"`
PrimaryIp6 pulumi.StringInput `pulumi:"primaryIp6"`
RoleId pulumi.IntInput `pulumi:"roleId"`
SiteId pulumi.IntInput `pulumi:"siteId"`
Status pulumi.StringInput `pulumi:"status"`
TagIds pulumi.IntArrayInput `pulumi:"tagIds"`
TenantId pulumi.IntInput `pulumi:"tenantId"`
Vcpus pulumi.Float64Input `pulumi:"vcpus"`
VmId pulumi.IntInput `pulumi:"vmId"`
}
func (GetVirtualMachinesVmArgs) ElementType ¶
func (GetVirtualMachinesVmArgs) ElementType() reflect.Type
func (GetVirtualMachinesVmArgs) ToGetVirtualMachinesVmOutput ¶
func (i GetVirtualMachinesVmArgs) ToGetVirtualMachinesVmOutput() GetVirtualMachinesVmOutput
func (GetVirtualMachinesVmArgs) ToGetVirtualMachinesVmOutputWithContext ¶
func (i GetVirtualMachinesVmArgs) ToGetVirtualMachinesVmOutputWithContext(ctx context.Context) GetVirtualMachinesVmOutput
type GetVirtualMachinesVmArray ¶
type GetVirtualMachinesVmArray []GetVirtualMachinesVmInput
func (GetVirtualMachinesVmArray) ElementType ¶
func (GetVirtualMachinesVmArray) ElementType() reflect.Type
func (GetVirtualMachinesVmArray) ToGetVirtualMachinesVmArrayOutput ¶
func (i GetVirtualMachinesVmArray) ToGetVirtualMachinesVmArrayOutput() GetVirtualMachinesVmArrayOutput
func (GetVirtualMachinesVmArray) ToGetVirtualMachinesVmArrayOutputWithContext ¶
func (i GetVirtualMachinesVmArray) ToGetVirtualMachinesVmArrayOutputWithContext(ctx context.Context) GetVirtualMachinesVmArrayOutput
type GetVirtualMachinesVmArrayInput ¶
type GetVirtualMachinesVmArrayInput interface {
pulumi.Input
ToGetVirtualMachinesVmArrayOutput() GetVirtualMachinesVmArrayOutput
ToGetVirtualMachinesVmArrayOutputWithContext(context.Context) GetVirtualMachinesVmArrayOutput
}
GetVirtualMachinesVmArrayInput is an input type that accepts GetVirtualMachinesVmArray and GetVirtualMachinesVmArrayOutput values. You can construct a concrete instance of `GetVirtualMachinesVmArrayInput` via:
GetVirtualMachinesVmArray{ GetVirtualMachinesVmArgs{...} }
type GetVirtualMachinesVmArrayOutput ¶
type GetVirtualMachinesVmArrayOutput struct{ *pulumi.OutputState }
func (GetVirtualMachinesVmArrayOutput) ElementType ¶
func (GetVirtualMachinesVmArrayOutput) ElementType() reflect.Type
func (GetVirtualMachinesVmArrayOutput) Index ¶
func (o GetVirtualMachinesVmArrayOutput) Index(i pulumi.IntInput) GetVirtualMachinesVmOutput
func (GetVirtualMachinesVmArrayOutput) ToGetVirtualMachinesVmArrayOutput ¶
func (o GetVirtualMachinesVmArrayOutput) ToGetVirtualMachinesVmArrayOutput() GetVirtualMachinesVmArrayOutput
func (GetVirtualMachinesVmArrayOutput) ToGetVirtualMachinesVmArrayOutputWithContext ¶
func (o GetVirtualMachinesVmArrayOutput) ToGetVirtualMachinesVmArrayOutputWithContext(ctx context.Context) GetVirtualMachinesVmArrayOutput
type GetVirtualMachinesVmInput ¶
type GetVirtualMachinesVmInput interface {
pulumi.Input
ToGetVirtualMachinesVmOutput() GetVirtualMachinesVmOutput
ToGetVirtualMachinesVmOutputWithContext(context.Context) GetVirtualMachinesVmOutput
}
GetVirtualMachinesVmInput is an input type that accepts GetVirtualMachinesVmArgs and GetVirtualMachinesVmOutput values. You can construct a concrete instance of `GetVirtualMachinesVmInput` via:
GetVirtualMachinesVmArgs{...}
type GetVirtualMachinesVmOutput ¶
type GetVirtualMachinesVmOutput struct{ *pulumi.OutputState }
func (GetVirtualMachinesVmOutput) ClusterId ¶
func (o GetVirtualMachinesVmOutput) ClusterId() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) Comments ¶
func (o GetVirtualMachinesVmOutput) Comments() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) ConfigContext ¶
func (o GetVirtualMachinesVmOutput) ConfigContext() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) CustomFields ¶
func (o GetVirtualMachinesVmOutput) CustomFields() pulumi.StringMapOutput
func (GetVirtualMachinesVmOutput) Description ¶
func (o GetVirtualMachinesVmOutput) Description() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) DeviceId ¶
func (o GetVirtualMachinesVmOutput) DeviceId() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) DeviceName ¶
func (o GetVirtualMachinesVmOutput) DeviceName() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) DiskSizeMb ¶
func (o GetVirtualMachinesVmOutput) DiskSizeMb() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) ElementType ¶
func (GetVirtualMachinesVmOutput) ElementType() reflect.Type
func (GetVirtualMachinesVmOutput) LocalContextData ¶
func (o GetVirtualMachinesVmOutput) LocalContextData() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) MemoryMb ¶
func (o GetVirtualMachinesVmOutput) MemoryMb() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) Name ¶
func (o GetVirtualMachinesVmOutput) Name() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) PlatformId ¶
func (o GetVirtualMachinesVmOutput) PlatformId() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) PlatformSlug ¶
func (o GetVirtualMachinesVmOutput) PlatformSlug() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) PrimaryIp ¶
func (o GetVirtualMachinesVmOutput) PrimaryIp() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) PrimaryIp4 ¶
func (o GetVirtualMachinesVmOutput) PrimaryIp4() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) PrimaryIp6 ¶
func (o GetVirtualMachinesVmOutput) PrimaryIp6() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) RoleId ¶
func (o GetVirtualMachinesVmOutput) RoleId() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) SiteId ¶
func (o GetVirtualMachinesVmOutput) SiteId() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) Status ¶
func (o GetVirtualMachinesVmOutput) Status() pulumi.StringOutput
func (GetVirtualMachinesVmOutput) TagIds ¶
func (o GetVirtualMachinesVmOutput) TagIds() pulumi.IntArrayOutput
func (GetVirtualMachinesVmOutput) TenantId ¶
func (o GetVirtualMachinesVmOutput) TenantId() pulumi.IntOutput
func (GetVirtualMachinesVmOutput) ToGetVirtualMachinesVmOutput ¶
func (o GetVirtualMachinesVmOutput) ToGetVirtualMachinesVmOutput() GetVirtualMachinesVmOutput
func (GetVirtualMachinesVmOutput) ToGetVirtualMachinesVmOutputWithContext ¶
func (o GetVirtualMachinesVmOutput) ToGetVirtualMachinesVmOutputWithContext(ctx context.Context) GetVirtualMachinesVmOutput
func (GetVirtualMachinesVmOutput) Vcpus ¶
func (o GetVirtualMachinesVmOutput) Vcpus() pulumi.Float64Output
func (GetVirtualMachinesVmOutput) VmId ¶
func (o GetVirtualMachinesVmOutput) VmId() pulumi.IntOutput
type Interface ¶
type Interface struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
// Defaults to `true`.
Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
MacAddress pulumi.StringPtrOutput `pulumi:"macAddress"`
// Valid values are `access`, `tagged` and `tagged-all`.
Mode pulumi.StringPtrOutput `pulumi:"mode"`
Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
Name pulumi.StringOutput `pulumi:"name"`
TaggedVlans pulumi.IntArrayOutput `pulumi:"taggedVlans"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
// Deprecated: This attribute is not supported by netbox any longer. It will be removed in future versions of this provider.
Type pulumi.StringPtrOutput `pulumi:"type"`
UntaggedVlan pulumi.IntPtrOutput `pulumi:"untaggedVlan"`
VirtualMachineId pulumi.IntOutput `pulumi:"virtualMachineId"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/virtualization/#interfaces):
> Virtual machine interfaces behave similarly to device interfaces, and can be assigned to VRFs, and may have IP addresses, VLANs, and services attached to them. However, given their virtual nature, they lack properties pertaining to physical attributes. For example, VM interfaces do not have a physical type and cannot have cables attached to them.
func GetInterface ¶
func GetInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceState, opts ...pulumi.ResourceOption) (*Interface, error)
GetInterface gets an existing Interface 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 NewInterface ¶
func NewInterface(ctx *pulumi.Context, name string, args *InterfaceArgs, opts ...pulumi.ResourceOption) (*Interface, error)
NewInterface registers a new resource with the given unique name, arguments, and options.
func (*Interface) ElementType ¶
func (*Interface) ToInterfaceOutput ¶
func (i *Interface) ToInterfaceOutput() InterfaceOutput
func (*Interface) ToInterfaceOutputWithContext ¶
func (i *Interface) ToInterfaceOutputWithContext(ctx context.Context) InterfaceOutput
type InterfaceArgs ¶
type InterfaceArgs struct {
Description pulumi.StringPtrInput
// Defaults to `true`.
Enabled pulumi.BoolPtrInput
MacAddress pulumi.StringPtrInput
// Valid values are `access`, `tagged` and `tagged-all`.
Mode pulumi.StringPtrInput
Mtu pulumi.IntPtrInput
Name pulumi.StringPtrInput
TaggedVlans pulumi.IntArrayInput
Tags pulumi.StringArrayInput
// Deprecated: This attribute is not supported by netbox any longer. It will be removed in future versions of this provider.
Type pulumi.StringPtrInput
UntaggedVlan pulumi.IntPtrInput
VirtualMachineId pulumi.IntInput
}
The set of arguments for constructing a Interface resource.
func (InterfaceArgs) ElementType ¶
func (InterfaceArgs) ElementType() reflect.Type
type InterfaceArray ¶
type InterfaceArray []InterfaceInput
func (InterfaceArray) ElementType ¶
func (InterfaceArray) ElementType() reflect.Type
func (InterfaceArray) ToInterfaceArrayOutput ¶
func (i InterfaceArray) ToInterfaceArrayOutput() InterfaceArrayOutput
func (InterfaceArray) ToInterfaceArrayOutputWithContext ¶
func (i InterfaceArray) ToInterfaceArrayOutputWithContext(ctx context.Context) InterfaceArrayOutput
type InterfaceArrayInput ¶
type InterfaceArrayInput interface {
pulumi.Input
ToInterfaceArrayOutput() InterfaceArrayOutput
ToInterfaceArrayOutputWithContext(context.Context) InterfaceArrayOutput
}
InterfaceArrayInput is an input type that accepts InterfaceArray and InterfaceArrayOutput values. You can construct a concrete instance of `InterfaceArrayInput` via:
InterfaceArray{ InterfaceArgs{...} }
type InterfaceArrayOutput ¶
type InterfaceArrayOutput struct{ *pulumi.OutputState }
func (InterfaceArrayOutput) ElementType ¶
func (InterfaceArrayOutput) ElementType() reflect.Type
func (InterfaceArrayOutput) Index ¶
func (o InterfaceArrayOutput) Index(i pulumi.IntInput) InterfaceOutput
func (InterfaceArrayOutput) ToInterfaceArrayOutput ¶
func (o InterfaceArrayOutput) ToInterfaceArrayOutput() InterfaceArrayOutput
func (InterfaceArrayOutput) ToInterfaceArrayOutputWithContext ¶
func (o InterfaceArrayOutput) ToInterfaceArrayOutputWithContext(ctx context.Context) InterfaceArrayOutput
type InterfaceInput ¶
type InterfaceInput interface {
pulumi.Input
ToInterfaceOutput() InterfaceOutput
ToInterfaceOutputWithContext(ctx context.Context) InterfaceOutput
}
type InterfaceMap ¶
type InterfaceMap map[string]InterfaceInput
func (InterfaceMap) ElementType ¶
func (InterfaceMap) ElementType() reflect.Type
func (InterfaceMap) ToInterfaceMapOutput ¶
func (i InterfaceMap) ToInterfaceMapOutput() InterfaceMapOutput
func (InterfaceMap) ToInterfaceMapOutputWithContext ¶
func (i InterfaceMap) ToInterfaceMapOutputWithContext(ctx context.Context) InterfaceMapOutput
type InterfaceMapInput ¶
type InterfaceMapInput interface {
pulumi.Input
ToInterfaceMapOutput() InterfaceMapOutput
ToInterfaceMapOutputWithContext(context.Context) InterfaceMapOutput
}
InterfaceMapInput is an input type that accepts InterfaceMap and InterfaceMapOutput values. You can construct a concrete instance of `InterfaceMapInput` via:
InterfaceMap{ "key": InterfaceArgs{...} }
type InterfaceMapOutput ¶
type InterfaceMapOutput struct{ *pulumi.OutputState }
func (InterfaceMapOutput) ElementType ¶
func (InterfaceMapOutput) ElementType() reflect.Type
func (InterfaceMapOutput) MapIndex ¶
func (o InterfaceMapOutput) MapIndex(k pulumi.StringInput) InterfaceOutput
func (InterfaceMapOutput) ToInterfaceMapOutput ¶
func (o InterfaceMapOutput) ToInterfaceMapOutput() InterfaceMapOutput
func (InterfaceMapOutput) ToInterfaceMapOutputWithContext ¶
func (o InterfaceMapOutput) ToInterfaceMapOutputWithContext(ctx context.Context) InterfaceMapOutput
type InterfaceOutput ¶
type InterfaceOutput struct{ *pulumi.OutputState }
func (InterfaceOutput) Description ¶
func (o InterfaceOutput) Description() pulumi.StringPtrOutput
func (InterfaceOutput) ElementType ¶
func (InterfaceOutput) ElementType() reflect.Type
func (InterfaceOutput) Enabled ¶
func (o InterfaceOutput) Enabled() pulumi.BoolPtrOutput
Defaults to `true`.
func (InterfaceOutput) MacAddress ¶
func (o InterfaceOutput) MacAddress() pulumi.StringPtrOutput
func (InterfaceOutput) Mode ¶
func (o InterfaceOutput) Mode() pulumi.StringPtrOutput
Valid values are `access`, `tagged` and `tagged-all`.
func (InterfaceOutput) Mtu ¶
func (o InterfaceOutput) Mtu() pulumi.IntPtrOutput
func (InterfaceOutput) Name ¶
func (o InterfaceOutput) Name() pulumi.StringOutput
func (InterfaceOutput) TaggedVlans ¶
func (o InterfaceOutput) TaggedVlans() pulumi.IntArrayOutput
func (InterfaceOutput) Tags ¶
func (o InterfaceOutput) Tags() pulumi.StringArrayOutput
func (InterfaceOutput) TagsAlls ¶
func (o InterfaceOutput) TagsAlls() pulumi.StringArrayOutput
func (InterfaceOutput) ToInterfaceOutput ¶
func (o InterfaceOutput) ToInterfaceOutput() InterfaceOutput
func (InterfaceOutput) ToInterfaceOutputWithContext ¶
func (o InterfaceOutput) ToInterfaceOutputWithContext(ctx context.Context) InterfaceOutput
func (InterfaceOutput) Type
deprecated
func (o InterfaceOutput) Type() pulumi.StringPtrOutput
Deprecated: This attribute is not supported by netbox any longer. It will be removed in future versions of this provider.
func (InterfaceOutput) UntaggedVlan ¶
func (o InterfaceOutput) UntaggedVlan() pulumi.IntPtrOutput
func (InterfaceOutput) VirtualMachineId ¶
func (o InterfaceOutput) VirtualMachineId() pulumi.IntOutput
type InterfaceState ¶
type InterfaceState struct {
Description pulumi.StringPtrInput
// Defaults to `true`.
Enabled pulumi.BoolPtrInput
MacAddress pulumi.StringPtrInput
// Valid values are `access`, `tagged` and `tagged-all`.
Mode pulumi.StringPtrInput
Mtu pulumi.IntPtrInput
Name pulumi.StringPtrInput
TaggedVlans pulumi.IntArrayInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
// Deprecated: This attribute is not supported by netbox any longer. It will be removed in future versions of this provider.
Type pulumi.StringPtrInput
UntaggedVlan pulumi.IntPtrInput
VirtualMachineId pulumi.IntPtrInput
}
func (InterfaceState) ElementType ¶
func (InterfaceState) ElementType() reflect.Type
type LookupClusterArgs ¶
type LookupClusterArgs struct {
ClusterGroupId *int `pulumi:"clusterGroupId"`
// At least one of `name`, `siteId` or `id` must be given.
Id *string `pulumi:"id"`
// At least one of `name`, `siteId` or `id` must be given.
Name *string `pulumi:"name"`
// At least one of `name`, `siteId` or `id` must be given.
SiteId *int `pulumi:"siteId"`
}
A collection of arguments for invoking getCluster.
type LookupClusterGroupArgs ¶
type LookupClusterGroupArgs struct {
Name string `pulumi:"name"`
}
A collection of arguments for invoking getClusterGroup.
type LookupClusterGroupOutputArgs ¶
type LookupClusterGroupOutputArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getClusterGroup.
func (LookupClusterGroupOutputArgs) ElementType ¶
func (LookupClusterGroupOutputArgs) ElementType() reflect.Type
type LookupClusterGroupResult ¶
type LookupClusterGroupResult struct {
ClusterGroupId int `pulumi:"clusterGroupId"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
}
A collection of values returned by getClusterGroup.
func LookupClusterGroup ¶
func LookupClusterGroup(ctx *pulumi.Context, args *LookupClusterGroupArgs, opts ...pulumi.InvokeOption) (*LookupClusterGroupResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := virt.LookupClusterGroup(ctx, &virt.LookupClusterGroupArgs{
Name: "dc-west",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupClusterGroupResultOutput ¶
type LookupClusterGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusterGroup.
func LookupClusterGroupOutput ¶
func LookupClusterGroupOutput(ctx *pulumi.Context, args LookupClusterGroupOutputArgs, opts ...pulumi.InvokeOption) LookupClusterGroupResultOutput
func (LookupClusterGroupResultOutput) ClusterGroupId ¶
func (o LookupClusterGroupResultOutput) ClusterGroupId() pulumi.IntOutput
func (LookupClusterGroupResultOutput) ElementType ¶
func (LookupClusterGroupResultOutput) ElementType() reflect.Type
func (LookupClusterGroupResultOutput) Id ¶
func (o LookupClusterGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterGroupResultOutput) Name ¶
func (o LookupClusterGroupResultOutput) Name() pulumi.StringOutput
func (LookupClusterGroupResultOutput) ToLookupClusterGroupResultOutput ¶
func (o LookupClusterGroupResultOutput) ToLookupClusterGroupResultOutput() LookupClusterGroupResultOutput
func (LookupClusterGroupResultOutput) ToLookupClusterGroupResultOutputWithContext ¶
func (o LookupClusterGroupResultOutput) ToLookupClusterGroupResultOutputWithContext(ctx context.Context) LookupClusterGroupResultOutput
type LookupClusterOutputArgs ¶
type LookupClusterOutputArgs struct {
ClusterGroupId pulumi.IntPtrInput `pulumi:"clusterGroupId"`
// At least one of `name`, `siteId` or `id` must be given.
Id pulumi.StringPtrInput `pulumi:"id"`
// At least one of `name`, `siteId` or `id` must be given.
Name pulumi.StringPtrInput `pulumi:"name"`
// At least one of `name`, `siteId` or `id` must be given.
SiteId pulumi.IntPtrInput `pulumi:"siteId"`
}
A collection of arguments for invoking getCluster.
func (LookupClusterOutputArgs) ElementType ¶
func (LookupClusterOutputArgs) ElementType() reflect.Type
type LookupClusterResult ¶
type LookupClusterResult struct {
ClusterGroupId int `pulumi:"clusterGroupId"`
ClusterId int `pulumi:"clusterId"`
ClusterTypeId int `pulumi:"clusterTypeId"`
Comments string `pulumi:"comments"`
CustomFields map[string]string `pulumi:"customFields"`
Description string `pulumi:"description"`
// At least one of `name`, `siteId` or `id` must be given.
Id string `pulumi:"id"`
LocationId int `pulumi:"locationId"`
// At least one of `name`, `siteId` or `id` must be given.
Name *string `pulumi:"name"`
RegionId int `pulumi:"regionId"`
ScopeId int `pulumi:"scopeId"`
ScopeType string `pulumi:"scopeType"`
SiteGroupId int `pulumi:"siteGroupId"`
// At least one of `name`, `siteId` or `id` must be given.
SiteId int `pulumi:"siteId"`
Tags []string `pulumi:"tags"`
}
A collection of values returned by getCluster.
func LookupCluster ¶
func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := virt.LookupCluster(ctx, &virt.LookupClusterArgs{
Name: pulumi.StringRef("vmw-cluster-01"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupClusterResultOutput ¶
type LookupClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCluster.
func LookupClusterOutput ¶
func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput
func (LookupClusterResultOutput) ClusterGroupId ¶
func (o LookupClusterResultOutput) ClusterGroupId() pulumi.IntOutput
func (LookupClusterResultOutput) ClusterId ¶
func (o LookupClusterResultOutput) ClusterId() pulumi.IntOutput
func (LookupClusterResultOutput) ClusterTypeId ¶
func (o LookupClusterResultOutput) ClusterTypeId() pulumi.IntOutput
func (LookupClusterResultOutput) Comments ¶
func (o LookupClusterResultOutput) Comments() pulumi.StringOutput
func (LookupClusterResultOutput) CustomFields ¶
func (o LookupClusterResultOutput) CustomFields() pulumi.StringMapOutput
func (LookupClusterResultOutput) Description ¶
func (o LookupClusterResultOutput) Description() pulumi.StringOutput
func (LookupClusterResultOutput) ElementType ¶
func (LookupClusterResultOutput) ElementType() reflect.Type
func (LookupClusterResultOutput) Id ¶
func (o LookupClusterResultOutput) Id() pulumi.StringOutput
At least one of `name`, `siteId` or `id` must be given.
func (LookupClusterResultOutput) LocationId ¶
func (o LookupClusterResultOutput) LocationId() pulumi.IntOutput
func (LookupClusterResultOutput) Name ¶
func (o LookupClusterResultOutput) Name() pulumi.StringPtrOutput
At least one of `name`, `siteId` or `id` must be given.
func (LookupClusterResultOutput) RegionId ¶
func (o LookupClusterResultOutput) RegionId() pulumi.IntOutput
func (LookupClusterResultOutput) ScopeId ¶
func (o LookupClusterResultOutput) ScopeId() pulumi.IntOutput
func (LookupClusterResultOutput) ScopeType ¶
func (o LookupClusterResultOutput) ScopeType() pulumi.StringOutput
func (LookupClusterResultOutput) SiteGroupId ¶
func (o LookupClusterResultOutput) SiteGroupId() pulumi.IntOutput
func (LookupClusterResultOutput) SiteId ¶
func (o LookupClusterResultOutput) SiteId() pulumi.IntOutput
At least one of `name`, `siteId` or `id` must be given.
func (LookupClusterResultOutput) Tags ¶
func (o LookupClusterResultOutput) Tags() pulumi.StringArrayOutput
func (LookupClusterResultOutput) ToLookupClusterResultOutput ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
type LookupClusterTypeArgs ¶
type LookupClusterTypeArgs struct {
Name string `pulumi:"name"`
}
A collection of arguments for invoking getClusterType.
type LookupClusterTypeOutputArgs ¶
type LookupClusterTypeOutputArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getClusterType.
func (LookupClusterTypeOutputArgs) ElementType ¶
func (LookupClusterTypeOutputArgs) ElementType() reflect.Type
type LookupClusterTypeResult ¶
type LookupClusterTypeResult struct {
ClusterTypeId int `pulumi:"clusterTypeId"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
}
A collection of values returned by getClusterType.
func LookupClusterType ¶
func LookupClusterType(ctx *pulumi.Context, args *LookupClusterTypeArgs, opts ...pulumi.InvokeOption) (*LookupClusterTypeResult, error)
type LookupClusterTypeResultOutput ¶
type LookupClusterTypeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusterType.
func LookupClusterTypeOutput ¶
func LookupClusterTypeOutput(ctx *pulumi.Context, args LookupClusterTypeOutputArgs, opts ...pulumi.InvokeOption) LookupClusterTypeResultOutput
func (LookupClusterTypeResultOutput) ClusterTypeId ¶
func (o LookupClusterTypeResultOutput) ClusterTypeId() pulumi.IntOutput
func (LookupClusterTypeResultOutput) ElementType ¶
func (LookupClusterTypeResultOutput) ElementType() reflect.Type
func (LookupClusterTypeResultOutput) Id ¶
func (o LookupClusterTypeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterTypeResultOutput) Name ¶
func (o LookupClusterTypeResultOutput) Name() pulumi.StringOutput
func (LookupClusterTypeResultOutput) ToLookupClusterTypeResultOutput ¶
func (o LookupClusterTypeResultOutput) ToLookupClusterTypeResultOutput() LookupClusterTypeResultOutput
func (LookupClusterTypeResultOutput) ToLookupClusterTypeResultOutputWithContext ¶
func (o LookupClusterTypeResultOutput) ToLookupClusterTypeResultOutputWithContext(ctx context.Context) LookupClusterTypeResultOutput
type PrimaryIp ¶
type PrimaryIp struct {
pulumi.CustomResourceState
IpAddressId pulumi.IntOutput `pulumi:"ipAddressId"`
// Defaults to `4`.
IpAddressVersion pulumi.IntPtrOutput `pulumi:"ipAddressVersion"`
VirtualMachineId pulumi.IntOutput `pulumi:"virtualMachineId"`
}
This resource is used to define the primary IP for a given virtual machine. The primary IP is reflected in the Virtual machine Netbox UI, which identifies the Primary IPv4 and IPv6 addresses.
func GetPrimaryIp ¶
func GetPrimaryIp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrimaryIpState, opts ...pulumi.ResourceOption) (*PrimaryIp, error)
GetPrimaryIp gets an existing PrimaryIp 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 NewPrimaryIp ¶
func NewPrimaryIp(ctx *pulumi.Context, name string, args *PrimaryIpArgs, opts ...pulumi.ResourceOption) (*PrimaryIp, error)
NewPrimaryIp registers a new resource with the given unique name, arguments, and options.
func (*PrimaryIp) ElementType ¶
func (*PrimaryIp) ToPrimaryIpOutput ¶
func (i *PrimaryIp) ToPrimaryIpOutput() PrimaryIpOutput
func (*PrimaryIp) ToPrimaryIpOutputWithContext ¶
func (i *PrimaryIp) ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
type PrimaryIpArgs ¶
type PrimaryIpArgs struct {
IpAddressId pulumi.IntInput
// Defaults to `4`.
IpAddressVersion pulumi.IntPtrInput
VirtualMachineId pulumi.IntInput
}
The set of arguments for constructing a PrimaryIp resource.
func (PrimaryIpArgs) ElementType ¶
func (PrimaryIpArgs) ElementType() reflect.Type
type PrimaryIpArray ¶
type PrimaryIpArray []PrimaryIpInput
func (PrimaryIpArray) ElementType ¶
func (PrimaryIpArray) ElementType() reflect.Type
func (PrimaryIpArray) ToPrimaryIpArrayOutput ¶
func (i PrimaryIpArray) ToPrimaryIpArrayOutput() PrimaryIpArrayOutput
func (PrimaryIpArray) ToPrimaryIpArrayOutputWithContext ¶
func (i PrimaryIpArray) ToPrimaryIpArrayOutputWithContext(ctx context.Context) PrimaryIpArrayOutput
type PrimaryIpArrayInput ¶
type PrimaryIpArrayInput interface {
pulumi.Input
ToPrimaryIpArrayOutput() PrimaryIpArrayOutput
ToPrimaryIpArrayOutputWithContext(context.Context) PrimaryIpArrayOutput
}
PrimaryIpArrayInput is an input type that accepts PrimaryIpArray and PrimaryIpArrayOutput values. You can construct a concrete instance of `PrimaryIpArrayInput` via:
PrimaryIpArray{ PrimaryIpArgs{...} }
type PrimaryIpArrayOutput ¶
type PrimaryIpArrayOutput struct{ *pulumi.OutputState }
func (PrimaryIpArrayOutput) ElementType ¶
func (PrimaryIpArrayOutput) ElementType() reflect.Type
func (PrimaryIpArrayOutput) Index ¶
func (o PrimaryIpArrayOutput) Index(i pulumi.IntInput) PrimaryIpOutput
func (PrimaryIpArrayOutput) ToPrimaryIpArrayOutput ¶
func (o PrimaryIpArrayOutput) ToPrimaryIpArrayOutput() PrimaryIpArrayOutput
func (PrimaryIpArrayOutput) ToPrimaryIpArrayOutputWithContext ¶
func (o PrimaryIpArrayOutput) ToPrimaryIpArrayOutputWithContext(ctx context.Context) PrimaryIpArrayOutput
type PrimaryIpInput ¶
type PrimaryIpInput interface {
pulumi.Input
ToPrimaryIpOutput() PrimaryIpOutput
ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
}
type PrimaryIpMap ¶
type PrimaryIpMap map[string]PrimaryIpInput
func (PrimaryIpMap) ElementType ¶
func (PrimaryIpMap) ElementType() reflect.Type
func (PrimaryIpMap) ToPrimaryIpMapOutput ¶
func (i PrimaryIpMap) ToPrimaryIpMapOutput() PrimaryIpMapOutput
func (PrimaryIpMap) ToPrimaryIpMapOutputWithContext ¶
func (i PrimaryIpMap) ToPrimaryIpMapOutputWithContext(ctx context.Context) PrimaryIpMapOutput
type PrimaryIpMapInput ¶
type PrimaryIpMapInput interface {
pulumi.Input
ToPrimaryIpMapOutput() PrimaryIpMapOutput
ToPrimaryIpMapOutputWithContext(context.Context) PrimaryIpMapOutput
}
PrimaryIpMapInput is an input type that accepts PrimaryIpMap and PrimaryIpMapOutput values. You can construct a concrete instance of `PrimaryIpMapInput` via:
PrimaryIpMap{ "key": PrimaryIpArgs{...} }
type PrimaryIpMapOutput ¶
type PrimaryIpMapOutput struct{ *pulumi.OutputState }
func (PrimaryIpMapOutput) ElementType ¶
func (PrimaryIpMapOutput) ElementType() reflect.Type
func (PrimaryIpMapOutput) MapIndex ¶
func (o PrimaryIpMapOutput) MapIndex(k pulumi.StringInput) PrimaryIpOutput
func (PrimaryIpMapOutput) ToPrimaryIpMapOutput ¶
func (o PrimaryIpMapOutput) ToPrimaryIpMapOutput() PrimaryIpMapOutput
func (PrimaryIpMapOutput) ToPrimaryIpMapOutputWithContext ¶
func (o PrimaryIpMapOutput) ToPrimaryIpMapOutputWithContext(ctx context.Context) PrimaryIpMapOutput
type PrimaryIpOutput ¶
type PrimaryIpOutput struct{ *pulumi.OutputState }
func (PrimaryIpOutput) ElementType ¶
func (PrimaryIpOutput) ElementType() reflect.Type
func (PrimaryIpOutput) IpAddressId ¶
func (o PrimaryIpOutput) IpAddressId() pulumi.IntOutput
func (PrimaryIpOutput) IpAddressVersion ¶
func (o PrimaryIpOutput) IpAddressVersion() pulumi.IntPtrOutput
Defaults to `4`.
func (PrimaryIpOutput) ToPrimaryIpOutput ¶
func (o PrimaryIpOutput) ToPrimaryIpOutput() PrimaryIpOutput
func (PrimaryIpOutput) ToPrimaryIpOutputWithContext ¶
func (o PrimaryIpOutput) ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
func (PrimaryIpOutput) VirtualMachineId ¶
func (o PrimaryIpOutput) VirtualMachineId() pulumi.IntOutput
type PrimaryIpState ¶
type PrimaryIpState struct {
IpAddressId pulumi.IntPtrInput
// Defaults to `4`.
IpAddressVersion pulumi.IntPtrInput
VirtualMachineId pulumi.IntPtrInput
}
func (PrimaryIpState) ElementType ¶
func (PrimaryIpState) ElementType() reflect.Type
type VirtualDisk ¶
type VirtualDisk struct {
pulumi.CustomResourceState
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
SizeMb pulumi.IntOutput `pulumi:"sizeMb"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
VirtualMachineId pulumi.IntOutput `pulumi:"virtualMachineId"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/models/virtualization/virtualdisk/):
> A virtual disk is used to model discrete virtual hard disks assigned to virtual machines.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/virt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Assumes vmw-cluster-01 exists in Netbox
vmwCluster01, err := virt.LookupCluster(ctx, &virt.LookupClusterArgs{
Name: pulumi.StringRef("vmw-cluster-01"),
}, nil)
if err != nil {
return err
}
baseVm, err := virt.NewVirtualMachine(ctx, "base_vm", &virt.VirtualMachineArgs{
ClusterId: pulumi.String(vmwCluster01.Id),
Name: pulumi.String("myvm-1"),
})
if err != nil {
return err
}
_, err = virt.NewVirtualDisk(ctx, "example", &virt.VirtualDiskArgs{
Name: pulumi.String("disk-01"),
Description: pulumi.String("Main disk"),
SizeMb: pulumi.Int(50),
VirtualMachineId: baseVm.ID(),
})
if err != nil {
return err
}
return nil
})
}
```
func GetVirtualDisk ¶
func GetVirtualDisk(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualDiskState, opts ...pulumi.ResourceOption) (*VirtualDisk, error)
GetVirtualDisk gets an existing VirtualDisk 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 NewVirtualDisk ¶
func NewVirtualDisk(ctx *pulumi.Context, name string, args *VirtualDiskArgs, opts ...pulumi.ResourceOption) (*VirtualDisk, error)
NewVirtualDisk registers a new resource with the given unique name, arguments, and options.
func (*VirtualDisk) ElementType ¶
func (*VirtualDisk) ElementType() reflect.Type
func (*VirtualDisk) ToVirtualDiskOutput ¶
func (i *VirtualDisk) ToVirtualDiskOutput() VirtualDiskOutput
func (*VirtualDisk) ToVirtualDiskOutputWithContext ¶
func (i *VirtualDisk) ToVirtualDiskOutputWithContext(ctx context.Context) VirtualDiskOutput
type VirtualDiskArgs ¶
type VirtualDiskArgs struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
SizeMb pulumi.IntInput
Tags pulumi.StringArrayInput
VirtualMachineId pulumi.IntInput
}
The set of arguments for constructing a VirtualDisk resource.
func (VirtualDiskArgs) ElementType ¶
func (VirtualDiskArgs) ElementType() reflect.Type
type VirtualDiskArray ¶
type VirtualDiskArray []VirtualDiskInput
func (VirtualDiskArray) ElementType ¶
func (VirtualDiskArray) ElementType() reflect.Type
func (VirtualDiskArray) ToVirtualDiskArrayOutput ¶
func (i VirtualDiskArray) ToVirtualDiskArrayOutput() VirtualDiskArrayOutput
func (VirtualDiskArray) ToVirtualDiskArrayOutputWithContext ¶
func (i VirtualDiskArray) ToVirtualDiskArrayOutputWithContext(ctx context.Context) VirtualDiskArrayOutput
type VirtualDiskArrayInput ¶
type VirtualDiskArrayInput interface {
pulumi.Input
ToVirtualDiskArrayOutput() VirtualDiskArrayOutput
ToVirtualDiskArrayOutputWithContext(context.Context) VirtualDiskArrayOutput
}
VirtualDiskArrayInput is an input type that accepts VirtualDiskArray and VirtualDiskArrayOutput values. You can construct a concrete instance of `VirtualDiskArrayInput` via:
VirtualDiskArray{ VirtualDiskArgs{...} }
type VirtualDiskArrayOutput ¶
type VirtualDiskArrayOutput struct{ *pulumi.OutputState }
func (VirtualDiskArrayOutput) ElementType ¶
func (VirtualDiskArrayOutput) ElementType() reflect.Type
func (VirtualDiskArrayOutput) Index ¶
func (o VirtualDiskArrayOutput) Index(i pulumi.IntInput) VirtualDiskOutput
func (VirtualDiskArrayOutput) ToVirtualDiskArrayOutput ¶
func (o VirtualDiskArrayOutput) ToVirtualDiskArrayOutput() VirtualDiskArrayOutput
func (VirtualDiskArrayOutput) ToVirtualDiskArrayOutputWithContext ¶
func (o VirtualDiskArrayOutput) ToVirtualDiskArrayOutputWithContext(ctx context.Context) VirtualDiskArrayOutput
type VirtualDiskInput ¶
type VirtualDiskInput interface {
pulumi.Input
ToVirtualDiskOutput() VirtualDiskOutput
ToVirtualDiskOutputWithContext(ctx context.Context) VirtualDiskOutput
}
type VirtualDiskMap ¶
type VirtualDiskMap map[string]VirtualDiskInput
func (VirtualDiskMap) ElementType ¶
func (VirtualDiskMap) ElementType() reflect.Type
func (VirtualDiskMap) ToVirtualDiskMapOutput ¶
func (i VirtualDiskMap) ToVirtualDiskMapOutput() VirtualDiskMapOutput
func (VirtualDiskMap) ToVirtualDiskMapOutputWithContext ¶
func (i VirtualDiskMap) ToVirtualDiskMapOutputWithContext(ctx context.Context) VirtualDiskMapOutput
type VirtualDiskMapInput ¶
type VirtualDiskMapInput interface {
pulumi.Input
ToVirtualDiskMapOutput() VirtualDiskMapOutput
ToVirtualDiskMapOutputWithContext(context.Context) VirtualDiskMapOutput
}
VirtualDiskMapInput is an input type that accepts VirtualDiskMap and VirtualDiskMapOutput values. You can construct a concrete instance of `VirtualDiskMapInput` via:
VirtualDiskMap{ "key": VirtualDiskArgs{...} }
type VirtualDiskMapOutput ¶
type VirtualDiskMapOutput struct{ *pulumi.OutputState }
func (VirtualDiskMapOutput) ElementType ¶
func (VirtualDiskMapOutput) ElementType() reflect.Type
func (VirtualDiskMapOutput) MapIndex ¶
func (o VirtualDiskMapOutput) MapIndex(k pulumi.StringInput) VirtualDiskOutput
func (VirtualDiskMapOutput) ToVirtualDiskMapOutput ¶
func (o VirtualDiskMapOutput) ToVirtualDiskMapOutput() VirtualDiskMapOutput
func (VirtualDiskMapOutput) ToVirtualDiskMapOutputWithContext ¶
func (o VirtualDiskMapOutput) ToVirtualDiskMapOutputWithContext(ctx context.Context) VirtualDiskMapOutput
type VirtualDiskOutput ¶
type VirtualDiskOutput struct{ *pulumi.OutputState }
func (VirtualDiskOutput) CustomFields ¶
func (o VirtualDiskOutput) CustomFields() pulumi.StringMapOutput
func (VirtualDiskOutput) Description ¶
func (o VirtualDiskOutput) Description() pulumi.StringPtrOutput
func (VirtualDiskOutput) ElementType ¶
func (VirtualDiskOutput) ElementType() reflect.Type
func (VirtualDiskOutput) Name ¶
func (o VirtualDiskOutput) Name() pulumi.StringOutput
func (VirtualDiskOutput) SizeMb ¶
func (o VirtualDiskOutput) SizeMb() pulumi.IntOutput
func (VirtualDiskOutput) Tags ¶
func (o VirtualDiskOutput) Tags() pulumi.StringArrayOutput
func (VirtualDiskOutput) TagsAlls ¶
func (o VirtualDiskOutput) TagsAlls() pulumi.StringArrayOutput
func (VirtualDiskOutput) ToVirtualDiskOutput ¶
func (o VirtualDiskOutput) ToVirtualDiskOutput() VirtualDiskOutput
func (VirtualDiskOutput) ToVirtualDiskOutputWithContext ¶
func (o VirtualDiskOutput) ToVirtualDiskOutputWithContext(ctx context.Context) VirtualDiskOutput
func (VirtualDiskOutput) VirtualMachineId ¶
func (o VirtualDiskOutput) VirtualMachineId() pulumi.IntOutput
type VirtualDiskState ¶
type VirtualDiskState struct {
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
SizeMb pulumi.IntPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
VirtualMachineId pulumi.IntPtrInput
}
func (VirtualDiskState) ElementType ¶
func (VirtualDiskState) ElementType() reflect.Type
type VirtualMachine ¶
type VirtualMachine struct {
pulumi.CustomResourceState
// At least one of `siteId` or `clusterId` must be given.
ClusterId pulumi.IntPtrOutput `pulumi:"clusterId"`
Comments pulumi.StringPtrOutput `pulumi:"comments"`
CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
Description pulumi.StringPtrOutput `pulumi:"description"`
DeviceId pulumi.IntPtrOutput `pulumi:"deviceId"`
DiskSizeMb pulumi.IntOutput `pulumi:"diskSizeMb"`
// This is best managed through the use of `jsonencode` and a map of settings.
LocalContextData pulumi.StringPtrOutput `pulumi:"localContextData"`
MemoryMb pulumi.IntPtrOutput `pulumi:"memoryMb"`
Name pulumi.StringOutput `pulumi:"name"`
PlatformId pulumi.IntPtrOutput `pulumi:"platformId"`
PrimaryIpv4 pulumi.IntOutput `pulumi:"primaryIpv4"`
PrimaryIpv6 pulumi.IntOutput `pulumi:"primaryIpv6"`
RoleId pulumi.IntPtrOutput `pulumi:"roleId"`
// At least one of `siteId` or `clusterId` must be given.
SiteId pulumi.IntPtrOutput `pulumi:"siteId"`
// Valid values are `offline`, `active`, `planned`, `staged`, `failed` 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"`
Vcpus pulumi.Float64PtrOutput `pulumi:"vcpus"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/virtualization/#virtual-machines):
> A virtual machine is a virtualized compute instance. These behave in NetBox very similarly to device objects, but without any physical attributes. For example, a VM may have interfaces assigned to it with IP addresses and VLANs, however its interfaces cannot be connected via cables (because they are virtual). Each VM may also define its compute, memory, and storage resources as well.
func GetVirtualMachine ¶
func GetVirtualMachine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualMachineState, opts ...pulumi.ResourceOption) (*VirtualMachine, error)
GetVirtualMachine gets an existing VirtualMachine 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 NewVirtualMachine ¶
func NewVirtualMachine(ctx *pulumi.Context, name string, args *VirtualMachineArgs, opts ...pulumi.ResourceOption) (*VirtualMachine, error)
NewVirtualMachine registers a new resource with the given unique name, arguments, and options.
func (*VirtualMachine) ElementType ¶
func (*VirtualMachine) ElementType() reflect.Type
func (*VirtualMachine) ToVirtualMachineOutput ¶
func (i *VirtualMachine) ToVirtualMachineOutput() VirtualMachineOutput
func (*VirtualMachine) ToVirtualMachineOutputWithContext ¶
func (i *VirtualMachine) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
type VirtualMachineArgs ¶
type VirtualMachineArgs struct {
// At least one of `siteId` or `clusterId` must be given.
ClusterId pulumi.IntPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
DiskSizeMb pulumi.IntPtrInput
// This is best managed through the use of `jsonencode` and a map of settings.
LocalContextData pulumi.StringPtrInput
MemoryMb pulumi.IntPtrInput
Name pulumi.StringPtrInput
PlatformId pulumi.IntPtrInput
RoleId pulumi.IntPtrInput
// At least one of `siteId` or `clusterId` must be given.
SiteId pulumi.IntPtrInput
// Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `decommissioning`. Defaults to `active`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
Vcpus pulumi.Float64PtrInput
}
The set of arguments for constructing a VirtualMachine resource.
func (VirtualMachineArgs) ElementType ¶
func (VirtualMachineArgs) ElementType() reflect.Type
type VirtualMachineArray ¶
type VirtualMachineArray []VirtualMachineInput
func (VirtualMachineArray) ElementType ¶
func (VirtualMachineArray) ElementType() reflect.Type
func (VirtualMachineArray) ToVirtualMachineArrayOutput ¶
func (i VirtualMachineArray) ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
func (VirtualMachineArray) ToVirtualMachineArrayOutputWithContext ¶
func (i VirtualMachineArray) ToVirtualMachineArrayOutputWithContext(ctx context.Context) VirtualMachineArrayOutput
type VirtualMachineArrayInput ¶
type VirtualMachineArrayInput interface {
pulumi.Input
ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
ToVirtualMachineArrayOutputWithContext(context.Context) VirtualMachineArrayOutput
}
VirtualMachineArrayInput is an input type that accepts VirtualMachineArray and VirtualMachineArrayOutput values. You can construct a concrete instance of `VirtualMachineArrayInput` via:
VirtualMachineArray{ VirtualMachineArgs{...} }
type VirtualMachineArrayOutput ¶
type VirtualMachineArrayOutput struct{ *pulumi.OutputState }
func (VirtualMachineArrayOutput) ElementType ¶
func (VirtualMachineArrayOutput) ElementType() reflect.Type
func (VirtualMachineArrayOutput) Index ¶
func (o VirtualMachineArrayOutput) Index(i pulumi.IntInput) VirtualMachineOutput
func (VirtualMachineArrayOutput) ToVirtualMachineArrayOutput ¶
func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
func (VirtualMachineArrayOutput) ToVirtualMachineArrayOutputWithContext ¶
func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutputWithContext(ctx context.Context) VirtualMachineArrayOutput
type VirtualMachineInput ¶
type VirtualMachineInput interface {
pulumi.Input
ToVirtualMachineOutput() VirtualMachineOutput
ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
}
type VirtualMachineMap ¶
type VirtualMachineMap map[string]VirtualMachineInput
func (VirtualMachineMap) ElementType ¶
func (VirtualMachineMap) ElementType() reflect.Type
func (VirtualMachineMap) ToVirtualMachineMapOutput ¶
func (i VirtualMachineMap) ToVirtualMachineMapOutput() VirtualMachineMapOutput
func (VirtualMachineMap) ToVirtualMachineMapOutputWithContext ¶
func (i VirtualMachineMap) ToVirtualMachineMapOutputWithContext(ctx context.Context) VirtualMachineMapOutput
type VirtualMachineMapInput ¶
type VirtualMachineMapInput interface {
pulumi.Input
ToVirtualMachineMapOutput() VirtualMachineMapOutput
ToVirtualMachineMapOutputWithContext(context.Context) VirtualMachineMapOutput
}
VirtualMachineMapInput is an input type that accepts VirtualMachineMap and VirtualMachineMapOutput values. You can construct a concrete instance of `VirtualMachineMapInput` via:
VirtualMachineMap{ "key": VirtualMachineArgs{...} }
type VirtualMachineMapOutput ¶
type VirtualMachineMapOutput struct{ *pulumi.OutputState }
func (VirtualMachineMapOutput) ElementType ¶
func (VirtualMachineMapOutput) ElementType() reflect.Type
func (VirtualMachineMapOutput) MapIndex ¶
func (o VirtualMachineMapOutput) MapIndex(k pulumi.StringInput) VirtualMachineOutput
func (VirtualMachineMapOutput) ToVirtualMachineMapOutput ¶
func (o VirtualMachineMapOutput) ToVirtualMachineMapOutput() VirtualMachineMapOutput
func (VirtualMachineMapOutput) ToVirtualMachineMapOutputWithContext ¶
func (o VirtualMachineMapOutput) ToVirtualMachineMapOutputWithContext(ctx context.Context) VirtualMachineMapOutput
type VirtualMachineOutput ¶
type VirtualMachineOutput struct{ *pulumi.OutputState }
func (VirtualMachineOutput) ClusterId ¶
func (o VirtualMachineOutput) ClusterId() pulumi.IntPtrOutput
At least one of `siteId` or `clusterId` must be given.
func (VirtualMachineOutput) Comments ¶
func (o VirtualMachineOutput) Comments() pulumi.StringPtrOutput
func (VirtualMachineOutput) CustomFields ¶
func (o VirtualMachineOutput) CustomFields() pulumi.StringMapOutput
func (VirtualMachineOutput) Description ¶
func (o VirtualMachineOutput) Description() pulumi.StringPtrOutput
func (VirtualMachineOutput) DeviceId ¶
func (o VirtualMachineOutput) DeviceId() pulumi.IntPtrOutput
func (VirtualMachineOutput) DiskSizeMb ¶
func (o VirtualMachineOutput) DiskSizeMb() pulumi.IntOutput
func (VirtualMachineOutput) ElementType ¶
func (VirtualMachineOutput) ElementType() reflect.Type
func (VirtualMachineOutput) LocalContextData ¶
func (o VirtualMachineOutput) LocalContextData() pulumi.StringPtrOutput
This is best managed through the use of `jsonencode` and a map of settings.
func (VirtualMachineOutput) MemoryMb ¶
func (o VirtualMachineOutput) MemoryMb() pulumi.IntPtrOutput
func (VirtualMachineOutput) Name ¶
func (o VirtualMachineOutput) Name() pulumi.StringOutput
func (VirtualMachineOutput) PlatformId ¶
func (o VirtualMachineOutput) PlatformId() pulumi.IntPtrOutput
func (VirtualMachineOutput) PrimaryIpv4 ¶
func (o VirtualMachineOutput) PrimaryIpv4() pulumi.IntOutput
func (VirtualMachineOutput) PrimaryIpv6 ¶
func (o VirtualMachineOutput) PrimaryIpv6() pulumi.IntOutput
func (VirtualMachineOutput) RoleId ¶
func (o VirtualMachineOutput) RoleId() pulumi.IntPtrOutput
func (VirtualMachineOutput) SiteId ¶
func (o VirtualMachineOutput) SiteId() pulumi.IntPtrOutput
At least one of `siteId` or `clusterId` must be given.
func (VirtualMachineOutput) Status ¶
func (o VirtualMachineOutput) Status() pulumi.StringPtrOutput
Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `decommissioning`. Defaults to `active`.
func (VirtualMachineOutput) Tags ¶
func (o VirtualMachineOutput) Tags() pulumi.StringArrayOutput
func (VirtualMachineOutput) TagsAlls ¶
func (o VirtualMachineOutput) TagsAlls() pulumi.StringArrayOutput
func (VirtualMachineOutput) TenantId ¶
func (o VirtualMachineOutput) TenantId() pulumi.IntPtrOutput
func (VirtualMachineOutput) ToVirtualMachineOutput ¶
func (o VirtualMachineOutput) ToVirtualMachineOutput() VirtualMachineOutput
func (VirtualMachineOutput) ToVirtualMachineOutputWithContext ¶
func (o VirtualMachineOutput) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
func (VirtualMachineOutput) Vcpus ¶
func (o VirtualMachineOutput) Vcpus() pulumi.Float64PtrOutput
type VirtualMachineState ¶
type VirtualMachineState struct {
// At least one of `siteId` or `clusterId` must be given.
ClusterId pulumi.IntPtrInput
Comments pulumi.StringPtrInput
CustomFields pulumi.StringMapInput
Description pulumi.StringPtrInput
DeviceId pulumi.IntPtrInput
DiskSizeMb pulumi.IntPtrInput
// This is best managed through the use of `jsonencode` and a map of settings.
LocalContextData pulumi.StringPtrInput
MemoryMb pulumi.IntPtrInput
Name pulumi.StringPtrInput
PlatformId pulumi.IntPtrInput
PrimaryIpv4 pulumi.IntPtrInput
PrimaryIpv6 pulumi.IntPtrInput
RoleId pulumi.IntPtrInput
// At least one of `siteId` or `clusterId` must be given.
SiteId pulumi.IntPtrInput
// Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `decommissioning`. Defaults to `active`.
Status pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
TenantId pulumi.IntPtrInput
Vcpus pulumi.Float64PtrInput
}
func (VirtualMachineState) ElementType ¶
func (VirtualMachineState) ElementType() reflect.Type