Documentation ¶
Overview ¶
A Pulumi package for creating and managing hcloud cloud resources.
Index ¶
- type Certificate
- type CertificateArgs
- type CertificateArray
- type CertificateArrayInput
- type CertificateArrayOutput
- func (CertificateArrayOutput) ElementType() reflect.Type
- func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
- type CertificateInput
- type CertificateMap
- type CertificateMapInput
- type CertificateMapOutput
- func (CertificateMapOutput) ElementType() reflect.Type
- func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
- func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
- func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
- type CertificateOutput
- func (o CertificateOutput) Certificate() pulumi.StringOutput
- func (o CertificateOutput) Created() pulumi.StringOutput
- func (o CertificateOutput) DomainNames() pulumi.StringArrayOutput
- func (CertificateOutput) ElementType() reflect.Type
- func (o CertificateOutput) Fingerprint() pulumi.StringOutput
- func (o CertificateOutput) Labels() pulumi.StringMapOutput
- func (o CertificateOutput) Name() pulumi.StringOutput
- func (o CertificateOutput) NotValidAfter() pulumi.StringOutput
- func (o CertificateOutput) NotValidBefore() pulumi.StringOutput
- func (o CertificateOutput) PrivateKey() pulumi.StringOutput
- func (o CertificateOutput) ToCertificateOutput() CertificateOutput
- func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
- func (o CertificateOutput) Type() pulumi.StringOutput
- type CertificateState
- type Firewall
- type FirewallApplyTo
- type FirewallApplyToArgs
- type FirewallApplyToArray
- type FirewallApplyToArrayInput
- type FirewallApplyToArrayOutput
- func (FirewallApplyToArrayOutput) ElementType() reflect.Type
- func (o FirewallApplyToArrayOutput) Index(i pulumi.IntInput) FirewallApplyToOutput
- func (o FirewallApplyToArrayOutput) ToFirewallApplyToArrayOutput() FirewallApplyToArrayOutput
- func (o FirewallApplyToArrayOutput) ToFirewallApplyToArrayOutputWithContext(ctx context.Context) FirewallApplyToArrayOutput
- type FirewallApplyToInput
- type FirewallApplyToOutput
- func (FirewallApplyToOutput) ElementType() reflect.Type
- func (o FirewallApplyToOutput) LabelSelector() pulumi.StringPtrOutput
- func (o FirewallApplyToOutput) Server() pulumi.IntPtrOutput
- func (o FirewallApplyToOutput) ToFirewallApplyToOutput() FirewallApplyToOutput
- func (o FirewallApplyToOutput) ToFirewallApplyToOutputWithContext(ctx context.Context) FirewallApplyToOutput
- type FirewallArgs
- type FirewallArray
- type FirewallArrayInput
- type FirewallArrayOutput
- type FirewallAttachment
- type FirewallAttachmentArgs
- type FirewallAttachmentArray
- type FirewallAttachmentArrayInput
- type FirewallAttachmentArrayOutput
- func (FirewallAttachmentArrayOutput) ElementType() reflect.Type
- func (o FirewallAttachmentArrayOutput) Index(i pulumi.IntInput) FirewallAttachmentOutput
- func (o FirewallAttachmentArrayOutput) ToFirewallAttachmentArrayOutput() FirewallAttachmentArrayOutput
- func (o FirewallAttachmentArrayOutput) ToFirewallAttachmentArrayOutputWithContext(ctx context.Context) FirewallAttachmentArrayOutput
- type FirewallAttachmentInput
- type FirewallAttachmentMap
- type FirewallAttachmentMapInput
- type FirewallAttachmentMapOutput
- func (FirewallAttachmentMapOutput) ElementType() reflect.Type
- func (o FirewallAttachmentMapOutput) MapIndex(k pulumi.StringInput) FirewallAttachmentOutput
- func (o FirewallAttachmentMapOutput) ToFirewallAttachmentMapOutput() FirewallAttachmentMapOutput
- func (o FirewallAttachmentMapOutput) ToFirewallAttachmentMapOutputWithContext(ctx context.Context) FirewallAttachmentMapOutput
- type FirewallAttachmentOutput
- func (FirewallAttachmentOutput) ElementType() reflect.Type
- func (o FirewallAttachmentOutput) FirewallId() pulumi.IntOutput
- func (o FirewallAttachmentOutput) LabelSelectors() pulumi.StringArrayOutput
- func (o FirewallAttachmentOutput) ServerIds() pulumi.IntArrayOutput
- func (o FirewallAttachmentOutput) ToFirewallAttachmentOutput() FirewallAttachmentOutput
- func (o FirewallAttachmentOutput) ToFirewallAttachmentOutputWithContext(ctx context.Context) FirewallAttachmentOutput
- type FirewallAttachmentState
- type FirewallInput
- type FirewallMap
- type FirewallMapInput
- type FirewallMapOutput
- type FirewallOutput
- func (o FirewallOutput) ApplyTos() FirewallApplyToArrayOutput
- func (FirewallOutput) ElementType() reflect.Type
- func (o FirewallOutput) Labels() pulumi.StringMapOutput
- func (o FirewallOutput) Name() pulumi.StringOutput
- func (o FirewallOutput) Rules() FirewallRuleArrayOutput
- func (o FirewallOutput) ToFirewallOutput() FirewallOutput
- func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleArray
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- type FirewallRuleInput
- type FirewallRuleOutput
- func (o FirewallRuleOutput) Description() pulumi.StringPtrOutput
- func (o FirewallRuleOutput) DestinationIps() pulumi.StringArrayOutput
- func (o FirewallRuleOutput) Direction() pulumi.StringOutput
- func (FirewallRuleOutput) ElementType() reflect.Type
- func (o FirewallRuleOutput) Port() pulumi.StringPtrOutput
- func (o FirewallRuleOutput) Protocol() pulumi.StringOutput
- func (o FirewallRuleOutput) SourceIps() pulumi.StringArrayOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- type FirewallState
- type FloatingIp
- type FloatingIpArgs
- type FloatingIpArray
- type FloatingIpArrayInput
- type FloatingIpArrayOutput
- func (FloatingIpArrayOutput) ElementType() reflect.Type
- func (o FloatingIpArrayOutput) Index(i pulumi.IntInput) FloatingIpOutput
- func (o FloatingIpArrayOutput) ToFloatingIpArrayOutput() FloatingIpArrayOutput
- func (o FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput
- type FloatingIpAssignment
- type FloatingIpAssignmentArgs
- type FloatingIpAssignmentArray
- type FloatingIpAssignmentArrayInput
- type FloatingIpAssignmentArrayOutput
- func (FloatingIpAssignmentArrayOutput) ElementType() reflect.Type
- func (o FloatingIpAssignmentArrayOutput) Index(i pulumi.IntInput) FloatingIpAssignmentOutput
- func (o FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput
- func (o FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutputWithContext(ctx context.Context) FloatingIpAssignmentArrayOutput
- type FloatingIpAssignmentInput
- type FloatingIpAssignmentMap
- type FloatingIpAssignmentMapInput
- type FloatingIpAssignmentMapOutput
- func (FloatingIpAssignmentMapOutput) ElementType() reflect.Type
- func (o FloatingIpAssignmentMapOutput) MapIndex(k pulumi.StringInput) FloatingIpAssignmentOutput
- func (o FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput
- func (o FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutputWithContext(ctx context.Context) FloatingIpAssignmentMapOutput
- type FloatingIpAssignmentOutput
- func (FloatingIpAssignmentOutput) ElementType() reflect.Type
- func (o FloatingIpAssignmentOutput) FloatingIpId() pulumi.IntOutput
- func (o FloatingIpAssignmentOutput) ServerId() pulumi.IntOutput
- func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput
- func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput
- type FloatingIpAssignmentState
- type FloatingIpInput
- type FloatingIpMap
- type FloatingIpMapInput
- type FloatingIpMapOutput
- func (FloatingIpMapOutput) ElementType() reflect.Type
- func (o FloatingIpMapOutput) MapIndex(k pulumi.StringInput) FloatingIpOutput
- func (o FloatingIpMapOutput) ToFloatingIpMapOutput() FloatingIpMapOutput
- func (o FloatingIpMapOutput) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput
- type FloatingIpOutput
- func (o FloatingIpOutput) DeleteProtection() pulumi.BoolPtrOutput
- func (o FloatingIpOutput) Description() pulumi.StringPtrOutput
- func (FloatingIpOutput) ElementType() reflect.Type
- func (o FloatingIpOutput) HomeLocation() pulumi.StringOutput
- func (o FloatingIpOutput) IpAddress() pulumi.StringOutput
- func (o FloatingIpOutput) IpNetwork() pulumi.StringOutput
- func (o FloatingIpOutput) Labels() pulumi.StringMapOutput
- func (o FloatingIpOutput) Name() pulumi.StringOutput
- func (o FloatingIpOutput) ServerId() pulumi.IntOutput
- func (o FloatingIpOutput) ToFloatingIpOutput() FloatingIpOutput
- func (o FloatingIpOutput) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput
- func (o FloatingIpOutput) Type() pulumi.StringOutput
- type FloatingIpState
- type GetCertificatesArgs
- type GetCertificatesCertificate
- type GetCertificatesCertificateArgs
- func (GetCertificatesCertificateArgs) ElementType() reflect.Type
- func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
- func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
- type GetCertificatesCertificateArray
- func (GetCertificatesCertificateArray) ElementType() reflect.Type
- func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
- func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
- type GetCertificatesCertificateArrayInput
- type GetCertificatesCertificateArrayOutput
- func (GetCertificatesCertificateArrayOutput) ElementType() reflect.Type
- func (o GetCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
- func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
- type GetCertificatesCertificateInput
- type GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) Certificate() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Created() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) DomainNames() pulumi.StringArrayOutput
- func (GetCertificatesCertificateOutput) ElementType() reflect.Type
- func (o GetCertificatesCertificateOutput) Fingerprint() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Id() pulumi.IntOutput
- func (o GetCertificatesCertificateOutput) Labels() pulumi.StringMapOutput
- func (o GetCertificatesCertificateOutput) Name() pulumi.StringPtrOutput
- func (o GetCertificatesCertificateOutput) NotValidAfter() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) NotValidBefore() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) Type() pulumi.StringOutput
- type GetCertificatesOutputArgs
- type GetCertificatesResult
- type GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) Certificates() GetCertificatesCertificateArrayOutput
- func (GetCertificatesResultOutput) ElementType() reflect.Type
- func (o GetCertificatesResultOutput) Id() pulumi.StringOutput
- func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetDatacenterArgs
- type GetDatacenterOutputArgs
- type GetDatacenterResult
- type GetDatacenterResultOutput
- func (o GetDatacenterResultOutput) AvailableServerTypeIds() pulumi.IntArrayOutput
- func (o GetDatacenterResultOutput) Description() pulumi.StringOutput
- func (GetDatacenterResultOutput) ElementType() reflect.Type
- func (o GetDatacenterResultOutput) Id() pulumi.IntPtrOutput
- func (o GetDatacenterResultOutput) Location() pulumi.StringMapOutput
- func (o GetDatacenterResultOutput) Name() pulumi.StringPtrOutput
- func (o GetDatacenterResultOutput) SupportedServerTypeIds() pulumi.IntArrayOutput
- func (o GetDatacenterResultOutput) ToGetDatacenterResultOutput() GetDatacenterResultOutput
- func (o GetDatacenterResultOutput) ToGetDatacenterResultOutputWithContext(ctx context.Context) GetDatacenterResultOutput
- type GetDatacentersDatacenter
- type GetDatacentersDatacenterArgs
- func (GetDatacentersDatacenterArgs) ElementType() reflect.Type
- func (i GetDatacentersDatacenterArgs) ToGetDatacentersDatacenterOutput() GetDatacentersDatacenterOutput
- func (i GetDatacentersDatacenterArgs) ToGetDatacentersDatacenterOutputWithContext(ctx context.Context) GetDatacentersDatacenterOutput
- type GetDatacentersDatacenterArray
- func (GetDatacentersDatacenterArray) ElementType() reflect.Type
- func (i GetDatacentersDatacenterArray) ToGetDatacentersDatacenterArrayOutput() GetDatacentersDatacenterArrayOutput
- func (i GetDatacentersDatacenterArray) ToGetDatacentersDatacenterArrayOutputWithContext(ctx context.Context) GetDatacentersDatacenterArrayOutput
- type GetDatacentersDatacenterArrayInput
- type GetDatacentersDatacenterArrayOutput
- func (GetDatacentersDatacenterArrayOutput) ElementType() reflect.Type
- func (o GetDatacentersDatacenterArrayOutput) Index(i pulumi.IntInput) GetDatacentersDatacenterOutput
- func (o GetDatacentersDatacenterArrayOutput) ToGetDatacentersDatacenterArrayOutput() GetDatacentersDatacenterArrayOutput
- func (o GetDatacentersDatacenterArrayOutput) ToGetDatacentersDatacenterArrayOutputWithContext(ctx context.Context) GetDatacentersDatacenterArrayOutput
- type GetDatacentersDatacenterInput
- type GetDatacentersDatacenterOutput
- func (o GetDatacentersDatacenterOutput) AvailableServerTypeIds() pulumi.IntArrayOutput
- func (o GetDatacentersDatacenterOutput) Description() pulumi.StringOutput
- func (GetDatacentersDatacenterOutput) ElementType() reflect.Type
- func (o GetDatacentersDatacenterOutput) Id() pulumi.IntOutput
- func (o GetDatacentersDatacenterOutput) Location() pulumi.StringMapOutput
- func (o GetDatacentersDatacenterOutput) Name() pulumi.StringOutput
- func (o GetDatacentersDatacenterOutput) SupportedServerTypeIds() pulumi.IntArrayOutput
- func (o GetDatacentersDatacenterOutput) ToGetDatacentersDatacenterOutput() GetDatacentersDatacenterOutput
- func (o GetDatacentersDatacenterOutput) ToGetDatacentersDatacenterOutputWithContext(ctx context.Context) GetDatacentersDatacenterOutput
- type GetDatacentersResult
- type GetDatacentersResultOutput
- func (o GetDatacentersResultOutput) DatacenterIds() pulumi.StringArrayOutputdeprecated
- func (o GetDatacentersResultOutput) Datacenters() GetDatacentersDatacenterArrayOutput
- func (o GetDatacentersResultOutput) Descriptions() pulumi.StringArrayOutputdeprecated
- func (GetDatacentersResultOutput) ElementType() reflect.Type
- func (o GetDatacentersResultOutput) Id() pulumi.StringOutput
- func (o GetDatacentersResultOutput) Names() pulumi.StringArrayOutputdeprecated
- func (o GetDatacentersResultOutput) ToGetDatacentersResultOutput() GetDatacentersResultOutput
- func (o GetDatacentersResultOutput) ToGetDatacentersResultOutputWithContext(ctx context.Context) GetDatacentersResultOutput
- type GetFirewallApplyTo
- type GetFirewallApplyToArgs
- type GetFirewallApplyToArray
- type GetFirewallApplyToArrayInput
- type GetFirewallApplyToArrayOutput
- func (GetFirewallApplyToArrayOutput) ElementType() reflect.Type
- func (o GetFirewallApplyToArrayOutput) Index(i pulumi.IntInput) GetFirewallApplyToOutput
- func (o GetFirewallApplyToArrayOutput) ToGetFirewallApplyToArrayOutput() GetFirewallApplyToArrayOutput
- func (o GetFirewallApplyToArrayOutput) ToGetFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallApplyToArrayOutput
- type GetFirewallApplyToInput
- type GetFirewallApplyToOutput
- func (GetFirewallApplyToOutput) ElementType() reflect.Type
- func (o GetFirewallApplyToOutput) LabelSelector() pulumi.StringOutput
- func (o GetFirewallApplyToOutput) Server() pulumi.IntOutput
- func (o GetFirewallApplyToOutput) ToGetFirewallApplyToOutput() GetFirewallApplyToOutput
- func (o GetFirewallApplyToOutput) ToGetFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallApplyToOutput
- type GetFirewallRule
- type GetFirewallRuleArgs
- type GetFirewallRuleArray
- type GetFirewallRuleArrayInput
- type GetFirewallRuleArrayOutput
- func (GetFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o GetFirewallRuleArrayOutput) Index(i pulumi.IntInput) GetFirewallRuleOutput
- func (o GetFirewallRuleArrayOutput) ToGetFirewallRuleArrayOutput() GetFirewallRuleArrayOutput
- func (o GetFirewallRuleArrayOutput) ToGetFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallRuleArrayOutput
- type GetFirewallRuleInput
- type GetFirewallRuleOutput
- func (o GetFirewallRuleOutput) Description() pulumi.StringPtrOutput
- func (o GetFirewallRuleOutput) DestinationIps() pulumi.StringArrayOutput
- func (o GetFirewallRuleOutput) Direction() pulumi.StringOutput
- func (GetFirewallRuleOutput) ElementType() reflect.Type
- func (o GetFirewallRuleOutput) Port() pulumi.StringPtrOutput
- func (o GetFirewallRuleOutput) Protocol() pulumi.StringPtrOutput
- func (o GetFirewallRuleOutput) SourceIps() pulumi.StringArrayOutput
- func (o GetFirewallRuleOutput) ToGetFirewallRuleOutput() GetFirewallRuleOutput
- func (o GetFirewallRuleOutput) ToGetFirewallRuleOutputWithContext(ctx context.Context) GetFirewallRuleOutput
- type GetFirewallsArgs
- type GetFirewallsFirewall
- type GetFirewallsFirewallApplyTo
- type GetFirewallsFirewallApplyToArgs
- func (GetFirewallsFirewallApplyToArgs) ElementType() reflect.Type
- func (i GetFirewallsFirewallApplyToArgs) ToGetFirewallsFirewallApplyToOutput() GetFirewallsFirewallApplyToOutput
- func (i GetFirewallsFirewallApplyToArgs) ToGetFirewallsFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToOutput
- type GetFirewallsFirewallApplyToArray
- func (GetFirewallsFirewallApplyToArray) ElementType() reflect.Type
- func (i GetFirewallsFirewallApplyToArray) ToGetFirewallsFirewallApplyToArrayOutput() GetFirewallsFirewallApplyToArrayOutput
- func (i GetFirewallsFirewallApplyToArray) ToGetFirewallsFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToArrayOutput
- type GetFirewallsFirewallApplyToArrayInput
- type GetFirewallsFirewallApplyToArrayOutput
- func (GetFirewallsFirewallApplyToArrayOutput) ElementType() reflect.Type
- func (o GetFirewallsFirewallApplyToArrayOutput) Index(i pulumi.IntInput) GetFirewallsFirewallApplyToOutput
- func (o GetFirewallsFirewallApplyToArrayOutput) ToGetFirewallsFirewallApplyToArrayOutput() GetFirewallsFirewallApplyToArrayOutput
- func (o GetFirewallsFirewallApplyToArrayOutput) ToGetFirewallsFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToArrayOutput
- type GetFirewallsFirewallApplyToInput
- type GetFirewallsFirewallApplyToOutput
- func (GetFirewallsFirewallApplyToOutput) ElementType() reflect.Type
- func (o GetFirewallsFirewallApplyToOutput) LabelSelector() pulumi.StringOutput
- func (o GetFirewallsFirewallApplyToOutput) Server() pulumi.IntOutput
- func (o GetFirewallsFirewallApplyToOutput) ToGetFirewallsFirewallApplyToOutput() GetFirewallsFirewallApplyToOutput
- func (o GetFirewallsFirewallApplyToOutput) ToGetFirewallsFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToOutput
- type GetFirewallsFirewallArgs
- type GetFirewallsFirewallArray
- type GetFirewallsFirewallArrayInput
- type GetFirewallsFirewallArrayOutput
- func (GetFirewallsFirewallArrayOutput) ElementType() reflect.Type
- func (o GetFirewallsFirewallArrayOutput) Index(i pulumi.IntInput) GetFirewallsFirewallOutput
- func (o GetFirewallsFirewallArrayOutput) ToGetFirewallsFirewallArrayOutput() GetFirewallsFirewallArrayOutput
- func (o GetFirewallsFirewallArrayOutput) ToGetFirewallsFirewallArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallArrayOutput
- type GetFirewallsFirewallInput
- type GetFirewallsFirewallOutput
- func (o GetFirewallsFirewallOutput) ApplyTos() GetFirewallsFirewallApplyToArrayOutput
- func (GetFirewallsFirewallOutput) ElementType() reflect.Type
- func (o GetFirewallsFirewallOutput) Id() pulumi.IntPtrOutput
- func (o GetFirewallsFirewallOutput) Labels() pulumi.StringMapOutput
- func (o GetFirewallsFirewallOutput) Name() pulumi.StringOutput
- func (o GetFirewallsFirewallOutput) Rules() GetFirewallsFirewallRuleArrayOutput
- func (o GetFirewallsFirewallOutput) ToGetFirewallsFirewallOutput() GetFirewallsFirewallOutput
- func (o GetFirewallsFirewallOutput) ToGetFirewallsFirewallOutputWithContext(ctx context.Context) GetFirewallsFirewallOutput
- type GetFirewallsFirewallRule
- type GetFirewallsFirewallRuleArgs
- func (GetFirewallsFirewallRuleArgs) ElementType() reflect.Type
- func (i GetFirewallsFirewallRuleArgs) ToGetFirewallsFirewallRuleOutput() GetFirewallsFirewallRuleOutput
- func (i GetFirewallsFirewallRuleArgs) ToGetFirewallsFirewallRuleOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleOutput
- type GetFirewallsFirewallRuleArray
- func (GetFirewallsFirewallRuleArray) ElementType() reflect.Type
- func (i GetFirewallsFirewallRuleArray) ToGetFirewallsFirewallRuleArrayOutput() GetFirewallsFirewallRuleArrayOutput
- func (i GetFirewallsFirewallRuleArray) ToGetFirewallsFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleArrayOutput
- type GetFirewallsFirewallRuleArrayInput
- type GetFirewallsFirewallRuleArrayOutput
- func (GetFirewallsFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o GetFirewallsFirewallRuleArrayOutput) Index(i pulumi.IntInput) GetFirewallsFirewallRuleOutput
- func (o GetFirewallsFirewallRuleArrayOutput) ToGetFirewallsFirewallRuleArrayOutput() GetFirewallsFirewallRuleArrayOutput
- func (o GetFirewallsFirewallRuleArrayOutput) ToGetFirewallsFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleArrayOutput
- type GetFirewallsFirewallRuleInput
- type GetFirewallsFirewallRuleOutput
- func (o GetFirewallsFirewallRuleOutput) Description() pulumi.StringPtrOutput
- func (o GetFirewallsFirewallRuleOutput) DestinationIps() pulumi.StringArrayOutput
- func (o GetFirewallsFirewallRuleOutput) Direction() pulumi.StringOutput
- func (GetFirewallsFirewallRuleOutput) ElementType() reflect.Type
- func (o GetFirewallsFirewallRuleOutput) Port() pulumi.StringPtrOutput
- func (o GetFirewallsFirewallRuleOutput) Protocol() pulumi.StringPtrOutput
- func (o GetFirewallsFirewallRuleOutput) SourceIps() pulumi.StringArrayOutput
- func (o GetFirewallsFirewallRuleOutput) ToGetFirewallsFirewallRuleOutput() GetFirewallsFirewallRuleOutput
- func (o GetFirewallsFirewallRuleOutput) ToGetFirewallsFirewallRuleOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleOutput
- type GetFirewallsOutputArgs
- type GetFirewallsResult
- type GetFirewallsResultOutput
- func (GetFirewallsResultOutput) ElementType() reflect.Type
- func (o GetFirewallsResultOutput) Firewalls() GetFirewallsFirewallArrayOutput
- func (o GetFirewallsResultOutput) Id() pulumi.StringOutput
- func (o GetFirewallsResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o GetFirewallsResultOutput) ToGetFirewallsResultOutput() GetFirewallsResultOutput
- func (o GetFirewallsResultOutput) ToGetFirewallsResultOutputWithContext(ctx context.Context) GetFirewallsResultOutput
- func (o GetFirewallsResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetFloatingIpsArgs
- type GetFloatingIpsFloatingIp
- type GetFloatingIpsFloatingIpArgs
- func (GetFloatingIpsFloatingIpArgs) ElementType() reflect.Type
- func (i GetFloatingIpsFloatingIpArgs) ToGetFloatingIpsFloatingIpOutput() GetFloatingIpsFloatingIpOutput
- func (i GetFloatingIpsFloatingIpArgs) ToGetFloatingIpsFloatingIpOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpOutput
- type GetFloatingIpsFloatingIpArray
- func (GetFloatingIpsFloatingIpArray) ElementType() reflect.Type
- func (i GetFloatingIpsFloatingIpArray) ToGetFloatingIpsFloatingIpArrayOutput() GetFloatingIpsFloatingIpArrayOutput
- func (i GetFloatingIpsFloatingIpArray) ToGetFloatingIpsFloatingIpArrayOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpArrayOutput
- type GetFloatingIpsFloatingIpArrayInput
- type GetFloatingIpsFloatingIpArrayOutput
- func (GetFloatingIpsFloatingIpArrayOutput) ElementType() reflect.Type
- func (o GetFloatingIpsFloatingIpArrayOutput) Index(i pulumi.IntInput) GetFloatingIpsFloatingIpOutput
- func (o GetFloatingIpsFloatingIpArrayOutput) ToGetFloatingIpsFloatingIpArrayOutput() GetFloatingIpsFloatingIpArrayOutput
- func (o GetFloatingIpsFloatingIpArrayOutput) ToGetFloatingIpsFloatingIpArrayOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpArrayOutput
- type GetFloatingIpsFloatingIpInput
- type GetFloatingIpsFloatingIpOutput
- func (o GetFloatingIpsFloatingIpOutput) DeleteProtection() pulumi.BoolOutput
- func (o GetFloatingIpsFloatingIpOutput) Description() pulumi.StringOutput
- func (GetFloatingIpsFloatingIpOutput) ElementType() reflect.Type
- func (o GetFloatingIpsFloatingIpOutput) HomeLocation() pulumi.StringOutput
- func (o GetFloatingIpsFloatingIpOutput) Id() pulumi.IntOutput
- func (o GetFloatingIpsFloatingIpOutput) IpAddress() pulumi.StringOutput
- func (o GetFloatingIpsFloatingIpOutput) IpNetwork() pulumi.StringOutput
- func (o GetFloatingIpsFloatingIpOutput) Labels() pulumi.StringMapOutput
- func (o GetFloatingIpsFloatingIpOutput) Name() pulumi.StringPtrOutput
- func (o GetFloatingIpsFloatingIpOutput) ServerId() pulumi.IntOutput
- func (o GetFloatingIpsFloatingIpOutput) ToGetFloatingIpsFloatingIpOutput() GetFloatingIpsFloatingIpOutput
- func (o GetFloatingIpsFloatingIpOutput) ToGetFloatingIpsFloatingIpOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpOutput
- func (o GetFloatingIpsFloatingIpOutput) Type() pulumi.StringOutput
- type GetFloatingIpsOutputArgs
- type GetFloatingIpsResult
- type GetFloatingIpsResultOutput
- func (GetFloatingIpsResultOutput) ElementType() reflect.Type
- func (o GetFloatingIpsResultOutput) FloatingIps() GetFloatingIpsFloatingIpArrayOutput
- func (o GetFloatingIpsResultOutput) Id() pulumi.StringOutput
- func (o GetFloatingIpsResultOutput) ToGetFloatingIpsResultOutput() GetFloatingIpsResultOutput
- func (o GetFloatingIpsResultOutput) ToGetFloatingIpsResultOutputWithContext(ctx context.Context) GetFloatingIpsResultOutput
- func (o GetFloatingIpsResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetImageArgs
- type GetImageOutputArgs
- type GetImageResult
- type GetImageResultOutput
- func (o GetImageResultOutput) Architecture() pulumi.StringOutput
- func (o GetImageResultOutput) Created() pulumi.StringOutput
- func (o GetImageResultOutput) Deprecated() pulumi.StringOutput
- func (o GetImageResultOutput) Description() pulumi.StringOutput
- func (GetImageResultOutput) ElementType() reflect.Type
- func (o GetImageResultOutput) Id() pulumi.IntOutput
- func (o GetImageResultOutput) IncludeDeprecated() pulumi.BoolPtrOutput
- func (o GetImageResultOutput) Labels() pulumi.StringMapOutput
- func (o GetImageResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o GetImageResultOutput) Name() pulumi.StringOutput
- func (o GetImageResultOutput) OsFlavor() pulumi.StringOutput
- func (o GetImageResultOutput) OsVersion() pulumi.StringOutput
- func (o GetImageResultOutput) RapidDeploy() pulumi.BoolOutput
- func (o GetImageResultOutput) Selector() pulumi.StringPtrOutputdeprecated
- func (o GetImageResultOutput) ToGetImageResultOutput() GetImageResultOutput
- func (o GetImageResultOutput) ToGetImageResultOutputWithContext(ctx context.Context) GetImageResultOutput
- func (o GetImageResultOutput) Type() pulumi.StringOutput
- func (o GetImageResultOutput) WithArchitecture() pulumi.StringPtrOutput
- func (o GetImageResultOutput) WithSelector() pulumi.StringPtrOutput
- func (o GetImageResultOutput) WithStatuses() pulumi.StringArrayOutput
- type GetImagesArgs
- type GetImagesImage
- type GetImagesImageArgs
- type GetImagesImageArray
- type GetImagesImageArrayInput
- type GetImagesImageArrayOutput
- func (GetImagesImageArrayOutput) ElementType() reflect.Type
- func (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput
- func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
- func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
- type GetImagesImageInput
- type GetImagesImageOutput
- func (o GetImagesImageOutput) Architecture() pulumi.StringOutput
- func (o GetImagesImageOutput) Created() pulumi.StringOutput
- func (o GetImagesImageOutput) Deprecated() pulumi.StringOutput
- func (o GetImagesImageOutput) Description() pulumi.StringOutput
- func (GetImagesImageOutput) ElementType() reflect.Type
- func (o GetImagesImageOutput) Id() pulumi.IntOutput
- func (o GetImagesImageOutput) Labels() pulumi.StringMapOutput
- func (o GetImagesImageOutput) Name() pulumi.StringOutput
- func (o GetImagesImageOutput) OsFlavor() pulumi.StringOutput
- func (o GetImagesImageOutput) OsVersion() pulumi.StringOutput
- func (o GetImagesImageOutput) RapidDeploy() pulumi.BoolOutput
- func (o GetImagesImageOutput) Selector() pulumi.StringPtrOutputdeprecated
- func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
- func (o GetImagesImageOutput) Type() pulumi.StringOutput
- type GetImagesOutputArgs
- type GetImagesResult
- type GetImagesResultOutput
- func (GetImagesResultOutput) ElementType() reflect.Type
- func (o GetImagesResultOutput) Id() pulumi.StringOutput
- func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput
- func (o GetImagesResultOutput) IncludeDeprecated() pulumi.BoolPtrOutput
- func (o GetImagesResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput
- func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput
- func (o GetImagesResultOutput) WithArchitectures() pulumi.StringArrayOutput
- func (o GetImagesResultOutput) WithSelector() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) WithStatuses() pulumi.StringArrayOutput
- type GetLoadBalancerAlgorithm
- type GetLoadBalancerAlgorithmArgs
- func (GetLoadBalancerAlgorithmArgs) ElementType() reflect.Type
- func (i GetLoadBalancerAlgorithmArgs) ToGetLoadBalancerAlgorithmOutput() GetLoadBalancerAlgorithmOutput
- func (i GetLoadBalancerAlgorithmArgs) ToGetLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmOutput
- type GetLoadBalancerAlgorithmArray
- func (GetLoadBalancerAlgorithmArray) ElementType() reflect.Type
- func (i GetLoadBalancerAlgorithmArray) ToGetLoadBalancerAlgorithmArrayOutput() GetLoadBalancerAlgorithmArrayOutput
- func (i GetLoadBalancerAlgorithmArray) ToGetLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmArrayOutput
- type GetLoadBalancerAlgorithmArrayInput
- type GetLoadBalancerAlgorithmArrayOutput
- func (GetLoadBalancerAlgorithmArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerAlgorithmArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerAlgorithmOutput
- func (o GetLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancerAlgorithmArrayOutput() GetLoadBalancerAlgorithmArrayOutput
- func (o GetLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmArrayOutput
- type GetLoadBalancerAlgorithmInput
- type GetLoadBalancerAlgorithmOutput
- func (GetLoadBalancerAlgorithmOutput) ElementType() reflect.Type
- func (o GetLoadBalancerAlgorithmOutput) ToGetLoadBalancerAlgorithmOutput() GetLoadBalancerAlgorithmOutput
- func (o GetLoadBalancerAlgorithmOutput) ToGetLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmOutput
- func (o GetLoadBalancerAlgorithmOutput) Type() pulumi.StringOutput
- type GetLoadBalancerServiceHealthCheck
- type GetLoadBalancerServiceHealthCheckArgs
- func (GetLoadBalancerServiceHealthCheckArgs) ElementType() reflect.Type
- func (i GetLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancerServiceHealthCheckOutput() GetLoadBalancerServiceHealthCheckOutput
- func (i GetLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckOutput
- type GetLoadBalancerServiceHealthCheckArray
- func (GetLoadBalancerServiceHealthCheckArray) ElementType() reflect.Type
- func (i GetLoadBalancerServiceHealthCheckArray) ToGetLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancerServiceHealthCheckArrayOutput
- func (i GetLoadBalancerServiceHealthCheckArray) ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckArrayOutput
- type GetLoadBalancerServiceHealthCheckArrayInput
- type GetLoadBalancerServiceHealthCheckArrayOutput
- func (GetLoadBalancerServiceHealthCheckArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceHealthCheckArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerServiceHealthCheckOutput
- func (o GetLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancerServiceHealthCheckArrayOutput
- func (o GetLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckArrayOutput
- type GetLoadBalancerServiceHealthCheckHttp
- type GetLoadBalancerServiceHealthCheckHttpArgs
- func (GetLoadBalancerServiceHealthCheckHttpArgs) ElementType() reflect.Type
- func (i GetLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancerServiceHealthCheckHttpOutput
- func (i GetLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpOutput
- type GetLoadBalancerServiceHealthCheckHttpArray
- func (GetLoadBalancerServiceHealthCheckHttpArray) ElementType() reflect.Type
- func (i GetLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancerServiceHealthCheckHttpArrayOutput
- func (i GetLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpArrayOutput
- type GetLoadBalancerServiceHealthCheckHttpArrayInput
- type GetLoadBalancerServiceHealthCheckHttpArrayOutput
- func (GetLoadBalancerServiceHealthCheckHttpArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceHealthCheckHttpArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerServiceHealthCheckHttpOutput
- func (o GetLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancerServiceHealthCheckHttpArrayOutput
- func (o GetLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpArrayOutput
- type GetLoadBalancerServiceHealthCheckHttpInput
- type GetLoadBalancerServiceHealthCheckHttpOutput
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) Domain() pulumi.StringOutput
- func (GetLoadBalancerServiceHealthCheckHttpOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) Path() pulumi.StringOutput
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) Response() pulumi.StringOutput
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) StatusCodes() pulumi.IntArrayOutput
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) Tls() pulumi.BoolOutput
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancerServiceHealthCheckHttpOutput
- func (o GetLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpOutput
- type GetLoadBalancerServiceHealthCheckInput
- type GetLoadBalancerServiceHealthCheckOutput
- func (GetLoadBalancerServiceHealthCheckOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceHealthCheckOutput) Https() GetLoadBalancerServiceHealthCheckHttpArrayOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) Interval() pulumi.IntOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) Port() pulumi.IntOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) Protocol() pulumi.StringOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) Retries() pulumi.IntOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) Timeout() pulumi.IntOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancerServiceHealthCheckOutput() GetLoadBalancerServiceHealthCheckOutput
- func (o GetLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckOutput
- type GetLoadBalancerServiceHttp
- type GetLoadBalancerServiceHttpArgs
- func (GetLoadBalancerServiceHttpArgs) ElementType() reflect.Type
- func (i GetLoadBalancerServiceHttpArgs) ToGetLoadBalancerServiceHttpOutput() GetLoadBalancerServiceHttpOutput
- func (i GetLoadBalancerServiceHttpArgs) ToGetLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpOutput
- type GetLoadBalancerServiceHttpArray
- func (GetLoadBalancerServiceHttpArray) ElementType() reflect.Type
- func (i GetLoadBalancerServiceHttpArray) ToGetLoadBalancerServiceHttpArrayOutput() GetLoadBalancerServiceHttpArrayOutput
- func (i GetLoadBalancerServiceHttpArray) ToGetLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpArrayOutput
- type GetLoadBalancerServiceHttpArrayInput
- type GetLoadBalancerServiceHttpArrayOutput
- func (GetLoadBalancerServiceHttpArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceHttpArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerServiceHttpOutput
- func (o GetLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancerServiceHttpArrayOutput() GetLoadBalancerServiceHttpArrayOutput
- func (o GetLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpArrayOutput
- type GetLoadBalancerServiceHttpInput
- type GetLoadBalancerServiceHttpOutput
- func (o GetLoadBalancerServiceHttpOutput) Certificates() pulumi.StringArrayOutput
- func (o GetLoadBalancerServiceHttpOutput) CookieLifetime() pulumi.IntOutput
- func (o GetLoadBalancerServiceHttpOutput) CookieName() pulumi.StringOutput
- func (GetLoadBalancerServiceHttpOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceHttpOutput) RedirectHttp() pulumi.BoolOutput
- func (o GetLoadBalancerServiceHttpOutput) StickySessions() pulumi.BoolOutput
- func (o GetLoadBalancerServiceHttpOutput) ToGetLoadBalancerServiceHttpOutput() GetLoadBalancerServiceHttpOutput
- func (o GetLoadBalancerServiceHttpOutput) ToGetLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpOutput
- type GetLoadBalancerServiceType
- type GetLoadBalancerServiceTypeArgs
- func (GetLoadBalancerServiceTypeArgs) ElementType() reflect.Type
- func (i GetLoadBalancerServiceTypeArgs) ToGetLoadBalancerServiceTypeOutput() GetLoadBalancerServiceTypeOutput
- func (i GetLoadBalancerServiceTypeArgs) ToGetLoadBalancerServiceTypeOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeOutput
- type GetLoadBalancerServiceTypeArray
- func (GetLoadBalancerServiceTypeArray) ElementType() reflect.Type
- func (i GetLoadBalancerServiceTypeArray) ToGetLoadBalancerServiceTypeArrayOutput() GetLoadBalancerServiceTypeArrayOutput
- func (i GetLoadBalancerServiceTypeArray) ToGetLoadBalancerServiceTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeArrayOutput
- type GetLoadBalancerServiceTypeArrayInput
- type GetLoadBalancerServiceTypeArrayOutput
- func (GetLoadBalancerServiceTypeArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceTypeArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerServiceTypeOutput
- func (o GetLoadBalancerServiceTypeArrayOutput) ToGetLoadBalancerServiceTypeArrayOutput() GetLoadBalancerServiceTypeArrayOutput
- func (o GetLoadBalancerServiceTypeArrayOutput) ToGetLoadBalancerServiceTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeArrayOutput
- type GetLoadBalancerServiceTypeInput
- type GetLoadBalancerServiceTypeOutput
- func (o GetLoadBalancerServiceTypeOutput) DestinationPort() pulumi.IntOutput
- func (GetLoadBalancerServiceTypeOutput) ElementType() reflect.Type
- func (o GetLoadBalancerServiceTypeOutput) HealthChecks() GetLoadBalancerServiceHealthCheckArrayOutput
- func (o GetLoadBalancerServiceTypeOutput) Https() GetLoadBalancerServiceHttpArrayOutput
- func (o GetLoadBalancerServiceTypeOutput) ListenPort() pulumi.IntOutput
- func (o GetLoadBalancerServiceTypeOutput) Protocol() pulumi.StringOutput
- func (o GetLoadBalancerServiceTypeOutput) Proxyprotocol() pulumi.BoolOutput
- func (o GetLoadBalancerServiceTypeOutput) ToGetLoadBalancerServiceTypeOutput() GetLoadBalancerServiceTypeOutput
- func (o GetLoadBalancerServiceTypeOutput) ToGetLoadBalancerServiceTypeOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeOutput
- type GetLoadBalancerTargetType
- type GetLoadBalancerTargetTypeArgs
- func (GetLoadBalancerTargetTypeArgs) ElementType() reflect.Type
- func (i GetLoadBalancerTargetTypeArgs) ToGetLoadBalancerTargetTypeOutput() GetLoadBalancerTargetTypeOutput
- func (i GetLoadBalancerTargetTypeArgs) ToGetLoadBalancerTargetTypeOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeOutput
- type GetLoadBalancerTargetTypeArray
- func (GetLoadBalancerTargetTypeArray) ElementType() reflect.Type
- func (i GetLoadBalancerTargetTypeArray) ToGetLoadBalancerTargetTypeArrayOutput() GetLoadBalancerTargetTypeArrayOutput
- func (i GetLoadBalancerTargetTypeArray) ToGetLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeArrayOutput
- type GetLoadBalancerTargetTypeArrayInput
- type GetLoadBalancerTargetTypeArrayOutput
- func (GetLoadBalancerTargetTypeArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerTargetTypeArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerTargetTypeOutput
- func (o GetLoadBalancerTargetTypeArrayOutput) ToGetLoadBalancerTargetTypeArrayOutput() GetLoadBalancerTargetTypeArrayOutput
- func (o GetLoadBalancerTargetTypeArrayOutput) ToGetLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeArrayOutput
- type GetLoadBalancerTargetTypeInput
- type GetLoadBalancerTargetTypeOutput
- func (GetLoadBalancerTargetTypeOutput) ElementType() reflect.Type
- func (o GetLoadBalancerTargetTypeOutput) LabelSelector() pulumi.StringOutput
- func (o GetLoadBalancerTargetTypeOutput) ServerId() pulumi.IntOutput
- func (o GetLoadBalancerTargetTypeOutput) ToGetLoadBalancerTargetTypeOutput() GetLoadBalancerTargetTypeOutput
- func (o GetLoadBalancerTargetTypeOutput) ToGetLoadBalancerTargetTypeOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeOutput
- func (o GetLoadBalancerTargetTypeOutput) Type() pulumi.StringOutput
- type GetLoadBalancerTypeArgs
- type GetLoadBalancerTypeOutputArgs
- type GetLoadBalancerTypeResult
- type GetLoadBalancerTypeResultOutput
- func (o GetLoadBalancerTypeResultOutput) Description() pulumi.StringOutput
- func (GetLoadBalancerTypeResultOutput) ElementType() reflect.Type
- func (o GetLoadBalancerTypeResultOutput) Id() pulumi.IntOutput
- func (o GetLoadBalancerTypeResultOutput) MaxAssignedCertificates() pulumi.IntOutput
- func (o GetLoadBalancerTypeResultOutput) MaxConnections() pulumi.IntOutput
- func (o GetLoadBalancerTypeResultOutput) MaxServices() pulumi.IntOutput
- func (o GetLoadBalancerTypeResultOutput) MaxTargets() pulumi.IntOutput
- func (o GetLoadBalancerTypeResultOutput) Name() pulumi.StringOutput
- func (o GetLoadBalancerTypeResultOutput) ToGetLoadBalancerTypeResultOutput() GetLoadBalancerTypeResultOutput
- func (o GetLoadBalancerTypeResultOutput) ToGetLoadBalancerTypeResultOutputWithContext(ctx context.Context) GetLoadBalancerTypeResultOutput
- type GetLoadBalancerTypesLoadBalancerType
- type GetLoadBalancerTypesLoadBalancerTypeArgs
- func (GetLoadBalancerTypesLoadBalancerTypeArgs) ElementType() reflect.Type
- func (i GetLoadBalancerTypesLoadBalancerTypeArgs) ToGetLoadBalancerTypesLoadBalancerTypeOutput() GetLoadBalancerTypesLoadBalancerTypeOutput
- func (i GetLoadBalancerTypesLoadBalancerTypeArgs) ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeOutput
- type GetLoadBalancerTypesLoadBalancerTypeArray
- func (GetLoadBalancerTypesLoadBalancerTypeArray) ElementType() reflect.Type
- func (i GetLoadBalancerTypesLoadBalancerTypeArray) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput() GetLoadBalancerTypesLoadBalancerTypeArrayOutput
- func (i GetLoadBalancerTypesLoadBalancerTypeArray) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeArrayOutput
- type GetLoadBalancerTypesLoadBalancerTypeArrayInput
- type GetLoadBalancerTypesLoadBalancerTypeArrayOutput
- func (GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerTypesLoadBalancerTypeArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerTypesLoadBalancerTypeOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput() GetLoadBalancerTypesLoadBalancerTypeArrayOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeArrayOutput
- type GetLoadBalancerTypesLoadBalancerTypeInput
- type GetLoadBalancerTypesLoadBalancerTypeOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) Description() pulumi.StringOutput
- func (GetLoadBalancerTypesLoadBalancerTypeOutput) ElementType() reflect.Type
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) Id() pulumi.IntOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxAssignedCertificates() pulumi.IntOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxConnections() pulumi.IntOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxServices() pulumi.IntOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxTargets() pulumi.IntOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) Name() pulumi.StringOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) ToGetLoadBalancerTypesLoadBalancerTypeOutput() GetLoadBalancerTypesLoadBalancerTypeOutput
- func (o GetLoadBalancerTypesLoadBalancerTypeOutput) ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeOutput
- type GetLoadBalancerTypesResult
- type GetLoadBalancerTypesResultOutput
- func (GetLoadBalancerTypesResultOutput) ElementType() reflect.Type
- func (o GetLoadBalancerTypesResultOutput) Id() pulumi.StringOutput
- func (o GetLoadBalancerTypesResultOutput) LoadBalancerTypes() GetLoadBalancerTypesLoadBalancerTypeArrayOutput
- func (o GetLoadBalancerTypesResultOutput) ToGetLoadBalancerTypesResultOutput() GetLoadBalancerTypesResultOutput
- func (o GetLoadBalancerTypesResultOutput) ToGetLoadBalancerTypesResultOutputWithContext(ctx context.Context) GetLoadBalancerTypesResultOutput
- type GetLoadBalancersArgs
- type GetLoadBalancersLoadBalancer
- type GetLoadBalancersLoadBalancerAlgorithm
- type GetLoadBalancersLoadBalancerAlgorithmArgs
- func (GetLoadBalancersLoadBalancerAlgorithmArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerAlgorithmArgs) ToGetLoadBalancersLoadBalancerAlgorithmOutput() GetLoadBalancersLoadBalancerAlgorithmOutput
- func (i GetLoadBalancersLoadBalancerAlgorithmArgs) ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmOutput
- type GetLoadBalancersLoadBalancerAlgorithmArray
- func (GetLoadBalancersLoadBalancerAlgorithmArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerAlgorithmArray) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput() GetLoadBalancersLoadBalancerAlgorithmArrayOutput
- func (i GetLoadBalancersLoadBalancerAlgorithmArray) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmArrayOutput
- type GetLoadBalancersLoadBalancerAlgorithmArrayInput
- type GetLoadBalancersLoadBalancerAlgorithmArrayOutput
- func (GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerAlgorithmArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerAlgorithmOutput
- func (o GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput() GetLoadBalancersLoadBalancerAlgorithmArrayOutput
- func (o GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmArrayOutput
- type GetLoadBalancersLoadBalancerAlgorithmInput
- type GetLoadBalancersLoadBalancerAlgorithmOutput
- func (GetLoadBalancersLoadBalancerAlgorithmOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerAlgorithmOutput) ToGetLoadBalancersLoadBalancerAlgorithmOutput() GetLoadBalancersLoadBalancerAlgorithmOutput
- func (o GetLoadBalancersLoadBalancerAlgorithmOutput) ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmOutput
- func (o GetLoadBalancersLoadBalancerAlgorithmOutput) Type() pulumi.StringOutput
- type GetLoadBalancersLoadBalancerArgs
- func (GetLoadBalancersLoadBalancerArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput
- func (i GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerOutput
- type GetLoadBalancersLoadBalancerArray
- func (GetLoadBalancersLoadBalancerArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput
- func (i GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerArrayOutput
- type GetLoadBalancersLoadBalancerArrayInput
- type GetLoadBalancersLoadBalancerArrayOutput
- func (GetLoadBalancersLoadBalancerArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerOutput
- func (o GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput
- func (o GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerArrayOutput
- type GetLoadBalancersLoadBalancerInput
- type GetLoadBalancersLoadBalancerOutput
- func (o GetLoadBalancersLoadBalancerOutput) Algorithms() GetLoadBalancersLoadBalancerAlgorithmArrayOutput
- func (o GetLoadBalancersLoadBalancerOutput) DeleteProtection() pulumi.BoolOutput
- func (GetLoadBalancersLoadBalancerOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerOutput) Id() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerOutput) Ipv4() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerOutput) Ipv6() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerOutput) Labels() pulumi.StringMapOutput
- func (o GetLoadBalancersLoadBalancerOutput) LoadBalancerType() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerOutput) Location() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerOutput) Name() pulumi.StringPtrOutput
- func (o GetLoadBalancersLoadBalancerOutput) NetworkId() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerOutput) NetworkIp() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerOutput) NetworkZone() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerOutput) Services() GetLoadBalancersLoadBalancerServiceArrayOutput
- func (o GetLoadBalancersLoadBalancerOutput) Targets() GetLoadBalancersLoadBalancerTargetArrayOutput
- func (o GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput
- func (o GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerOutput
- type GetLoadBalancersLoadBalancerService
- type GetLoadBalancersLoadBalancerServiceArgs
- func (GetLoadBalancersLoadBalancerServiceArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceArgs) ToGetLoadBalancersLoadBalancerServiceOutput() GetLoadBalancersLoadBalancerServiceOutput
- func (i GetLoadBalancersLoadBalancerServiceArgs) ToGetLoadBalancersLoadBalancerServiceOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceOutput
- type GetLoadBalancersLoadBalancerServiceArray
- func (GetLoadBalancersLoadBalancerServiceArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceArray) ToGetLoadBalancersLoadBalancerServiceArrayOutput() GetLoadBalancersLoadBalancerServiceArrayOutput
- func (i GetLoadBalancersLoadBalancerServiceArray) ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceArrayOutput
- type GetLoadBalancersLoadBalancerServiceArrayInput
- type GetLoadBalancersLoadBalancerServiceArrayOutput
- func (GetLoadBalancersLoadBalancerServiceArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerServiceOutput
- func (o GetLoadBalancersLoadBalancerServiceArrayOutput) ToGetLoadBalancersLoadBalancerServiceArrayOutput() GetLoadBalancersLoadBalancerServiceArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceArrayOutput) ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceArrayOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheck
- type GetLoadBalancersLoadBalancerServiceHealthCheckArgs
- func (GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput() GetLoadBalancersLoadBalancerServiceHealthCheckOutput
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckArray
- func (GetLoadBalancersLoadBalancerServiceHealthCheckArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckArrayInput
- type GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
- func (GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerServiceHealthCheckOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttp
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs
- func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray
- func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
- func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayInput
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
- func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttpInput
- type GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Domain() pulumi.StringOutput
- func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Path() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Response() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) StatusCodes() pulumi.IntArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Tls() pulumi.BoolOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
- type GetLoadBalancersLoadBalancerServiceHealthCheckInput
- type GetLoadBalancersLoadBalancerServiceHealthCheckOutput
- func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Https() GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Interval() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Port() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Protocol() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Retries() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Timeout() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput() GetLoadBalancersLoadBalancerServiceHealthCheckOutput
- func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckOutput
- type GetLoadBalancersLoadBalancerServiceHttp
- type GetLoadBalancersLoadBalancerServiceHttpArgs
- func (GetLoadBalancersLoadBalancerServiceHttpArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceHttpArgs) ToGetLoadBalancersLoadBalancerServiceHttpOutput() GetLoadBalancersLoadBalancerServiceHttpOutput
- func (i GetLoadBalancersLoadBalancerServiceHttpArgs) ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpOutput
- type GetLoadBalancersLoadBalancerServiceHttpArray
- func (GetLoadBalancersLoadBalancerServiceHttpArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerServiceHttpArray) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHttpArrayOutput
- func (i GetLoadBalancersLoadBalancerServiceHttpArray) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpArrayOutput
- type GetLoadBalancersLoadBalancerServiceHttpArrayInput
- type GetLoadBalancersLoadBalancerServiceHttpArrayOutput
- func (GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceHttpArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerServiceHttpOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHttpArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpArrayOutput
- type GetLoadBalancersLoadBalancerServiceHttpInput
- type GetLoadBalancersLoadBalancerServiceHttpOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) Certificates() pulumi.StringArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) CookieLifetime() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) CookieName() pulumi.StringOutput
- func (GetLoadBalancersLoadBalancerServiceHttpOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) RedirectHttp() pulumi.BoolOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) StickySessions() pulumi.BoolOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) ToGetLoadBalancersLoadBalancerServiceHttpOutput() GetLoadBalancersLoadBalancerServiceHttpOutput
- func (o GetLoadBalancersLoadBalancerServiceHttpOutput) ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpOutput
- type GetLoadBalancersLoadBalancerServiceInput
- type GetLoadBalancersLoadBalancerServiceOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) DestinationPort() pulumi.IntOutput
- func (GetLoadBalancersLoadBalancerServiceOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerServiceOutput) HealthChecks() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) Https() GetLoadBalancersLoadBalancerServiceHttpArrayOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) ListenPort() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) Protocol() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) Proxyprotocol() pulumi.BoolOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) ToGetLoadBalancersLoadBalancerServiceOutput() GetLoadBalancersLoadBalancerServiceOutput
- func (o GetLoadBalancersLoadBalancerServiceOutput) ToGetLoadBalancersLoadBalancerServiceOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceOutput
- type GetLoadBalancersLoadBalancerTarget
- type GetLoadBalancersLoadBalancerTargetArgs
- func (GetLoadBalancersLoadBalancerTargetArgs) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerTargetArgs) ToGetLoadBalancersLoadBalancerTargetOutput() GetLoadBalancersLoadBalancerTargetOutput
- func (i GetLoadBalancersLoadBalancerTargetArgs) ToGetLoadBalancersLoadBalancerTargetOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetOutput
- type GetLoadBalancersLoadBalancerTargetArray
- func (GetLoadBalancersLoadBalancerTargetArray) ElementType() reflect.Type
- func (i GetLoadBalancersLoadBalancerTargetArray) ToGetLoadBalancersLoadBalancerTargetArrayOutput() GetLoadBalancersLoadBalancerTargetArrayOutput
- func (i GetLoadBalancersLoadBalancerTargetArray) ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetArrayOutput
- type GetLoadBalancersLoadBalancerTargetArrayInput
- type GetLoadBalancersLoadBalancerTargetArrayOutput
- func (GetLoadBalancersLoadBalancerTargetArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerTargetArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersLoadBalancerTargetOutput
- func (o GetLoadBalancersLoadBalancerTargetArrayOutput) ToGetLoadBalancersLoadBalancerTargetArrayOutput() GetLoadBalancersLoadBalancerTargetArrayOutput
- func (o GetLoadBalancersLoadBalancerTargetArrayOutput) ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetArrayOutput
- type GetLoadBalancersLoadBalancerTargetInput
- type GetLoadBalancersLoadBalancerTargetOutput
- func (GetLoadBalancersLoadBalancerTargetOutput) ElementType() reflect.Type
- func (o GetLoadBalancersLoadBalancerTargetOutput) LabelSelector() pulumi.StringOutput
- func (o GetLoadBalancersLoadBalancerTargetOutput) ServerId() pulumi.IntOutput
- func (o GetLoadBalancersLoadBalancerTargetOutput) ToGetLoadBalancersLoadBalancerTargetOutput() GetLoadBalancersLoadBalancerTargetOutput
- func (o GetLoadBalancersLoadBalancerTargetOutput) ToGetLoadBalancersLoadBalancerTargetOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetOutput
- func (o GetLoadBalancersLoadBalancerTargetOutput) Type() pulumi.StringOutput
- type GetLoadBalancersOutputArgs
- type GetLoadBalancersResult
- type GetLoadBalancersResultOutput
- func (GetLoadBalancersResultOutput) ElementType() reflect.Type
- func (o GetLoadBalancersResultOutput) Id() pulumi.StringOutput
- func (o GetLoadBalancersResultOutput) LoadBalancers() GetLoadBalancersLoadBalancerArrayOutput
- func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput() GetLoadBalancersResultOutput
- func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext(ctx context.Context) GetLoadBalancersResultOutput
- func (o GetLoadBalancersResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetLocationArgs
- type GetLocationOutputArgs
- type GetLocationResult
- type GetLocationResultOutput
- func (o GetLocationResultOutput) City() pulumi.StringOutput
- func (o GetLocationResultOutput) Country() pulumi.StringOutput
- func (o GetLocationResultOutput) Description() pulumi.StringOutput
- func (GetLocationResultOutput) ElementType() reflect.Type
- func (o GetLocationResultOutput) Id() pulumi.IntPtrOutput
- func (o GetLocationResultOutput) Latitude() pulumi.Float64Output
- func (o GetLocationResultOutput) Longitude() pulumi.Float64Output
- func (o GetLocationResultOutput) Name() pulumi.StringPtrOutput
- func (o GetLocationResultOutput) NetworkZone() pulumi.StringOutput
- func (o GetLocationResultOutput) ToGetLocationResultOutput() GetLocationResultOutput
- func (o GetLocationResultOutput) ToGetLocationResultOutputWithContext(ctx context.Context) GetLocationResultOutput
- type GetLocationsLocation
- type GetLocationsLocationArgs
- type GetLocationsLocationArray
- type GetLocationsLocationArrayInput
- type GetLocationsLocationArrayOutput
- func (GetLocationsLocationArrayOutput) ElementType() reflect.Type
- func (o GetLocationsLocationArrayOutput) Index(i pulumi.IntInput) GetLocationsLocationOutput
- func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
- func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput
- type GetLocationsLocationInput
- type GetLocationsLocationOutput
- func (o GetLocationsLocationOutput) City() pulumi.StringOutput
- func (o GetLocationsLocationOutput) Country() pulumi.StringOutput
- func (o GetLocationsLocationOutput) Description() pulumi.StringOutput
- func (GetLocationsLocationOutput) ElementType() reflect.Type
- func (o GetLocationsLocationOutput) Id() pulumi.IntOutput
- func (o GetLocationsLocationOutput) Latitude() pulumi.Float64Output
- func (o GetLocationsLocationOutput) Longitude() pulumi.Float64Output
- func (o GetLocationsLocationOutput) Name() pulumi.StringOutput
- func (o GetLocationsLocationOutput) NetworkZone() pulumi.StringOutput
- func (o GetLocationsLocationOutput) ToGetLocationsLocationOutput() GetLocationsLocationOutput
- func (o GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput
- type GetLocationsResult
- type GetLocationsResultOutput
- func (o GetLocationsResultOutput) Descriptions() pulumi.StringArrayOutputdeprecated
- func (GetLocationsResultOutput) ElementType() reflect.Type
- func (o GetLocationsResultOutput) Id() pulumi.StringOutput
- func (o GetLocationsResultOutput) LocationIds() pulumi.StringArrayOutputdeprecated
- func (o GetLocationsResultOutput) Locations() GetLocationsLocationArrayOutput
- func (o GetLocationsResultOutput) Names() pulumi.StringArrayOutputdeprecated
- func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput
- func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput
- type GetNetworksArgs
- type GetNetworksNetwork
- type GetNetworksNetworkArgs
- type GetNetworksNetworkArray
- type GetNetworksNetworkArrayInput
- type GetNetworksNetworkArrayOutput
- func (GetNetworksNetworkArrayOutput) ElementType() reflect.Type
- func (o GetNetworksNetworkArrayOutput) Index(i pulumi.IntInput) GetNetworksNetworkOutput
- func (o GetNetworksNetworkArrayOutput) ToGetNetworksNetworkArrayOutput() GetNetworksNetworkArrayOutput
- func (o GetNetworksNetworkArrayOutput) ToGetNetworksNetworkArrayOutputWithContext(ctx context.Context) GetNetworksNetworkArrayOutput
- type GetNetworksNetworkInput
- type GetNetworksNetworkOutput
- func (o GetNetworksNetworkOutput) DeleteProtection() pulumi.BoolOutput
- func (GetNetworksNetworkOutput) ElementType() reflect.Type
- func (o GetNetworksNetworkOutput) ExposeRoutesToVswitch() pulumi.BoolOutput
- func (o GetNetworksNetworkOutput) Id() pulumi.IntOutput
- func (o GetNetworksNetworkOutput) IpRange() pulumi.StringOutput
- func (o GetNetworksNetworkOutput) Labels() pulumi.StringMapOutput
- func (o GetNetworksNetworkOutput) Name() pulumi.StringOutput
- func (o GetNetworksNetworkOutput) ToGetNetworksNetworkOutput() GetNetworksNetworkOutput
- func (o GetNetworksNetworkOutput) ToGetNetworksNetworkOutputWithContext(ctx context.Context) GetNetworksNetworkOutput
- type GetNetworksOutputArgs
- type GetNetworksResult
- type GetNetworksResultOutput
- func (GetNetworksResultOutput) ElementType() reflect.Type
- func (o GetNetworksResultOutput) Id() pulumi.StringOutput
- func (o GetNetworksResultOutput) Networks() GetNetworksNetworkArrayOutput
- func (o GetNetworksResultOutput) ToGetNetworksResultOutput() GetNetworksResultOutput
- func (o GetNetworksResultOutput) ToGetNetworksResultOutputWithContext(ctx context.Context) GetNetworksResultOutput
- func (o GetNetworksResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetPlacementGroupsArgs
- type GetPlacementGroupsOutputArgs
- type GetPlacementGroupsPlacementGroup
- type GetPlacementGroupsPlacementGroupArgs
- func (GetPlacementGroupsPlacementGroupArgs) ElementType() reflect.Type
- func (i GetPlacementGroupsPlacementGroupArgs) ToGetPlacementGroupsPlacementGroupOutput() GetPlacementGroupsPlacementGroupOutput
- func (i GetPlacementGroupsPlacementGroupArgs) ToGetPlacementGroupsPlacementGroupOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupOutput
- type GetPlacementGroupsPlacementGroupArray
- func (GetPlacementGroupsPlacementGroupArray) ElementType() reflect.Type
- func (i GetPlacementGroupsPlacementGroupArray) ToGetPlacementGroupsPlacementGroupArrayOutput() GetPlacementGroupsPlacementGroupArrayOutput
- func (i GetPlacementGroupsPlacementGroupArray) ToGetPlacementGroupsPlacementGroupArrayOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupArrayOutput
- type GetPlacementGroupsPlacementGroupArrayInput
- type GetPlacementGroupsPlacementGroupArrayOutput
- func (GetPlacementGroupsPlacementGroupArrayOutput) ElementType() reflect.Type
- func (o GetPlacementGroupsPlacementGroupArrayOutput) Index(i pulumi.IntInput) GetPlacementGroupsPlacementGroupOutput
- func (o GetPlacementGroupsPlacementGroupArrayOutput) ToGetPlacementGroupsPlacementGroupArrayOutput() GetPlacementGroupsPlacementGroupArrayOutput
- func (o GetPlacementGroupsPlacementGroupArrayOutput) ToGetPlacementGroupsPlacementGroupArrayOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupArrayOutput
- type GetPlacementGroupsPlacementGroupInput
- type GetPlacementGroupsPlacementGroupOutput
- func (GetPlacementGroupsPlacementGroupOutput) ElementType() reflect.Type
- func (o GetPlacementGroupsPlacementGroupOutput) Id() pulumi.IntOutput
- func (o GetPlacementGroupsPlacementGroupOutput) Labels() pulumi.StringMapOutput
- func (o GetPlacementGroupsPlacementGroupOutput) Name() pulumi.StringOutput
- func (o GetPlacementGroupsPlacementGroupOutput) Servers() pulumi.IntArrayOutput
- func (o GetPlacementGroupsPlacementGroupOutput) ToGetPlacementGroupsPlacementGroupOutput() GetPlacementGroupsPlacementGroupOutput
- func (o GetPlacementGroupsPlacementGroupOutput) ToGetPlacementGroupsPlacementGroupOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupOutput
- func (o GetPlacementGroupsPlacementGroupOutput) Type() pulumi.StringOutput
- type GetPlacementGroupsResult
- type GetPlacementGroupsResultOutput
- func (GetPlacementGroupsResultOutput) ElementType() reflect.Type
- func (o GetPlacementGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetPlacementGroupsResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o GetPlacementGroupsResultOutput) PlacementGroups() GetPlacementGroupsPlacementGroupArrayOutput
- func (o GetPlacementGroupsResultOutput) ToGetPlacementGroupsResultOutput() GetPlacementGroupsResultOutput
- func (o GetPlacementGroupsResultOutput) ToGetPlacementGroupsResultOutputWithContext(ctx context.Context) GetPlacementGroupsResultOutput
- func (o GetPlacementGroupsResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetPrimaryIpsArgs
- type GetPrimaryIpsOutputArgs
- type GetPrimaryIpsPrimaryIp
- type GetPrimaryIpsPrimaryIpArgs
- type GetPrimaryIpsPrimaryIpArray
- func (GetPrimaryIpsPrimaryIpArray) ElementType() reflect.Type
- func (i GetPrimaryIpsPrimaryIpArray) ToGetPrimaryIpsPrimaryIpArrayOutput() GetPrimaryIpsPrimaryIpArrayOutput
- func (i GetPrimaryIpsPrimaryIpArray) ToGetPrimaryIpsPrimaryIpArrayOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpArrayOutput
- type GetPrimaryIpsPrimaryIpArrayInput
- type GetPrimaryIpsPrimaryIpArrayOutput
- func (GetPrimaryIpsPrimaryIpArrayOutput) ElementType() reflect.Type
- func (o GetPrimaryIpsPrimaryIpArrayOutput) Index(i pulumi.IntInput) GetPrimaryIpsPrimaryIpOutput
- func (o GetPrimaryIpsPrimaryIpArrayOutput) ToGetPrimaryIpsPrimaryIpArrayOutput() GetPrimaryIpsPrimaryIpArrayOutput
- func (o GetPrimaryIpsPrimaryIpArrayOutput) ToGetPrimaryIpsPrimaryIpArrayOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpArrayOutput
- type GetPrimaryIpsPrimaryIpInput
- type GetPrimaryIpsPrimaryIpOutput
- func (o GetPrimaryIpsPrimaryIpOutput) AssigneeId() pulumi.IntOutput
- func (o GetPrimaryIpsPrimaryIpOutput) AssigneeType() pulumi.StringOutput
- func (o GetPrimaryIpsPrimaryIpOutput) AutoDelete() pulumi.BoolOutput
- func (o GetPrimaryIpsPrimaryIpOutput) Datacenter() pulumi.StringOutput
- func (o GetPrimaryIpsPrimaryIpOutput) DeleteProtection() pulumi.BoolOutput
- func (GetPrimaryIpsPrimaryIpOutput) ElementType() reflect.Type
- func (o GetPrimaryIpsPrimaryIpOutput) Id() pulumi.IntOutput
- func (o GetPrimaryIpsPrimaryIpOutput) IpAddress() pulumi.StringOutput
- func (o GetPrimaryIpsPrimaryIpOutput) IpNetwork() pulumi.StringOutput
- func (o GetPrimaryIpsPrimaryIpOutput) Labels() pulumi.StringMapOutput
- func (o GetPrimaryIpsPrimaryIpOutput) Name() pulumi.StringPtrOutput
- func (o GetPrimaryIpsPrimaryIpOutput) ToGetPrimaryIpsPrimaryIpOutput() GetPrimaryIpsPrimaryIpOutput
- func (o GetPrimaryIpsPrimaryIpOutput) ToGetPrimaryIpsPrimaryIpOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpOutput
- func (o GetPrimaryIpsPrimaryIpOutput) Type() pulumi.StringOutput
- type GetPrimaryIpsResult
- type GetPrimaryIpsResultOutput
- func (GetPrimaryIpsResultOutput) ElementType() reflect.Type
- func (o GetPrimaryIpsResultOutput) Id() pulumi.StringOutput
- func (o GetPrimaryIpsResultOutput) PrimaryIps() GetPrimaryIpsPrimaryIpArrayOutput
- func (o GetPrimaryIpsResultOutput) ToGetPrimaryIpsResultOutput() GetPrimaryIpsResultOutput
- func (o GetPrimaryIpsResultOutput) ToGetPrimaryIpsResultOutputWithContext(ctx context.Context) GetPrimaryIpsResultOutput
- func (o GetPrimaryIpsResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetServerTypeArgs
- type GetServerTypeOutputArgs
- type GetServerTypeResult
- type GetServerTypeResultOutput
- func (o GetServerTypeResultOutput) Architecture() pulumi.StringOutput
- func (o GetServerTypeResultOutput) Cores() pulumi.Float64Output
- func (o GetServerTypeResultOutput) CpuType() pulumi.StringOutput
- func (o GetServerTypeResultOutput) DeprecationAnnounced() pulumi.StringOutput
- func (o GetServerTypeResultOutput) Description() pulumi.StringOutput
- func (o GetServerTypeResultOutput) Disk() pulumi.Float64Output
- func (GetServerTypeResultOutput) ElementType() reflect.Type
- func (o GetServerTypeResultOutput) Id() pulumi.IntPtrOutput
- func (o GetServerTypeResultOutput) IncludedTraffic() pulumi.IntOutputdeprecated
- func (o GetServerTypeResultOutput) IsDeprecated() pulumi.BoolOutput
- func (o GetServerTypeResultOutput) Memory() pulumi.Float64Output
- func (o GetServerTypeResultOutput) Name() pulumi.StringPtrOutput
- func (o GetServerTypeResultOutput) StorageType() pulumi.StringOutput
- func (o GetServerTypeResultOutput) ToGetServerTypeResultOutput() GetServerTypeResultOutput
- func (o GetServerTypeResultOutput) ToGetServerTypeResultOutputWithContext(ctx context.Context) GetServerTypeResultOutput
- func (o GetServerTypeResultOutput) UnavailableAfter() pulumi.StringOutput
- type GetServerTypesResult
- type GetServerTypesResultOutput
- func (o GetServerTypesResultOutput) Descriptions() pulumi.StringArrayOutputdeprecated
- func (GetServerTypesResultOutput) ElementType() reflect.Type
- func (o GetServerTypesResultOutput) Id() pulumi.StringOutput
- func (o GetServerTypesResultOutput) Names() pulumi.StringArrayOutputdeprecated
- func (o GetServerTypesResultOutput) ServerTypeIds() pulumi.StringArrayOutputdeprecated
- func (o GetServerTypesResultOutput) ServerTypes() GetServerTypesServerTypeArrayOutput
- func (o GetServerTypesResultOutput) ToGetServerTypesResultOutput() GetServerTypesResultOutput
- func (o GetServerTypesResultOutput) ToGetServerTypesResultOutputWithContext(ctx context.Context) GetServerTypesResultOutput
- type GetServerTypesServerType
- type GetServerTypesServerTypeArgs
- func (GetServerTypesServerTypeArgs) ElementType() reflect.Type
- func (i GetServerTypesServerTypeArgs) ToGetServerTypesServerTypeOutput() GetServerTypesServerTypeOutput
- func (i GetServerTypesServerTypeArgs) ToGetServerTypesServerTypeOutputWithContext(ctx context.Context) GetServerTypesServerTypeOutput
- type GetServerTypesServerTypeArray
- func (GetServerTypesServerTypeArray) ElementType() reflect.Type
- func (i GetServerTypesServerTypeArray) ToGetServerTypesServerTypeArrayOutput() GetServerTypesServerTypeArrayOutput
- func (i GetServerTypesServerTypeArray) ToGetServerTypesServerTypeArrayOutputWithContext(ctx context.Context) GetServerTypesServerTypeArrayOutput
- type GetServerTypesServerTypeArrayInput
- type GetServerTypesServerTypeArrayOutput
- func (GetServerTypesServerTypeArrayOutput) ElementType() reflect.Type
- func (o GetServerTypesServerTypeArrayOutput) Index(i pulumi.IntInput) GetServerTypesServerTypeOutput
- func (o GetServerTypesServerTypeArrayOutput) ToGetServerTypesServerTypeArrayOutput() GetServerTypesServerTypeArrayOutput
- func (o GetServerTypesServerTypeArrayOutput) ToGetServerTypesServerTypeArrayOutputWithContext(ctx context.Context) GetServerTypesServerTypeArrayOutput
- type GetServerTypesServerTypeInput
- type GetServerTypesServerTypeOutput
- func (o GetServerTypesServerTypeOutput) Architecture() pulumi.StringOutput
- func (o GetServerTypesServerTypeOutput) Cores() pulumi.Float64Output
- func (o GetServerTypesServerTypeOutput) CpuType() pulumi.StringOutput
- func (o GetServerTypesServerTypeOutput) DeprecationAnnounced() pulumi.StringOutput
- func (o GetServerTypesServerTypeOutput) Description() pulumi.StringOutput
- func (o GetServerTypesServerTypeOutput) Disk() pulumi.Float64Output
- func (GetServerTypesServerTypeOutput) ElementType() reflect.Type
- func (o GetServerTypesServerTypeOutput) Id() pulumi.IntOutput
- func (o GetServerTypesServerTypeOutput) IncludedTraffic() pulumi.IntOutputdeprecated
- func (o GetServerTypesServerTypeOutput) IsDeprecated() pulumi.BoolOutput
- func (o GetServerTypesServerTypeOutput) Memory() pulumi.Float64Output
- func (o GetServerTypesServerTypeOutput) Name() pulumi.StringOutput
- func (o GetServerTypesServerTypeOutput) StorageType() pulumi.StringOutput
- func (o GetServerTypesServerTypeOutput) ToGetServerTypesServerTypeOutput() GetServerTypesServerTypeOutput
- func (o GetServerTypesServerTypeOutput) ToGetServerTypesServerTypeOutputWithContext(ctx context.Context) GetServerTypesServerTypeOutput
- func (o GetServerTypesServerTypeOutput) UnavailableAfter() pulumi.StringOutput
- type GetServersArgs
- type GetServersOutputArgs
- type GetServersResult
- type GetServersResultOutput
- func (GetServersResultOutput) ElementType() reflect.Type
- func (o GetServersResultOutput) Id() pulumi.StringOutput
- func (o GetServersResultOutput) Servers() GetServersServerArrayOutput
- func (o GetServersResultOutput) ToGetServersResultOutput() GetServersResultOutput
- func (o GetServersResultOutput) ToGetServersResultOutputWithContext(ctx context.Context) GetServersResultOutput
- func (o GetServersResultOutput) WithSelector() pulumi.StringPtrOutput
- func (o GetServersResultOutput) WithStatuses() pulumi.StringArrayOutput
- type GetServersServer
- type GetServersServerArgs
- type GetServersServerArray
- type GetServersServerArrayInput
- type GetServersServerArrayOutput
- func (GetServersServerArrayOutput) ElementType() reflect.Type
- func (o GetServersServerArrayOutput) Index(i pulumi.IntInput) GetServersServerOutput
- func (o GetServersServerArrayOutput) ToGetServersServerArrayOutput() GetServersServerArrayOutput
- func (o GetServersServerArrayOutput) ToGetServersServerArrayOutputWithContext(ctx context.Context) GetServersServerArrayOutput
- type GetServersServerInput
- type GetServersServerOutput
- func (o GetServersServerOutput) BackupWindow() pulumi.StringOutput
- func (o GetServersServerOutput) Backups() pulumi.BoolOutput
- func (o GetServersServerOutput) Datacenter() pulumi.StringOutput
- func (o GetServersServerOutput) DeleteProtection() pulumi.BoolOutput
- func (GetServersServerOutput) ElementType() reflect.Type
- func (o GetServersServerOutput) FirewallIds() pulumi.IntArrayOutput
- func (o GetServersServerOutput) Id() pulumi.IntOutput
- func (o GetServersServerOutput) Image() pulumi.StringOutput
- func (o GetServersServerOutput) Ipv4Address() pulumi.StringOutput
- func (o GetServersServerOutput) Ipv6Address() pulumi.StringOutput
- func (o GetServersServerOutput) Ipv6Network() pulumi.StringOutput
- func (o GetServersServerOutput) Iso() pulumi.StringOutput
- func (o GetServersServerOutput) Labels() pulumi.StringMapOutput
- func (o GetServersServerOutput) Location() pulumi.StringOutput
- func (o GetServersServerOutput) Name() pulumi.StringOutput
- func (o GetServersServerOutput) PlacementGroupId() pulumi.IntPtrOutput
- func (o GetServersServerOutput) PrimaryDiskSize() pulumi.IntOutput
- func (o GetServersServerOutput) RebuildProtection() pulumi.BoolOutput
- func (o GetServersServerOutput) Rescue() pulumi.StringOutput
- func (o GetServersServerOutput) ServerType() pulumi.StringOutput
- func (o GetServersServerOutput) Status() pulumi.StringOutput
- func (o GetServersServerOutput) ToGetServersServerOutput() GetServersServerOutput
- func (o GetServersServerOutput) ToGetServersServerOutputWithContext(ctx context.Context) GetServersServerOutput
- type GetSshKeysArgs
- type GetSshKeysOutputArgs
- type GetSshKeysResult
- type GetSshKeysResultOutput
- func (GetSshKeysResultOutput) ElementType() reflect.Type
- func (o GetSshKeysResultOutput) Id() pulumi.StringPtrOutput
- func (o GetSshKeysResultOutput) SshKeys() GetSshKeysSshKeyArrayOutput
- func (o GetSshKeysResultOutput) ToGetSshKeysResultOutput() GetSshKeysResultOutput
- func (o GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext(ctx context.Context) GetSshKeysResultOutput
- func (o GetSshKeysResultOutput) WithSelector() pulumi.StringPtrOutput
- type GetSshKeysSshKey
- type GetSshKeysSshKeyArgs
- type GetSshKeysSshKeyArray
- type GetSshKeysSshKeyArrayInput
- type GetSshKeysSshKeyArrayOutput
- func (GetSshKeysSshKeyArrayOutput) ElementType() reflect.Type
- func (o GetSshKeysSshKeyArrayOutput) Index(i pulumi.IntInput) GetSshKeysSshKeyOutput
- func (o GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput
- func (o GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutputWithContext(ctx context.Context) GetSshKeysSshKeyArrayOutput
- type GetSshKeysSshKeyInput
- type GetSshKeysSshKeyOutput
- func (GetSshKeysSshKeyOutput) ElementType() reflect.Type
- func (o GetSshKeysSshKeyOutput) Fingerprint() pulumi.StringOutput
- func (o GetSshKeysSshKeyOutput) Id() pulumi.IntOutput
- func (o GetSshKeysSshKeyOutput) Labels() pulumi.StringMapOutput
- func (o GetSshKeysSshKeyOutput) Name() pulumi.StringOutput
- func (o GetSshKeysSshKeyOutput) PublicKey() pulumi.StringOutput
- func (o GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput
- func (o GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutputWithContext(ctx context.Context) GetSshKeysSshKeyOutput
- type GetVolumesArgs
- type GetVolumesOutputArgs
- type GetVolumesResult
- type GetVolumesResultOutput
- func (GetVolumesResultOutput) ElementType() reflect.Type
- func (o GetVolumesResultOutput) Id() pulumi.StringOutput
- func (o GetVolumesResultOutput) ToGetVolumesResultOutput() GetVolumesResultOutput
- func (o GetVolumesResultOutput) ToGetVolumesResultOutputWithContext(ctx context.Context) GetVolumesResultOutput
- func (o GetVolumesResultOutput) Volumes() GetVolumesVolumeArrayOutput
- func (o GetVolumesResultOutput) WithSelector() pulumi.StringPtrOutput
- func (o GetVolumesResultOutput) WithStatuses() pulumi.StringArrayOutput
- type GetVolumesVolume
- type GetVolumesVolumeArgs
- type GetVolumesVolumeArray
- type GetVolumesVolumeArrayInput
- type GetVolumesVolumeArrayOutput
- func (GetVolumesVolumeArrayOutput) ElementType() reflect.Type
- func (o GetVolumesVolumeArrayOutput) Index(i pulumi.IntInput) GetVolumesVolumeOutput
- func (o GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput
- func (o GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeArrayOutput
- type GetVolumesVolumeInput
- type GetVolumesVolumeOutput
- func (o GetVolumesVolumeOutput) DeleteProtection() pulumi.BoolOutput
- func (GetVolumesVolumeOutput) ElementType() reflect.Type
- func (o GetVolumesVolumeOutput) Id() pulumi.IntOutput
- func (o GetVolumesVolumeOutput) Labels() pulumi.StringMapOutput
- func (o GetVolumesVolumeOutput) LinuxDevice() pulumi.StringOutput
- func (o GetVolumesVolumeOutput) Location() pulumi.StringPtrOutput
- func (o GetVolumesVolumeOutput) Name() pulumi.StringOutput
- func (o GetVolumesVolumeOutput) ServerId() pulumi.IntPtrOutput
- func (o GetVolumesVolumeOutput) Size() pulumi.IntOutput
- func (o GetVolumesVolumeOutput) ToGetVolumesVolumeOutput() GetVolumesVolumeOutput
- func (o GetVolumesVolumeOutput) ToGetVolumesVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeOutput
- type LoadBalancer
- type LoadBalancerAlgorithm
- type LoadBalancerAlgorithmArgs
- func (LoadBalancerAlgorithmArgs) ElementType() reflect.Type
- func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmOutput() LoadBalancerAlgorithmOutput
- func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmOutputWithContext(ctx context.Context) LoadBalancerAlgorithmOutput
- func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput
- func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmPtrOutputWithContext(ctx context.Context) LoadBalancerAlgorithmPtrOutput
- type LoadBalancerAlgorithmInput
- type LoadBalancerAlgorithmOutput
- func (LoadBalancerAlgorithmOutput) ElementType() reflect.Type
- func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmOutput() LoadBalancerAlgorithmOutput
- func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmOutputWithContext(ctx context.Context) LoadBalancerAlgorithmOutput
- func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput
- func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmPtrOutputWithContext(ctx context.Context) LoadBalancerAlgorithmPtrOutput
- func (o LoadBalancerAlgorithmOutput) Type() pulumi.StringPtrOutput
- type LoadBalancerAlgorithmPtrInput
- type LoadBalancerAlgorithmPtrOutput
- func (o LoadBalancerAlgorithmPtrOutput) Elem() LoadBalancerAlgorithmOutput
- func (LoadBalancerAlgorithmPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerAlgorithmPtrOutput) ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput
- func (o LoadBalancerAlgorithmPtrOutput) ToLoadBalancerAlgorithmPtrOutputWithContext(ctx context.Context) LoadBalancerAlgorithmPtrOutput
- func (o LoadBalancerAlgorithmPtrOutput) Type() pulumi.StringPtrOutput
- type LoadBalancerArgs
- type LoadBalancerArray
- type LoadBalancerArrayInput
- type LoadBalancerArrayOutput
- func (LoadBalancerArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerArrayOutput) Index(i pulumi.IntInput) LoadBalancerOutput
- func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
- func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
- type LoadBalancerInput
- type LoadBalancerMap
- type LoadBalancerMapInput
- type LoadBalancerMapOutput
- func (LoadBalancerMapOutput) ElementType() reflect.Type
- func (o LoadBalancerMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerOutput
- func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput
- func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
- type LoadBalancerNetwork
- type LoadBalancerNetworkArgs
- type LoadBalancerNetworkArray
- type LoadBalancerNetworkArrayInput
- type LoadBalancerNetworkArrayOutput
- func (LoadBalancerNetworkArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerNetworkArrayOutput) Index(i pulumi.IntInput) LoadBalancerNetworkOutput
- func (o LoadBalancerNetworkArrayOutput) ToLoadBalancerNetworkArrayOutput() LoadBalancerNetworkArrayOutput
- func (o LoadBalancerNetworkArrayOutput) ToLoadBalancerNetworkArrayOutputWithContext(ctx context.Context) LoadBalancerNetworkArrayOutput
- type LoadBalancerNetworkInput
- type LoadBalancerNetworkMap
- type LoadBalancerNetworkMapInput
- type LoadBalancerNetworkMapOutput
- func (LoadBalancerNetworkMapOutput) ElementType() reflect.Type
- func (o LoadBalancerNetworkMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerNetworkOutput
- func (o LoadBalancerNetworkMapOutput) ToLoadBalancerNetworkMapOutput() LoadBalancerNetworkMapOutput
- func (o LoadBalancerNetworkMapOutput) ToLoadBalancerNetworkMapOutputWithContext(ctx context.Context) LoadBalancerNetworkMapOutput
- type LoadBalancerNetworkOutput
- func (LoadBalancerNetworkOutput) ElementType() reflect.Type
- func (o LoadBalancerNetworkOutput) EnablePublicInterface() pulumi.BoolPtrOutput
- func (o LoadBalancerNetworkOutput) Ip() pulumi.StringOutput
- func (o LoadBalancerNetworkOutput) LoadBalancerId() pulumi.IntOutput
- func (o LoadBalancerNetworkOutput) NetworkId() pulumi.IntPtrOutput
- func (o LoadBalancerNetworkOutput) SubnetId() pulumi.StringPtrOutput
- func (o LoadBalancerNetworkOutput) ToLoadBalancerNetworkOutput() LoadBalancerNetworkOutput
- func (o LoadBalancerNetworkOutput) ToLoadBalancerNetworkOutputWithContext(ctx context.Context) LoadBalancerNetworkOutput
- type LoadBalancerNetworkState
- type LoadBalancerOutput
- func (o LoadBalancerOutput) Algorithm() LoadBalancerAlgorithmOutput
- func (o LoadBalancerOutput) DeleteProtection() pulumi.BoolPtrOutput
- func (LoadBalancerOutput) ElementType() reflect.Type
- func (o LoadBalancerOutput) Ipv4() pulumi.StringOutput
- func (o LoadBalancerOutput) Ipv6() pulumi.StringOutput
- func (o LoadBalancerOutput) Labels() pulumi.StringMapOutput
- func (o LoadBalancerOutput) LoadBalancerType() pulumi.StringOutput
- func (o LoadBalancerOutput) Location() pulumi.StringOutput
- func (o LoadBalancerOutput) Name() pulumi.StringOutput
- func (o LoadBalancerOutput) NetworkId() pulumi.IntOutput
- func (o LoadBalancerOutput) NetworkIp() pulumi.StringOutput
- func (o LoadBalancerOutput) NetworkZone() pulumi.StringOutput
- func (o LoadBalancerOutput) Targets() LoadBalancerTargetTypeArrayOutputdeprecated
- func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput
- func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
- type LoadBalancerService
- type LoadBalancerServiceArgs
- type LoadBalancerServiceArray
- type LoadBalancerServiceArrayInput
- type LoadBalancerServiceArrayOutput
- func (LoadBalancerServiceArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceArrayOutput) Index(i pulumi.IntInput) LoadBalancerServiceOutput
- func (o LoadBalancerServiceArrayOutput) ToLoadBalancerServiceArrayOutput() LoadBalancerServiceArrayOutput
- func (o LoadBalancerServiceArrayOutput) ToLoadBalancerServiceArrayOutputWithContext(ctx context.Context) LoadBalancerServiceArrayOutput
- type LoadBalancerServiceHealthCheck
- type LoadBalancerServiceHealthCheckArgs
- func (LoadBalancerServiceHealthCheckArgs) ElementType() reflect.Type
- func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckOutput() LoadBalancerServiceHealthCheckOutput
- func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckOutput
- func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput
- func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckPtrOutput
- type LoadBalancerServiceHealthCheckHttp
- type LoadBalancerServiceHealthCheckHttpArgs
- func (LoadBalancerServiceHealthCheckHttpArgs) ElementType() reflect.Type
- func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpOutput() LoadBalancerServiceHealthCheckHttpOutput
- func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpOutput
- func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput
- func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput
- type LoadBalancerServiceHealthCheckHttpInput
- type LoadBalancerServiceHealthCheckHttpOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) Domain() pulumi.StringPtrOutput
- func (LoadBalancerServiceHealthCheckHttpOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceHealthCheckHttpOutput) Path() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) Response() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) StatusCodes() pulumi.StringArrayOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) Tls() pulumi.BoolPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpOutput() LoadBalancerServiceHealthCheckHttpOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput
- type LoadBalancerServiceHealthCheckHttpPtrInput
- type LoadBalancerServiceHealthCheckHttpPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Domain() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Elem() LoadBalancerServiceHealthCheckHttpOutput
- func (LoadBalancerServiceHealthCheckHttpPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Path() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Response() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) StatusCodes() pulumi.StringArrayOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Tls() pulumi.BoolPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput
- func (o LoadBalancerServiceHealthCheckHttpPtrOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput
- type LoadBalancerServiceHealthCheckInput
- type LoadBalancerServiceHealthCheckOutput
- func (LoadBalancerServiceHealthCheckOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceHealthCheckOutput) Http() LoadBalancerServiceHealthCheckHttpPtrOutput
- func (o LoadBalancerServiceHealthCheckOutput) Interval() pulumi.IntOutput
- func (o LoadBalancerServiceHealthCheckOutput) Port() pulumi.IntOutput
- func (o LoadBalancerServiceHealthCheckOutput) Protocol() pulumi.StringOutput
- func (o LoadBalancerServiceHealthCheckOutput) Retries() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHealthCheckOutput) Timeout() pulumi.IntOutput
- func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckOutput() LoadBalancerServiceHealthCheckOutput
- func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckOutput
- func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput
- func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckPtrOutput
- type LoadBalancerServiceHealthCheckPtrInput
- type LoadBalancerServiceHealthCheckPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) Elem() LoadBalancerServiceHealthCheckOutput
- func (LoadBalancerServiceHealthCheckPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceHealthCheckPtrOutput) Http() LoadBalancerServiceHealthCheckHttpPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) Interval() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) Port() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) Protocol() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) Retries() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) Timeout() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput
- func (o LoadBalancerServiceHealthCheckPtrOutput) ToLoadBalancerServiceHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckPtrOutput
- type LoadBalancerServiceHttp
- type LoadBalancerServiceHttpArgs
- func (LoadBalancerServiceHttpArgs) ElementType() reflect.Type
- func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpOutput() LoadBalancerServiceHttpOutput
- func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHttpOutput
- func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput
- func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHttpPtrOutput
- type LoadBalancerServiceHttpInput
- type LoadBalancerServiceHttpOutput
- func (o LoadBalancerServiceHttpOutput) Certificates() pulumi.IntArrayOutput
- func (o LoadBalancerServiceHttpOutput) CookieLifetime() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHttpOutput) CookieName() pulumi.StringPtrOutput
- func (LoadBalancerServiceHttpOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceHttpOutput) RedirectHttp() pulumi.BoolPtrOutput
- func (o LoadBalancerServiceHttpOutput) StickySessions() pulumi.BoolPtrOutput
- func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpOutput() LoadBalancerServiceHttpOutput
- func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHttpOutput
- func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput
- func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHttpPtrOutput
- type LoadBalancerServiceHttpPtrInput
- type LoadBalancerServiceHttpPtrOutput
- func (o LoadBalancerServiceHttpPtrOutput) Certificates() pulumi.IntArrayOutput
- func (o LoadBalancerServiceHttpPtrOutput) CookieLifetime() pulumi.IntPtrOutput
- func (o LoadBalancerServiceHttpPtrOutput) CookieName() pulumi.StringPtrOutput
- func (o LoadBalancerServiceHttpPtrOutput) Elem() LoadBalancerServiceHttpOutput
- func (LoadBalancerServiceHttpPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceHttpPtrOutput) RedirectHttp() pulumi.BoolPtrOutput
- func (o LoadBalancerServiceHttpPtrOutput) StickySessions() pulumi.BoolPtrOutput
- func (o LoadBalancerServiceHttpPtrOutput) ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput
- func (o LoadBalancerServiceHttpPtrOutput) ToLoadBalancerServiceHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHttpPtrOutput
- type LoadBalancerServiceInput
- type LoadBalancerServiceMap
- type LoadBalancerServiceMapInput
- type LoadBalancerServiceMapOutput
- func (LoadBalancerServiceMapOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerServiceOutput
- func (o LoadBalancerServiceMapOutput) ToLoadBalancerServiceMapOutput() LoadBalancerServiceMapOutput
- func (o LoadBalancerServiceMapOutput) ToLoadBalancerServiceMapOutputWithContext(ctx context.Context) LoadBalancerServiceMapOutput
- type LoadBalancerServiceOutput
- func (o LoadBalancerServiceOutput) DestinationPort() pulumi.IntOutput
- func (LoadBalancerServiceOutput) ElementType() reflect.Type
- func (o LoadBalancerServiceOutput) HealthCheck() LoadBalancerServiceHealthCheckOutput
- func (o LoadBalancerServiceOutput) Http() LoadBalancerServiceHttpOutput
- func (o LoadBalancerServiceOutput) ListenPort() pulumi.IntOutput
- func (o LoadBalancerServiceOutput) LoadBalancerId() pulumi.StringOutput
- func (o LoadBalancerServiceOutput) Protocol() pulumi.StringOutput
- func (o LoadBalancerServiceOutput) Proxyprotocol() pulumi.BoolOutput
- func (o LoadBalancerServiceOutput) ToLoadBalancerServiceOutput() LoadBalancerServiceOutput
- func (o LoadBalancerServiceOutput) ToLoadBalancerServiceOutputWithContext(ctx context.Context) LoadBalancerServiceOutput
- type LoadBalancerServiceState
- type LoadBalancerState
- type LoadBalancerTarget
- type LoadBalancerTargetArgs
- type LoadBalancerTargetArray
- type LoadBalancerTargetArrayInput
- type LoadBalancerTargetArrayOutput
- func (LoadBalancerTargetArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerTargetArrayOutput) Index(i pulumi.IntInput) LoadBalancerTargetOutput
- func (o LoadBalancerTargetArrayOutput) ToLoadBalancerTargetArrayOutput() LoadBalancerTargetArrayOutput
- func (o LoadBalancerTargetArrayOutput) ToLoadBalancerTargetArrayOutputWithContext(ctx context.Context) LoadBalancerTargetArrayOutput
- type LoadBalancerTargetInput
- type LoadBalancerTargetMap
- type LoadBalancerTargetMapInput
- type LoadBalancerTargetMapOutput
- func (LoadBalancerTargetMapOutput) ElementType() reflect.Type
- func (o LoadBalancerTargetMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerTargetOutput
- func (o LoadBalancerTargetMapOutput) ToLoadBalancerTargetMapOutput() LoadBalancerTargetMapOutput
- func (o LoadBalancerTargetMapOutput) ToLoadBalancerTargetMapOutputWithContext(ctx context.Context) LoadBalancerTargetMapOutput
- type LoadBalancerTargetOutput
- func (LoadBalancerTargetOutput) ElementType() reflect.Type
- func (o LoadBalancerTargetOutput) Ip() pulumi.StringPtrOutput
- func (o LoadBalancerTargetOutput) LabelSelector() pulumi.StringPtrOutput
- func (o LoadBalancerTargetOutput) LoadBalancerId() pulumi.IntOutput
- func (o LoadBalancerTargetOutput) ServerId() pulumi.IntPtrOutput
- func (o LoadBalancerTargetOutput) ToLoadBalancerTargetOutput() LoadBalancerTargetOutput
- func (o LoadBalancerTargetOutput) ToLoadBalancerTargetOutputWithContext(ctx context.Context) LoadBalancerTargetOutput
- func (o LoadBalancerTargetOutput) Type() pulumi.StringOutput
- func (o LoadBalancerTargetOutput) UsePrivateIp() pulumi.BoolOutput
- type LoadBalancerTargetState
- type LoadBalancerTargetType
- type LoadBalancerTargetTypeArgs
- type LoadBalancerTargetTypeArray
- func (LoadBalancerTargetTypeArray) ElementType() reflect.Type
- func (i LoadBalancerTargetTypeArray) ToLoadBalancerTargetTypeArrayOutput() LoadBalancerTargetTypeArrayOutput
- func (i LoadBalancerTargetTypeArray) ToLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) LoadBalancerTargetTypeArrayOutput
- type LoadBalancerTargetTypeArrayInput
- type LoadBalancerTargetTypeArrayOutput
- func (LoadBalancerTargetTypeArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerTargetTypeArrayOutput) Index(i pulumi.IntInput) LoadBalancerTargetTypeOutput
- func (o LoadBalancerTargetTypeArrayOutput) ToLoadBalancerTargetTypeArrayOutput() LoadBalancerTargetTypeArrayOutput
- func (o LoadBalancerTargetTypeArrayOutput) ToLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) LoadBalancerTargetTypeArrayOutput
- type LoadBalancerTargetTypeInput
- type LoadBalancerTargetTypeOutput
- func (LoadBalancerTargetTypeOutput) ElementType() reflect.Type
- func (o LoadBalancerTargetTypeOutput) ServerId() pulumi.IntPtrOutput
- func (o LoadBalancerTargetTypeOutput) ToLoadBalancerTargetTypeOutput() LoadBalancerTargetTypeOutput
- func (o LoadBalancerTargetTypeOutput) ToLoadBalancerTargetTypeOutputWithContext(ctx context.Context) LoadBalancerTargetTypeOutput
- func (o LoadBalancerTargetTypeOutput) Type() pulumi.StringOutput
- func (o LoadBalancerTargetTypeOutput) UsePrivateIp() pulumi.BoolPtrOutputdeprecated
- type LookupCertificateArgs
- type LookupCertificateOutputArgs
- type LookupCertificateResult
- type LookupCertificateResultOutput
- func (o LookupCertificateResultOutput) Certificate() pulumi.StringOutput
- func (o LookupCertificateResultOutput) Created() pulumi.StringOutput
- func (o LookupCertificateResultOutput) DomainNames() pulumi.StringArrayOutput
- func (LookupCertificateResultOutput) ElementType() reflect.Type
- func (o LookupCertificateResultOutput) Fingerprint() pulumi.StringOutput
- func (o LookupCertificateResultOutput) Id() pulumi.IntOutput
- func (o LookupCertificateResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupCertificateResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupCertificateResultOutput) NotValidAfter() pulumi.StringOutput
- func (o LookupCertificateResultOutput) NotValidBefore() pulumi.StringOutput
- func (o LookupCertificateResultOutput) ToLookupCertificateResultOutput() LookupCertificateResultOutput
- func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext(ctx context.Context) LookupCertificateResultOutput
- func (o LookupCertificateResultOutput) Type() pulumi.StringOutput
- func (o LookupCertificateResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupFirewallArgs
- type LookupFirewallOutputArgs
- type LookupFirewallResult
- type LookupFirewallResultOutput
- func (o LookupFirewallResultOutput) ApplyTos() GetFirewallApplyToArrayOutput
- func (LookupFirewallResultOutput) ElementType() reflect.Type
- func (o LookupFirewallResultOutput) Id() pulumi.IntPtrOutput
- func (o LookupFirewallResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupFirewallResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o LookupFirewallResultOutput) Name() pulumi.StringOutput
- func (o LookupFirewallResultOutput) Rules() GetFirewallRuleArrayOutput
- func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput
- func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput
- func (o LookupFirewallResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupFloatingIpArgs
- type LookupFloatingIpOutputArgs
- type LookupFloatingIpResult
- type LookupFloatingIpResultOutput
- func (o LookupFloatingIpResultOutput) DeleteProtection() pulumi.BoolOutput
- func (o LookupFloatingIpResultOutput) Description() pulumi.StringOutput
- func (LookupFloatingIpResultOutput) ElementType() reflect.Type
- func (o LookupFloatingIpResultOutput) HomeLocation() pulumi.StringOutput
- func (o LookupFloatingIpResultOutput) Id() pulumi.IntOutput
- func (o LookupFloatingIpResultOutput) IpAddress() pulumi.StringOutput
- func (o LookupFloatingIpResultOutput) IpNetwork() pulumi.StringOutput
- func (o LookupFloatingIpResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupFloatingIpResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupFloatingIpResultOutput) Selector() pulumi.StringPtrOutputdeprecated
- func (o LookupFloatingIpResultOutput) ServerId() pulumi.IntOutput
- func (o LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutput() LookupFloatingIpResultOutput
- func (o LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutputWithContext(ctx context.Context) LookupFloatingIpResultOutput
- func (o LookupFloatingIpResultOutput) Type() pulumi.StringOutput
- func (o LookupFloatingIpResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupLoadBalancerArgs
- type LookupLoadBalancerOutputArgs
- type LookupLoadBalancerResult
- type LookupLoadBalancerResultOutput
- func (o LookupLoadBalancerResultOutput) Algorithms() GetLoadBalancerAlgorithmArrayOutput
- func (o LookupLoadBalancerResultOutput) DeleteProtection() pulumi.BoolOutput
- func (LookupLoadBalancerResultOutput) ElementType() reflect.Type
- func (o LookupLoadBalancerResultOutput) Id() pulumi.IntOutput
- func (o LookupLoadBalancerResultOutput) Ipv4() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) Ipv6() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupLoadBalancerResultOutput) LoadBalancerType() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) Location() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupLoadBalancerResultOutput) NetworkId() pulumi.IntOutput
- func (o LookupLoadBalancerResultOutput) NetworkIp() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) NetworkZone() pulumi.StringOutput
- func (o LookupLoadBalancerResultOutput) Services() GetLoadBalancerServiceTypeArrayOutput
- func (o LookupLoadBalancerResultOutput) Targets() GetLoadBalancerTargetTypeArrayOutput
- func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput
- func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput
- func (o LookupLoadBalancerResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupNetworkArgs
- type LookupNetworkOutputArgs
- type LookupNetworkResult
- type LookupNetworkResultOutput
- func (o LookupNetworkResultOutput) DeleteProtection() pulumi.BoolOutput
- func (LookupNetworkResultOutput) ElementType() reflect.Type
- func (o LookupNetworkResultOutput) ExposeRoutesToVswitch() pulumi.BoolOutput
- func (o LookupNetworkResultOutput) Id() pulumi.IntOutput
- func (o LookupNetworkResultOutput) IpRange() pulumi.StringOutput
- func (o LookupNetworkResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupNetworkResultOutput) MostRecent() pulumi.BoolPtrOutputdeprecated
- func (o LookupNetworkResultOutput) Name() pulumi.StringOutput
- func (o LookupNetworkResultOutput) ToLookupNetworkResultOutput() LookupNetworkResultOutput
- func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx context.Context) LookupNetworkResultOutput
- func (o LookupNetworkResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupPlacementGroupArgs
- type LookupPlacementGroupOutputArgs
- type LookupPlacementGroupResult
- type LookupPlacementGroupResultOutput
- func (LookupPlacementGroupResultOutput) ElementType() reflect.Type
- func (o LookupPlacementGroupResultOutput) Id() pulumi.IntOutput
- func (o LookupPlacementGroupResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupPlacementGroupResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o LookupPlacementGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupPlacementGroupResultOutput) Servers() pulumi.IntArrayOutput
- func (o LookupPlacementGroupResultOutput) ToLookupPlacementGroupResultOutput() LookupPlacementGroupResultOutput
- func (o LookupPlacementGroupResultOutput) ToLookupPlacementGroupResultOutputWithContext(ctx context.Context) LookupPlacementGroupResultOutput
- func (o LookupPlacementGroupResultOutput) Type() pulumi.StringOutput
- func (o LookupPlacementGroupResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupPrimaryIpArgs
- type LookupPrimaryIpOutputArgs
- type LookupPrimaryIpResult
- type LookupPrimaryIpResultOutput
- func (o LookupPrimaryIpResultOutput) AssigneeId() pulumi.IntOutput
- func (o LookupPrimaryIpResultOutput) AssigneeType() pulumi.StringOutput
- func (o LookupPrimaryIpResultOutput) AutoDelete() pulumi.BoolOutput
- func (o LookupPrimaryIpResultOutput) Datacenter() pulumi.StringOutput
- func (o LookupPrimaryIpResultOutput) DeleteProtection() pulumi.BoolOutput
- func (LookupPrimaryIpResultOutput) ElementType() reflect.Type
- func (o LookupPrimaryIpResultOutput) Id() pulumi.IntOutput
- func (o LookupPrimaryIpResultOutput) IpAddress() pulumi.StringOutput
- func (o LookupPrimaryIpResultOutput) IpNetwork() pulumi.StringOutput
- func (o LookupPrimaryIpResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupPrimaryIpResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupPrimaryIpResultOutput) ToLookupPrimaryIpResultOutput() LookupPrimaryIpResultOutput
- func (o LookupPrimaryIpResultOutput) ToLookupPrimaryIpResultOutputWithContext(ctx context.Context) LookupPrimaryIpResultOutput
- func (o LookupPrimaryIpResultOutput) Type() pulumi.StringOutput
- func (o LookupPrimaryIpResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupServerArgs
- type LookupServerOutputArgs
- type LookupServerResult
- type LookupServerResultOutput
- func (o LookupServerResultOutput) BackupWindow() pulumi.StringOutput
- func (o LookupServerResultOutput) Backups() pulumi.BoolOutput
- func (o LookupServerResultOutput) Datacenter() pulumi.StringOutput
- func (o LookupServerResultOutput) DeleteProtection() pulumi.BoolOutput
- func (LookupServerResultOutput) ElementType() reflect.Type
- func (o LookupServerResultOutput) FirewallIds() pulumi.IntArrayOutput
- func (o LookupServerResultOutput) Id() pulumi.IntOutput
- func (o LookupServerResultOutput) Image() pulumi.StringOutput
- func (o LookupServerResultOutput) Ipv4Address() pulumi.StringOutput
- func (o LookupServerResultOutput) Ipv6Address() pulumi.StringOutput
- func (o LookupServerResultOutput) Ipv6Network() pulumi.StringOutput
- func (o LookupServerResultOutput) Iso() pulumi.StringOutput
- func (o LookupServerResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupServerResultOutput) Location() pulumi.StringOutput
- func (o LookupServerResultOutput) Name() pulumi.StringOutput
- func (o LookupServerResultOutput) PlacementGroupId() pulumi.IntPtrOutput
- func (o LookupServerResultOutput) PrimaryDiskSize() pulumi.IntOutput
- func (o LookupServerResultOutput) RebuildProtection() pulumi.BoolOutput
- func (o LookupServerResultOutput) Rescue() pulumi.StringOutput
- func (o LookupServerResultOutput) Selector() pulumi.StringPtrOutputdeprecated
- func (o LookupServerResultOutput) ServerType() pulumi.StringOutput
- func (o LookupServerResultOutput) Status() pulumi.StringOutput
- func (o LookupServerResultOutput) ToLookupServerResultOutput() LookupServerResultOutput
- func (o LookupServerResultOutput) ToLookupServerResultOutputWithContext(ctx context.Context) LookupServerResultOutput
- func (o LookupServerResultOutput) WithSelector() pulumi.StringPtrOutput
- func (o LookupServerResultOutput) WithStatuses() pulumi.StringArrayOutput
- type LookupSshKeyArgs
- type LookupSshKeyOutputArgs
- type LookupSshKeyResult
- type LookupSshKeyResultOutput
- func (LookupSshKeyResultOutput) ElementType() reflect.Type
- func (o LookupSshKeyResultOutput) Fingerprint() pulumi.StringPtrOutput
- func (o LookupSshKeyResultOutput) Id() pulumi.IntPtrOutput
- func (o LookupSshKeyResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupSshKeyResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupSshKeyResultOutput) PublicKey() pulumi.StringOutput
- func (o LookupSshKeyResultOutput) Selector() pulumi.StringPtrOutputdeprecated
- func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput
- func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput
- func (o LookupSshKeyResultOutput) WithSelector() pulumi.StringPtrOutput
- type LookupVolumeArgs
- type LookupVolumeOutputArgs
- type LookupVolumeResult
- type LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) DeleteProtection() pulumi.BoolOutput
- func (LookupVolumeResultOutput) ElementType() reflect.Type
- func (o LookupVolumeResultOutput) Id() pulumi.IntOutput
- func (o LookupVolumeResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupVolumeResultOutput) LinuxDevice() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Location() pulumi.StringPtrOutput
- func (o LookupVolumeResultOutput) Name() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Selector() pulumi.StringPtrOutputdeprecated
- func (o LookupVolumeResultOutput) ServerId() pulumi.IntPtrOutput
- func (o LookupVolumeResultOutput) Size() pulumi.IntOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) WithSelector() pulumi.StringPtrOutput
- func (o LookupVolumeResultOutput) WithStatuses() pulumi.StringArrayOutput
- type ManagedCertificate
- type ManagedCertificateArgs
- type ManagedCertificateArray
- type ManagedCertificateArrayInput
- type ManagedCertificateArrayOutput
- func (ManagedCertificateArrayOutput) ElementType() reflect.Type
- func (o ManagedCertificateArrayOutput) Index(i pulumi.IntInput) ManagedCertificateOutput
- func (o ManagedCertificateArrayOutput) ToManagedCertificateArrayOutput() ManagedCertificateArrayOutput
- func (o ManagedCertificateArrayOutput) ToManagedCertificateArrayOutputWithContext(ctx context.Context) ManagedCertificateArrayOutput
- type ManagedCertificateInput
- type ManagedCertificateMap
- type ManagedCertificateMapInput
- type ManagedCertificateMapOutput
- func (ManagedCertificateMapOutput) ElementType() reflect.Type
- func (o ManagedCertificateMapOutput) MapIndex(k pulumi.StringInput) ManagedCertificateOutput
- func (o ManagedCertificateMapOutput) ToManagedCertificateMapOutput() ManagedCertificateMapOutput
- func (o ManagedCertificateMapOutput) ToManagedCertificateMapOutputWithContext(ctx context.Context) ManagedCertificateMapOutput
- type ManagedCertificateOutput
- func (o ManagedCertificateOutput) Certificate() pulumi.StringOutput
- func (o ManagedCertificateOutput) Created() pulumi.StringOutput
- func (o ManagedCertificateOutput) DomainNames() pulumi.StringArrayOutput
- func (ManagedCertificateOutput) ElementType() reflect.Type
- func (o ManagedCertificateOutput) Fingerprint() pulumi.StringOutput
- func (o ManagedCertificateOutput) Labels() pulumi.StringMapOutput
- func (o ManagedCertificateOutput) Name() pulumi.StringOutput
- func (o ManagedCertificateOutput) NotValidAfter() pulumi.StringOutput
- func (o ManagedCertificateOutput) NotValidBefore() pulumi.StringOutput
- func (o ManagedCertificateOutput) ToManagedCertificateOutput() ManagedCertificateOutput
- func (o ManagedCertificateOutput) ToManagedCertificateOutputWithContext(ctx context.Context) ManagedCertificateOutput
- func (o ManagedCertificateOutput) Type() pulumi.StringOutput
- type ManagedCertificateState
- type Network
- type NetworkArgs
- type NetworkArray
- type NetworkArrayInput
- type NetworkArrayOutput
- type NetworkInput
- type NetworkMap
- type NetworkMapInput
- type NetworkMapOutput
- type NetworkOutput
- func (o NetworkOutput) DeleteProtection() pulumi.BoolPtrOutput
- func (NetworkOutput) ElementType() reflect.Type
- func (o NetworkOutput) ExposeRoutesToVswitch() pulumi.BoolPtrOutput
- func (o NetworkOutput) IpRange() pulumi.StringOutput
- func (o NetworkOutput) Labels() pulumi.StringMapOutput
- func (o NetworkOutput) Name() pulumi.StringOutput
- func (o NetworkOutput) ToNetworkOutput() NetworkOutput
- func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
- type NetworkRoute
- type NetworkRouteArgs
- type NetworkRouteArray
- type NetworkRouteArrayInput
- type NetworkRouteArrayOutput
- func (NetworkRouteArrayOutput) ElementType() reflect.Type
- func (o NetworkRouteArrayOutput) Index(i pulumi.IntInput) NetworkRouteOutput
- func (o NetworkRouteArrayOutput) ToNetworkRouteArrayOutput() NetworkRouteArrayOutput
- func (o NetworkRouteArrayOutput) ToNetworkRouteArrayOutputWithContext(ctx context.Context) NetworkRouteArrayOutput
- type NetworkRouteInput
- type NetworkRouteMap
- type NetworkRouteMapInput
- type NetworkRouteMapOutput
- func (NetworkRouteMapOutput) ElementType() reflect.Type
- func (o NetworkRouteMapOutput) MapIndex(k pulumi.StringInput) NetworkRouteOutput
- func (o NetworkRouteMapOutput) ToNetworkRouteMapOutput() NetworkRouteMapOutput
- func (o NetworkRouteMapOutput) ToNetworkRouteMapOutputWithContext(ctx context.Context) NetworkRouteMapOutput
- type NetworkRouteOutput
- func (o NetworkRouteOutput) Destination() pulumi.StringOutput
- func (NetworkRouteOutput) ElementType() reflect.Type
- func (o NetworkRouteOutput) Gateway() pulumi.StringOutput
- func (o NetworkRouteOutput) NetworkId() pulumi.IntOutput
- func (o NetworkRouteOutput) ToNetworkRouteOutput() NetworkRouteOutput
- func (o NetworkRouteOutput) ToNetworkRouteOutputWithContext(ctx context.Context) NetworkRouteOutput
- type NetworkRouteState
- type NetworkState
- type NetworkSubnet
- type NetworkSubnetArgs
- type NetworkSubnetArray
- type NetworkSubnetArrayInput
- type NetworkSubnetArrayOutput
- func (NetworkSubnetArrayOutput) ElementType() reflect.Type
- func (o NetworkSubnetArrayOutput) Index(i pulumi.IntInput) NetworkSubnetOutput
- func (o NetworkSubnetArrayOutput) ToNetworkSubnetArrayOutput() NetworkSubnetArrayOutput
- func (o NetworkSubnetArrayOutput) ToNetworkSubnetArrayOutputWithContext(ctx context.Context) NetworkSubnetArrayOutput
- type NetworkSubnetInput
- type NetworkSubnetMap
- type NetworkSubnetMapInput
- type NetworkSubnetMapOutput
- func (NetworkSubnetMapOutput) ElementType() reflect.Type
- func (o NetworkSubnetMapOutput) MapIndex(k pulumi.StringInput) NetworkSubnetOutput
- func (o NetworkSubnetMapOutput) ToNetworkSubnetMapOutput() NetworkSubnetMapOutput
- func (o NetworkSubnetMapOutput) ToNetworkSubnetMapOutputWithContext(ctx context.Context) NetworkSubnetMapOutput
- type NetworkSubnetOutput
- func (NetworkSubnetOutput) ElementType() reflect.Type
- func (o NetworkSubnetOutput) Gateway() pulumi.StringOutput
- func (o NetworkSubnetOutput) IpRange() pulumi.StringOutput
- func (o NetworkSubnetOutput) NetworkId() pulumi.IntOutput
- func (o NetworkSubnetOutput) NetworkZone() pulumi.StringOutput
- func (o NetworkSubnetOutput) ToNetworkSubnetOutput() NetworkSubnetOutput
- func (o NetworkSubnetOutput) ToNetworkSubnetOutputWithContext(ctx context.Context) NetworkSubnetOutput
- func (o NetworkSubnetOutput) Type() pulumi.StringOutput
- func (o NetworkSubnetOutput) VswitchId() pulumi.IntPtrOutput
- type NetworkSubnetState
- type PlacementGroup
- type PlacementGroupArgs
- type PlacementGroupArray
- type PlacementGroupArrayInput
- type PlacementGroupArrayOutput
- func (PlacementGroupArrayOutput) ElementType() reflect.Type
- func (o PlacementGroupArrayOutput) Index(i pulumi.IntInput) PlacementGroupOutput
- func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
- func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutputWithContext(ctx context.Context) PlacementGroupArrayOutput
- type PlacementGroupInput
- type PlacementGroupMap
- type PlacementGroupMapInput
- type PlacementGroupMapOutput
- func (PlacementGroupMapOutput) ElementType() reflect.Type
- func (o PlacementGroupMapOutput) MapIndex(k pulumi.StringInput) PlacementGroupOutput
- func (o PlacementGroupMapOutput) ToPlacementGroupMapOutput() PlacementGroupMapOutput
- func (o PlacementGroupMapOutput) ToPlacementGroupMapOutputWithContext(ctx context.Context) PlacementGroupMapOutput
- type PlacementGroupOutput
- func (PlacementGroupOutput) ElementType() reflect.Type
- func (o PlacementGroupOutput) Labels() pulumi.StringMapOutput
- func (o PlacementGroupOutput) Name() pulumi.StringOutput
- func (o PlacementGroupOutput) Servers() pulumi.IntArrayOutput
- func (o PlacementGroupOutput) ToPlacementGroupOutput() PlacementGroupOutput
- func (o PlacementGroupOutput) ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput
- func (o PlacementGroupOutput) Type() pulumi.StringOutput
- type PlacementGroupState
- 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 (o PrimaryIpOutput) AssigneeId() pulumi.IntOutput
- func (o PrimaryIpOutput) AssigneeType() pulumi.StringOutput
- func (o PrimaryIpOutput) AutoDelete() pulumi.BoolOutput
- func (o PrimaryIpOutput) Datacenter() pulumi.StringOutput
- func (o PrimaryIpOutput) DeleteProtection() pulumi.BoolPtrOutput
- func (PrimaryIpOutput) ElementType() reflect.Type
- func (o PrimaryIpOutput) IpAddress() pulumi.StringOutput
- func (o PrimaryIpOutput) IpNetwork() pulumi.StringOutput
- func (o PrimaryIpOutput) Labels() pulumi.StringMapOutput
- func (o PrimaryIpOutput) Name() pulumi.StringOutput
- func (o PrimaryIpOutput) ToPrimaryIpOutput() PrimaryIpOutput
- func (o PrimaryIpOutput) ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
- func (o PrimaryIpOutput) Type() pulumi.StringOutput
- type PrimaryIpState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput
- func (o ProviderOutput) PollFunction() pulumi.StringPtrOutput
- func (o ProviderOutput) PollInterval() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- type Rdns
- type RdnsArgs
- type RdnsArray
- type RdnsArrayInput
- type RdnsArrayOutput
- type RdnsInput
- type RdnsMap
- type RdnsMapInput
- type RdnsMapOutput
- type RdnsOutput
- func (o RdnsOutput) DnsPtr() pulumi.StringOutput
- func (RdnsOutput) ElementType() reflect.Type
- func (o RdnsOutput) FloatingIpId() pulumi.IntPtrOutput
- func (o RdnsOutput) IpAddress() pulumi.StringOutput
- func (o RdnsOutput) LoadBalancerId() pulumi.IntPtrOutput
- func (o RdnsOutput) PrimaryIpId() pulumi.IntPtrOutput
- func (o RdnsOutput) ServerId() pulumi.IntPtrOutput
- func (o RdnsOutput) ToRdnsOutput() RdnsOutput
- func (o RdnsOutput) ToRdnsOutputWithContext(ctx context.Context) RdnsOutput
- type RdnsState
- type Server
- type ServerArgs
- type ServerArray
- type ServerArrayInput
- type ServerArrayOutput
- type ServerInput
- type ServerMap
- type ServerMapInput
- type ServerMapOutput
- type ServerNetwork
- type ServerNetworkArgs
- type ServerNetworkArray
- type ServerNetworkArrayInput
- type ServerNetworkArrayOutput
- func (ServerNetworkArrayOutput) ElementType() reflect.Type
- func (o ServerNetworkArrayOutput) Index(i pulumi.IntInput) ServerNetworkOutput
- func (o ServerNetworkArrayOutput) ToServerNetworkArrayOutput() ServerNetworkArrayOutput
- func (o ServerNetworkArrayOutput) ToServerNetworkArrayOutputWithContext(ctx context.Context) ServerNetworkArrayOutput
- type ServerNetworkInput
- type ServerNetworkMap
- type ServerNetworkMapInput
- type ServerNetworkMapOutput
- func (ServerNetworkMapOutput) ElementType() reflect.Type
- func (o ServerNetworkMapOutput) MapIndex(k pulumi.StringInput) ServerNetworkOutput
- func (o ServerNetworkMapOutput) ToServerNetworkMapOutput() ServerNetworkMapOutput
- func (o ServerNetworkMapOutput) ToServerNetworkMapOutputWithContext(ctx context.Context) ServerNetworkMapOutput
- type ServerNetworkOutput
- func (o ServerNetworkOutput) AliasIps() pulumi.StringArrayOutput
- func (ServerNetworkOutput) ElementType() reflect.Type
- func (o ServerNetworkOutput) Ip() pulumi.StringOutput
- func (o ServerNetworkOutput) MacAddress() pulumi.StringOutput
- func (o ServerNetworkOutput) NetworkId() pulumi.IntPtrOutput
- func (o ServerNetworkOutput) ServerId() pulumi.IntOutput
- func (o ServerNetworkOutput) SubnetId() pulumi.StringPtrOutput
- func (o ServerNetworkOutput) ToServerNetworkOutput() ServerNetworkOutput
- func (o ServerNetworkOutput) ToServerNetworkOutputWithContext(ctx context.Context) ServerNetworkOutput
- type ServerNetworkState
- type ServerNetworkType
- type ServerNetworkTypeArgs
- type ServerNetworkTypeArray
- type ServerNetworkTypeArrayInput
- type ServerNetworkTypeArrayOutput
- func (ServerNetworkTypeArrayOutput) ElementType() reflect.Type
- func (o ServerNetworkTypeArrayOutput) Index(i pulumi.IntInput) ServerNetworkTypeOutput
- func (o ServerNetworkTypeArrayOutput) ToServerNetworkTypeArrayOutput() ServerNetworkTypeArrayOutput
- func (o ServerNetworkTypeArrayOutput) ToServerNetworkTypeArrayOutputWithContext(ctx context.Context) ServerNetworkTypeArrayOutput
- type ServerNetworkTypeInput
- type ServerNetworkTypeOutput
- func (o ServerNetworkTypeOutput) AliasIps() pulumi.StringArrayOutput
- func (ServerNetworkTypeOutput) ElementType() reflect.Type
- func (o ServerNetworkTypeOutput) Ip() pulumi.StringPtrOutput
- func (o ServerNetworkTypeOutput) MacAddress() pulumi.StringPtrOutput
- func (o ServerNetworkTypeOutput) NetworkId() pulumi.IntOutput
- func (o ServerNetworkTypeOutput) ToServerNetworkTypeOutput() ServerNetworkTypeOutput
- func (o ServerNetworkTypeOutput) ToServerNetworkTypeOutputWithContext(ctx context.Context) ServerNetworkTypeOutput
- type ServerOutput
- func (o ServerOutput) AllowDeprecatedImages() pulumi.BoolPtrOutput
- func (o ServerOutput) BackupWindow() pulumi.StringOutputdeprecated
- func (o ServerOutput) Backups() pulumi.BoolPtrOutput
- func (o ServerOutput) Datacenter() pulumi.StringOutput
- func (o ServerOutput) DeleteProtection() pulumi.BoolPtrOutput
- func (ServerOutput) ElementType() reflect.Type
- func (o ServerOutput) FirewallIds() pulumi.IntArrayOutput
- func (o ServerOutput) IgnoreRemoteFirewallIds() pulumi.BoolPtrOutput
- func (o ServerOutput) Image() pulumi.StringPtrOutput
- func (o ServerOutput) Ipv4Address() pulumi.StringOutput
- func (o ServerOutput) Ipv6Address() pulumi.StringOutput
- func (o ServerOutput) Ipv6Network() pulumi.StringOutput
- func (o ServerOutput) Iso() pulumi.StringPtrOutput
- func (o ServerOutput) KeepDisk() pulumi.BoolPtrOutput
- func (o ServerOutput) Labels() pulumi.StringMapOutput
- func (o ServerOutput) Location() pulumi.StringOutput
- func (o ServerOutput) Name() pulumi.StringOutput
- func (o ServerOutput) Networks() ServerNetworkTypeArrayOutput
- func (o ServerOutput) PlacementGroupId() pulumi.IntPtrOutput
- func (o ServerOutput) PrimaryDiskSize() pulumi.IntOutput
- func (o ServerOutput) PublicNets() ServerPublicNetArrayOutput
- func (o ServerOutput) RebuildProtection() pulumi.BoolPtrOutput
- func (o ServerOutput) Rescue() pulumi.StringPtrOutput
- func (o ServerOutput) ServerType() pulumi.StringOutput
- func (o ServerOutput) ShutdownBeforeDeletion() pulumi.BoolPtrOutput
- func (o ServerOutput) SshKeys() pulumi.StringArrayOutput
- func (o ServerOutput) Status() pulumi.StringOutput
- func (o ServerOutput) ToServerOutput() ServerOutput
- func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (o ServerOutput) UserData() pulumi.StringPtrOutput
- type ServerPublicNet
- type ServerPublicNetArgs
- type ServerPublicNetArray
- type ServerPublicNetArrayInput
- type ServerPublicNetArrayOutput
- func (ServerPublicNetArrayOutput) ElementType() reflect.Type
- func (o ServerPublicNetArrayOutput) Index(i pulumi.IntInput) ServerPublicNetOutput
- func (o ServerPublicNetArrayOutput) ToServerPublicNetArrayOutput() ServerPublicNetArrayOutput
- func (o ServerPublicNetArrayOutput) ToServerPublicNetArrayOutputWithContext(ctx context.Context) ServerPublicNetArrayOutput
- type ServerPublicNetInput
- type ServerPublicNetOutput
- func (ServerPublicNetOutput) ElementType() reflect.Type
- func (o ServerPublicNetOutput) Ipv4() pulumi.IntPtrOutput
- func (o ServerPublicNetOutput) Ipv4Enabled() pulumi.BoolPtrOutput
- func (o ServerPublicNetOutput) Ipv6() pulumi.IntPtrOutput
- func (o ServerPublicNetOutput) Ipv6Enabled() pulumi.BoolPtrOutput
- func (o ServerPublicNetOutput) ToServerPublicNetOutput() ServerPublicNetOutput
- func (o ServerPublicNetOutput) ToServerPublicNetOutputWithContext(ctx context.Context) ServerPublicNetOutput
- type ServerState
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- func (o SnapshotOutput) Description() pulumi.StringPtrOutput
- func (SnapshotOutput) ElementType() reflect.Type
- func (o SnapshotOutput) Labels() pulumi.StringMapOutput
- func (o SnapshotOutput) ServerId() pulumi.IntOutput
- func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
- func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
- type SnapshotState
- type SshKey
- type SshKeyArgs
- type SshKeyArray
- type SshKeyArrayInput
- type SshKeyArrayOutput
- type SshKeyInput
- type SshKeyMap
- type SshKeyMapInput
- type SshKeyMapOutput
- type SshKeyOutput
- func (SshKeyOutput) ElementType() reflect.Type
- func (o SshKeyOutput) Fingerprint() pulumi.StringOutput
- func (o SshKeyOutput) Labels() pulumi.StringMapOutput
- func (o SshKeyOutput) Name() pulumi.StringOutput
- func (o SshKeyOutput) PublicKey() pulumi.StringOutput
- func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput
- func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
- type SshKeyState
- type UploadedCertificate
- type UploadedCertificateArgs
- type UploadedCertificateArray
- type UploadedCertificateArrayInput
- type UploadedCertificateArrayOutput
- func (UploadedCertificateArrayOutput) ElementType() reflect.Type
- func (o UploadedCertificateArrayOutput) Index(i pulumi.IntInput) UploadedCertificateOutput
- func (o UploadedCertificateArrayOutput) ToUploadedCertificateArrayOutput() UploadedCertificateArrayOutput
- func (o UploadedCertificateArrayOutput) ToUploadedCertificateArrayOutputWithContext(ctx context.Context) UploadedCertificateArrayOutput
- type UploadedCertificateInput
- type UploadedCertificateMap
- type UploadedCertificateMapInput
- type UploadedCertificateMapOutput
- func (UploadedCertificateMapOutput) ElementType() reflect.Type
- func (o UploadedCertificateMapOutput) MapIndex(k pulumi.StringInput) UploadedCertificateOutput
- func (o UploadedCertificateMapOutput) ToUploadedCertificateMapOutput() UploadedCertificateMapOutput
- func (o UploadedCertificateMapOutput) ToUploadedCertificateMapOutputWithContext(ctx context.Context) UploadedCertificateMapOutput
- type UploadedCertificateOutput
- func (o UploadedCertificateOutput) Certificate() pulumi.StringOutput
- func (o UploadedCertificateOutput) Created() pulumi.StringOutput
- func (o UploadedCertificateOutput) DomainNames() pulumi.StringArrayOutput
- func (UploadedCertificateOutput) ElementType() reflect.Type
- func (o UploadedCertificateOutput) Fingerprint() pulumi.StringOutput
- func (o UploadedCertificateOutput) Labels() pulumi.StringMapOutput
- func (o UploadedCertificateOutput) Name() pulumi.StringOutput
- func (o UploadedCertificateOutput) NotValidAfter() pulumi.StringOutput
- func (o UploadedCertificateOutput) NotValidBefore() pulumi.StringOutput
- func (o UploadedCertificateOutput) PrivateKey() pulumi.StringOutput
- func (o UploadedCertificateOutput) ToUploadedCertificateOutput() UploadedCertificateOutput
- func (o UploadedCertificateOutput) ToUploadedCertificateOutputWithContext(ctx context.Context) UploadedCertificateOutput
- func (o UploadedCertificateOutput) Type() pulumi.StringOutput
- type UploadedCertificateState
- type Volume
- type VolumeArgs
- type VolumeArray
- type VolumeArrayInput
- type VolumeArrayOutput
- type VolumeAttachment
- type VolumeAttachmentArgs
- type VolumeAttachmentArray
- type VolumeAttachmentArrayInput
- type VolumeAttachmentArrayOutput
- func (VolumeAttachmentArrayOutput) ElementType() reflect.Type
- func (o VolumeAttachmentArrayOutput) Index(i pulumi.IntInput) VolumeAttachmentOutput
- func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
- func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
- type VolumeAttachmentInput
- type VolumeAttachmentMap
- type VolumeAttachmentMapInput
- type VolumeAttachmentMapOutput
- func (VolumeAttachmentMapOutput) ElementType() reflect.Type
- func (o VolumeAttachmentMapOutput) MapIndex(k pulumi.StringInput) VolumeAttachmentOutput
- func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
- func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
- type VolumeAttachmentOutput
- func (o VolumeAttachmentOutput) Automount() pulumi.BoolOutput
- func (VolumeAttachmentOutput) ElementType() reflect.Type
- func (o VolumeAttachmentOutput) ServerId() pulumi.IntOutput
- func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput
- func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
- func (o VolumeAttachmentOutput) VolumeId() pulumi.IntOutput
- type VolumeAttachmentState
- type VolumeInput
- type VolumeMap
- type VolumeMapInput
- type VolumeMapOutput
- type VolumeOutput
- func (o VolumeOutput) Automount() pulumi.BoolPtrOutput
- func (o VolumeOutput) DeleteProtection() pulumi.BoolPtrOutput
- func (VolumeOutput) ElementType() reflect.Type
- func (o VolumeOutput) Format() pulumi.StringPtrOutput
- func (o VolumeOutput) Labels() pulumi.StringMapOutput
- func (o VolumeOutput) LinuxDevice() pulumi.StringOutput
- func (o VolumeOutput) Location() pulumi.StringOutput
- func (o VolumeOutput) Name() pulumi.StringOutput
- func (o VolumeOutput) ServerId() pulumi.IntOutput
- func (o VolumeOutput) Size() pulumi.IntOutput
- func (o VolumeOutput) ToVolumeOutput() VolumeOutput
- func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
- type VolumeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { pulumi.CustomResourceState Certificate pulumi.StringOutput `pulumi:"certificate"` Created pulumi.StringOutput `pulumi:"created"` DomainNames pulumi.StringArrayOutput `pulumi:"domainNames"` Fingerprint pulumi.StringOutput `pulumi:"fingerprint"` Labels pulumi.StringMapOutput `pulumi:"labels"` Name pulumi.StringOutput `pulumi:"name"` NotValidAfter pulumi.StringOutput `pulumi:"notValidAfter"` NotValidBefore pulumi.StringOutput `pulumi:"notValidBefore"` PrivateKey pulumi.StringOutput `pulumi:"privateKey"` Type pulumi.StringOutput `pulumi:"type"` }
Alias for `UploadedCertificate` to remain backwards compatible. Deprecated.
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)
GetCertificate gets an existing Certificate 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 NewCertificate ¶
func NewCertificate(ctx *pulumi.Context, name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)
NewCertificate registers a new resource with the given unique name, arguments, and options.
func (*Certificate) ElementType ¶ added in v0.4.1
func (*Certificate) ElementType() reflect.Type
func (*Certificate) ToCertificateOutput ¶ added in v0.4.1
func (i *Certificate) ToCertificateOutput() CertificateOutput
func (*Certificate) ToCertificateOutputWithContext ¶ added in v0.4.1
func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateArgs ¶
type CertificateArgs struct { Certificate pulumi.StringInput Labels pulumi.StringMapInput Name pulumi.StringPtrInput PrivateKey pulumi.StringInput }
The set of arguments for constructing a Certificate resource.
func (CertificateArgs) ElementType ¶
func (CertificateArgs) ElementType() reflect.Type
type CertificateArray ¶ added in v0.6.2
type CertificateArray []CertificateInput
func (CertificateArray) ElementType ¶ added in v0.6.2
func (CertificateArray) ElementType() reflect.Type
func (CertificateArray) ToCertificateArrayOutput ¶ added in v0.6.2
func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArray) ToCertificateArrayOutputWithContext ¶ added in v0.6.2
func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateArrayInput ¶ added in v0.6.2
type CertificateArrayInput interface { pulumi.Input ToCertificateArrayOutput() CertificateArrayOutput ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput }
CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:
CertificateArray{ CertificateArgs{...} }
type CertificateArrayOutput ¶ added in v0.6.2
type CertificateArrayOutput struct{ *pulumi.OutputState }
func (CertificateArrayOutput) ElementType ¶ added in v0.6.2
func (CertificateArrayOutput) ElementType() reflect.Type
func (CertificateArrayOutput) Index ¶ added in v0.6.2
func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
func (CertificateArrayOutput) ToCertificateArrayOutput ¶ added in v0.6.2
func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArrayOutput) ToCertificateArrayOutputWithContext ¶ added in v0.6.2
func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateInput ¶ added in v0.4.1
type CertificateInput interface { pulumi.Input ToCertificateOutput() CertificateOutput ToCertificateOutputWithContext(ctx context.Context) CertificateOutput }
type CertificateMap ¶ added in v0.6.2
type CertificateMap map[string]CertificateInput
func (CertificateMap) ElementType ¶ added in v0.6.2
func (CertificateMap) ElementType() reflect.Type
func (CertificateMap) ToCertificateMapOutput ¶ added in v0.6.2
func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMap) ToCertificateMapOutputWithContext ¶ added in v0.6.2
func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateMapInput ¶ added in v0.6.2
type CertificateMapInput interface { pulumi.Input ToCertificateMapOutput() CertificateMapOutput ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput }
CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:
CertificateMap{ "key": CertificateArgs{...} }
type CertificateMapOutput ¶ added in v0.6.2
type CertificateMapOutput struct{ *pulumi.OutputState }
func (CertificateMapOutput) ElementType ¶ added in v0.6.2
func (CertificateMapOutput) ElementType() reflect.Type
func (CertificateMapOutput) MapIndex ¶ added in v0.6.2
func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
func (CertificateMapOutput) ToCertificateMapOutput ¶ added in v0.6.2
func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMapOutput) ToCertificateMapOutputWithContext ¶ added in v0.6.2
func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateOutput ¶ added in v0.4.1
type CertificateOutput struct{ *pulumi.OutputState }
func (CertificateOutput) Certificate ¶ added in v1.9.0
func (o CertificateOutput) Certificate() pulumi.StringOutput
func (CertificateOutput) Created ¶ added in v1.9.0
func (o CertificateOutput) Created() pulumi.StringOutput
func (CertificateOutput) DomainNames ¶ added in v1.9.0
func (o CertificateOutput) DomainNames() pulumi.StringArrayOutput
func (CertificateOutput) ElementType ¶ added in v0.4.1
func (CertificateOutput) ElementType() reflect.Type
func (CertificateOutput) Fingerprint ¶ added in v1.9.0
func (o CertificateOutput) Fingerprint() pulumi.StringOutput
func (CertificateOutput) Labels ¶ added in v1.9.0
func (o CertificateOutput) Labels() pulumi.StringMapOutput
func (CertificateOutput) Name ¶ added in v1.9.0
func (o CertificateOutput) Name() pulumi.StringOutput
func (CertificateOutput) NotValidAfter ¶ added in v1.9.0
func (o CertificateOutput) NotValidAfter() pulumi.StringOutput
func (CertificateOutput) NotValidBefore ¶ added in v1.9.0
func (o CertificateOutput) NotValidBefore() pulumi.StringOutput
func (CertificateOutput) PrivateKey ¶ added in v1.9.0
func (o CertificateOutput) PrivateKey() pulumi.StringOutput
func (CertificateOutput) ToCertificateOutput ¶ added in v0.4.1
func (o CertificateOutput) ToCertificateOutput() CertificateOutput
func (CertificateOutput) ToCertificateOutputWithContext ¶ added in v0.4.1
func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
func (CertificateOutput) Type ¶ added in v1.9.0
func (o CertificateOutput) Type() pulumi.StringOutput
type CertificateState ¶
type CertificateState struct { Certificate pulumi.StringPtrInput Created pulumi.StringPtrInput DomainNames pulumi.StringArrayInput Fingerprint pulumi.StringPtrInput Labels pulumi.StringMapInput Name pulumi.StringPtrInput NotValidAfter pulumi.StringPtrInput NotValidBefore pulumi.StringPtrInput PrivateKey pulumi.StringPtrInput Type pulumi.StringPtrInput }
func (CertificateState) ElementType ¶
func (CertificateState) ElementType() reflect.Type
type Firewall ¶ added in v0.7.0
type Firewall struct { pulumi.CustomResourceState // Resources the firewall should be assigned to ApplyTos FirewallApplyToArrayOutput `pulumi:"applyTos"` // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Firewall. Name pulumi.StringOutput `pulumi:"name"` // Configuration of a Rule from this Firewall. Rules FirewallRuleArrayOutput `pulumi:"rules"` }
Provides a Hetzner Cloud Firewall to represent a Firewall in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myfirewall, err := hcloud.NewFirewall(ctx, "myfirewall", &hcloud.FirewallArgs{ Name: pulumi.String("my-firewall"), Rules: hcloud.FirewallRuleArray{ &hcloud.FirewallRuleArgs{ Direction: pulumi.String("in"), Protocol: pulumi.String("icmp"), SourceIps: pulumi.StringArray{ pulumi.String("0.0.0.0/0"), pulumi.String("::/0"), }, }, &hcloud.FirewallRuleArgs{ Direction: pulumi.String("in"), Protocol: pulumi.String("tcp"), Port: pulumi.String("80-85"), SourceIps: pulumi.StringArray{ pulumi.String("0.0.0.0/0"), pulumi.String("::/0"), }, }, }, }) if err != nil { return err } _, err = hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), FirewallIds: pulumi.IntArray{ myfirewall.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Firewalls can be imported using its `id`:
```sh $ pulumi import hcloud:index/firewall:Firewall example "$FIREWALL_ID" ```
func GetFirewall ¶ added in v0.7.0
func GetFirewall(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallState, opts ...pulumi.ResourceOption) (*Firewall, error)
GetFirewall gets an existing Firewall 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 NewFirewall ¶ added in v0.7.0
func NewFirewall(ctx *pulumi.Context, name string, args *FirewallArgs, opts ...pulumi.ResourceOption) (*Firewall, error)
NewFirewall registers a new resource with the given unique name, arguments, and options.
func (*Firewall) ElementType ¶ added in v0.7.0
func (*Firewall) ToFirewallOutput ¶ added in v0.7.0
func (i *Firewall) ToFirewallOutput() FirewallOutput
func (*Firewall) ToFirewallOutputWithContext ¶ added in v0.7.0
func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
type FirewallApplyTo ¶ added in v1.5.0
type FirewallApplyTo struct { // Label Selector to select servers the firewall should be applied to (only one // of `server` and `labelSelector`can be applied in one block) LabelSelector *string `pulumi:"labelSelector"` // ID of the server you want to apply the firewall to (only one of `server` // and `labelSelector`can be applied in one block) Server *int `pulumi:"server"` }
type FirewallApplyToArgs ¶ added in v1.5.0
type FirewallApplyToArgs struct { // Label Selector to select servers the firewall should be applied to (only one // of `server` and `labelSelector`can be applied in one block) LabelSelector pulumi.StringPtrInput `pulumi:"labelSelector"` // ID of the server you want to apply the firewall to (only one of `server` // and `labelSelector`can be applied in one block) Server pulumi.IntPtrInput `pulumi:"server"` }
func (FirewallApplyToArgs) ElementType ¶ added in v1.5.0
func (FirewallApplyToArgs) ElementType() reflect.Type
func (FirewallApplyToArgs) ToFirewallApplyToOutput ¶ added in v1.5.0
func (i FirewallApplyToArgs) ToFirewallApplyToOutput() FirewallApplyToOutput
func (FirewallApplyToArgs) ToFirewallApplyToOutputWithContext ¶ added in v1.5.0
func (i FirewallApplyToArgs) ToFirewallApplyToOutputWithContext(ctx context.Context) FirewallApplyToOutput
type FirewallApplyToArray ¶ added in v1.5.0
type FirewallApplyToArray []FirewallApplyToInput
func (FirewallApplyToArray) ElementType ¶ added in v1.5.0
func (FirewallApplyToArray) ElementType() reflect.Type
func (FirewallApplyToArray) ToFirewallApplyToArrayOutput ¶ added in v1.5.0
func (i FirewallApplyToArray) ToFirewallApplyToArrayOutput() FirewallApplyToArrayOutput
func (FirewallApplyToArray) ToFirewallApplyToArrayOutputWithContext ¶ added in v1.5.0
func (i FirewallApplyToArray) ToFirewallApplyToArrayOutputWithContext(ctx context.Context) FirewallApplyToArrayOutput
type FirewallApplyToArrayInput ¶ added in v1.5.0
type FirewallApplyToArrayInput interface { pulumi.Input ToFirewallApplyToArrayOutput() FirewallApplyToArrayOutput ToFirewallApplyToArrayOutputWithContext(context.Context) FirewallApplyToArrayOutput }
FirewallApplyToArrayInput is an input type that accepts FirewallApplyToArray and FirewallApplyToArrayOutput values. You can construct a concrete instance of `FirewallApplyToArrayInput` via:
FirewallApplyToArray{ FirewallApplyToArgs{...} }
type FirewallApplyToArrayOutput ¶ added in v1.5.0
type FirewallApplyToArrayOutput struct{ *pulumi.OutputState }
func (FirewallApplyToArrayOutput) ElementType ¶ added in v1.5.0
func (FirewallApplyToArrayOutput) ElementType() reflect.Type
func (FirewallApplyToArrayOutput) Index ¶ added in v1.5.0
func (o FirewallApplyToArrayOutput) Index(i pulumi.IntInput) FirewallApplyToOutput
func (FirewallApplyToArrayOutput) ToFirewallApplyToArrayOutput ¶ added in v1.5.0
func (o FirewallApplyToArrayOutput) ToFirewallApplyToArrayOutput() FirewallApplyToArrayOutput
func (FirewallApplyToArrayOutput) ToFirewallApplyToArrayOutputWithContext ¶ added in v1.5.0
func (o FirewallApplyToArrayOutput) ToFirewallApplyToArrayOutputWithContext(ctx context.Context) FirewallApplyToArrayOutput
type FirewallApplyToInput ¶ added in v1.5.0
type FirewallApplyToInput interface { pulumi.Input ToFirewallApplyToOutput() FirewallApplyToOutput ToFirewallApplyToOutputWithContext(context.Context) FirewallApplyToOutput }
FirewallApplyToInput is an input type that accepts FirewallApplyToArgs and FirewallApplyToOutput values. You can construct a concrete instance of `FirewallApplyToInput` via:
FirewallApplyToArgs{...}
type FirewallApplyToOutput ¶ added in v1.5.0
type FirewallApplyToOutput struct{ *pulumi.OutputState }
func (FirewallApplyToOutput) ElementType ¶ added in v1.5.0
func (FirewallApplyToOutput) ElementType() reflect.Type
func (FirewallApplyToOutput) LabelSelector ¶ added in v1.5.0
func (o FirewallApplyToOutput) LabelSelector() pulumi.StringPtrOutput
Label Selector to select servers the firewall should be applied to (only one of `server` and `labelSelector`can be applied in one block)
func (FirewallApplyToOutput) Server ¶ added in v1.5.0
func (o FirewallApplyToOutput) Server() pulumi.IntPtrOutput
ID of the server you want to apply the firewall to (only one of `server` and `labelSelector`can be applied in one block)
func (FirewallApplyToOutput) ToFirewallApplyToOutput ¶ added in v1.5.0
func (o FirewallApplyToOutput) ToFirewallApplyToOutput() FirewallApplyToOutput
func (FirewallApplyToOutput) ToFirewallApplyToOutputWithContext ¶ added in v1.5.0
func (o FirewallApplyToOutput) ToFirewallApplyToOutputWithContext(ctx context.Context) FirewallApplyToOutput
type FirewallArgs ¶ added in v0.7.0
type FirewallArgs struct { // Resources the firewall should be assigned to ApplyTos FirewallApplyToArrayInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Firewall. Name pulumi.StringPtrInput // Configuration of a Rule from this Firewall. Rules FirewallRuleArrayInput }
The set of arguments for constructing a Firewall resource.
func (FirewallArgs) ElementType ¶ added in v0.7.0
func (FirewallArgs) ElementType() reflect.Type
type FirewallArray ¶ added in v0.7.0
type FirewallArray []FirewallInput
func (FirewallArray) ElementType ¶ added in v0.7.0
func (FirewallArray) ElementType() reflect.Type
func (FirewallArray) ToFirewallArrayOutput ¶ added in v0.7.0
func (i FirewallArray) ToFirewallArrayOutput() FirewallArrayOutput
func (FirewallArray) ToFirewallArrayOutputWithContext ¶ added in v0.7.0
func (i FirewallArray) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput
type FirewallArrayInput ¶ added in v0.7.0
type FirewallArrayInput interface { pulumi.Input ToFirewallArrayOutput() FirewallArrayOutput ToFirewallArrayOutputWithContext(context.Context) FirewallArrayOutput }
FirewallArrayInput is an input type that accepts FirewallArray and FirewallArrayOutput values. You can construct a concrete instance of `FirewallArrayInput` via:
FirewallArray{ FirewallArgs{...} }
type FirewallArrayOutput ¶ added in v0.7.0
type FirewallArrayOutput struct{ *pulumi.OutputState }
func (FirewallArrayOutput) ElementType ¶ added in v0.7.0
func (FirewallArrayOutput) ElementType() reflect.Type
func (FirewallArrayOutput) Index ¶ added in v0.7.0
func (o FirewallArrayOutput) Index(i pulumi.IntInput) FirewallOutput
func (FirewallArrayOutput) ToFirewallArrayOutput ¶ added in v0.7.0
func (o FirewallArrayOutput) ToFirewallArrayOutput() FirewallArrayOutput
func (FirewallArrayOutput) ToFirewallArrayOutputWithContext ¶ added in v0.7.0
func (o FirewallArrayOutput) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput
type FirewallAttachment ¶ added in v1.8.0
type FirewallAttachment struct { pulumi.CustomResourceState // ID of the firewall the resources // should be attached to. FirewallId pulumi.IntOutput `pulumi:"firewallId"` // List of label selectors used to // select resources to attach to the firewall. LabelSelectors pulumi.StringArrayOutput `pulumi:"labelSelectors"` // List of Server IDs to attach to the // firewall. ServerIds pulumi.IntArrayOutput `pulumi:"serverIds"` }
Attaches resource to a Hetzner Cloud Firewall.
_Note_: only one `FirewallAttachment` per Firewall is allowed. Any resources that should be attached to that Firewall need to be specified in that `FirewallAttachment`.
## Example Usage
### Attach Servers
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testServer, err := hcloud.NewServer(ctx, "test_server", &hcloud.ServerArgs{ Name: pulumi.String("test-server"), ServerType: pulumi.String("cx22"), Image: pulumi.String("ubuntu-20.04"), }) if err != nil { return err } basicFirewall, err := hcloud.NewFirewall(ctx, "basic_firewall", &hcloud.FirewallArgs{ Name: pulumi.String("basic_firewall"), }) if err != nil { return err } _, err = hcloud.NewFirewallAttachment(ctx, "fw_ref", &hcloud.FirewallAttachmentArgs{ FirewallId: basicFirewall.ID(), ServerIds: pulumi.IntArray{ testServer.ID(), }, }) if err != nil { return err } return nil }) }
```
### Attach Label Selectors
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.NewServer(ctx, "test_server", &hcloud.ServerArgs{ Name: pulumi.String("test-server"), ServerType: pulumi.String("cx22"), Image: pulumi.String("ubuntu-20.04"), Labels: pulumi.StringMap{ "firewall-attachment": pulumi.String("test-server"), }, }) if err != nil { return err } basicFirewall, err := hcloud.NewFirewall(ctx, "basic_firewall", &hcloud.FirewallArgs{ Name: pulumi.String("basic_firewall"), }) if err != nil { return err } _, err = hcloud.NewFirewallAttachment(ctx, "fw_ref", &hcloud.FirewallAttachmentArgs{ FirewallId: basicFirewall.ID(), LabelSelectors: pulumi.StringArray{ pulumi.String("firewall-attachment=test-server"), }, }) if err != nil { return err } return nil }) }
```
func GetFirewallAttachment ¶ added in v1.8.0
func GetFirewallAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallAttachmentState, opts ...pulumi.ResourceOption) (*FirewallAttachment, error)
GetFirewallAttachment gets an existing FirewallAttachment 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 NewFirewallAttachment ¶ added in v1.8.0
func NewFirewallAttachment(ctx *pulumi.Context, name string, args *FirewallAttachmentArgs, opts ...pulumi.ResourceOption) (*FirewallAttachment, error)
NewFirewallAttachment registers a new resource with the given unique name, arguments, and options.
func (*FirewallAttachment) ElementType ¶ added in v1.8.0
func (*FirewallAttachment) ElementType() reflect.Type
func (*FirewallAttachment) ToFirewallAttachmentOutput ¶ added in v1.8.0
func (i *FirewallAttachment) ToFirewallAttachmentOutput() FirewallAttachmentOutput
func (*FirewallAttachment) ToFirewallAttachmentOutputWithContext ¶ added in v1.8.0
func (i *FirewallAttachment) ToFirewallAttachmentOutputWithContext(ctx context.Context) FirewallAttachmentOutput
type FirewallAttachmentArgs ¶ added in v1.8.0
type FirewallAttachmentArgs struct { // ID of the firewall the resources // should be attached to. FirewallId pulumi.IntInput // List of label selectors used to // select resources to attach to the firewall. LabelSelectors pulumi.StringArrayInput // List of Server IDs to attach to the // firewall. ServerIds pulumi.IntArrayInput }
The set of arguments for constructing a FirewallAttachment resource.
func (FirewallAttachmentArgs) ElementType ¶ added in v1.8.0
func (FirewallAttachmentArgs) ElementType() reflect.Type
type FirewallAttachmentArray ¶ added in v1.8.0
type FirewallAttachmentArray []FirewallAttachmentInput
func (FirewallAttachmentArray) ElementType ¶ added in v1.8.0
func (FirewallAttachmentArray) ElementType() reflect.Type
func (FirewallAttachmentArray) ToFirewallAttachmentArrayOutput ¶ added in v1.8.0
func (i FirewallAttachmentArray) ToFirewallAttachmentArrayOutput() FirewallAttachmentArrayOutput
func (FirewallAttachmentArray) ToFirewallAttachmentArrayOutputWithContext ¶ added in v1.8.0
func (i FirewallAttachmentArray) ToFirewallAttachmentArrayOutputWithContext(ctx context.Context) FirewallAttachmentArrayOutput
type FirewallAttachmentArrayInput ¶ added in v1.8.0
type FirewallAttachmentArrayInput interface { pulumi.Input ToFirewallAttachmentArrayOutput() FirewallAttachmentArrayOutput ToFirewallAttachmentArrayOutputWithContext(context.Context) FirewallAttachmentArrayOutput }
FirewallAttachmentArrayInput is an input type that accepts FirewallAttachmentArray and FirewallAttachmentArrayOutput values. You can construct a concrete instance of `FirewallAttachmentArrayInput` via:
FirewallAttachmentArray{ FirewallAttachmentArgs{...} }
type FirewallAttachmentArrayOutput ¶ added in v1.8.0
type FirewallAttachmentArrayOutput struct{ *pulumi.OutputState }
func (FirewallAttachmentArrayOutput) ElementType ¶ added in v1.8.0
func (FirewallAttachmentArrayOutput) ElementType() reflect.Type
func (FirewallAttachmentArrayOutput) Index ¶ added in v1.8.0
func (o FirewallAttachmentArrayOutput) Index(i pulumi.IntInput) FirewallAttachmentOutput
func (FirewallAttachmentArrayOutput) ToFirewallAttachmentArrayOutput ¶ added in v1.8.0
func (o FirewallAttachmentArrayOutput) ToFirewallAttachmentArrayOutput() FirewallAttachmentArrayOutput
func (FirewallAttachmentArrayOutput) ToFirewallAttachmentArrayOutputWithContext ¶ added in v1.8.0
func (o FirewallAttachmentArrayOutput) ToFirewallAttachmentArrayOutputWithContext(ctx context.Context) FirewallAttachmentArrayOutput
type FirewallAttachmentInput ¶ added in v1.8.0
type FirewallAttachmentInput interface { pulumi.Input ToFirewallAttachmentOutput() FirewallAttachmentOutput ToFirewallAttachmentOutputWithContext(ctx context.Context) FirewallAttachmentOutput }
type FirewallAttachmentMap ¶ added in v1.8.0
type FirewallAttachmentMap map[string]FirewallAttachmentInput
func (FirewallAttachmentMap) ElementType ¶ added in v1.8.0
func (FirewallAttachmentMap) ElementType() reflect.Type
func (FirewallAttachmentMap) ToFirewallAttachmentMapOutput ¶ added in v1.8.0
func (i FirewallAttachmentMap) ToFirewallAttachmentMapOutput() FirewallAttachmentMapOutput
func (FirewallAttachmentMap) ToFirewallAttachmentMapOutputWithContext ¶ added in v1.8.0
func (i FirewallAttachmentMap) ToFirewallAttachmentMapOutputWithContext(ctx context.Context) FirewallAttachmentMapOutput
type FirewallAttachmentMapInput ¶ added in v1.8.0
type FirewallAttachmentMapInput interface { pulumi.Input ToFirewallAttachmentMapOutput() FirewallAttachmentMapOutput ToFirewallAttachmentMapOutputWithContext(context.Context) FirewallAttachmentMapOutput }
FirewallAttachmentMapInput is an input type that accepts FirewallAttachmentMap and FirewallAttachmentMapOutput values. You can construct a concrete instance of `FirewallAttachmentMapInput` via:
FirewallAttachmentMap{ "key": FirewallAttachmentArgs{...} }
type FirewallAttachmentMapOutput ¶ added in v1.8.0
type FirewallAttachmentMapOutput struct{ *pulumi.OutputState }
func (FirewallAttachmentMapOutput) ElementType ¶ added in v1.8.0
func (FirewallAttachmentMapOutput) ElementType() reflect.Type
func (FirewallAttachmentMapOutput) MapIndex ¶ added in v1.8.0
func (o FirewallAttachmentMapOutput) MapIndex(k pulumi.StringInput) FirewallAttachmentOutput
func (FirewallAttachmentMapOutput) ToFirewallAttachmentMapOutput ¶ added in v1.8.0
func (o FirewallAttachmentMapOutput) ToFirewallAttachmentMapOutput() FirewallAttachmentMapOutput
func (FirewallAttachmentMapOutput) ToFirewallAttachmentMapOutputWithContext ¶ added in v1.8.0
func (o FirewallAttachmentMapOutput) ToFirewallAttachmentMapOutputWithContext(ctx context.Context) FirewallAttachmentMapOutput
type FirewallAttachmentOutput ¶ added in v1.8.0
type FirewallAttachmentOutput struct{ *pulumi.OutputState }
func (FirewallAttachmentOutput) ElementType ¶ added in v1.8.0
func (FirewallAttachmentOutput) ElementType() reflect.Type
func (FirewallAttachmentOutput) FirewallId ¶ added in v1.9.0
func (o FirewallAttachmentOutput) FirewallId() pulumi.IntOutput
ID of the firewall the resources should be attached to.
func (FirewallAttachmentOutput) LabelSelectors ¶ added in v1.9.0
func (o FirewallAttachmentOutput) LabelSelectors() pulumi.StringArrayOutput
List of label selectors used to select resources to attach to the firewall.
func (FirewallAttachmentOutput) ServerIds ¶ added in v1.9.0
func (o FirewallAttachmentOutput) ServerIds() pulumi.IntArrayOutput
List of Server IDs to attach to the firewall.
func (FirewallAttachmentOutput) ToFirewallAttachmentOutput ¶ added in v1.8.0
func (o FirewallAttachmentOutput) ToFirewallAttachmentOutput() FirewallAttachmentOutput
func (FirewallAttachmentOutput) ToFirewallAttachmentOutputWithContext ¶ added in v1.8.0
func (o FirewallAttachmentOutput) ToFirewallAttachmentOutputWithContext(ctx context.Context) FirewallAttachmentOutput
type FirewallAttachmentState ¶ added in v1.8.0
type FirewallAttachmentState struct { // ID of the firewall the resources // should be attached to. FirewallId pulumi.IntPtrInput // List of label selectors used to // select resources to attach to the firewall. LabelSelectors pulumi.StringArrayInput // List of Server IDs to attach to the // firewall. ServerIds pulumi.IntArrayInput }
func (FirewallAttachmentState) ElementType ¶ added in v1.8.0
func (FirewallAttachmentState) ElementType() reflect.Type
type FirewallInput ¶ added in v0.7.0
type FirewallInput interface { pulumi.Input ToFirewallOutput() FirewallOutput ToFirewallOutputWithContext(ctx context.Context) FirewallOutput }
type FirewallMap ¶ added in v0.7.0
type FirewallMap map[string]FirewallInput
func (FirewallMap) ElementType ¶ added in v0.7.0
func (FirewallMap) ElementType() reflect.Type
func (FirewallMap) ToFirewallMapOutput ¶ added in v0.7.0
func (i FirewallMap) ToFirewallMapOutput() FirewallMapOutput
func (FirewallMap) ToFirewallMapOutputWithContext ¶ added in v0.7.0
func (i FirewallMap) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput
type FirewallMapInput ¶ added in v0.7.0
type FirewallMapInput interface { pulumi.Input ToFirewallMapOutput() FirewallMapOutput ToFirewallMapOutputWithContext(context.Context) FirewallMapOutput }
FirewallMapInput is an input type that accepts FirewallMap and FirewallMapOutput values. You can construct a concrete instance of `FirewallMapInput` via:
FirewallMap{ "key": FirewallArgs{...} }
type FirewallMapOutput ¶ added in v0.7.0
type FirewallMapOutput struct{ *pulumi.OutputState }
func (FirewallMapOutput) ElementType ¶ added in v0.7.0
func (FirewallMapOutput) ElementType() reflect.Type
func (FirewallMapOutput) MapIndex ¶ added in v0.7.0
func (o FirewallMapOutput) MapIndex(k pulumi.StringInput) FirewallOutput
func (FirewallMapOutput) ToFirewallMapOutput ¶ added in v0.7.0
func (o FirewallMapOutput) ToFirewallMapOutput() FirewallMapOutput
func (FirewallMapOutput) ToFirewallMapOutputWithContext ¶ added in v0.7.0
func (o FirewallMapOutput) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput
type FirewallOutput ¶ added in v0.7.0
type FirewallOutput struct{ *pulumi.OutputState }
func (FirewallOutput) ApplyTos ¶ added in v1.9.0
func (o FirewallOutput) ApplyTos() FirewallApplyToArrayOutput
Resources the firewall should be assigned to
func (FirewallOutput) ElementType ¶ added in v0.7.0
func (FirewallOutput) ElementType() reflect.Type
func (FirewallOutput) Labels ¶ added in v1.9.0
func (o FirewallOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (FirewallOutput) Name ¶ added in v1.9.0
func (o FirewallOutput) Name() pulumi.StringOutput
Name of the Firewall.
func (FirewallOutput) Rules ¶ added in v1.9.0
func (o FirewallOutput) Rules() FirewallRuleArrayOutput
Configuration of a Rule from this Firewall.
func (FirewallOutput) ToFirewallOutput ¶ added in v0.7.0
func (o FirewallOutput) ToFirewallOutput() FirewallOutput
func (FirewallOutput) ToFirewallOutputWithContext ¶ added in v0.7.0
func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
type FirewallRule ¶ added in v0.7.0
type FirewallRule struct { // Description of the firewall rule Description *string `pulumi:"description"` // List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction` // is `out`) DestinationIps []string `pulumi:"destinationIps"` // Direction of the Firewall Rule. `in` Direction string `pulumi:"direction"` // Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any` // to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85. Port *string `pulumi:"port"` // Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp` Protocol string `pulumi:"protocol"` // List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction` // is `in`) SourceIps []string `pulumi:"sourceIps"` }
type FirewallRuleArgs ¶ added in v0.7.0
type FirewallRuleArgs struct { // Description of the firewall rule Description pulumi.StringPtrInput `pulumi:"description"` // List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction` // is `out`) DestinationIps pulumi.StringArrayInput `pulumi:"destinationIps"` // Direction of the Firewall Rule. `in` Direction pulumi.StringInput `pulumi:"direction"` // Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any` // to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85. Port pulumi.StringPtrInput `pulumi:"port"` // Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp` Protocol pulumi.StringInput `pulumi:"protocol"` // List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction` // is `in`) SourceIps pulumi.StringArrayInput `pulumi:"sourceIps"` }
func (FirewallRuleArgs) ElementType ¶ added in v0.7.0
func (FirewallRuleArgs) ElementType() reflect.Type
func (FirewallRuleArgs) ToFirewallRuleOutput ¶ added in v0.7.0
func (i FirewallRuleArgs) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleArgs) ToFirewallRuleOutputWithContext ¶ added in v0.7.0
func (i FirewallRuleArgs) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleArray ¶ added in v0.7.0
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶ added in v0.7.0
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶ added in v0.7.0
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶ added in v0.7.0
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶ added in v0.7.0
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶ added in v0.7.0
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶ added in v0.7.0
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶ added in v0.7.0
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶ added in v0.7.0
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶ added in v0.7.0
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶ added in v0.7.0
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(context.Context) FirewallRuleOutput }
FirewallRuleInput is an input type that accepts FirewallRuleArgs and FirewallRuleOutput values. You can construct a concrete instance of `FirewallRuleInput` via:
FirewallRuleArgs{...}
type FirewallRuleOutput ¶ added in v0.7.0
type FirewallRuleOutput struct{ *pulumi.OutputState }
func (FirewallRuleOutput) Description ¶ added in v1.2.0
func (o FirewallRuleOutput) Description() pulumi.StringPtrOutput
Description of the firewall rule
func (FirewallRuleOutput) DestinationIps ¶ added in v0.7.0
func (o FirewallRuleOutput) DestinationIps() pulumi.StringArrayOutput
List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction` is `out`)
func (FirewallRuleOutput) Direction ¶ added in v0.7.0
func (o FirewallRuleOutput) Direction() pulumi.StringOutput
Direction of the Firewall Rule. `in`
func (FirewallRuleOutput) ElementType ¶ added in v0.7.0
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) Port ¶ added in v0.7.0
func (o FirewallRuleOutput) Port() pulumi.StringPtrOutput
Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any` to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85.
func (FirewallRuleOutput) Protocol ¶ added in v0.7.0
func (o FirewallRuleOutput) Protocol() pulumi.StringOutput
Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp`
func (FirewallRuleOutput) SourceIps ¶ added in v0.7.0
func (o FirewallRuleOutput) SourceIps() pulumi.StringArrayOutput
List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction` is `in`)
func (FirewallRuleOutput) ToFirewallRuleOutput ¶ added in v0.7.0
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶ added in v0.7.0
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallState ¶ added in v0.7.0
type FirewallState struct { // Resources the firewall should be assigned to ApplyTos FirewallApplyToArrayInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Firewall. Name pulumi.StringPtrInput // Configuration of a Rule from this Firewall. Rules FirewallRuleArrayInput }
func (FirewallState) ElementType ¶ added in v0.7.0
func (FirewallState) ElementType() reflect.Type
type FloatingIp ¶
type FloatingIp struct { pulumi.CustomResourceState // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // Description of the Floating IP. Description pulumi.StringPtrOutput `pulumi:"description"` // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation pulumi.StringOutput `pulumi:"homeLocation"` // (string) IP Address of the Floating IP. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // (string) IPv6 subnet. (Only set if `type` is `ipv6`) IpNetwork pulumi.StringOutput `pulumi:"ipNetwork"` // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Floating IP. Name pulumi.StringOutput `pulumi:"name"` // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId pulumi.IntOutput `pulumi:"serverId"` // Type of the Floating IP. `ipv4` `ipv6` Type pulumi.StringOutput `pulumi:"type"` }
Provides a Hetzner Cloud Floating IP to represent a publicly-accessible static IP address that can be mapped to one of your servers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), }) if err != nil { return err } _, err = hcloud.NewFloatingIp(ctx, "master", &hcloud.FloatingIpArgs{ Type: pulumi.String("ipv4"), ServerId: node1.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Floating IPs can be imported using its `id`:
```sh $ pulumi import hcloud:index/floatingIp:FloatingIp example "$FLOATING_IP_ID" ```
func GetFloatingIp ¶
func GetFloatingIp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FloatingIpState, opts ...pulumi.ResourceOption) (*FloatingIp, error)
GetFloatingIp gets an existing FloatingIp 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 NewFloatingIp ¶
func NewFloatingIp(ctx *pulumi.Context, name string, args *FloatingIpArgs, opts ...pulumi.ResourceOption) (*FloatingIp, error)
NewFloatingIp registers a new resource with the given unique name, arguments, and options.
func (*FloatingIp) ElementType ¶ added in v0.4.1
func (*FloatingIp) ElementType() reflect.Type
func (*FloatingIp) ToFloatingIpOutput ¶ added in v0.4.1
func (i *FloatingIp) ToFloatingIpOutput() FloatingIpOutput
func (*FloatingIp) ToFloatingIpOutputWithContext ¶ added in v0.4.1
func (i *FloatingIp) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput
type FloatingIpArgs ¶
type FloatingIpArgs struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // Description of the Floating IP. Description pulumi.StringPtrInput // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Floating IP. Name pulumi.StringPtrInput // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId pulumi.IntPtrInput // Type of the Floating IP. `ipv4` `ipv6` Type pulumi.StringInput }
The set of arguments for constructing a FloatingIp resource.
func (FloatingIpArgs) ElementType ¶
func (FloatingIpArgs) ElementType() reflect.Type
type FloatingIpArray ¶ added in v0.6.2
type FloatingIpArray []FloatingIpInput
func (FloatingIpArray) ElementType ¶ added in v0.6.2
func (FloatingIpArray) ElementType() reflect.Type
func (FloatingIpArray) ToFloatingIpArrayOutput ¶ added in v0.6.2
func (i FloatingIpArray) ToFloatingIpArrayOutput() FloatingIpArrayOutput
func (FloatingIpArray) ToFloatingIpArrayOutputWithContext ¶ added in v0.6.2
func (i FloatingIpArray) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput
type FloatingIpArrayInput ¶ added in v0.6.2
type FloatingIpArrayInput interface { pulumi.Input ToFloatingIpArrayOutput() FloatingIpArrayOutput ToFloatingIpArrayOutputWithContext(context.Context) FloatingIpArrayOutput }
FloatingIpArrayInput is an input type that accepts FloatingIpArray and FloatingIpArrayOutput values. You can construct a concrete instance of `FloatingIpArrayInput` via:
FloatingIpArray{ FloatingIpArgs{...} }
type FloatingIpArrayOutput ¶ added in v0.6.2
type FloatingIpArrayOutput struct{ *pulumi.OutputState }
func (FloatingIpArrayOutput) ElementType ¶ added in v0.6.2
func (FloatingIpArrayOutput) ElementType() reflect.Type
func (FloatingIpArrayOutput) Index ¶ added in v0.6.2
func (o FloatingIpArrayOutput) Index(i pulumi.IntInput) FloatingIpOutput
func (FloatingIpArrayOutput) ToFloatingIpArrayOutput ¶ added in v0.6.2
func (o FloatingIpArrayOutput) ToFloatingIpArrayOutput() FloatingIpArrayOutput
func (FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext ¶ added in v0.6.2
func (o FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput
type FloatingIpAssignment ¶
type FloatingIpAssignment struct { pulumi.CustomResourceState // ID of the Floating IP. FloatingIpId pulumi.IntOutput `pulumi:"floatingIpId"` // Server to assign the Floating IP to. ServerId pulumi.IntOutput `pulumi:"serverId"` }
Provides a Hetzner Cloud Floating IP Assignment to assign a Floating IP to a Hetzner Cloud Server. Deleting a Floating IP Assignment will unassign the Floating IP from the Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), Datacenter: pulumi.String("fsn1-dc8"), }) if err != nil { return err } master, err := hcloud.NewFloatingIp(ctx, "master", &hcloud.FloatingIpArgs{ Type: pulumi.String("ipv4"), HomeLocation: pulumi.String("nbg1"), }) if err != nil { return err } _, err = hcloud.NewFloatingIpAssignment(ctx, "main", &hcloud.FloatingIpAssignmentArgs{ FloatingIpId: master.ID(), ServerId: node1.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Floating IP Assignments can be imported using the `floating_ip_id`:
```sh $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment example "$FLOATING_IP_ID" ```
func GetFloatingIpAssignment ¶
func GetFloatingIpAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FloatingIpAssignmentState, opts ...pulumi.ResourceOption) (*FloatingIpAssignment, error)
GetFloatingIpAssignment gets an existing FloatingIpAssignment 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 NewFloatingIpAssignment ¶
func NewFloatingIpAssignment(ctx *pulumi.Context, name string, args *FloatingIpAssignmentArgs, opts ...pulumi.ResourceOption) (*FloatingIpAssignment, error)
NewFloatingIpAssignment registers a new resource with the given unique name, arguments, and options.
func (*FloatingIpAssignment) ElementType ¶ added in v0.4.1
func (*FloatingIpAssignment) ElementType() reflect.Type
func (*FloatingIpAssignment) ToFloatingIpAssignmentOutput ¶ added in v0.4.1
func (i *FloatingIpAssignment) ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput
func (*FloatingIpAssignment) ToFloatingIpAssignmentOutputWithContext ¶ added in v0.4.1
func (i *FloatingIpAssignment) ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput
type FloatingIpAssignmentArgs ¶
type FloatingIpAssignmentArgs struct { // ID of the Floating IP. FloatingIpId pulumi.IntInput // Server to assign the Floating IP to. ServerId pulumi.IntInput }
The set of arguments for constructing a FloatingIpAssignment resource.
func (FloatingIpAssignmentArgs) ElementType ¶
func (FloatingIpAssignmentArgs) ElementType() reflect.Type
type FloatingIpAssignmentArray ¶ added in v0.6.2
type FloatingIpAssignmentArray []FloatingIpAssignmentInput
func (FloatingIpAssignmentArray) ElementType ¶ added in v0.6.2
func (FloatingIpAssignmentArray) ElementType() reflect.Type
func (FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutput ¶ added in v0.6.2
func (i FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput
func (FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutputWithContext ¶ added in v0.6.2
func (i FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutputWithContext(ctx context.Context) FloatingIpAssignmentArrayOutput
type FloatingIpAssignmentArrayInput ¶ added in v0.6.2
type FloatingIpAssignmentArrayInput interface { pulumi.Input ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput ToFloatingIpAssignmentArrayOutputWithContext(context.Context) FloatingIpAssignmentArrayOutput }
FloatingIpAssignmentArrayInput is an input type that accepts FloatingIpAssignmentArray and FloatingIpAssignmentArrayOutput values. You can construct a concrete instance of `FloatingIpAssignmentArrayInput` via:
FloatingIpAssignmentArray{ FloatingIpAssignmentArgs{...} }
type FloatingIpAssignmentArrayOutput ¶ added in v0.6.2
type FloatingIpAssignmentArrayOutput struct{ *pulumi.OutputState }
func (FloatingIpAssignmentArrayOutput) ElementType ¶ added in v0.6.2
func (FloatingIpAssignmentArrayOutput) ElementType() reflect.Type
func (FloatingIpAssignmentArrayOutput) Index ¶ added in v0.6.2
func (o FloatingIpAssignmentArrayOutput) Index(i pulumi.IntInput) FloatingIpAssignmentOutput
func (FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutput ¶ added in v0.6.2
func (o FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput
func (FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutputWithContext ¶ added in v0.6.2
func (o FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutputWithContext(ctx context.Context) FloatingIpAssignmentArrayOutput
type FloatingIpAssignmentInput ¶ added in v0.4.1
type FloatingIpAssignmentInput interface { pulumi.Input ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput }
type FloatingIpAssignmentMap ¶ added in v0.6.2
type FloatingIpAssignmentMap map[string]FloatingIpAssignmentInput
func (FloatingIpAssignmentMap) ElementType ¶ added in v0.6.2
func (FloatingIpAssignmentMap) ElementType() reflect.Type
func (FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutput ¶ added in v0.6.2
func (i FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput
func (FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutputWithContext ¶ added in v0.6.2
func (i FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutputWithContext(ctx context.Context) FloatingIpAssignmentMapOutput
type FloatingIpAssignmentMapInput ¶ added in v0.6.2
type FloatingIpAssignmentMapInput interface { pulumi.Input ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput ToFloatingIpAssignmentMapOutputWithContext(context.Context) FloatingIpAssignmentMapOutput }
FloatingIpAssignmentMapInput is an input type that accepts FloatingIpAssignmentMap and FloatingIpAssignmentMapOutput values. You can construct a concrete instance of `FloatingIpAssignmentMapInput` via:
FloatingIpAssignmentMap{ "key": FloatingIpAssignmentArgs{...} }
type FloatingIpAssignmentMapOutput ¶ added in v0.6.2
type FloatingIpAssignmentMapOutput struct{ *pulumi.OutputState }
func (FloatingIpAssignmentMapOutput) ElementType ¶ added in v0.6.2
func (FloatingIpAssignmentMapOutput) ElementType() reflect.Type
func (FloatingIpAssignmentMapOutput) MapIndex ¶ added in v0.6.2
func (o FloatingIpAssignmentMapOutput) MapIndex(k pulumi.StringInput) FloatingIpAssignmentOutput
func (FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutput ¶ added in v0.6.2
func (o FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput
func (FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutputWithContext ¶ added in v0.6.2
func (o FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutputWithContext(ctx context.Context) FloatingIpAssignmentMapOutput
type FloatingIpAssignmentOutput ¶ added in v0.4.1
type FloatingIpAssignmentOutput struct{ *pulumi.OutputState }
func (FloatingIpAssignmentOutput) ElementType ¶ added in v0.4.1
func (FloatingIpAssignmentOutput) ElementType() reflect.Type
func (FloatingIpAssignmentOutput) FloatingIpId ¶ added in v1.9.0
func (o FloatingIpAssignmentOutput) FloatingIpId() pulumi.IntOutput
ID of the Floating IP.
func (FloatingIpAssignmentOutput) ServerId ¶ added in v1.9.0
func (o FloatingIpAssignmentOutput) ServerId() pulumi.IntOutput
Server to assign the Floating IP to.
func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput ¶ added in v0.4.1
func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput
func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext ¶ added in v0.4.1
func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput
type FloatingIpAssignmentState ¶
type FloatingIpAssignmentState struct { // ID of the Floating IP. FloatingIpId pulumi.IntPtrInput // Server to assign the Floating IP to. ServerId pulumi.IntPtrInput }
func (FloatingIpAssignmentState) ElementType ¶
func (FloatingIpAssignmentState) ElementType() reflect.Type
type FloatingIpInput ¶ added in v0.4.1
type FloatingIpInput interface { pulumi.Input ToFloatingIpOutput() FloatingIpOutput ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput }
type FloatingIpMap ¶ added in v0.6.2
type FloatingIpMap map[string]FloatingIpInput
func (FloatingIpMap) ElementType ¶ added in v0.6.2
func (FloatingIpMap) ElementType() reflect.Type
func (FloatingIpMap) ToFloatingIpMapOutput ¶ added in v0.6.2
func (i FloatingIpMap) ToFloatingIpMapOutput() FloatingIpMapOutput
func (FloatingIpMap) ToFloatingIpMapOutputWithContext ¶ added in v0.6.2
func (i FloatingIpMap) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput
type FloatingIpMapInput ¶ added in v0.6.2
type FloatingIpMapInput interface { pulumi.Input ToFloatingIpMapOutput() FloatingIpMapOutput ToFloatingIpMapOutputWithContext(context.Context) FloatingIpMapOutput }
FloatingIpMapInput is an input type that accepts FloatingIpMap and FloatingIpMapOutput values. You can construct a concrete instance of `FloatingIpMapInput` via:
FloatingIpMap{ "key": FloatingIpArgs{...} }
type FloatingIpMapOutput ¶ added in v0.6.2
type FloatingIpMapOutput struct{ *pulumi.OutputState }
func (FloatingIpMapOutput) ElementType ¶ added in v0.6.2
func (FloatingIpMapOutput) ElementType() reflect.Type
func (FloatingIpMapOutput) MapIndex ¶ added in v0.6.2
func (o FloatingIpMapOutput) MapIndex(k pulumi.StringInput) FloatingIpOutput
func (FloatingIpMapOutput) ToFloatingIpMapOutput ¶ added in v0.6.2
func (o FloatingIpMapOutput) ToFloatingIpMapOutput() FloatingIpMapOutput
func (FloatingIpMapOutput) ToFloatingIpMapOutputWithContext ¶ added in v0.6.2
func (o FloatingIpMapOutput) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput
type FloatingIpOutput ¶ added in v0.4.1
type FloatingIpOutput struct{ *pulumi.OutputState }
func (FloatingIpOutput) DeleteProtection ¶ added in v1.9.0
func (o FloatingIpOutput) DeleteProtection() pulumi.BoolPtrOutput
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
func (FloatingIpOutput) Description ¶ added in v1.9.0
func (o FloatingIpOutput) Description() pulumi.StringPtrOutput
Description of the Floating IP.
func (FloatingIpOutput) ElementType ¶ added in v0.4.1
func (FloatingIpOutput) ElementType() reflect.Type
func (FloatingIpOutput) HomeLocation ¶ added in v1.9.0
func (o FloatingIpOutput) HomeLocation() pulumi.StringOutput
Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed.
func (FloatingIpOutput) IpAddress ¶ added in v1.9.0
func (o FloatingIpOutput) IpAddress() pulumi.StringOutput
(string) IP Address of the Floating IP.
func (FloatingIpOutput) IpNetwork ¶ added in v1.9.0
func (o FloatingIpOutput) IpNetwork() pulumi.StringOutput
(string) IPv6 subnet. (Only set if `type` is `ipv6`)
func (FloatingIpOutput) Labels ¶ added in v1.9.0
func (o FloatingIpOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (FloatingIpOutput) Name ¶ added in v1.9.0
func (o FloatingIpOutput) Name() pulumi.StringOutput
Name of the Floating IP.
func (FloatingIpOutput) ServerId ¶ added in v1.9.0
func (o FloatingIpOutput) ServerId() pulumi.IntOutput
Server to assign the Floating IP to. Optional if `homeLocation` argument is passed.
func (FloatingIpOutput) ToFloatingIpOutput ¶ added in v0.4.1
func (o FloatingIpOutput) ToFloatingIpOutput() FloatingIpOutput
func (FloatingIpOutput) ToFloatingIpOutputWithContext ¶ added in v0.4.1
func (o FloatingIpOutput) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput
func (FloatingIpOutput) Type ¶ added in v1.9.0
func (o FloatingIpOutput) Type() pulumi.StringOutput
Type of the Floating IP. `ipv4` `ipv6`
type FloatingIpState ¶
type FloatingIpState struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // Description of the Floating IP. Description pulumi.StringPtrInput // Name of home location (routing is optimized for that location). Optional if `serverId` argument is passed. HomeLocation pulumi.StringPtrInput // (string) IP Address of the Floating IP. IpAddress pulumi.StringPtrInput // (string) IPv6 subnet. (Only set if `type` is `ipv6`) IpNetwork pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Floating IP. Name pulumi.StringPtrInput // Server to assign the Floating IP to. Optional if `homeLocation` argument is passed. ServerId pulumi.IntPtrInput // Type of the Floating IP. `ipv4` `ipv6` Type pulumi.StringPtrInput }
func (FloatingIpState) ElementType ¶
func (FloatingIpState) ElementType() reflect.Type
type GetCertificatesArgs ¶ added in v1.5.0
type GetCertificatesArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getCertificates.
type GetCertificatesCertificate ¶ added in v1.5.0
type GetCertificatesCertificate struct { Certificate string `pulumi:"certificate"` Created string `pulumi:"created"` DomainNames []string `pulumi:"domainNames"` Fingerprint string `pulumi:"fingerprint"` Id int `pulumi:"id"` Labels map[string]string `pulumi:"labels"` Name *string `pulumi:"name"` NotValidAfter string `pulumi:"notValidAfter"` NotValidBefore string `pulumi:"notValidBefore"` Type string `pulumi:"type"` }
type GetCertificatesCertificateArgs ¶ added in v1.5.0
type GetCertificatesCertificateArgs struct { Certificate pulumi.StringInput `pulumi:"certificate"` Created pulumi.StringInput `pulumi:"created"` DomainNames pulumi.StringArrayInput `pulumi:"domainNames"` Fingerprint pulumi.StringInput `pulumi:"fingerprint"` Id pulumi.IntInput `pulumi:"id"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringPtrInput `pulumi:"name"` NotValidAfter pulumi.StringInput `pulumi:"notValidAfter"` NotValidBefore pulumi.StringInput `pulumi:"notValidBefore"` Type pulumi.StringInput `pulumi:"type"` }
func (GetCertificatesCertificateArgs) ElementType ¶ added in v1.5.0
func (GetCertificatesCertificateArgs) ElementType() reflect.Type
func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput ¶ added in v1.5.0
func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext ¶ added in v1.5.0
func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
type GetCertificatesCertificateArray ¶ added in v1.5.0
type GetCertificatesCertificateArray []GetCertificatesCertificateInput
func (GetCertificatesCertificateArray) ElementType ¶ added in v1.5.0
func (GetCertificatesCertificateArray) ElementType() reflect.Type
func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput ¶ added in v1.5.0
func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext ¶ added in v1.5.0
func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
type GetCertificatesCertificateArrayInput ¶ added in v1.5.0
type GetCertificatesCertificateArrayInput interface { pulumi.Input ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput ToGetCertificatesCertificateArrayOutputWithContext(context.Context) GetCertificatesCertificateArrayOutput }
GetCertificatesCertificateArrayInput is an input type that accepts GetCertificatesCertificateArray and GetCertificatesCertificateArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateArrayInput` via:
GetCertificatesCertificateArray{ GetCertificatesCertificateArgs{...} }
type GetCertificatesCertificateArrayOutput ¶ added in v1.5.0
type GetCertificatesCertificateArrayOutput struct{ *pulumi.OutputState }
func (GetCertificatesCertificateArrayOutput) ElementType ¶ added in v1.5.0
func (GetCertificatesCertificateArrayOutput) ElementType() reflect.Type
func (GetCertificatesCertificateArrayOutput) Index ¶ added in v1.5.0
func (o GetCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertificateOutput
func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput ¶ added in v1.5.0
func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext ¶ added in v1.5.0
func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
type GetCertificatesCertificateInput ¶ added in v1.5.0
type GetCertificatesCertificateInput interface { pulumi.Input ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput ToGetCertificatesCertificateOutputWithContext(context.Context) GetCertificatesCertificateOutput }
GetCertificatesCertificateInput is an input type that accepts GetCertificatesCertificateArgs and GetCertificatesCertificateOutput values. You can construct a concrete instance of `GetCertificatesCertificateInput` via:
GetCertificatesCertificateArgs{...}
type GetCertificatesCertificateOutput ¶ added in v1.5.0
type GetCertificatesCertificateOutput struct{ *pulumi.OutputState }
func (GetCertificatesCertificateOutput) Certificate ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Certificate() pulumi.StringOutput
func (GetCertificatesCertificateOutput) Created ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Created() pulumi.StringOutput
func (GetCertificatesCertificateOutput) DomainNames ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) DomainNames() pulumi.StringArrayOutput
func (GetCertificatesCertificateOutput) ElementType ¶ added in v1.5.0
func (GetCertificatesCertificateOutput) ElementType() reflect.Type
func (GetCertificatesCertificateOutput) Fingerprint ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Fingerprint() pulumi.StringOutput
func (GetCertificatesCertificateOutput) Id ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Id() pulumi.IntOutput
func (GetCertificatesCertificateOutput) Labels ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Labels() pulumi.StringMapOutput
func (GetCertificatesCertificateOutput) Name ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Name() pulumi.StringPtrOutput
func (GetCertificatesCertificateOutput) NotValidAfter ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) NotValidAfter() pulumi.StringOutput
func (GetCertificatesCertificateOutput) NotValidBefore ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) NotValidBefore() pulumi.StringOutput
func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
func (GetCertificatesCertificateOutput) Type ¶ added in v1.5.0
func (o GetCertificatesCertificateOutput) Type() pulumi.StringOutput
type GetCertificatesOutputArgs ¶ added in v1.6.0
type GetCertificatesOutputArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getCertificates.
func (GetCertificatesOutputArgs) ElementType ¶ added in v1.6.0
func (GetCertificatesOutputArgs) ElementType() reflect.Type
type GetCertificatesResult ¶ added in v1.5.0
type GetCertificatesResult struct { // (list) List of all matching certificates. See `data.hcloud_certificate` for schema. Certificates []GetCertificatesCertificate `pulumi:"certificates"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getCertificates.
func GetCertificates ¶ added in v1.5.0
func GetCertificates(ctx *pulumi.Context, args *GetCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCertificatesResult, error)
Provides details about multiple Hetzner Cloud Certificates.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetCertificates(ctx, &hcloud.GetCertificatesArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetCertificatesResultOutput ¶ added in v1.6.0
type GetCertificatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCertificates.
func GetCertificatesOutput ¶ added in v1.6.0
func GetCertificatesOutput(ctx *pulumi.Context, args GetCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetCertificatesResultOutput
func (GetCertificatesResultOutput) Certificates ¶ added in v1.6.0
func (o GetCertificatesResultOutput) Certificates() GetCertificatesCertificateArrayOutput
(list) List of all matching certificates. See `data.hcloud_certificate` for schema.
func (GetCertificatesResultOutput) ElementType ¶ added in v1.6.0
func (GetCertificatesResultOutput) ElementType() reflect.Type
func (GetCertificatesResultOutput) Id ¶ added in v1.6.0
func (o GetCertificatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCertificatesResultOutput) ToGetCertificatesResultOutput ¶ added in v1.6.0
func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput
func (GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext ¶ added in v1.6.0
func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput
func (GetCertificatesResultOutput) WithSelector ¶ added in v1.6.0
func (o GetCertificatesResultOutput) WithSelector() pulumi.StringPtrOutput
type GetDatacenterArgs ¶
type GetDatacenterArgs struct { // ID of the Datacenter. Id *int `pulumi:"id"` // Name of the Datacenter. Name *string `pulumi:"name"` }
A collection of arguments for invoking getDatacenter.
type GetDatacenterOutputArgs ¶ added in v1.6.0
type GetDatacenterOutputArgs struct { // ID of the Datacenter. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the Datacenter. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getDatacenter.
func (GetDatacenterOutputArgs) ElementType ¶ added in v1.6.0
func (GetDatacenterOutputArgs) ElementType() reflect.Type
type GetDatacenterResult ¶
type GetDatacenterResult struct { // List of currently available Server Types in the Datacenter. AvailableServerTypeIds []int `pulumi:"availableServerTypeIds"` // Description of the Datacenter. Description string `pulumi:"description"` // ID of the Datacenter. Id *int `pulumi:"id"` // Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location map[string]string `pulumi:"location"` // Name of the Datacenter. Name *string `pulumi:"name"` // List of supported Server Types in the Datacenter. SupportedServerTypeIds []int `pulumi:"supportedServerTypeIds"` }
A collection of values returned by getDatacenter.
func GetDatacenter ¶
func GetDatacenter(ctx *pulumi.Context, args *GetDatacenterArgs, opts ...pulumi.InvokeOption) (*GetDatacenterResult, error)
Provides details about a specific Hetzner Cloud Datacenter.
Use this resource to get detailed information about a specific Datacenter.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetDatacenter(ctx, &hcloud.GetDatacenterArgs{ Id: pulumi.IntRef(4), }, nil) if err != nil { return err } _, err = hcloud.GetDatacenter(ctx, &hcloud.GetDatacenterArgs{ Name: pulumi.StringRef("fsn1-dc14"), }, nil) if err != nil { return err } return nil }) }
```
type GetDatacenterResultOutput ¶ added in v1.6.0
type GetDatacenterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatacenter.
func GetDatacenterOutput ¶ added in v1.6.0
func GetDatacenterOutput(ctx *pulumi.Context, args GetDatacenterOutputArgs, opts ...pulumi.InvokeOption) GetDatacenterResultOutput
func (GetDatacenterResultOutput) AvailableServerTypeIds ¶ added in v1.6.0
func (o GetDatacenterResultOutput) AvailableServerTypeIds() pulumi.IntArrayOutput
List of currently available Server Types in the Datacenter.
func (GetDatacenterResultOutput) Description ¶ added in v1.6.0
func (o GetDatacenterResultOutput) Description() pulumi.StringOutput
Description of the Datacenter.
func (GetDatacenterResultOutput) ElementType ¶ added in v1.6.0
func (GetDatacenterResultOutput) ElementType() reflect.Type
func (GetDatacenterResultOutput) Id ¶ added in v1.6.0
func (o GetDatacenterResultOutput) Id() pulumi.IntPtrOutput
ID of the Datacenter.
func (GetDatacenterResultOutput) Location ¶ added in v1.6.0
func (o GetDatacenterResultOutput) Location() pulumi.StringMapOutput
Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (GetDatacenterResultOutput) Name ¶ added in v1.6.0
func (o GetDatacenterResultOutput) Name() pulumi.StringPtrOutput
Name of the Datacenter.
func (GetDatacenterResultOutput) SupportedServerTypeIds ¶ added in v1.6.0
func (o GetDatacenterResultOutput) SupportedServerTypeIds() pulumi.IntArrayOutput
List of supported Server Types in the Datacenter.
func (GetDatacenterResultOutput) ToGetDatacenterResultOutput ¶ added in v1.6.0
func (o GetDatacenterResultOutput) ToGetDatacenterResultOutput() GetDatacenterResultOutput
func (GetDatacenterResultOutput) ToGetDatacenterResultOutputWithContext ¶ added in v1.6.0
func (o GetDatacenterResultOutput) ToGetDatacenterResultOutputWithContext(ctx context.Context) GetDatacenterResultOutput
type GetDatacentersDatacenter ¶ added in v1.5.0
type GetDatacentersDatacenter struct { // List of currently available Server Types in the Datacenter. AvailableServerTypeIds []int `pulumi:"availableServerTypeIds"` // Description of the Datacenter. Description string `pulumi:"description"` // ID of the Datacenter. Id int `pulumi:"id"` // Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location map[string]string `pulumi:"location"` // Name of the Datacenter. Name string `pulumi:"name"` // List of supported Server Types in the Datacenter. SupportedServerTypeIds []int `pulumi:"supportedServerTypeIds"` }
type GetDatacentersDatacenterArgs ¶ added in v1.5.0
type GetDatacentersDatacenterArgs struct { // List of currently available Server Types in the Datacenter. AvailableServerTypeIds pulumi.IntArrayInput `pulumi:"availableServerTypeIds"` // Description of the Datacenter. Description pulumi.StringInput `pulumi:"description"` // ID of the Datacenter. Id pulumi.IntInput `pulumi:"id"` // Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringMapInput `pulumi:"location"` // Name of the Datacenter. Name pulumi.StringInput `pulumi:"name"` // List of supported Server Types in the Datacenter. SupportedServerTypeIds pulumi.IntArrayInput `pulumi:"supportedServerTypeIds"` }
func (GetDatacentersDatacenterArgs) ElementType ¶ added in v1.5.0
func (GetDatacentersDatacenterArgs) ElementType() reflect.Type
func (GetDatacentersDatacenterArgs) ToGetDatacentersDatacenterOutput ¶ added in v1.5.0
func (i GetDatacentersDatacenterArgs) ToGetDatacentersDatacenterOutput() GetDatacentersDatacenterOutput
func (GetDatacentersDatacenterArgs) ToGetDatacentersDatacenterOutputWithContext ¶ added in v1.5.0
func (i GetDatacentersDatacenterArgs) ToGetDatacentersDatacenterOutputWithContext(ctx context.Context) GetDatacentersDatacenterOutput
type GetDatacentersDatacenterArray ¶ added in v1.5.0
type GetDatacentersDatacenterArray []GetDatacentersDatacenterInput
func (GetDatacentersDatacenterArray) ElementType ¶ added in v1.5.0
func (GetDatacentersDatacenterArray) ElementType() reflect.Type
func (GetDatacentersDatacenterArray) ToGetDatacentersDatacenterArrayOutput ¶ added in v1.5.0
func (i GetDatacentersDatacenterArray) ToGetDatacentersDatacenterArrayOutput() GetDatacentersDatacenterArrayOutput
func (GetDatacentersDatacenterArray) ToGetDatacentersDatacenterArrayOutputWithContext ¶ added in v1.5.0
func (i GetDatacentersDatacenterArray) ToGetDatacentersDatacenterArrayOutputWithContext(ctx context.Context) GetDatacentersDatacenterArrayOutput
type GetDatacentersDatacenterArrayInput ¶ added in v1.5.0
type GetDatacentersDatacenterArrayInput interface { pulumi.Input ToGetDatacentersDatacenterArrayOutput() GetDatacentersDatacenterArrayOutput ToGetDatacentersDatacenterArrayOutputWithContext(context.Context) GetDatacentersDatacenterArrayOutput }
GetDatacentersDatacenterArrayInput is an input type that accepts GetDatacentersDatacenterArray and GetDatacentersDatacenterArrayOutput values. You can construct a concrete instance of `GetDatacentersDatacenterArrayInput` via:
GetDatacentersDatacenterArray{ GetDatacentersDatacenterArgs{...} }
type GetDatacentersDatacenterArrayOutput ¶ added in v1.5.0
type GetDatacentersDatacenterArrayOutput struct{ *pulumi.OutputState }
func (GetDatacentersDatacenterArrayOutput) ElementType ¶ added in v1.5.0
func (GetDatacentersDatacenterArrayOutput) ElementType() reflect.Type
func (GetDatacentersDatacenterArrayOutput) Index ¶ added in v1.5.0
func (o GetDatacentersDatacenterArrayOutput) Index(i pulumi.IntInput) GetDatacentersDatacenterOutput
func (GetDatacentersDatacenterArrayOutput) ToGetDatacentersDatacenterArrayOutput ¶ added in v1.5.0
func (o GetDatacentersDatacenterArrayOutput) ToGetDatacentersDatacenterArrayOutput() GetDatacentersDatacenterArrayOutput
func (GetDatacentersDatacenterArrayOutput) ToGetDatacentersDatacenterArrayOutputWithContext ¶ added in v1.5.0
func (o GetDatacentersDatacenterArrayOutput) ToGetDatacentersDatacenterArrayOutputWithContext(ctx context.Context) GetDatacentersDatacenterArrayOutput
type GetDatacentersDatacenterInput ¶ added in v1.5.0
type GetDatacentersDatacenterInput interface { pulumi.Input ToGetDatacentersDatacenterOutput() GetDatacentersDatacenterOutput ToGetDatacentersDatacenterOutputWithContext(context.Context) GetDatacentersDatacenterOutput }
GetDatacentersDatacenterInput is an input type that accepts GetDatacentersDatacenterArgs and GetDatacentersDatacenterOutput values. You can construct a concrete instance of `GetDatacentersDatacenterInput` via:
GetDatacentersDatacenterArgs{...}
type GetDatacentersDatacenterOutput ¶ added in v1.5.0
type GetDatacentersDatacenterOutput struct{ *pulumi.OutputState }
func (GetDatacentersDatacenterOutput) AvailableServerTypeIds ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) AvailableServerTypeIds() pulumi.IntArrayOutput
List of currently available Server Types in the Datacenter.
func (GetDatacentersDatacenterOutput) Description ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) Description() pulumi.StringOutput
Description of the Datacenter.
func (GetDatacentersDatacenterOutput) ElementType ¶ added in v1.5.0
func (GetDatacentersDatacenterOutput) ElementType() reflect.Type
func (GetDatacentersDatacenterOutput) Id ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) Id() pulumi.IntOutput
ID of the Datacenter.
func (GetDatacentersDatacenterOutput) Location ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) Location() pulumi.StringMapOutput
Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (GetDatacentersDatacenterOutput) Name ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) Name() pulumi.StringOutput
Name of the Datacenter.
func (GetDatacentersDatacenterOutput) SupportedServerTypeIds ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) SupportedServerTypeIds() pulumi.IntArrayOutput
List of supported Server Types in the Datacenter.
func (GetDatacentersDatacenterOutput) ToGetDatacentersDatacenterOutput ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) ToGetDatacentersDatacenterOutput() GetDatacentersDatacenterOutput
func (GetDatacentersDatacenterOutput) ToGetDatacentersDatacenterOutputWithContext ¶ added in v1.5.0
func (o GetDatacentersDatacenterOutput) ToGetDatacentersDatacenterOutputWithContext(ctx context.Context) GetDatacentersDatacenterOutput
type GetDatacentersResult ¶
type GetDatacentersResult struct { // Deprecated: Use datacenters list instead DatacenterIds []string `pulumi:"datacenterIds"` Datacenters []GetDatacentersDatacenter `pulumi:"datacenters"` // Deprecated: Use datacenters list instead Descriptions []string `pulumi:"descriptions"` // The ID of this resource. Id string `pulumi:"id"` // Deprecated: Use datacenters list instead Names []string `pulumi:"names"` }
A collection of values returned by getDatacenters.
func GetDatacenters ¶
func GetDatacenters(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDatacentersResult, error)
Provides a list of available Hetzner Cloud Datacenters.
This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
type GetDatacentersResultOutput ¶ added in v1.6.0
type GetDatacentersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatacenters.
func GetDatacentersOutput ¶ added in v1.6.0
func GetDatacentersOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDatacentersResultOutput
func (GetDatacentersResultOutput) DatacenterIds
deprecated
added in
v1.6.0
func (o GetDatacentersResultOutput) DatacenterIds() pulumi.StringArrayOutput
Deprecated: Use datacenters list instead
func (GetDatacentersResultOutput) Datacenters ¶ added in v1.6.0
func (o GetDatacentersResultOutput) Datacenters() GetDatacentersDatacenterArrayOutput
func (GetDatacentersResultOutput) Descriptions
deprecated
added in
v1.6.0
func (o GetDatacentersResultOutput) Descriptions() pulumi.StringArrayOutput
Deprecated: Use datacenters list instead
func (GetDatacentersResultOutput) ElementType ¶ added in v1.6.0
func (GetDatacentersResultOutput) ElementType() reflect.Type
func (GetDatacentersResultOutput) Id ¶ added in v1.6.0
func (o GetDatacentersResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetDatacentersResultOutput) Names
deprecated
added in
v1.6.0
func (o GetDatacentersResultOutput) Names() pulumi.StringArrayOutput
Deprecated: Use datacenters list instead
func (GetDatacentersResultOutput) ToGetDatacentersResultOutput ¶ added in v1.6.0
func (o GetDatacentersResultOutput) ToGetDatacentersResultOutput() GetDatacentersResultOutput
func (GetDatacentersResultOutput) ToGetDatacentersResultOutputWithContext ¶ added in v1.6.0
func (o GetDatacentersResultOutput) ToGetDatacentersResultOutputWithContext(ctx context.Context) GetDatacentersResultOutput
type GetFirewallApplyTo ¶ added in v1.5.0
type GetFirewallApplyTo struct { // (string) Label Selector to select servers the firewall is applied to. Empty if a server is directly // referenced LabelSelector string `pulumi:"labelSelector"` // (int) ID of a server where the firewall is applied to. `0` if applied to a label_selector Server int `pulumi:"server"` }
type GetFirewallApplyToArgs ¶ added in v1.5.0
type GetFirewallApplyToArgs struct { // (string) Label Selector to select servers the firewall is applied to. Empty if a server is directly // referenced LabelSelector pulumi.StringInput `pulumi:"labelSelector"` // (int) ID of a server where the firewall is applied to. `0` if applied to a label_selector Server pulumi.IntInput `pulumi:"server"` }
func (GetFirewallApplyToArgs) ElementType ¶ added in v1.5.0
func (GetFirewallApplyToArgs) ElementType() reflect.Type
func (GetFirewallApplyToArgs) ToGetFirewallApplyToOutput ¶ added in v1.5.0
func (i GetFirewallApplyToArgs) ToGetFirewallApplyToOutput() GetFirewallApplyToOutput
func (GetFirewallApplyToArgs) ToGetFirewallApplyToOutputWithContext ¶ added in v1.5.0
func (i GetFirewallApplyToArgs) ToGetFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallApplyToOutput
type GetFirewallApplyToArray ¶ added in v1.5.0
type GetFirewallApplyToArray []GetFirewallApplyToInput
func (GetFirewallApplyToArray) ElementType ¶ added in v1.5.0
func (GetFirewallApplyToArray) ElementType() reflect.Type
func (GetFirewallApplyToArray) ToGetFirewallApplyToArrayOutput ¶ added in v1.5.0
func (i GetFirewallApplyToArray) ToGetFirewallApplyToArrayOutput() GetFirewallApplyToArrayOutput
func (GetFirewallApplyToArray) ToGetFirewallApplyToArrayOutputWithContext ¶ added in v1.5.0
func (i GetFirewallApplyToArray) ToGetFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallApplyToArrayOutput
type GetFirewallApplyToArrayInput ¶ added in v1.5.0
type GetFirewallApplyToArrayInput interface { pulumi.Input ToGetFirewallApplyToArrayOutput() GetFirewallApplyToArrayOutput ToGetFirewallApplyToArrayOutputWithContext(context.Context) GetFirewallApplyToArrayOutput }
GetFirewallApplyToArrayInput is an input type that accepts GetFirewallApplyToArray and GetFirewallApplyToArrayOutput values. You can construct a concrete instance of `GetFirewallApplyToArrayInput` via:
GetFirewallApplyToArray{ GetFirewallApplyToArgs{...} }
type GetFirewallApplyToArrayOutput ¶ added in v1.5.0
type GetFirewallApplyToArrayOutput struct{ *pulumi.OutputState }
func (GetFirewallApplyToArrayOutput) ElementType ¶ added in v1.5.0
func (GetFirewallApplyToArrayOutput) ElementType() reflect.Type
func (GetFirewallApplyToArrayOutput) Index ¶ added in v1.5.0
func (o GetFirewallApplyToArrayOutput) Index(i pulumi.IntInput) GetFirewallApplyToOutput
func (GetFirewallApplyToArrayOutput) ToGetFirewallApplyToArrayOutput ¶ added in v1.5.0
func (o GetFirewallApplyToArrayOutput) ToGetFirewallApplyToArrayOutput() GetFirewallApplyToArrayOutput
func (GetFirewallApplyToArrayOutput) ToGetFirewallApplyToArrayOutputWithContext ¶ added in v1.5.0
func (o GetFirewallApplyToArrayOutput) ToGetFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallApplyToArrayOutput
type GetFirewallApplyToInput ¶ added in v1.5.0
type GetFirewallApplyToInput interface { pulumi.Input ToGetFirewallApplyToOutput() GetFirewallApplyToOutput ToGetFirewallApplyToOutputWithContext(context.Context) GetFirewallApplyToOutput }
GetFirewallApplyToInput is an input type that accepts GetFirewallApplyToArgs and GetFirewallApplyToOutput values. You can construct a concrete instance of `GetFirewallApplyToInput` via:
GetFirewallApplyToArgs{...}
type GetFirewallApplyToOutput ¶ added in v1.5.0
type GetFirewallApplyToOutput struct{ *pulumi.OutputState }
func (GetFirewallApplyToOutput) ElementType ¶ added in v1.5.0
func (GetFirewallApplyToOutput) ElementType() reflect.Type
func (GetFirewallApplyToOutput) LabelSelector ¶ added in v1.5.0
func (o GetFirewallApplyToOutput) LabelSelector() pulumi.StringOutput
(string) Label Selector to select servers the firewall is applied to. Empty if a server is directly referenced
func (GetFirewallApplyToOutput) Server ¶ added in v1.5.0
func (o GetFirewallApplyToOutput) Server() pulumi.IntOutput
(int) ID of a server where the firewall is applied to. `0` if applied to a label_selector
func (GetFirewallApplyToOutput) ToGetFirewallApplyToOutput ¶ added in v1.5.0
func (o GetFirewallApplyToOutput) ToGetFirewallApplyToOutput() GetFirewallApplyToOutput
func (GetFirewallApplyToOutput) ToGetFirewallApplyToOutputWithContext ¶ added in v1.5.0
func (o GetFirewallApplyToOutput) ToGetFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallApplyToOutput
type GetFirewallRule ¶ added in v0.7.0
type GetFirewallRule struct { // (Optional, string) Description of the firewall rule Description *string `pulumi:"description"` // (Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `out`) DestinationIps []string `pulumi:"destinationIps"` // (Required, string) Direction of the Firewall Rule. `in`, `out` Direction string `pulumi:"direction"` // (Required, string) Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp` Port *string `pulumi:"port"` // (Required, string) Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp` Protocol *string `pulumi:"protocol"` // (Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `in`) SourceIps []string `pulumi:"sourceIps"` }
type GetFirewallRuleArgs ¶ added in v0.7.0
type GetFirewallRuleArgs struct { // (Optional, string) Description of the firewall rule Description pulumi.StringPtrInput `pulumi:"description"` // (Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `out`) DestinationIps pulumi.StringArrayInput `pulumi:"destinationIps"` // (Required, string) Direction of the Firewall Rule. `in`, `out` Direction pulumi.StringInput `pulumi:"direction"` // (Required, string) Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp` Port pulumi.StringPtrInput `pulumi:"port"` // (Required, string) Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp` Protocol pulumi.StringPtrInput `pulumi:"protocol"` // (Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `in`) SourceIps pulumi.StringArrayInput `pulumi:"sourceIps"` }
func (GetFirewallRuleArgs) ElementType ¶ added in v0.7.0
func (GetFirewallRuleArgs) ElementType() reflect.Type
func (GetFirewallRuleArgs) ToGetFirewallRuleOutput ¶ added in v0.7.0
func (i GetFirewallRuleArgs) ToGetFirewallRuleOutput() GetFirewallRuleOutput
func (GetFirewallRuleArgs) ToGetFirewallRuleOutputWithContext ¶ added in v0.7.0
func (i GetFirewallRuleArgs) ToGetFirewallRuleOutputWithContext(ctx context.Context) GetFirewallRuleOutput
type GetFirewallRuleArray ¶ added in v0.7.0
type GetFirewallRuleArray []GetFirewallRuleInput
func (GetFirewallRuleArray) ElementType ¶ added in v0.7.0
func (GetFirewallRuleArray) ElementType() reflect.Type
func (GetFirewallRuleArray) ToGetFirewallRuleArrayOutput ¶ added in v0.7.0
func (i GetFirewallRuleArray) ToGetFirewallRuleArrayOutput() GetFirewallRuleArrayOutput
func (GetFirewallRuleArray) ToGetFirewallRuleArrayOutputWithContext ¶ added in v0.7.0
func (i GetFirewallRuleArray) ToGetFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallRuleArrayOutput
type GetFirewallRuleArrayInput ¶ added in v0.7.0
type GetFirewallRuleArrayInput interface { pulumi.Input ToGetFirewallRuleArrayOutput() GetFirewallRuleArrayOutput ToGetFirewallRuleArrayOutputWithContext(context.Context) GetFirewallRuleArrayOutput }
GetFirewallRuleArrayInput is an input type that accepts GetFirewallRuleArray and GetFirewallRuleArrayOutput values. You can construct a concrete instance of `GetFirewallRuleArrayInput` via:
GetFirewallRuleArray{ GetFirewallRuleArgs{...} }
type GetFirewallRuleArrayOutput ¶ added in v0.7.0
type GetFirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (GetFirewallRuleArrayOutput) ElementType ¶ added in v0.7.0
func (GetFirewallRuleArrayOutput) ElementType() reflect.Type
func (GetFirewallRuleArrayOutput) Index ¶ added in v0.7.0
func (o GetFirewallRuleArrayOutput) Index(i pulumi.IntInput) GetFirewallRuleOutput
func (GetFirewallRuleArrayOutput) ToGetFirewallRuleArrayOutput ¶ added in v0.7.0
func (o GetFirewallRuleArrayOutput) ToGetFirewallRuleArrayOutput() GetFirewallRuleArrayOutput
func (GetFirewallRuleArrayOutput) ToGetFirewallRuleArrayOutputWithContext ¶ added in v0.7.0
func (o GetFirewallRuleArrayOutput) ToGetFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallRuleArrayOutput
type GetFirewallRuleInput ¶ added in v0.7.0
type GetFirewallRuleInput interface { pulumi.Input ToGetFirewallRuleOutput() GetFirewallRuleOutput ToGetFirewallRuleOutputWithContext(context.Context) GetFirewallRuleOutput }
GetFirewallRuleInput is an input type that accepts GetFirewallRuleArgs and GetFirewallRuleOutput values. You can construct a concrete instance of `GetFirewallRuleInput` via:
GetFirewallRuleArgs{...}
type GetFirewallRuleOutput ¶ added in v0.7.0
type GetFirewallRuleOutput struct{ *pulumi.OutputState }
func (GetFirewallRuleOutput) Description ¶ added in v1.2.0
func (o GetFirewallRuleOutput) Description() pulumi.StringPtrOutput
(Optional, string) Description of the firewall rule
func (GetFirewallRuleOutput) DestinationIps ¶ added in v1.0.1
func (o GetFirewallRuleOutput) DestinationIps() pulumi.StringArrayOutput
(Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `out`)
func (GetFirewallRuleOutput) Direction ¶ added in v0.7.0
func (o GetFirewallRuleOutput) Direction() pulumi.StringOutput
(Required, string) Direction of the Firewall Rule. `in`, `out`
func (GetFirewallRuleOutput) ElementType ¶ added in v0.7.0
func (GetFirewallRuleOutput) ElementType() reflect.Type
func (GetFirewallRuleOutput) Port ¶ added in v0.7.0
func (o GetFirewallRuleOutput) Port() pulumi.StringPtrOutput
(Required, string) Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`
func (GetFirewallRuleOutput) Protocol ¶ added in v0.7.0
func (o GetFirewallRuleOutput) Protocol() pulumi.StringPtrOutput
(Required, string) Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp`
func (GetFirewallRuleOutput) SourceIps ¶ added in v0.7.0
func (o GetFirewallRuleOutput) SourceIps() pulumi.StringArrayOutput
(Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `in`)
func (GetFirewallRuleOutput) ToGetFirewallRuleOutput ¶ added in v0.7.0
func (o GetFirewallRuleOutput) ToGetFirewallRuleOutput() GetFirewallRuleOutput
func (GetFirewallRuleOutput) ToGetFirewallRuleOutputWithContext ¶ added in v0.7.0
func (o GetFirewallRuleOutput) ToGetFirewallRuleOutputWithContext(ctx context.Context) GetFirewallRuleOutput
type GetFirewallsArgs ¶ added in v1.5.0
type GetFirewallsArgs struct { // Sorts list by date. MostRecent *bool `pulumi:"mostRecent"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getFirewalls.
type GetFirewallsFirewall ¶ added in v1.5.0
type GetFirewallsFirewall struct { ApplyTos []GetFirewallsFirewallApplyTo `pulumi:"applyTos"` Id *int `pulumi:"id"` Labels map[string]string `pulumi:"labels"` Name string `pulumi:"name"` Rules []GetFirewallsFirewallRule `pulumi:"rules"` }
type GetFirewallsFirewallApplyTo ¶ added in v1.5.0
type GetFirewallsFirewallApplyToArgs ¶ added in v1.5.0
type GetFirewallsFirewallApplyToArgs struct { LabelSelector pulumi.StringInput `pulumi:"labelSelector"` Server pulumi.IntInput `pulumi:"server"` }
func (GetFirewallsFirewallApplyToArgs) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallApplyToArgs) ElementType() reflect.Type
func (GetFirewallsFirewallApplyToArgs) ToGetFirewallsFirewallApplyToOutput ¶ added in v1.5.0
func (i GetFirewallsFirewallApplyToArgs) ToGetFirewallsFirewallApplyToOutput() GetFirewallsFirewallApplyToOutput
func (GetFirewallsFirewallApplyToArgs) ToGetFirewallsFirewallApplyToOutputWithContext ¶ added in v1.5.0
func (i GetFirewallsFirewallApplyToArgs) ToGetFirewallsFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToOutput
type GetFirewallsFirewallApplyToArray ¶ added in v1.5.0
type GetFirewallsFirewallApplyToArray []GetFirewallsFirewallApplyToInput
func (GetFirewallsFirewallApplyToArray) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallApplyToArray) ElementType() reflect.Type
func (GetFirewallsFirewallApplyToArray) ToGetFirewallsFirewallApplyToArrayOutput ¶ added in v1.5.0
func (i GetFirewallsFirewallApplyToArray) ToGetFirewallsFirewallApplyToArrayOutput() GetFirewallsFirewallApplyToArrayOutput
func (GetFirewallsFirewallApplyToArray) ToGetFirewallsFirewallApplyToArrayOutputWithContext ¶ added in v1.5.0
func (i GetFirewallsFirewallApplyToArray) ToGetFirewallsFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToArrayOutput
type GetFirewallsFirewallApplyToArrayInput ¶ added in v1.5.0
type GetFirewallsFirewallApplyToArrayInput interface { pulumi.Input ToGetFirewallsFirewallApplyToArrayOutput() GetFirewallsFirewallApplyToArrayOutput ToGetFirewallsFirewallApplyToArrayOutputWithContext(context.Context) GetFirewallsFirewallApplyToArrayOutput }
GetFirewallsFirewallApplyToArrayInput is an input type that accepts GetFirewallsFirewallApplyToArray and GetFirewallsFirewallApplyToArrayOutput values. You can construct a concrete instance of `GetFirewallsFirewallApplyToArrayInput` via:
GetFirewallsFirewallApplyToArray{ GetFirewallsFirewallApplyToArgs{...} }
type GetFirewallsFirewallApplyToArrayOutput ¶ added in v1.5.0
type GetFirewallsFirewallApplyToArrayOutput struct{ *pulumi.OutputState }
func (GetFirewallsFirewallApplyToArrayOutput) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallApplyToArrayOutput) ElementType() reflect.Type
func (GetFirewallsFirewallApplyToArrayOutput) ToGetFirewallsFirewallApplyToArrayOutput ¶ added in v1.5.0
func (o GetFirewallsFirewallApplyToArrayOutput) ToGetFirewallsFirewallApplyToArrayOutput() GetFirewallsFirewallApplyToArrayOutput
func (GetFirewallsFirewallApplyToArrayOutput) ToGetFirewallsFirewallApplyToArrayOutputWithContext ¶ added in v1.5.0
func (o GetFirewallsFirewallApplyToArrayOutput) ToGetFirewallsFirewallApplyToArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToArrayOutput
type GetFirewallsFirewallApplyToInput ¶ added in v1.5.0
type GetFirewallsFirewallApplyToInput interface { pulumi.Input ToGetFirewallsFirewallApplyToOutput() GetFirewallsFirewallApplyToOutput ToGetFirewallsFirewallApplyToOutputWithContext(context.Context) GetFirewallsFirewallApplyToOutput }
GetFirewallsFirewallApplyToInput is an input type that accepts GetFirewallsFirewallApplyToArgs and GetFirewallsFirewallApplyToOutput values. You can construct a concrete instance of `GetFirewallsFirewallApplyToInput` via:
GetFirewallsFirewallApplyToArgs{...}
type GetFirewallsFirewallApplyToOutput ¶ added in v1.5.0
type GetFirewallsFirewallApplyToOutput struct{ *pulumi.OutputState }
func (GetFirewallsFirewallApplyToOutput) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallApplyToOutput) ElementType() reflect.Type
func (GetFirewallsFirewallApplyToOutput) LabelSelector ¶ added in v1.5.0
func (o GetFirewallsFirewallApplyToOutput) LabelSelector() pulumi.StringOutput
func (GetFirewallsFirewallApplyToOutput) Server ¶ added in v1.5.0
func (o GetFirewallsFirewallApplyToOutput) Server() pulumi.IntOutput
func (GetFirewallsFirewallApplyToOutput) ToGetFirewallsFirewallApplyToOutput ¶ added in v1.5.0
func (o GetFirewallsFirewallApplyToOutput) ToGetFirewallsFirewallApplyToOutput() GetFirewallsFirewallApplyToOutput
func (GetFirewallsFirewallApplyToOutput) ToGetFirewallsFirewallApplyToOutputWithContext ¶ added in v1.5.0
func (o GetFirewallsFirewallApplyToOutput) ToGetFirewallsFirewallApplyToOutputWithContext(ctx context.Context) GetFirewallsFirewallApplyToOutput
type GetFirewallsFirewallArgs ¶ added in v1.5.0
type GetFirewallsFirewallArgs struct { ApplyTos GetFirewallsFirewallApplyToArrayInput `pulumi:"applyTos"` Id pulumi.IntPtrInput `pulumi:"id"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringInput `pulumi:"name"` Rules GetFirewallsFirewallRuleArrayInput `pulumi:"rules"` }
func (GetFirewallsFirewallArgs) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallArgs) ElementType() reflect.Type
func (GetFirewallsFirewallArgs) ToGetFirewallsFirewallOutput ¶ added in v1.5.0
func (i GetFirewallsFirewallArgs) ToGetFirewallsFirewallOutput() GetFirewallsFirewallOutput
func (GetFirewallsFirewallArgs) ToGetFirewallsFirewallOutputWithContext ¶ added in v1.5.0
func (i GetFirewallsFirewallArgs) ToGetFirewallsFirewallOutputWithContext(ctx context.Context) GetFirewallsFirewallOutput
type GetFirewallsFirewallArray ¶ added in v1.5.0
type GetFirewallsFirewallArray []GetFirewallsFirewallInput
func (GetFirewallsFirewallArray) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallArray) ElementType() reflect.Type
func (GetFirewallsFirewallArray) ToGetFirewallsFirewallArrayOutput ¶ added in v1.5.0
func (i GetFirewallsFirewallArray) ToGetFirewallsFirewallArrayOutput() GetFirewallsFirewallArrayOutput
func (GetFirewallsFirewallArray) ToGetFirewallsFirewallArrayOutputWithContext ¶ added in v1.5.0
func (i GetFirewallsFirewallArray) ToGetFirewallsFirewallArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallArrayOutput
type GetFirewallsFirewallArrayInput ¶ added in v1.5.0
type GetFirewallsFirewallArrayInput interface { pulumi.Input ToGetFirewallsFirewallArrayOutput() GetFirewallsFirewallArrayOutput ToGetFirewallsFirewallArrayOutputWithContext(context.Context) GetFirewallsFirewallArrayOutput }
GetFirewallsFirewallArrayInput is an input type that accepts GetFirewallsFirewallArray and GetFirewallsFirewallArrayOutput values. You can construct a concrete instance of `GetFirewallsFirewallArrayInput` via:
GetFirewallsFirewallArray{ GetFirewallsFirewallArgs{...} }
type GetFirewallsFirewallArrayOutput ¶ added in v1.5.0
type GetFirewallsFirewallArrayOutput struct{ *pulumi.OutputState }
func (GetFirewallsFirewallArrayOutput) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallArrayOutput) ElementType() reflect.Type
func (GetFirewallsFirewallArrayOutput) Index ¶ added in v1.5.0
func (o GetFirewallsFirewallArrayOutput) Index(i pulumi.IntInput) GetFirewallsFirewallOutput
func (GetFirewallsFirewallArrayOutput) ToGetFirewallsFirewallArrayOutput ¶ added in v1.5.0
func (o GetFirewallsFirewallArrayOutput) ToGetFirewallsFirewallArrayOutput() GetFirewallsFirewallArrayOutput
func (GetFirewallsFirewallArrayOutput) ToGetFirewallsFirewallArrayOutputWithContext ¶ added in v1.5.0
func (o GetFirewallsFirewallArrayOutput) ToGetFirewallsFirewallArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallArrayOutput
type GetFirewallsFirewallInput ¶ added in v1.5.0
type GetFirewallsFirewallInput interface { pulumi.Input ToGetFirewallsFirewallOutput() GetFirewallsFirewallOutput ToGetFirewallsFirewallOutputWithContext(context.Context) GetFirewallsFirewallOutput }
GetFirewallsFirewallInput is an input type that accepts GetFirewallsFirewallArgs and GetFirewallsFirewallOutput values. You can construct a concrete instance of `GetFirewallsFirewallInput` via:
GetFirewallsFirewallArgs{...}
type GetFirewallsFirewallOutput ¶ added in v1.5.0
type GetFirewallsFirewallOutput struct{ *pulumi.OutputState }
func (GetFirewallsFirewallOutput) ApplyTos ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) ApplyTos() GetFirewallsFirewallApplyToArrayOutput
func (GetFirewallsFirewallOutput) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallOutput) ElementType() reflect.Type
func (GetFirewallsFirewallOutput) Id ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) Id() pulumi.IntPtrOutput
func (GetFirewallsFirewallOutput) Labels ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) Labels() pulumi.StringMapOutput
func (GetFirewallsFirewallOutput) Name ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) Name() pulumi.StringOutput
func (GetFirewallsFirewallOutput) Rules ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) Rules() GetFirewallsFirewallRuleArrayOutput
func (GetFirewallsFirewallOutput) ToGetFirewallsFirewallOutput ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) ToGetFirewallsFirewallOutput() GetFirewallsFirewallOutput
func (GetFirewallsFirewallOutput) ToGetFirewallsFirewallOutputWithContext ¶ added in v1.5.0
func (o GetFirewallsFirewallOutput) ToGetFirewallsFirewallOutputWithContext(ctx context.Context) GetFirewallsFirewallOutput
type GetFirewallsFirewallRule ¶ added in v1.5.0
type GetFirewallsFirewallRuleArgs ¶ added in v1.5.0
type GetFirewallsFirewallRuleArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` DestinationIps pulumi.StringArrayInput `pulumi:"destinationIps"` Direction pulumi.StringInput `pulumi:"direction"` Port pulumi.StringPtrInput `pulumi:"port"` Protocol pulumi.StringPtrInput `pulumi:"protocol"` SourceIps pulumi.StringArrayInput `pulumi:"sourceIps"` }
func (GetFirewallsFirewallRuleArgs) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallRuleArgs) ElementType() reflect.Type
func (GetFirewallsFirewallRuleArgs) ToGetFirewallsFirewallRuleOutput ¶ added in v1.5.0
func (i GetFirewallsFirewallRuleArgs) ToGetFirewallsFirewallRuleOutput() GetFirewallsFirewallRuleOutput
func (GetFirewallsFirewallRuleArgs) ToGetFirewallsFirewallRuleOutputWithContext ¶ added in v1.5.0
func (i GetFirewallsFirewallRuleArgs) ToGetFirewallsFirewallRuleOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleOutput
type GetFirewallsFirewallRuleArray ¶ added in v1.5.0
type GetFirewallsFirewallRuleArray []GetFirewallsFirewallRuleInput
func (GetFirewallsFirewallRuleArray) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallRuleArray) ElementType() reflect.Type
func (GetFirewallsFirewallRuleArray) ToGetFirewallsFirewallRuleArrayOutput ¶ added in v1.5.0
func (i GetFirewallsFirewallRuleArray) ToGetFirewallsFirewallRuleArrayOutput() GetFirewallsFirewallRuleArrayOutput
func (GetFirewallsFirewallRuleArray) ToGetFirewallsFirewallRuleArrayOutputWithContext ¶ added in v1.5.0
func (i GetFirewallsFirewallRuleArray) ToGetFirewallsFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleArrayOutput
type GetFirewallsFirewallRuleArrayInput ¶ added in v1.5.0
type GetFirewallsFirewallRuleArrayInput interface { pulumi.Input ToGetFirewallsFirewallRuleArrayOutput() GetFirewallsFirewallRuleArrayOutput ToGetFirewallsFirewallRuleArrayOutputWithContext(context.Context) GetFirewallsFirewallRuleArrayOutput }
GetFirewallsFirewallRuleArrayInput is an input type that accepts GetFirewallsFirewallRuleArray and GetFirewallsFirewallRuleArrayOutput values. You can construct a concrete instance of `GetFirewallsFirewallRuleArrayInput` via:
GetFirewallsFirewallRuleArray{ GetFirewallsFirewallRuleArgs{...} }
type GetFirewallsFirewallRuleArrayOutput ¶ added in v1.5.0
type GetFirewallsFirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (GetFirewallsFirewallRuleArrayOutput) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallRuleArrayOutput) ElementType() reflect.Type
func (GetFirewallsFirewallRuleArrayOutput) Index ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleArrayOutput) Index(i pulumi.IntInput) GetFirewallsFirewallRuleOutput
func (GetFirewallsFirewallRuleArrayOutput) ToGetFirewallsFirewallRuleArrayOutput ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleArrayOutput) ToGetFirewallsFirewallRuleArrayOutput() GetFirewallsFirewallRuleArrayOutput
func (GetFirewallsFirewallRuleArrayOutput) ToGetFirewallsFirewallRuleArrayOutputWithContext ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleArrayOutput) ToGetFirewallsFirewallRuleArrayOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleArrayOutput
type GetFirewallsFirewallRuleInput ¶ added in v1.5.0
type GetFirewallsFirewallRuleInput interface { pulumi.Input ToGetFirewallsFirewallRuleOutput() GetFirewallsFirewallRuleOutput ToGetFirewallsFirewallRuleOutputWithContext(context.Context) GetFirewallsFirewallRuleOutput }
GetFirewallsFirewallRuleInput is an input type that accepts GetFirewallsFirewallRuleArgs and GetFirewallsFirewallRuleOutput values. You can construct a concrete instance of `GetFirewallsFirewallRuleInput` via:
GetFirewallsFirewallRuleArgs{...}
type GetFirewallsFirewallRuleOutput ¶ added in v1.5.0
type GetFirewallsFirewallRuleOutput struct{ *pulumi.OutputState }
func (GetFirewallsFirewallRuleOutput) Description ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) Description() pulumi.StringPtrOutput
func (GetFirewallsFirewallRuleOutput) DestinationIps ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) DestinationIps() pulumi.StringArrayOutput
func (GetFirewallsFirewallRuleOutput) Direction ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) Direction() pulumi.StringOutput
func (GetFirewallsFirewallRuleOutput) ElementType ¶ added in v1.5.0
func (GetFirewallsFirewallRuleOutput) ElementType() reflect.Type
func (GetFirewallsFirewallRuleOutput) Port ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) Port() pulumi.StringPtrOutput
func (GetFirewallsFirewallRuleOutput) Protocol ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) Protocol() pulumi.StringPtrOutput
func (GetFirewallsFirewallRuleOutput) SourceIps ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) SourceIps() pulumi.StringArrayOutput
func (GetFirewallsFirewallRuleOutput) ToGetFirewallsFirewallRuleOutput ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) ToGetFirewallsFirewallRuleOutput() GetFirewallsFirewallRuleOutput
func (GetFirewallsFirewallRuleOutput) ToGetFirewallsFirewallRuleOutputWithContext ¶ added in v1.5.0
func (o GetFirewallsFirewallRuleOutput) ToGetFirewallsFirewallRuleOutputWithContext(ctx context.Context) GetFirewallsFirewallRuleOutput
type GetFirewallsOutputArgs ¶ added in v1.6.0
type GetFirewallsOutputArgs struct { // Sorts list by date. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getFirewalls.
func (GetFirewallsOutputArgs) ElementType ¶ added in v1.6.0
func (GetFirewallsOutputArgs) ElementType() reflect.Type
type GetFirewallsResult ¶ added in v1.5.0
type GetFirewallsResult struct { // (list) List of all matching firewalls. See `data.hcloud_firewall` for schema. Firewalls []GetFirewallsFirewall `pulumi:"firewalls"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` MostRecent *bool `pulumi:"mostRecent"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getFirewalls.
func GetFirewalls ¶ added in v1.5.0
func GetFirewalls(ctx *pulumi.Context, args *GetFirewallsArgs, opts ...pulumi.InvokeOption) (*GetFirewallsResult, error)
Provides details about multiple Hetzner Cloud Firewall.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetFirewalls(ctx, &hcloud.GetFirewallsArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetFirewallsResultOutput ¶ added in v1.6.0
type GetFirewallsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFirewalls.
func GetFirewallsOutput ¶ added in v1.6.0
func GetFirewallsOutput(ctx *pulumi.Context, args GetFirewallsOutputArgs, opts ...pulumi.InvokeOption) GetFirewallsResultOutput
func (GetFirewallsResultOutput) ElementType ¶ added in v1.6.0
func (GetFirewallsResultOutput) ElementType() reflect.Type
func (GetFirewallsResultOutput) Firewalls ¶ added in v1.6.0
func (o GetFirewallsResultOutput) Firewalls() GetFirewallsFirewallArrayOutput
(list) List of all matching firewalls. See `data.hcloud_firewall` for schema.
func (GetFirewallsResultOutput) Id ¶ added in v1.6.0
func (o GetFirewallsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFirewallsResultOutput) MostRecent ¶ added in v1.6.0
func (o GetFirewallsResultOutput) MostRecent() pulumi.BoolPtrOutput
func (GetFirewallsResultOutput) ToGetFirewallsResultOutput ¶ added in v1.6.0
func (o GetFirewallsResultOutput) ToGetFirewallsResultOutput() GetFirewallsResultOutput
func (GetFirewallsResultOutput) ToGetFirewallsResultOutputWithContext ¶ added in v1.6.0
func (o GetFirewallsResultOutput) ToGetFirewallsResultOutputWithContext(ctx context.Context) GetFirewallsResultOutput
func (GetFirewallsResultOutput) WithSelector ¶ added in v1.6.0
func (o GetFirewallsResultOutput) WithSelector() pulumi.StringPtrOutput
type GetFloatingIpsArgs ¶ added in v1.5.0
type GetFloatingIpsArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getFloatingIps.
type GetFloatingIpsFloatingIp ¶ added in v1.5.0
type GetFloatingIpsFloatingIp struct { DeleteProtection bool `pulumi:"deleteProtection"` Description string `pulumi:"description"` HomeLocation string `pulumi:"homeLocation"` Id int `pulumi:"id"` IpAddress string `pulumi:"ipAddress"` IpNetwork string `pulumi:"ipNetwork"` Labels map[string]string `pulumi:"labels"` Name *string `pulumi:"name"` ServerId int `pulumi:"serverId"` Type string `pulumi:"type"` }
type GetFloatingIpsFloatingIpArgs ¶ added in v1.5.0
type GetFloatingIpsFloatingIpArgs struct { DeleteProtection pulumi.BoolInput `pulumi:"deleteProtection"` Description pulumi.StringInput `pulumi:"description"` HomeLocation pulumi.StringInput `pulumi:"homeLocation"` Id pulumi.IntInput `pulumi:"id"` IpAddress pulumi.StringInput `pulumi:"ipAddress"` IpNetwork pulumi.StringInput `pulumi:"ipNetwork"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringPtrInput `pulumi:"name"` ServerId pulumi.IntInput `pulumi:"serverId"` Type pulumi.StringInput `pulumi:"type"` }
func (GetFloatingIpsFloatingIpArgs) ElementType ¶ added in v1.5.0
func (GetFloatingIpsFloatingIpArgs) ElementType() reflect.Type
func (GetFloatingIpsFloatingIpArgs) ToGetFloatingIpsFloatingIpOutput ¶ added in v1.5.0
func (i GetFloatingIpsFloatingIpArgs) ToGetFloatingIpsFloatingIpOutput() GetFloatingIpsFloatingIpOutput
func (GetFloatingIpsFloatingIpArgs) ToGetFloatingIpsFloatingIpOutputWithContext ¶ added in v1.5.0
func (i GetFloatingIpsFloatingIpArgs) ToGetFloatingIpsFloatingIpOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpOutput
type GetFloatingIpsFloatingIpArray ¶ added in v1.5.0
type GetFloatingIpsFloatingIpArray []GetFloatingIpsFloatingIpInput
func (GetFloatingIpsFloatingIpArray) ElementType ¶ added in v1.5.0
func (GetFloatingIpsFloatingIpArray) ElementType() reflect.Type
func (GetFloatingIpsFloatingIpArray) ToGetFloatingIpsFloatingIpArrayOutput ¶ added in v1.5.0
func (i GetFloatingIpsFloatingIpArray) ToGetFloatingIpsFloatingIpArrayOutput() GetFloatingIpsFloatingIpArrayOutput
func (GetFloatingIpsFloatingIpArray) ToGetFloatingIpsFloatingIpArrayOutputWithContext ¶ added in v1.5.0
func (i GetFloatingIpsFloatingIpArray) ToGetFloatingIpsFloatingIpArrayOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpArrayOutput
type GetFloatingIpsFloatingIpArrayInput ¶ added in v1.5.0
type GetFloatingIpsFloatingIpArrayInput interface { pulumi.Input ToGetFloatingIpsFloatingIpArrayOutput() GetFloatingIpsFloatingIpArrayOutput ToGetFloatingIpsFloatingIpArrayOutputWithContext(context.Context) GetFloatingIpsFloatingIpArrayOutput }
GetFloatingIpsFloatingIpArrayInput is an input type that accepts GetFloatingIpsFloatingIpArray and GetFloatingIpsFloatingIpArrayOutput values. You can construct a concrete instance of `GetFloatingIpsFloatingIpArrayInput` via:
GetFloatingIpsFloatingIpArray{ GetFloatingIpsFloatingIpArgs{...} }
type GetFloatingIpsFloatingIpArrayOutput ¶ added in v1.5.0
type GetFloatingIpsFloatingIpArrayOutput struct{ *pulumi.OutputState }
func (GetFloatingIpsFloatingIpArrayOutput) ElementType ¶ added in v1.5.0
func (GetFloatingIpsFloatingIpArrayOutput) ElementType() reflect.Type
func (GetFloatingIpsFloatingIpArrayOutput) Index ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpArrayOutput) Index(i pulumi.IntInput) GetFloatingIpsFloatingIpOutput
func (GetFloatingIpsFloatingIpArrayOutput) ToGetFloatingIpsFloatingIpArrayOutput ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpArrayOutput) ToGetFloatingIpsFloatingIpArrayOutput() GetFloatingIpsFloatingIpArrayOutput
func (GetFloatingIpsFloatingIpArrayOutput) ToGetFloatingIpsFloatingIpArrayOutputWithContext ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpArrayOutput) ToGetFloatingIpsFloatingIpArrayOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpArrayOutput
type GetFloatingIpsFloatingIpInput ¶ added in v1.5.0
type GetFloatingIpsFloatingIpInput interface { pulumi.Input ToGetFloatingIpsFloatingIpOutput() GetFloatingIpsFloatingIpOutput ToGetFloatingIpsFloatingIpOutputWithContext(context.Context) GetFloatingIpsFloatingIpOutput }
GetFloatingIpsFloatingIpInput is an input type that accepts GetFloatingIpsFloatingIpArgs and GetFloatingIpsFloatingIpOutput values. You can construct a concrete instance of `GetFloatingIpsFloatingIpInput` via:
GetFloatingIpsFloatingIpArgs{...}
type GetFloatingIpsFloatingIpOutput ¶ added in v1.5.0
type GetFloatingIpsFloatingIpOutput struct{ *pulumi.OutputState }
func (GetFloatingIpsFloatingIpOutput) DeleteProtection ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) DeleteProtection() pulumi.BoolOutput
func (GetFloatingIpsFloatingIpOutput) Description ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) Description() pulumi.StringOutput
func (GetFloatingIpsFloatingIpOutput) ElementType ¶ added in v1.5.0
func (GetFloatingIpsFloatingIpOutput) ElementType() reflect.Type
func (GetFloatingIpsFloatingIpOutput) HomeLocation ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) HomeLocation() pulumi.StringOutput
func (GetFloatingIpsFloatingIpOutput) Id ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) Id() pulumi.IntOutput
func (GetFloatingIpsFloatingIpOutput) IpAddress ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) IpAddress() pulumi.StringOutput
func (GetFloatingIpsFloatingIpOutput) IpNetwork ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) IpNetwork() pulumi.StringOutput
func (GetFloatingIpsFloatingIpOutput) Labels ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) Labels() pulumi.StringMapOutput
func (GetFloatingIpsFloatingIpOutput) Name ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) Name() pulumi.StringPtrOutput
func (GetFloatingIpsFloatingIpOutput) ServerId ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) ServerId() pulumi.IntOutput
func (GetFloatingIpsFloatingIpOutput) ToGetFloatingIpsFloatingIpOutput ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) ToGetFloatingIpsFloatingIpOutput() GetFloatingIpsFloatingIpOutput
func (GetFloatingIpsFloatingIpOutput) ToGetFloatingIpsFloatingIpOutputWithContext ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) ToGetFloatingIpsFloatingIpOutputWithContext(ctx context.Context) GetFloatingIpsFloatingIpOutput
func (GetFloatingIpsFloatingIpOutput) Type ¶ added in v1.5.0
func (o GetFloatingIpsFloatingIpOutput) Type() pulumi.StringOutput
type GetFloatingIpsOutputArgs ¶ added in v1.6.0
type GetFloatingIpsOutputArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getFloatingIps.
func (GetFloatingIpsOutputArgs) ElementType ¶ added in v1.6.0
func (GetFloatingIpsOutputArgs) ElementType() reflect.Type
type GetFloatingIpsResult ¶ added in v1.5.0
type GetFloatingIpsResult struct { // (list) List of all matching floating ips. See `data.hcloud_floating_ip` for schema. FloatingIps []GetFloatingIpsFloatingIp `pulumi:"floatingIps"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getFloatingIps.
func GetFloatingIps ¶ added in v1.5.0
func GetFloatingIps(ctx *pulumi.Context, args *GetFloatingIpsArgs, opts ...pulumi.InvokeOption) (*GetFloatingIpsResult, error)
Provides details about multiple Hetzner Cloud Floating IPs.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetFloatingIps(ctx, &hcloud.GetFloatingIpsArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetFloatingIpsResultOutput ¶ added in v1.6.0
type GetFloatingIpsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFloatingIps.
func GetFloatingIpsOutput ¶ added in v1.6.0
func GetFloatingIpsOutput(ctx *pulumi.Context, args GetFloatingIpsOutputArgs, opts ...pulumi.InvokeOption) GetFloatingIpsResultOutput
func (GetFloatingIpsResultOutput) ElementType ¶ added in v1.6.0
func (GetFloatingIpsResultOutput) ElementType() reflect.Type
func (GetFloatingIpsResultOutput) FloatingIps ¶ added in v1.6.0
func (o GetFloatingIpsResultOutput) FloatingIps() GetFloatingIpsFloatingIpArrayOutput
(list) List of all matching floating ips. See `data.hcloud_floating_ip` for schema.
func (GetFloatingIpsResultOutput) Id ¶ added in v1.6.0
func (o GetFloatingIpsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFloatingIpsResultOutput) ToGetFloatingIpsResultOutput ¶ added in v1.6.0
func (o GetFloatingIpsResultOutput) ToGetFloatingIpsResultOutput() GetFloatingIpsResultOutput
func (GetFloatingIpsResultOutput) ToGetFloatingIpsResultOutputWithContext ¶ added in v1.6.0
func (o GetFloatingIpsResultOutput) ToGetFloatingIpsResultOutputWithContext(ctx context.Context) GetFloatingIpsResultOutput
func (GetFloatingIpsResultOutput) WithSelector ¶ added in v1.6.0
func (o GetFloatingIpsResultOutput) WithSelector() pulumi.StringPtrOutput
type GetImageArgs ¶
type GetImageArgs struct { // ID of the Image. Id *int `pulumi:"id"` // Also return the image if it is marked as deprecated. IncludeDeprecated *bool `pulumi:"includeDeprecated"` // If more than one result is returned, use the most recent Image. MostRecent *bool `pulumi:"mostRecent"` // Name of the Image. Name *string `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // Select only images with this architecture, could be `x86` (default) or `arm`. WithArchitecture *string `pulumi:"withArchitecture"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` // Select only images with the specified status, could contain `creating` or `available`. WithStatuses []string `pulumi:"withStatuses"` }
A collection of arguments for invoking getImage.
type GetImageOutputArgs ¶ added in v1.6.0
type GetImageOutputArgs struct { // ID of the Image. Id pulumi.IntPtrInput `pulumi:"id"` // Also return the image if it is marked as deprecated. IncludeDeprecated pulumi.BoolPtrInput `pulumi:"includeDeprecated"` // If more than one result is returned, use the most recent Image. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Name of the Image. Name pulumi.StringPtrInput `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector pulumi.StringPtrInput `pulumi:"selector"` // Select only images with this architecture, could be `x86` (default) or `arm`. WithArchitecture pulumi.StringPtrInput `pulumi:"withArchitecture"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` // Select only images with the specified status, could contain `creating` or `available`. WithStatuses pulumi.StringArrayInput `pulumi:"withStatuses"` }
A collection of arguments for invoking getImage.
func (GetImageOutputArgs) ElementType ¶ added in v1.6.0
func (GetImageOutputArgs) ElementType() reflect.Type
type GetImageResult ¶
type GetImageResult struct { // (string) Architecture of the Image. Architecture string `pulumi:"architecture"` // (string) Date when the Image was created (in ISO-8601 format). Created string `pulumi:"created"` // (string) Point in time when the image is considered to be deprecated (in ISO-8601 format). Deprecated string `pulumi:"deprecated"` // (string) Description of the Image. Description string `pulumi:"description"` // (int) Unique ID of the Image. Id int `pulumi:"id"` IncludeDeprecated *bool `pulumi:"includeDeprecated"` Labels map[string]string `pulumi:"labels"` MostRecent *bool `pulumi:"mostRecent"` // (string) Name of the Image, only present when the Image is of type `system`. Name string `pulumi:"name"` // (string) Flavor of operating system contained in the image, could be `ubuntu`, `centos`, `debian`, `fedora` or `unknown`. OsFlavor string `pulumi:"osFlavor"` // (string) Operating system version. OsVersion string `pulumi:"osVersion"` // (bool) Indicates that rapid deploy of the image is available. RapidDeploy bool `pulumi:"rapidDeploy"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // (string) Type of the Image, could be `system`, `backup` or `snapshot`. Type string `pulumi:"type"` WithArchitecture *string `pulumi:"withArchitecture"` WithSelector *string `pulumi:"withSelector"` WithStatuses []string `pulumi:"withStatuses"` }
A collection of values returned by getImage.
func GetImage ¶
func GetImage(ctx *pulumi.Context, args *GetImageArgs, opts ...pulumi.InvokeOption) (*GetImageResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { image1, err := hcloud.GetImage(ctx, &hcloud.GetImageArgs{ Id: pulumi.IntRef(1234), }, nil) if err != nil { return err } _, err = hcloud.GetImage(ctx, &hcloud.GetImageArgs{ Name: pulumi.StringRef("ubuntu-18.04"), WithArchitecture: pulumi.StringRef("x86"), }, nil) if err != nil { return err } _, err = hcloud.GetImage(ctx, &hcloud.GetImageArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } _, err = hcloud.NewServer(ctx, "main", &hcloud.ServerArgs{ Image: pulumi.Int(image1.Id), }) if err != nil { return err } return nil }) }
```
type GetImageResultOutput ¶ added in v1.6.0
type GetImageResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getImage.
func GetImageOutput ¶ added in v1.6.0
func GetImageOutput(ctx *pulumi.Context, args GetImageOutputArgs, opts ...pulumi.InvokeOption) GetImageResultOutput
func (GetImageResultOutput) Architecture ¶ added in v1.11.0
func (o GetImageResultOutput) Architecture() pulumi.StringOutput
(string) Architecture of the Image.
func (GetImageResultOutput) Created ¶ added in v1.6.0
func (o GetImageResultOutput) Created() pulumi.StringOutput
(string) Date when the Image was created (in ISO-8601 format).
func (GetImageResultOutput) Deprecated ¶ added in v1.6.0
func (o GetImageResultOutput) Deprecated() pulumi.StringOutput
(string) Point in time when the image is considered to be deprecated (in ISO-8601 format).
func (GetImageResultOutput) Description ¶ added in v1.6.0
func (o GetImageResultOutput) Description() pulumi.StringOutput
(string) Description of the Image.
func (GetImageResultOutput) ElementType ¶ added in v1.6.0
func (GetImageResultOutput) ElementType() reflect.Type
func (GetImageResultOutput) Id ¶ added in v1.6.0
func (o GetImageResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the Image.
func (GetImageResultOutput) IncludeDeprecated ¶ added in v1.14.0
func (o GetImageResultOutput) IncludeDeprecated() pulumi.BoolPtrOutput
func (GetImageResultOutput) Labels ¶ added in v1.6.0
func (o GetImageResultOutput) Labels() pulumi.StringMapOutput
func (GetImageResultOutput) MostRecent ¶ added in v1.6.0
func (o GetImageResultOutput) MostRecent() pulumi.BoolPtrOutput
func (GetImageResultOutput) Name ¶ added in v1.6.0
func (o GetImageResultOutput) Name() pulumi.StringOutput
(string) Name of the Image, only present when the Image is of type `system`.
func (GetImageResultOutput) OsFlavor ¶ added in v1.6.0
func (o GetImageResultOutput) OsFlavor() pulumi.StringOutput
(string) Flavor of operating system contained in the image, could be `ubuntu`, `centos`, `debian`, `fedora` or `unknown`.
func (GetImageResultOutput) OsVersion ¶ added in v1.6.0
func (o GetImageResultOutput) OsVersion() pulumi.StringOutput
(string) Operating system version.
func (GetImageResultOutput) RapidDeploy ¶ added in v1.6.0
func (o GetImageResultOutput) RapidDeploy() pulumi.BoolOutput
(bool) Indicates that rapid deploy of the image is available.
func (GetImageResultOutput) Selector
deprecated
added in
v1.6.0
func (o GetImageResultOutput) Selector() pulumi.StringPtrOutput
Deprecated: Please use the withSelector property instead.
func (GetImageResultOutput) ToGetImageResultOutput ¶ added in v1.6.0
func (o GetImageResultOutput) ToGetImageResultOutput() GetImageResultOutput
func (GetImageResultOutput) ToGetImageResultOutputWithContext ¶ added in v1.6.0
func (o GetImageResultOutput) ToGetImageResultOutputWithContext(ctx context.Context) GetImageResultOutput
func (GetImageResultOutput) Type ¶ added in v1.6.0
func (o GetImageResultOutput) Type() pulumi.StringOutput
(string) Type of the Image, could be `system`, `backup` or `snapshot`.
func (GetImageResultOutput) WithArchitecture ¶ added in v1.11.0
func (o GetImageResultOutput) WithArchitecture() pulumi.StringPtrOutput
func (GetImageResultOutput) WithSelector ¶ added in v1.6.0
func (o GetImageResultOutput) WithSelector() pulumi.StringPtrOutput
func (GetImageResultOutput) WithStatuses ¶ added in v1.6.0
func (o GetImageResultOutput) WithStatuses() pulumi.StringArrayOutput
type GetImagesArgs ¶ added in v1.5.0
type GetImagesArgs struct { // Also list images that are marked as deprecated. IncludeDeprecated *bool `pulumi:"includeDeprecated"` // Sorts list by date. MostRecent *bool `pulumi:"mostRecent"` // List only images with this architecture, could contain `x86` or `arm`. WithArchitectures []string `pulumi:"withArchitectures"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` // List only images with the specified status, could contain `creating` or `available`. WithStatuses []string `pulumi:"withStatuses"` }
A collection of arguments for invoking getImages.
type GetImagesImage ¶ added in v1.5.0
type GetImagesImage struct { Architecture string `pulumi:"architecture"` Created string `pulumi:"created"` Deprecated string `pulumi:"deprecated"` Description string `pulumi:"description"` Id int `pulumi:"id"` Labels map[string]string `pulumi:"labels"` Name string `pulumi:"name"` OsFlavor string `pulumi:"osFlavor"` OsVersion string `pulumi:"osVersion"` RapidDeploy bool `pulumi:"rapidDeploy"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` Type string `pulumi:"type"` }
type GetImagesImageArgs ¶ added in v1.5.0
type GetImagesImageArgs struct { Architecture pulumi.StringInput `pulumi:"architecture"` Created pulumi.StringInput `pulumi:"created"` Deprecated pulumi.StringInput `pulumi:"deprecated"` Description pulumi.StringInput `pulumi:"description"` Id pulumi.IntInput `pulumi:"id"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringInput `pulumi:"name"` OsFlavor pulumi.StringInput `pulumi:"osFlavor"` OsVersion pulumi.StringInput `pulumi:"osVersion"` RapidDeploy pulumi.BoolInput `pulumi:"rapidDeploy"` // Deprecated: Please use the withSelector property instead. Selector pulumi.StringPtrInput `pulumi:"selector"` Type pulumi.StringInput `pulumi:"type"` }
func (GetImagesImageArgs) ElementType ¶ added in v1.5.0
func (GetImagesImageArgs) ElementType() reflect.Type
func (GetImagesImageArgs) ToGetImagesImageOutput ¶ added in v1.5.0
func (i GetImagesImageArgs) ToGetImagesImageOutput() GetImagesImageOutput
func (GetImagesImageArgs) ToGetImagesImageOutputWithContext ¶ added in v1.5.0
func (i GetImagesImageArgs) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
type GetImagesImageArray ¶ added in v1.5.0
type GetImagesImageArray []GetImagesImageInput
func (GetImagesImageArray) ElementType ¶ added in v1.5.0
func (GetImagesImageArray) ElementType() reflect.Type
func (GetImagesImageArray) ToGetImagesImageArrayOutput ¶ added in v1.5.0
func (i GetImagesImageArray) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
func (GetImagesImageArray) ToGetImagesImageArrayOutputWithContext ¶ added in v1.5.0
func (i GetImagesImageArray) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
type GetImagesImageArrayInput ¶ added in v1.5.0
type GetImagesImageArrayInput interface { pulumi.Input ToGetImagesImageArrayOutput() GetImagesImageArrayOutput ToGetImagesImageArrayOutputWithContext(context.Context) GetImagesImageArrayOutput }
GetImagesImageArrayInput is an input type that accepts GetImagesImageArray and GetImagesImageArrayOutput values. You can construct a concrete instance of `GetImagesImageArrayInput` via:
GetImagesImageArray{ GetImagesImageArgs{...} }
type GetImagesImageArrayOutput ¶ added in v1.5.0
type GetImagesImageArrayOutput struct{ *pulumi.OutputState }
func (GetImagesImageArrayOutput) ElementType ¶ added in v1.5.0
func (GetImagesImageArrayOutput) ElementType() reflect.Type
func (GetImagesImageArrayOutput) Index ¶ added in v1.5.0
func (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput
func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutput ¶ added in v1.5.0
func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext ¶ added in v1.5.0
func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
type GetImagesImageInput ¶ added in v1.5.0
type GetImagesImageInput interface { pulumi.Input ToGetImagesImageOutput() GetImagesImageOutput ToGetImagesImageOutputWithContext(context.Context) GetImagesImageOutput }
GetImagesImageInput is an input type that accepts GetImagesImageArgs and GetImagesImageOutput values. You can construct a concrete instance of `GetImagesImageInput` via:
GetImagesImageArgs{...}
type GetImagesImageOutput ¶ added in v1.5.0
type GetImagesImageOutput struct{ *pulumi.OutputState }
func (GetImagesImageOutput) Architecture ¶ added in v1.11.0
func (o GetImagesImageOutput) Architecture() pulumi.StringOutput
func (GetImagesImageOutput) Created ¶ added in v1.5.0
func (o GetImagesImageOutput) Created() pulumi.StringOutput
func (GetImagesImageOutput) Deprecated ¶ added in v1.5.0
func (o GetImagesImageOutput) Deprecated() pulumi.StringOutput
func (GetImagesImageOutput) Description ¶ added in v1.5.0
func (o GetImagesImageOutput) Description() pulumi.StringOutput
func (GetImagesImageOutput) ElementType ¶ added in v1.5.0
func (GetImagesImageOutput) ElementType() reflect.Type
func (GetImagesImageOutput) Id ¶ added in v1.5.0
func (o GetImagesImageOutput) Id() pulumi.IntOutput
func (GetImagesImageOutput) Labels ¶ added in v1.5.0
func (o GetImagesImageOutput) Labels() pulumi.StringMapOutput
func (GetImagesImageOutput) Name ¶ added in v1.5.0
func (o GetImagesImageOutput) Name() pulumi.StringOutput
func (GetImagesImageOutput) OsFlavor ¶ added in v1.5.0
func (o GetImagesImageOutput) OsFlavor() pulumi.StringOutput
func (GetImagesImageOutput) OsVersion ¶ added in v1.5.0
func (o GetImagesImageOutput) OsVersion() pulumi.StringOutput
func (GetImagesImageOutput) RapidDeploy ¶ added in v1.5.0
func (o GetImagesImageOutput) RapidDeploy() pulumi.BoolOutput
func (GetImagesImageOutput) Selector
deprecated
added in
v1.5.0
func (o GetImagesImageOutput) Selector() pulumi.StringPtrOutput
Deprecated: Please use the withSelector property instead.
func (GetImagesImageOutput) ToGetImagesImageOutput ¶ added in v1.5.0
func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
func (GetImagesImageOutput) ToGetImagesImageOutputWithContext ¶ added in v1.5.0
func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
func (GetImagesImageOutput) Type ¶ added in v1.5.0
func (o GetImagesImageOutput) Type() pulumi.StringOutput
type GetImagesOutputArgs ¶ added in v1.6.0
type GetImagesOutputArgs struct { // Also list images that are marked as deprecated. IncludeDeprecated pulumi.BoolPtrInput `pulumi:"includeDeprecated"` // Sorts list by date. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // List only images with this architecture, could contain `x86` or `arm`. WithArchitectures pulumi.StringArrayInput `pulumi:"withArchitectures"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` // List only images with the specified status, could contain `creating` or `available`. WithStatuses pulumi.StringArrayInput `pulumi:"withStatuses"` }
A collection of arguments for invoking getImages.
func (GetImagesOutputArgs) ElementType ¶ added in v1.6.0
func (GetImagesOutputArgs) ElementType() reflect.Type
type GetImagesResult ¶ added in v1.5.0
type GetImagesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (list) List of all matching images. See `data.hcloud_image` for schema. Images []GetImagesImage `pulumi:"images"` IncludeDeprecated *bool `pulumi:"includeDeprecated"` MostRecent *bool `pulumi:"mostRecent"` WithArchitectures []string `pulumi:"withArchitectures"` WithSelector *string `pulumi:"withSelector"` WithStatuses []string `pulumi:"withStatuses"` }
A collection of values returned by getImages.
func GetImages ¶ added in v1.5.0
func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error)
Provides details about multiple Hetzner Cloud Images.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetImages(ctx, &hcloud.GetImagesArgs{ WithArchitectures: []string{ "x86", }, }, nil) if err != nil { return err } _, err = hcloud.GetImages(ctx, &hcloud.GetImagesArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetImagesResultOutput ¶ added in v1.6.0
type GetImagesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getImages.
func GetImagesOutput ¶ added in v1.6.0
func GetImagesOutput(ctx *pulumi.Context, args GetImagesOutputArgs, opts ...pulumi.InvokeOption) GetImagesResultOutput
func (GetImagesResultOutput) ElementType ¶ added in v1.6.0
func (GetImagesResultOutput) ElementType() reflect.Type
func (GetImagesResultOutput) Id ¶ added in v1.6.0
func (o GetImagesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetImagesResultOutput) Images ¶ added in v1.6.0
func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput
(list) List of all matching images. See `data.hcloud_image` for schema.
func (GetImagesResultOutput) IncludeDeprecated ¶ added in v1.14.0
func (o GetImagesResultOutput) IncludeDeprecated() pulumi.BoolPtrOutput
func (GetImagesResultOutput) MostRecent ¶ added in v1.6.0
func (o GetImagesResultOutput) MostRecent() pulumi.BoolPtrOutput
func (GetImagesResultOutput) ToGetImagesResultOutput ¶ added in v1.6.0
func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput
func (GetImagesResultOutput) ToGetImagesResultOutputWithContext ¶ added in v1.6.0
func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput
func (GetImagesResultOutput) WithArchitectures ¶ added in v1.11.0
func (o GetImagesResultOutput) WithArchitectures() pulumi.StringArrayOutput
func (GetImagesResultOutput) WithSelector ¶ added in v1.6.0
func (o GetImagesResultOutput) WithSelector() pulumi.StringPtrOutput
func (GetImagesResultOutput) WithStatuses ¶ added in v1.6.0
func (o GetImagesResultOutput) WithStatuses() pulumi.StringArrayOutput
type GetLoadBalancerAlgorithm ¶
type GetLoadBalancerAlgorithm struct { // (string) Type of the target. `server` or `labelSelector` Type string `pulumi:"type"` }
type GetLoadBalancerAlgorithmArgs ¶
type GetLoadBalancerAlgorithmArgs struct { // (string) Type of the target. `server` or `labelSelector` Type pulumi.StringInput `pulumi:"type"` }
func (GetLoadBalancerAlgorithmArgs) ElementType ¶
func (GetLoadBalancerAlgorithmArgs) ElementType() reflect.Type
func (GetLoadBalancerAlgorithmArgs) ToGetLoadBalancerAlgorithmOutput ¶
func (i GetLoadBalancerAlgorithmArgs) ToGetLoadBalancerAlgorithmOutput() GetLoadBalancerAlgorithmOutput
func (GetLoadBalancerAlgorithmArgs) ToGetLoadBalancerAlgorithmOutputWithContext ¶
func (i GetLoadBalancerAlgorithmArgs) ToGetLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmOutput
type GetLoadBalancerAlgorithmArray ¶ added in v0.4.1
type GetLoadBalancerAlgorithmArray []GetLoadBalancerAlgorithmInput
func (GetLoadBalancerAlgorithmArray) ElementType ¶ added in v0.4.1
func (GetLoadBalancerAlgorithmArray) ElementType() reflect.Type
func (GetLoadBalancerAlgorithmArray) ToGetLoadBalancerAlgorithmArrayOutput ¶ added in v0.4.1
func (i GetLoadBalancerAlgorithmArray) ToGetLoadBalancerAlgorithmArrayOutput() GetLoadBalancerAlgorithmArrayOutput
func (GetLoadBalancerAlgorithmArray) ToGetLoadBalancerAlgorithmArrayOutputWithContext ¶ added in v0.4.1
func (i GetLoadBalancerAlgorithmArray) ToGetLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmArrayOutput
type GetLoadBalancerAlgorithmArrayInput ¶ added in v0.4.1
type GetLoadBalancerAlgorithmArrayInput interface { pulumi.Input ToGetLoadBalancerAlgorithmArrayOutput() GetLoadBalancerAlgorithmArrayOutput ToGetLoadBalancerAlgorithmArrayOutputWithContext(context.Context) GetLoadBalancerAlgorithmArrayOutput }
GetLoadBalancerAlgorithmArrayInput is an input type that accepts GetLoadBalancerAlgorithmArray and GetLoadBalancerAlgorithmArrayOutput values. You can construct a concrete instance of `GetLoadBalancerAlgorithmArrayInput` via:
GetLoadBalancerAlgorithmArray{ GetLoadBalancerAlgorithmArgs{...} }
type GetLoadBalancerAlgorithmArrayOutput ¶ added in v0.4.1
type GetLoadBalancerAlgorithmArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerAlgorithmArrayOutput) ElementType ¶ added in v0.4.1
func (GetLoadBalancerAlgorithmArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerAlgorithmArrayOutput) Index ¶ added in v0.4.1
func (o GetLoadBalancerAlgorithmArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerAlgorithmOutput
func (GetLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancerAlgorithmArrayOutput ¶ added in v0.4.1
func (o GetLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancerAlgorithmArrayOutput() GetLoadBalancerAlgorithmArrayOutput
func (GetLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancerAlgorithmArrayOutputWithContext ¶ added in v0.4.1
func (o GetLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmArrayOutput
type GetLoadBalancerAlgorithmInput ¶
type GetLoadBalancerAlgorithmInput interface { pulumi.Input ToGetLoadBalancerAlgorithmOutput() GetLoadBalancerAlgorithmOutput ToGetLoadBalancerAlgorithmOutputWithContext(context.Context) GetLoadBalancerAlgorithmOutput }
GetLoadBalancerAlgorithmInput is an input type that accepts GetLoadBalancerAlgorithmArgs and GetLoadBalancerAlgorithmOutput values. You can construct a concrete instance of `GetLoadBalancerAlgorithmInput` via:
GetLoadBalancerAlgorithmArgs{...}
type GetLoadBalancerAlgorithmOutput ¶
type GetLoadBalancerAlgorithmOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerAlgorithmOutput) ElementType ¶
func (GetLoadBalancerAlgorithmOutput) ElementType() reflect.Type
func (GetLoadBalancerAlgorithmOutput) ToGetLoadBalancerAlgorithmOutput ¶
func (o GetLoadBalancerAlgorithmOutput) ToGetLoadBalancerAlgorithmOutput() GetLoadBalancerAlgorithmOutput
func (GetLoadBalancerAlgorithmOutput) ToGetLoadBalancerAlgorithmOutputWithContext ¶
func (o GetLoadBalancerAlgorithmOutput) ToGetLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancerAlgorithmOutput
func (GetLoadBalancerAlgorithmOutput) Type ¶
func (o GetLoadBalancerAlgorithmOutput) Type() pulumi.StringOutput
(string) Type of the target. `server` or `labelSelector`
type GetLoadBalancerServiceHealthCheck ¶
type GetLoadBalancerServiceHealthCheck struct { // (list) List of http configurations when `protocol` is `http` or `https`. Https []GetLoadBalancerServiceHealthCheckHttp `pulumi:"https"` // (int) Interval how often the health check will be performed, in seconds. Interval int `pulumi:"interval"` // (int) Port the health check tries to connect to. Can be everything between `1` and `65535`. Port int `pulumi:"port"` // (string) Protocol the health check uses. `http`, `https` or `tcp` Protocol string `pulumi:"protocol"` // (int) Number of tries a health check will be performed until a target will be listed as `unhealthy`. Retries int `pulumi:"retries"` // (int) Timeout when a health check try will be canceled if there is no response, in seconds. Timeout int `pulumi:"timeout"` }
type GetLoadBalancerServiceHealthCheckArgs ¶
type GetLoadBalancerServiceHealthCheckArgs struct { // (list) List of http configurations when `protocol` is `http` or `https`. Https GetLoadBalancerServiceHealthCheckHttpArrayInput `pulumi:"https"` // (int) Interval how often the health check will be performed, in seconds. Interval pulumi.IntInput `pulumi:"interval"` // (int) Port the health check tries to connect to. Can be everything between `1` and `65535`. Port pulumi.IntInput `pulumi:"port"` // (string) Protocol the health check uses. `http`, `https` or `tcp` Protocol pulumi.StringInput `pulumi:"protocol"` // (int) Number of tries a health check will be performed until a target will be listed as `unhealthy`. Retries pulumi.IntInput `pulumi:"retries"` // (int) Timeout when a health check try will be canceled if there is no response, in seconds. Timeout pulumi.IntInput `pulumi:"timeout"` }
func (GetLoadBalancerServiceHealthCheckArgs) ElementType ¶
func (GetLoadBalancerServiceHealthCheckArgs) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancerServiceHealthCheckOutput ¶
func (i GetLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancerServiceHealthCheckOutput() GetLoadBalancerServiceHealthCheckOutput
func (GetLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancerServiceHealthCheckOutputWithContext ¶
func (i GetLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckOutput
type GetLoadBalancerServiceHealthCheckArray ¶ added in v0.4.1
type GetLoadBalancerServiceHealthCheckArray []GetLoadBalancerServiceHealthCheckInput
func (GetLoadBalancerServiceHealthCheckArray) ElementType ¶ added in v0.4.1
func (GetLoadBalancerServiceHealthCheckArray) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckArray) ToGetLoadBalancerServiceHealthCheckArrayOutput ¶ added in v0.4.1
func (i GetLoadBalancerServiceHealthCheckArray) ToGetLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancerServiceHealthCheckArrayOutput
func (GetLoadBalancerServiceHealthCheckArray) ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext ¶ added in v0.4.1
func (i GetLoadBalancerServiceHealthCheckArray) ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckArrayOutput
type GetLoadBalancerServiceHealthCheckArrayInput ¶ added in v0.4.1
type GetLoadBalancerServiceHealthCheckArrayInput interface { pulumi.Input ToGetLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancerServiceHealthCheckArrayOutput ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext(context.Context) GetLoadBalancerServiceHealthCheckArrayOutput }
GetLoadBalancerServiceHealthCheckArrayInput is an input type that accepts GetLoadBalancerServiceHealthCheckArray and GetLoadBalancerServiceHealthCheckArrayOutput values. You can construct a concrete instance of `GetLoadBalancerServiceHealthCheckArrayInput` via:
GetLoadBalancerServiceHealthCheckArray{ GetLoadBalancerServiceHealthCheckArgs{...} }
type GetLoadBalancerServiceHealthCheckArrayOutput ¶ added in v0.4.1
type GetLoadBalancerServiceHealthCheckArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceHealthCheckArrayOutput) ElementType ¶ added in v0.4.1
func (GetLoadBalancerServiceHealthCheckArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancerServiceHealthCheckArrayOutput ¶ added in v0.4.1
func (o GetLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancerServiceHealthCheckArrayOutput
func (GetLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext ¶ added in v0.4.1
func (o GetLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckArrayOutput
type GetLoadBalancerServiceHealthCheckHttp ¶
type GetLoadBalancerServiceHealthCheckHttp struct { // string) Domain we try to access when performing the Health Check. Domain string `pulumi:"domain"` // (string) Path we try to access when performing the Health Check. Path string `pulumi:"path"` // (string) Response we expect to be included in the Target response when a Health Check was performed. Response string `pulumi:"response"` // (list[int]) We expect that the target answers with these status codes. If not the target is marked as `unhealthy`. StatusCodes []int `pulumi:"statusCodes"` // (bool) Enable TLS certificate checking. Tls bool `pulumi:"tls"` }
type GetLoadBalancerServiceHealthCheckHttpArgs ¶
type GetLoadBalancerServiceHealthCheckHttpArgs struct { // string) Domain we try to access when performing the Health Check. Domain pulumi.StringInput `pulumi:"domain"` // (string) Path we try to access when performing the Health Check. Path pulumi.StringInput `pulumi:"path"` // (string) Response we expect to be included in the Target response when a Health Check was performed. Response pulumi.StringInput `pulumi:"response"` // (list[int]) We expect that the target answers with these status codes. If not the target is marked as `unhealthy`. StatusCodes pulumi.IntArrayInput `pulumi:"statusCodes"` // (bool) Enable TLS certificate checking. Tls pulumi.BoolInput `pulumi:"tls"` }
func (GetLoadBalancerServiceHealthCheckHttpArgs) ElementType ¶
func (GetLoadBalancerServiceHealthCheckHttpArgs) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancerServiceHealthCheckHttpOutput ¶
func (i GetLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancerServiceHealthCheckHttpOutput
func (GetLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext ¶
func (i GetLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpOutput
type GetLoadBalancerServiceHealthCheckHttpArray ¶ added in v0.4.1
type GetLoadBalancerServiceHealthCheckHttpArray []GetLoadBalancerServiceHealthCheckHttpInput
func (GetLoadBalancerServiceHealthCheckHttpArray) ElementType ¶ added in v0.4.1
func (GetLoadBalancerServiceHealthCheckHttpArray) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancerServiceHealthCheckHttpArrayOutput ¶ added in v0.4.1
func (i GetLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancerServiceHealthCheckHttpArrayOutput
func (GetLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext ¶ added in v0.4.1
func (i GetLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpArrayOutput
type GetLoadBalancerServiceHealthCheckHttpArrayInput ¶ added in v0.4.1
type GetLoadBalancerServiceHealthCheckHttpArrayInput interface { pulumi.Input ToGetLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancerServiceHealthCheckHttpArrayOutput ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(context.Context) GetLoadBalancerServiceHealthCheckHttpArrayOutput }
GetLoadBalancerServiceHealthCheckHttpArrayInput is an input type that accepts GetLoadBalancerServiceHealthCheckHttpArray and GetLoadBalancerServiceHealthCheckHttpArrayOutput values. You can construct a concrete instance of `GetLoadBalancerServiceHealthCheckHttpArrayInput` via:
GetLoadBalancerServiceHealthCheckHttpArray{ GetLoadBalancerServiceHealthCheckHttpArgs{...} }
type GetLoadBalancerServiceHealthCheckHttpArrayOutput ¶ added in v0.4.1
type GetLoadBalancerServiceHealthCheckHttpArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceHealthCheckHttpArrayOutput) ElementType ¶ added in v0.4.1
func (GetLoadBalancerServiceHealthCheckHttpArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancerServiceHealthCheckHttpArrayOutput ¶ added in v0.4.1
func (o GetLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancerServiceHealthCheckHttpArrayOutput
func (GetLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext ¶ added in v0.4.1
func (o GetLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpArrayOutput
type GetLoadBalancerServiceHealthCheckHttpInput ¶
type GetLoadBalancerServiceHealthCheckHttpInput interface { pulumi.Input ToGetLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancerServiceHealthCheckHttpOutput ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext(context.Context) GetLoadBalancerServiceHealthCheckHttpOutput }
GetLoadBalancerServiceHealthCheckHttpInput is an input type that accepts GetLoadBalancerServiceHealthCheckHttpArgs and GetLoadBalancerServiceHealthCheckHttpOutput values. You can construct a concrete instance of `GetLoadBalancerServiceHealthCheckHttpInput` via:
GetLoadBalancerServiceHealthCheckHttpArgs{...}
type GetLoadBalancerServiceHealthCheckHttpOutput ¶
type GetLoadBalancerServiceHealthCheckHttpOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceHealthCheckHttpOutput) Domain ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) Domain() pulumi.StringOutput
string) Domain we try to access when performing the Health Check.
func (GetLoadBalancerServiceHealthCheckHttpOutput) ElementType ¶
func (GetLoadBalancerServiceHealthCheckHttpOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckHttpOutput) Path ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) Path() pulumi.StringOutput
(string) Path we try to access when performing the Health Check.
func (GetLoadBalancerServiceHealthCheckHttpOutput) Response ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) Response() pulumi.StringOutput
(string) Response we expect to be included in the Target response when a Health Check was performed.
func (GetLoadBalancerServiceHealthCheckHttpOutput) StatusCodes ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) StatusCodes() pulumi.IntArrayOutput
(list[int]) We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
func (GetLoadBalancerServiceHealthCheckHttpOutput) Tls ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) Tls() pulumi.BoolOutput
(bool) Enable TLS certificate checking.
func (GetLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancerServiceHealthCheckHttpOutput ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancerServiceHealthCheckHttpOutput
func (GetLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext ¶
func (o GetLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckHttpOutput
type GetLoadBalancerServiceHealthCheckInput ¶
type GetLoadBalancerServiceHealthCheckInput interface { pulumi.Input ToGetLoadBalancerServiceHealthCheckOutput() GetLoadBalancerServiceHealthCheckOutput ToGetLoadBalancerServiceHealthCheckOutputWithContext(context.Context) GetLoadBalancerServiceHealthCheckOutput }
GetLoadBalancerServiceHealthCheckInput is an input type that accepts GetLoadBalancerServiceHealthCheckArgs and GetLoadBalancerServiceHealthCheckOutput values. You can construct a concrete instance of `GetLoadBalancerServiceHealthCheckInput` via:
GetLoadBalancerServiceHealthCheckArgs{...}
type GetLoadBalancerServiceHealthCheckOutput ¶
type GetLoadBalancerServiceHealthCheckOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceHealthCheckOutput) ElementType ¶
func (GetLoadBalancerServiceHealthCheckOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceHealthCheckOutput) Https ¶ added in v0.4.1
func (o GetLoadBalancerServiceHealthCheckOutput) Https() GetLoadBalancerServiceHealthCheckHttpArrayOutput
(list) List of http configurations when `protocol` is `http` or `https`.
func (GetLoadBalancerServiceHealthCheckOutput) Interval ¶
func (o GetLoadBalancerServiceHealthCheckOutput) Interval() pulumi.IntOutput
(int) Interval how often the health check will be performed, in seconds.
func (GetLoadBalancerServiceHealthCheckOutput) Port ¶
func (o GetLoadBalancerServiceHealthCheckOutput) Port() pulumi.IntOutput
(int) Port the health check tries to connect to. Can be everything between `1` and `65535`.
func (GetLoadBalancerServiceHealthCheckOutput) Protocol ¶
func (o GetLoadBalancerServiceHealthCheckOutput) Protocol() pulumi.StringOutput
(string) Protocol the health check uses. `http`, `https` or `tcp`
func (GetLoadBalancerServiceHealthCheckOutput) Retries ¶
func (o GetLoadBalancerServiceHealthCheckOutput) Retries() pulumi.IntOutput
(int) Number of tries a health check will be performed until a target will be listed as `unhealthy`.
func (GetLoadBalancerServiceHealthCheckOutput) Timeout ¶
func (o GetLoadBalancerServiceHealthCheckOutput) Timeout() pulumi.IntOutput
(int) Timeout when a health check try will be canceled if there is no response, in seconds.
func (GetLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancerServiceHealthCheckOutput ¶
func (o GetLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancerServiceHealthCheckOutput() GetLoadBalancerServiceHealthCheckOutput
func (GetLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancerServiceHealthCheckOutputWithContext ¶
func (o GetLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancerServiceHealthCheckOutput
type GetLoadBalancerServiceHttp ¶
type GetLoadBalancerServiceHttp struct { // (list[int]) List of IDs from certificates which the Load Balancer has. Certificates []string `pulumi:"certificates"` // (int) Lifetime of the cookie for sticky session (in seconds). CookieLifetime int `pulumi:"cookieLifetime"` // (string) Name of the cookie for sticky session. CookieName string `pulumi:"cookieName"` // (string) Determine if all requests from port 80 should be redirected to port 443. RedirectHttp bool `pulumi:"redirectHttp"` // (string) Determine if sticky sessions are enabled or not. StickySessions bool `pulumi:"stickySessions"` }
type GetLoadBalancerServiceHttpArgs ¶
type GetLoadBalancerServiceHttpArgs struct { // (list[int]) List of IDs from certificates which the Load Balancer has. Certificates pulumi.StringArrayInput `pulumi:"certificates"` // (int) Lifetime of the cookie for sticky session (in seconds). CookieLifetime pulumi.IntInput `pulumi:"cookieLifetime"` // (string) Name of the cookie for sticky session. CookieName pulumi.StringInput `pulumi:"cookieName"` // (string) Determine if all requests from port 80 should be redirected to port 443. RedirectHttp pulumi.BoolInput `pulumi:"redirectHttp"` // (string) Determine if sticky sessions are enabled or not. StickySessions pulumi.BoolInput `pulumi:"stickySessions"` }
func (GetLoadBalancerServiceHttpArgs) ElementType ¶
func (GetLoadBalancerServiceHttpArgs) ElementType() reflect.Type
func (GetLoadBalancerServiceHttpArgs) ToGetLoadBalancerServiceHttpOutput ¶
func (i GetLoadBalancerServiceHttpArgs) ToGetLoadBalancerServiceHttpOutput() GetLoadBalancerServiceHttpOutput
func (GetLoadBalancerServiceHttpArgs) ToGetLoadBalancerServiceHttpOutputWithContext ¶
func (i GetLoadBalancerServiceHttpArgs) ToGetLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpOutput
type GetLoadBalancerServiceHttpArray ¶ added in v0.4.1
type GetLoadBalancerServiceHttpArray []GetLoadBalancerServiceHttpInput
func (GetLoadBalancerServiceHttpArray) ElementType ¶ added in v0.4.1
func (GetLoadBalancerServiceHttpArray) ElementType() reflect.Type
func (GetLoadBalancerServiceHttpArray) ToGetLoadBalancerServiceHttpArrayOutput ¶ added in v0.4.1
func (i GetLoadBalancerServiceHttpArray) ToGetLoadBalancerServiceHttpArrayOutput() GetLoadBalancerServiceHttpArrayOutput
func (GetLoadBalancerServiceHttpArray) ToGetLoadBalancerServiceHttpArrayOutputWithContext ¶ added in v0.4.1
func (i GetLoadBalancerServiceHttpArray) ToGetLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpArrayOutput
type GetLoadBalancerServiceHttpArrayInput ¶ added in v0.4.1
type GetLoadBalancerServiceHttpArrayInput interface { pulumi.Input ToGetLoadBalancerServiceHttpArrayOutput() GetLoadBalancerServiceHttpArrayOutput ToGetLoadBalancerServiceHttpArrayOutputWithContext(context.Context) GetLoadBalancerServiceHttpArrayOutput }
GetLoadBalancerServiceHttpArrayInput is an input type that accepts GetLoadBalancerServiceHttpArray and GetLoadBalancerServiceHttpArrayOutput values. You can construct a concrete instance of `GetLoadBalancerServiceHttpArrayInput` via:
GetLoadBalancerServiceHttpArray{ GetLoadBalancerServiceHttpArgs{...} }
type GetLoadBalancerServiceHttpArrayOutput ¶ added in v0.4.1
type GetLoadBalancerServiceHttpArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceHttpArrayOutput) ElementType ¶ added in v0.4.1
func (GetLoadBalancerServiceHttpArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceHttpArrayOutput) Index ¶ added in v0.4.1
func (o GetLoadBalancerServiceHttpArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerServiceHttpOutput
func (GetLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancerServiceHttpArrayOutput ¶ added in v0.4.1
func (o GetLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancerServiceHttpArrayOutput() GetLoadBalancerServiceHttpArrayOutput
func (GetLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancerServiceHttpArrayOutputWithContext ¶ added in v0.4.1
func (o GetLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpArrayOutput
type GetLoadBalancerServiceHttpInput ¶
type GetLoadBalancerServiceHttpInput interface { pulumi.Input ToGetLoadBalancerServiceHttpOutput() GetLoadBalancerServiceHttpOutput ToGetLoadBalancerServiceHttpOutputWithContext(context.Context) GetLoadBalancerServiceHttpOutput }
GetLoadBalancerServiceHttpInput is an input type that accepts GetLoadBalancerServiceHttpArgs and GetLoadBalancerServiceHttpOutput values. You can construct a concrete instance of `GetLoadBalancerServiceHttpInput` via:
GetLoadBalancerServiceHttpArgs{...}
type GetLoadBalancerServiceHttpOutput ¶
type GetLoadBalancerServiceHttpOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceHttpOutput) Certificates ¶
func (o GetLoadBalancerServiceHttpOutput) Certificates() pulumi.StringArrayOutput
(list[int]) List of IDs from certificates which the Load Balancer has.
func (GetLoadBalancerServiceHttpOutput) CookieLifetime ¶
func (o GetLoadBalancerServiceHttpOutput) CookieLifetime() pulumi.IntOutput
(int) Lifetime of the cookie for sticky session (in seconds).
func (GetLoadBalancerServiceHttpOutput) CookieName ¶
func (o GetLoadBalancerServiceHttpOutput) CookieName() pulumi.StringOutput
(string) Name of the cookie for sticky session.
func (GetLoadBalancerServiceHttpOutput) ElementType ¶
func (GetLoadBalancerServiceHttpOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceHttpOutput) RedirectHttp ¶
func (o GetLoadBalancerServiceHttpOutput) RedirectHttp() pulumi.BoolOutput
(string) Determine if all requests from port 80 should be redirected to port 443.
func (GetLoadBalancerServiceHttpOutput) StickySessions ¶
func (o GetLoadBalancerServiceHttpOutput) StickySessions() pulumi.BoolOutput
(string) Determine if sticky sessions are enabled or not.
func (GetLoadBalancerServiceHttpOutput) ToGetLoadBalancerServiceHttpOutput ¶
func (o GetLoadBalancerServiceHttpOutput) ToGetLoadBalancerServiceHttpOutput() GetLoadBalancerServiceHttpOutput
func (GetLoadBalancerServiceHttpOutput) ToGetLoadBalancerServiceHttpOutputWithContext ¶
func (o GetLoadBalancerServiceHttpOutput) ToGetLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancerServiceHttpOutput
type GetLoadBalancerServiceType ¶
type GetLoadBalancerServiceType struct { // (int) Port the service connects to the targets on. Can be everything between `1` and `65535`. DestinationPort int `pulumi:"destinationPort"` // (list) List of http configurations when `protocol` is `http` or `https`. HealthChecks []GetLoadBalancerServiceHealthCheck `pulumi:"healthChecks"` // (list) List of http configurations when `protocol` is `http` or `https`. Https []GetLoadBalancerServiceHttp `pulumi:"https"` // (int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer. ListenPort int `pulumi:"listenPort"` // (string) Protocol the health check uses. `http`, `https` or `tcp` Protocol string `pulumi:"protocol"` // (bool) Enable proxyprotocol. Proxyprotocol bool `pulumi:"proxyprotocol"` }
type GetLoadBalancerServiceTypeArgs ¶
type GetLoadBalancerServiceTypeArgs struct { // (int) Port the service connects to the targets on. Can be everything between `1` and `65535`. DestinationPort pulumi.IntInput `pulumi:"destinationPort"` // (list) List of http configurations when `protocol` is `http` or `https`. HealthChecks GetLoadBalancerServiceHealthCheckArrayInput `pulumi:"healthChecks"` // (list) List of http configurations when `protocol` is `http` or `https`. Https GetLoadBalancerServiceHttpArrayInput `pulumi:"https"` // (int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer. ListenPort pulumi.IntInput `pulumi:"listenPort"` // (string) Protocol the health check uses. `http`, `https` or `tcp` Protocol pulumi.StringInput `pulumi:"protocol"` // (bool) Enable proxyprotocol. Proxyprotocol pulumi.BoolInput `pulumi:"proxyprotocol"` }
func (GetLoadBalancerServiceTypeArgs) ElementType ¶
func (GetLoadBalancerServiceTypeArgs) ElementType() reflect.Type
func (GetLoadBalancerServiceTypeArgs) ToGetLoadBalancerServiceTypeOutput ¶
func (i GetLoadBalancerServiceTypeArgs) ToGetLoadBalancerServiceTypeOutput() GetLoadBalancerServiceTypeOutput
func (GetLoadBalancerServiceTypeArgs) ToGetLoadBalancerServiceTypeOutputWithContext ¶
func (i GetLoadBalancerServiceTypeArgs) ToGetLoadBalancerServiceTypeOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeOutput
type GetLoadBalancerServiceTypeArray ¶
type GetLoadBalancerServiceTypeArray []GetLoadBalancerServiceTypeInput
func (GetLoadBalancerServiceTypeArray) ElementType ¶
func (GetLoadBalancerServiceTypeArray) ElementType() reflect.Type
func (GetLoadBalancerServiceTypeArray) ToGetLoadBalancerServiceTypeArrayOutput ¶
func (i GetLoadBalancerServiceTypeArray) ToGetLoadBalancerServiceTypeArrayOutput() GetLoadBalancerServiceTypeArrayOutput
func (GetLoadBalancerServiceTypeArray) ToGetLoadBalancerServiceTypeArrayOutputWithContext ¶
func (i GetLoadBalancerServiceTypeArray) ToGetLoadBalancerServiceTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeArrayOutput
type GetLoadBalancerServiceTypeArrayInput ¶
type GetLoadBalancerServiceTypeArrayInput interface { pulumi.Input ToGetLoadBalancerServiceTypeArrayOutput() GetLoadBalancerServiceTypeArrayOutput ToGetLoadBalancerServiceTypeArrayOutputWithContext(context.Context) GetLoadBalancerServiceTypeArrayOutput }
GetLoadBalancerServiceTypeArrayInput is an input type that accepts GetLoadBalancerServiceTypeArray and GetLoadBalancerServiceTypeArrayOutput values. You can construct a concrete instance of `GetLoadBalancerServiceTypeArrayInput` via:
GetLoadBalancerServiceTypeArray{ GetLoadBalancerServiceTypeArgs{...} }
type GetLoadBalancerServiceTypeArrayOutput ¶
type GetLoadBalancerServiceTypeArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceTypeArrayOutput) ElementType ¶
func (GetLoadBalancerServiceTypeArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceTypeArrayOutput) Index ¶
func (o GetLoadBalancerServiceTypeArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerServiceTypeOutput
func (GetLoadBalancerServiceTypeArrayOutput) ToGetLoadBalancerServiceTypeArrayOutput ¶
func (o GetLoadBalancerServiceTypeArrayOutput) ToGetLoadBalancerServiceTypeArrayOutput() GetLoadBalancerServiceTypeArrayOutput
func (GetLoadBalancerServiceTypeArrayOutput) ToGetLoadBalancerServiceTypeArrayOutputWithContext ¶
func (o GetLoadBalancerServiceTypeArrayOutput) ToGetLoadBalancerServiceTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeArrayOutput
type GetLoadBalancerServiceTypeInput ¶
type GetLoadBalancerServiceTypeInput interface { pulumi.Input ToGetLoadBalancerServiceTypeOutput() GetLoadBalancerServiceTypeOutput ToGetLoadBalancerServiceTypeOutputWithContext(context.Context) GetLoadBalancerServiceTypeOutput }
GetLoadBalancerServiceTypeInput is an input type that accepts GetLoadBalancerServiceTypeArgs and GetLoadBalancerServiceTypeOutput values. You can construct a concrete instance of `GetLoadBalancerServiceTypeInput` via:
GetLoadBalancerServiceTypeArgs{...}
type GetLoadBalancerServiceTypeOutput ¶
type GetLoadBalancerServiceTypeOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerServiceTypeOutput) DestinationPort ¶
func (o GetLoadBalancerServiceTypeOutput) DestinationPort() pulumi.IntOutput
(int) Port the service connects to the targets on. Can be everything between `1` and `65535`.
func (GetLoadBalancerServiceTypeOutput) ElementType ¶
func (GetLoadBalancerServiceTypeOutput) ElementType() reflect.Type
func (GetLoadBalancerServiceTypeOutput) HealthChecks ¶ added in v0.4.1
func (o GetLoadBalancerServiceTypeOutput) HealthChecks() GetLoadBalancerServiceHealthCheckArrayOutput
(list) List of http configurations when `protocol` is `http` or `https`.
func (GetLoadBalancerServiceTypeOutput) Https ¶ added in v0.4.1
func (o GetLoadBalancerServiceTypeOutput) Https() GetLoadBalancerServiceHttpArrayOutput
(list) List of http configurations when `protocol` is `http` or `https`.
func (GetLoadBalancerServiceTypeOutput) ListenPort ¶
func (o GetLoadBalancerServiceTypeOutput) ListenPort() pulumi.IntOutput
(int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
func (GetLoadBalancerServiceTypeOutput) Protocol ¶
func (o GetLoadBalancerServiceTypeOutput) Protocol() pulumi.StringOutput
(string) Protocol the health check uses. `http`, `https` or `tcp`
func (GetLoadBalancerServiceTypeOutput) Proxyprotocol ¶
func (o GetLoadBalancerServiceTypeOutput) Proxyprotocol() pulumi.BoolOutput
(bool) Enable proxyprotocol.
func (GetLoadBalancerServiceTypeOutput) ToGetLoadBalancerServiceTypeOutput ¶
func (o GetLoadBalancerServiceTypeOutput) ToGetLoadBalancerServiceTypeOutput() GetLoadBalancerServiceTypeOutput
func (GetLoadBalancerServiceTypeOutput) ToGetLoadBalancerServiceTypeOutputWithContext ¶
func (o GetLoadBalancerServiceTypeOutput) ToGetLoadBalancerServiceTypeOutputWithContext(ctx context.Context) GetLoadBalancerServiceTypeOutput
type GetLoadBalancerTargetType ¶
type GetLoadBalancerTargetType struct { // (string) Label Selector to add a group of resources based on the label. LabelSelector string `pulumi:"labelSelector"` // (int) ID of the server which should be a target for this Load Balancer. ServerId int `pulumi:"serverId"` // (string) Type of the target. `server` or `labelSelector` Type string `pulumi:"type"` }
type GetLoadBalancerTargetTypeArgs ¶
type GetLoadBalancerTargetTypeArgs struct { // (string) Label Selector to add a group of resources based on the label. LabelSelector pulumi.StringInput `pulumi:"labelSelector"` // (int) ID of the server which should be a target for this Load Balancer. ServerId pulumi.IntInput `pulumi:"serverId"` // (string) Type of the target. `server` or `labelSelector` Type pulumi.StringInput `pulumi:"type"` }
func (GetLoadBalancerTargetTypeArgs) ElementType ¶
func (GetLoadBalancerTargetTypeArgs) ElementType() reflect.Type
func (GetLoadBalancerTargetTypeArgs) ToGetLoadBalancerTargetTypeOutput ¶
func (i GetLoadBalancerTargetTypeArgs) ToGetLoadBalancerTargetTypeOutput() GetLoadBalancerTargetTypeOutput
func (GetLoadBalancerTargetTypeArgs) ToGetLoadBalancerTargetTypeOutputWithContext ¶
func (i GetLoadBalancerTargetTypeArgs) ToGetLoadBalancerTargetTypeOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeOutput
type GetLoadBalancerTargetTypeArray ¶
type GetLoadBalancerTargetTypeArray []GetLoadBalancerTargetTypeInput
func (GetLoadBalancerTargetTypeArray) ElementType ¶
func (GetLoadBalancerTargetTypeArray) ElementType() reflect.Type
func (GetLoadBalancerTargetTypeArray) ToGetLoadBalancerTargetTypeArrayOutput ¶
func (i GetLoadBalancerTargetTypeArray) ToGetLoadBalancerTargetTypeArrayOutput() GetLoadBalancerTargetTypeArrayOutput
func (GetLoadBalancerTargetTypeArray) ToGetLoadBalancerTargetTypeArrayOutputWithContext ¶
func (i GetLoadBalancerTargetTypeArray) ToGetLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeArrayOutput
type GetLoadBalancerTargetTypeArrayInput ¶
type GetLoadBalancerTargetTypeArrayInput interface { pulumi.Input ToGetLoadBalancerTargetTypeArrayOutput() GetLoadBalancerTargetTypeArrayOutput ToGetLoadBalancerTargetTypeArrayOutputWithContext(context.Context) GetLoadBalancerTargetTypeArrayOutput }
GetLoadBalancerTargetTypeArrayInput is an input type that accepts GetLoadBalancerTargetTypeArray and GetLoadBalancerTargetTypeArrayOutput values. You can construct a concrete instance of `GetLoadBalancerTargetTypeArrayInput` via:
GetLoadBalancerTargetTypeArray{ GetLoadBalancerTargetTypeArgs{...} }
type GetLoadBalancerTargetTypeArrayOutput ¶
type GetLoadBalancerTargetTypeArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerTargetTypeArrayOutput) ElementType ¶
func (GetLoadBalancerTargetTypeArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerTargetTypeArrayOutput) Index ¶
func (o GetLoadBalancerTargetTypeArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerTargetTypeOutput
func (GetLoadBalancerTargetTypeArrayOutput) ToGetLoadBalancerTargetTypeArrayOutput ¶
func (o GetLoadBalancerTargetTypeArrayOutput) ToGetLoadBalancerTargetTypeArrayOutput() GetLoadBalancerTargetTypeArrayOutput
func (GetLoadBalancerTargetTypeArrayOutput) ToGetLoadBalancerTargetTypeArrayOutputWithContext ¶
func (o GetLoadBalancerTargetTypeArrayOutput) ToGetLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeArrayOutput
type GetLoadBalancerTargetTypeInput ¶
type GetLoadBalancerTargetTypeInput interface { pulumi.Input ToGetLoadBalancerTargetTypeOutput() GetLoadBalancerTargetTypeOutput ToGetLoadBalancerTargetTypeOutputWithContext(context.Context) GetLoadBalancerTargetTypeOutput }
GetLoadBalancerTargetTypeInput is an input type that accepts GetLoadBalancerTargetTypeArgs and GetLoadBalancerTargetTypeOutput values. You can construct a concrete instance of `GetLoadBalancerTargetTypeInput` via:
GetLoadBalancerTargetTypeArgs{...}
type GetLoadBalancerTargetTypeOutput ¶
type GetLoadBalancerTargetTypeOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerTargetTypeOutput) ElementType ¶
func (GetLoadBalancerTargetTypeOutput) ElementType() reflect.Type
func (GetLoadBalancerTargetTypeOutput) LabelSelector ¶
func (o GetLoadBalancerTargetTypeOutput) LabelSelector() pulumi.StringOutput
(string) Label Selector to add a group of resources based on the label.
func (GetLoadBalancerTargetTypeOutput) ServerId ¶
func (o GetLoadBalancerTargetTypeOutput) ServerId() pulumi.IntOutput
(int) ID of the server which should be a target for this Load Balancer.
func (GetLoadBalancerTargetTypeOutput) ToGetLoadBalancerTargetTypeOutput ¶
func (o GetLoadBalancerTargetTypeOutput) ToGetLoadBalancerTargetTypeOutput() GetLoadBalancerTargetTypeOutput
func (GetLoadBalancerTargetTypeOutput) ToGetLoadBalancerTargetTypeOutputWithContext ¶
func (o GetLoadBalancerTargetTypeOutput) ToGetLoadBalancerTargetTypeOutputWithContext(ctx context.Context) GetLoadBalancerTargetTypeOutput
func (GetLoadBalancerTargetTypeOutput) Type ¶
func (o GetLoadBalancerTargetTypeOutput) Type() pulumi.StringOutput
(string) Type of the target. `server` or `labelSelector`
type GetLoadBalancerTypeArgs ¶ added in v1.21.0
type GetLoadBalancerTypeArgs struct { // ID of the Load Balancer Type. Id *int `pulumi:"id"` // Name of the Load Balancer Type. Name *string `pulumi:"name"` }
A collection of arguments for invoking getLoadBalancerType.
type GetLoadBalancerTypeOutputArgs ¶ added in v1.21.0
type GetLoadBalancerTypeOutputArgs struct { // ID of the Load Balancer Type. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the Load Balancer Type. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getLoadBalancerType.
func (GetLoadBalancerTypeOutputArgs) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypeOutputArgs) ElementType() reflect.Type
type GetLoadBalancerTypeResult ¶ added in v1.21.0
type GetLoadBalancerTypeResult struct { // Description of the Load Balancer Type. Description string `pulumi:"description"` // ID of the Load Balancer Type. Id int `pulumi:"id"` // Maximum number of certificates that can be assigned for the Load Balancer of this type. MaxAssignedCertificates int `pulumi:"maxAssignedCertificates"` // Maximum number of simultaneous open connections for the Load Balancer of this type. MaxConnections int `pulumi:"maxConnections"` // Maximum number of services for the Load Balancer of this type. MaxServices int `pulumi:"maxServices"` // Maximum number of targets for the Load Balancer of this type. MaxTargets int `pulumi:"maxTargets"` // Name of the Load Balancer Type. Name string `pulumi:"name"` }
A collection of values returned by getLoadBalancerType.
func GetLoadBalancerType ¶ added in v1.21.0
func GetLoadBalancerType(ctx *pulumi.Context, args *GetLoadBalancerTypeArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancerTypeResult, error)
Provides details about a specific Hetzner Cloud Load Balancer Type.
Use this resource to get detailed information about a specific Load Balancer Type.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetLoadBalancerType(ctx, &hcloud.GetLoadBalancerTypeArgs{ Id: pulumi.IntRef(1), }, nil) if err != nil { return err } _, err = hcloud.GetLoadBalancerType(ctx, &hcloud.GetLoadBalancerTypeArgs{ Name: pulumi.StringRef("lb11"), }, nil) if err != nil { return err } _, err = hcloud.NewLoadBalancer(ctx, "main", &hcloud.LoadBalancerArgs{ Name: pulumi.String("my-load-balancer"), LoadBalancerType: pulumi.Any(name), Location: pulumi.String("fsn1"), }) if err != nil { return err } return nil }) }
```
type GetLoadBalancerTypeResultOutput ¶ added in v1.21.0
type GetLoadBalancerTypeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancerType.
func GetLoadBalancerTypeOutput ¶ added in v1.21.0
func GetLoadBalancerTypeOutput(ctx *pulumi.Context, args GetLoadBalancerTypeOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancerTypeResultOutput
func (GetLoadBalancerTypeResultOutput) Description ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) Description() pulumi.StringOutput
Description of the Load Balancer Type.
func (GetLoadBalancerTypeResultOutput) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypeResultOutput) ElementType() reflect.Type
func (GetLoadBalancerTypeResultOutput) Id ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) Id() pulumi.IntOutput
ID of the Load Balancer Type.
func (GetLoadBalancerTypeResultOutput) MaxAssignedCertificates ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) MaxAssignedCertificates() pulumi.IntOutput
Maximum number of certificates that can be assigned for the Load Balancer of this type.
func (GetLoadBalancerTypeResultOutput) MaxConnections ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) MaxConnections() pulumi.IntOutput
Maximum number of simultaneous open connections for the Load Balancer of this type.
func (GetLoadBalancerTypeResultOutput) MaxServices ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) MaxServices() pulumi.IntOutput
Maximum number of services for the Load Balancer of this type.
func (GetLoadBalancerTypeResultOutput) MaxTargets ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) MaxTargets() pulumi.IntOutput
Maximum number of targets for the Load Balancer of this type.
func (GetLoadBalancerTypeResultOutput) Name ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) Name() pulumi.StringOutput
Name of the Load Balancer Type.
func (GetLoadBalancerTypeResultOutput) ToGetLoadBalancerTypeResultOutput ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) ToGetLoadBalancerTypeResultOutput() GetLoadBalancerTypeResultOutput
func (GetLoadBalancerTypeResultOutput) ToGetLoadBalancerTypeResultOutputWithContext ¶ added in v1.21.0
func (o GetLoadBalancerTypeResultOutput) ToGetLoadBalancerTypeResultOutputWithContext(ctx context.Context) GetLoadBalancerTypeResultOutput
type GetLoadBalancerTypesLoadBalancerType ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerType struct { // Description of the Load Balancer Type. Description string `pulumi:"description"` // ID of the Load Balancer Type. Id int `pulumi:"id"` // Maximum number of certificates that can be assigned for the Load Balancer of this type. MaxAssignedCertificates int `pulumi:"maxAssignedCertificates"` // Maximum number of simultaneous open connections for the Load Balancer of this type. MaxConnections int `pulumi:"maxConnections"` // Maximum number of services for the Load Balancer of this type. MaxServices int `pulumi:"maxServices"` // Maximum number of targets for the Load Balancer of this type. MaxTargets int `pulumi:"maxTargets"` // Name of the Load Balancer Type. Name string `pulumi:"name"` }
type GetLoadBalancerTypesLoadBalancerTypeArgs ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerTypeArgs struct { // Description of the Load Balancer Type. Description pulumi.StringInput `pulumi:"description"` // ID of the Load Balancer Type. Id pulumi.IntInput `pulumi:"id"` // Maximum number of certificates that can be assigned for the Load Balancer of this type. MaxAssignedCertificates pulumi.IntInput `pulumi:"maxAssignedCertificates"` // Maximum number of simultaneous open connections for the Load Balancer of this type. MaxConnections pulumi.IntInput `pulumi:"maxConnections"` // Maximum number of services for the Load Balancer of this type. MaxServices pulumi.IntInput `pulumi:"maxServices"` // Maximum number of targets for the Load Balancer of this type. MaxTargets pulumi.IntInput `pulumi:"maxTargets"` // Name of the Load Balancer Type. Name pulumi.StringInput `pulumi:"name"` }
func (GetLoadBalancerTypesLoadBalancerTypeArgs) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypesLoadBalancerTypeArgs) ElementType() reflect.Type
func (GetLoadBalancerTypesLoadBalancerTypeArgs) ToGetLoadBalancerTypesLoadBalancerTypeOutput ¶ added in v1.21.0
func (i GetLoadBalancerTypesLoadBalancerTypeArgs) ToGetLoadBalancerTypesLoadBalancerTypeOutput() GetLoadBalancerTypesLoadBalancerTypeOutput
func (GetLoadBalancerTypesLoadBalancerTypeArgs) ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext ¶ added in v1.21.0
func (i GetLoadBalancerTypesLoadBalancerTypeArgs) ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeOutput
type GetLoadBalancerTypesLoadBalancerTypeArray ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerTypeArray []GetLoadBalancerTypesLoadBalancerTypeInput
func (GetLoadBalancerTypesLoadBalancerTypeArray) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypesLoadBalancerTypeArray) ElementType() reflect.Type
func (GetLoadBalancerTypesLoadBalancerTypeArray) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput ¶ added in v1.21.0
func (i GetLoadBalancerTypesLoadBalancerTypeArray) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput() GetLoadBalancerTypesLoadBalancerTypeArrayOutput
func (GetLoadBalancerTypesLoadBalancerTypeArray) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext ¶ added in v1.21.0
func (i GetLoadBalancerTypesLoadBalancerTypeArray) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeArrayOutput
type GetLoadBalancerTypesLoadBalancerTypeArrayInput ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerTypeArrayInput interface { pulumi.Input ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput() GetLoadBalancerTypesLoadBalancerTypeArrayOutput ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext(context.Context) GetLoadBalancerTypesLoadBalancerTypeArrayOutput }
GetLoadBalancerTypesLoadBalancerTypeArrayInput is an input type that accepts GetLoadBalancerTypesLoadBalancerTypeArray and GetLoadBalancerTypesLoadBalancerTypeArrayOutput values. You can construct a concrete instance of `GetLoadBalancerTypesLoadBalancerTypeArrayInput` via:
GetLoadBalancerTypesLoadBalancerTypeArray{ GetLoadBalancerTypesLoadBalancerTypeArgs{...} }
type GetLoadBalancerTypesLoadBalancerTypeArrayOutput ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerTypeArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutput() GetLoadBalancerTypesLoadBalancerTypeArrayOutput
func (GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeArrayOutput) ToGetLoadBalancerTypesLoadBalancerTypeArrayOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeArrayOutput
type GetLoadBalancerTypesLoadBalancerTypeInput ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerTypeInput interface { pulumi.Input ToGetLoadBalancerTypesLoadBalancerTypeOutput() GetLoadBalancerTypesLoadBalancerTypeOutput ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext(context.Context) GetLoadBalancerTypesLoadBalancerTypeOutput }
GetLoadBalancerTypesLoadBalancerTypeInput is an input type that accepts GetLoadBalancerTypesLoadBalancerTypeArgs and GetLoadBalancerTypesLoadBalancerTypeOutput values. You can construct a concrete instance of `GetLoadBalancerTypesLoadBalancerTypeInput` via:
GetLoadBalancerTypesLoadBalancerTypeArgs{...}
type GetLoadBalancerTypesLoadBalancerTypeOutput ¶ added in v1.21.0
type GetLoadBalancerTypesLoadBalancerTypeOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerTypesLoadBalancerTypeOutput) Description ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) Description() pulumi.StringOutput
Description of the Load Balancer Type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypesLoadBalancerTypeOutput) ElementType() reflect.Type
func (GetLoadBalancerTypesLoadBalancerTypeOutput) Id ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) Id() pulumi.IntOutput
ID of the Load Balancer Type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) MaxAssignedCertificates ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxAssignedCertificates() pulumi.IntOutput
Maximum number of certificates that can be assigned for the Load Balancer of this type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) MaxConnections ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxConnections() pulumi.IntOutput
Maximum number of simultaneous open connections for the Load Balancer of this type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) MaxServices ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxServices() pulumi.IntOutput
Maximum number of services for the Load Balancer of this type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) MaxTargets ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) MaxTargets() pulumi.IntOutput
Maximum number of targets for the Load Balancer of this type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) Name ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) Name() pulumi.StringOutput
Name of the Load Balancer Type.
func (GetLoadBalancerTypesLoadBalancerTypeOutput) ToGetLoadBalancerTypesLoadBalancerTypeOutput ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) ToGetLoadBalancerTypesLoadBalancerTypeOutput() GetLoadBalancerTypesLoadBalancerTypeOutput
func (GetLoadBalancerTypesLoadBalancerTypeOutput) ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext ¶ added in v1.21.0
func (o GetLoadBalancerTypesLoadBalancerTypeOutput) ToGetLoadBalancerTypesLoadBalancerTypeOutputWithContext(ctx context.Context) GetLoadBalancerTypesLoadBalancerTypeOutput
type GetLoadBalancerTypesResult ¶ added in v1.21.0
type GetLoadBalancerTypesResult struct { // The ID of this resource. Id string `pulumi:"id"` LoadBalancerTypes []GetLoadBalancerTypesLoadBalancerType `pulumi:"loadBalancerTypes"` }
A collection of values returned by getLoadBalancerTypes.
func GetLoadBalancerTypes ¶ added in v1.21.0
func GetLoadBalancerTypes(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetLoadBalancerTypesResult, error)
Provides a list of available Hetzner Cloud Load Balancer Types.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetLoadBalancerTypes(ctx, map[string]interface{}{}, nil) if err != nil { return err } return nil }) }
```
type GetLoadBalancerTypesResultOutput ¶ added in v1.21.0
type GetLoadBalancerTypesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancerTypes.
func GetLoadBalancerTypesOutput ¶ added in v1.21.0
func GetLoadBalancerTypesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLoadBalancerTypesResultOutput
func (GetLoadBalancerTypesResultOutput) ElementType ¶ added in v1.21.0
func (GetLoadBalancerTypesResultOutput) ElementType() reflect.Type
func (GetLoadBalancerTypesResultOutput) Id ¶ added in v1.21.0
func (o GetLoadBalancerTypesResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetLoadBalancerTypesResultOutput) LoadBalancerTypes ¶ added in v1.21.0
func (o GetLoadBalancerTypesResultOutput) LoadBalancerTypes() GetLoadBalancerTypesLoadBalancerTypeArrayOutput
func (GetLoadBalancerTypesResultOutput) ToGetLoadBalancerTypesResultOutput ¶ added in v1.21.0
func (o GetLoadBalancerTypesResultOutput) ToGetLoadBalancerTypesResultOutput() GetLoadBalancerTypesResultOutput
func (GetLoadBalancerTypesResultOutput) ToGetLoadBalancerTypesResultOutputWithContext ¶ added in v1.21.0
func (o GetLoadBalancerTypesResultOutput) ToGetLoadBalancerTypesResultOutputWithContext(ctx context.Context) GetLoadBalancerTypesResultOutput
type GetLoadBalancersArgs ¶ added in v1.5.0
type GetLoadBalancersArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getLoadBalancers.
type GetLoadBalancersLoadBalancer ¶ added in v1.5.0
type GetLoadBalancersLoadBalancer struct { Algorithms []GetLoadBalancersLoadBalancerAlgorithm `pulumi:"algorithms"` DeleteProtection bool `pulumi:"deleteProtection"` Id int `pulumi:"id"` Ipv4 string `pulumi:"ipv4"` Ipv6 string `pulumi:"ipv6"` Labels map[string]string `pulumi:"labels"` LoadBalancerType string `pulumi:"loadBalancerType"` Location string `pulumi:"location"` Name *string `pulumi:"name"` NetworkId int `pulumi:"networkId"` NetworkIp string `pulumi:"networkIp"` NetworkZone string `pulumi:"networkZone"` Services []GetLoadBalancersLoadBalancerService `pulumi:"services"` Targets []GetLoadBalancersLoadBalancerTarget `pulumi:"targets"` }
type GetLoadBalancersLoadBalancerAlgorithm ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithm struct {
Type string `pulumi:"type"`
}
type GetLoadBalancersLoadBalancerAlgorithmArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithmArgs struct {
Type pulumi.StringInput `pulumi:"type"`
}
func (GetLoadBalancersLoadBalancerAlgorithmArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerAlgorithmArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerAlgorithmArgs) ToGetLoadBalancersLoadBalancerAlgorithmOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerAlgorithmArgs) ToGetLoadBalancersLoadBalancerAlgorithmOutput() GetLoadBalancersLoadBalancerAlgorithmOutput
func (GetLoadBalancersLoadBalancerAlgorithmArgs) ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerAlgorithmArgs) ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmOutput
type GetLoadBalancersLoadBalancerAlgorithmArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithmArray []GetLoadBalancersLoadBalancerAlgorithmInput
func (GetLoadBalancersLoadBalancerAlgorithmArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerAlgorithmArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerAlgorithmArray) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerAlgorithmArray) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput() GetLoadBalancersLoadBalancerAlgorithmArrayOutput
func (GetLoadBalancersLoadBalancerAlgorithmArray) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerAlgorithmArray) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmArrayOutput
type GetLoadBalancersLoadBalancerAlgorithmArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithmArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput() GetLoadBalancersLoadBalancerAlgorithmArrayOutput ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerAlgorithmArrayOutput }
GetLoadBalancersLoadBalancerAlgorithmArrayInput is an input type that accepts GetLoadBalancersLoadBalancerAlgorithmArray and GetLoadBalancersLoadBalancerAlgorithmArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerAlgorithmArrayInput` via:
GetLoadBalancersLoadBalancerAlgorithmArray{ GetLoadBalancersLoadBalancerAlgorithmArgs{...} }
type GetLoadBalancersLoadBalancerAlgorithmArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithmArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutput() GetLoadBalancersLoadBalancerAlgorithmArrayOutput
func (GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerAlgorithmArrayOutput) ToGetLoadBalancersLoadBalancerAlgorithmArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmArrayOutput
type GetLoadBalancersLoadBalancerAlgorithmInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithmInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerAlgorithmOutput() GetLoadBalancersLoadBalancerAlgorithmOutput ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext(context.Context) GetLoadBalancersLoadBalancerAlgorithmOutput }
GetLoadBalancersLoadBalancerAlgorithmInput is an input type that accepts GetLoadBalancersLoadBalancerAlgorithmArgs and GetLoadBalancersLoadBalancerAlgorithmOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerAlgorithmInput` via:
GetLoadBalancersLoadBalancerAlgorithmArgs{...}
type GetLoadBalancersLoadBalancerAlgorithmOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerAlgorithmOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerAlgorithmOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerAlgorithmOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerAlgorithmOutput) ToGetLoadBalancersLoadBalancerAlgorithmOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerAlgorithmOutput) ToGetLoadBalancersLoadBalancerAlgorithmOutput() GetLoadBalancersLoadBalancerAlgorithmOutput
func (GetLoadBalancersLoadBalancerAlgorithmOutput) ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerAlgorithmOutput) ToGetLoadBalancersLoadBalancerAlgorithmOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerAlgorithmOutput
func (GetLoadBalancersLoadBalancerAlgorithmOutput) Type ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerAlgorithmOutput) Type() pulumi.StringOutput
type GetLoadBalancersLoadBalancerArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerArgs struct { Algorithms GetLoadBalancersLoadBalancerAlgorithmArrayInput `pulumi:"algorithms"` DeleteProtection pulumi.BoolInput `pulumi:"deleteProtection"` Id pulumi.IntInput `pulumi:"id"` Ipv4 pulumi.StringInput `pulumi:"ipv4"` Ipv6 pulumi.StringInput `pulumi:"ipv6"` Labels pulumi.StringMapInput `pulumi:"labels"` LoadBalancerType pulumi.StringInput `pulumi:"loadBalancerType"` Location pulumi.StringInput `pulumi:"location"` Name pulumi.StringPtrInput `pulumi:"name"` NetworkId pulumi.IntInput `pulumi:"networkId"` NetworkIp pulumi.StringInput `pulumi:"networkIp"` NetworkZone pulumi.StringInput `pulumi:"networkZone"` Services GetLoadBalancersLoadBalancerServiceArrayInput `pulumi:"services"` Targets GetLoadBalancersLoadBalancerTargetArrayInput `pulumi:"targets"` }
func (GetLoadBalancersLoadBalancerArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput
func (GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerArgs) ToGetLoadBalancersLoadBalancerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerOutput
type GetLoadBalancersLoadBalancerArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerArray []GetLoadBalancersLoadBalancerInput
func (GetLoadBalancersLoadBalancerArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput
func (GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerArray) ToGetLoadBalancersLoadBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerArrayOutput
type GetLoadBalancersLoadBalancerArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput ToGetLoadBalancersLoadBalancerArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerArrayOutput }
GetLoadBalancersLoadBalancerArrayInput is an input type that accepts GetLoadBalancersLoadBalancerArray and GetLoadBalancersLoadBalancerArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerArrayInput` via:
GetLoadBalancersLoadBalancerArray{ GetLoadBalancersLoadBalancerArgs{...} }
type GetLoadBalancersLoadBalancerArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutput() GetLoadBalancersLoadBalancerArrayOutput
func (GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerArrayOutput) ToGetLoadBalancersLoadBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerArrayOutput
type GetLoadBalancersLoadBalancerInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput ToGetLoadBalancersLoadBalancerOutputWithContext(context.Context) GetLoadBalancersLoadBalancerOutput }
GetLoadBalancersLoadBalancerInput is an input type that accepts GetLoadBalancersLoadBalancerArgs and GetLoadBalancersLoadBalancerOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerInput` via:
GetLoadBalancersLoadBalancerArgs{...}
type GetLoadBalancersLoadBalancerOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerOutput) Algorithms ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Algorithms() GetLoadBalancersLoadBalancerAlgorithmArrayOutput
func (GetLoadBalancersLoadBalancerOutput) DeleteProtection ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) DeleteProtection() pulumi.BoolOutput
func (GetLoadBalancersLoadBalancerOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerOutput) Id ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Id() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerOutput) Ipv4 ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Ipv4() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerOutput) Ipv6 ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Ipv6() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerOutput) Labels ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Labels() pulumi.StringMapOutput
func (GetLoadBalancersLoadBalancerOutput) LoadBalancerType ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) LoadBalancerType() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerOutput) Location ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Location() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerOutput) Name ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Name() pulumi.StringPtrOutput
func (GetLoadBalancersLoadBalancerOutput) NetworkId ¶ added in v1.10.2
func (o GetLoadBalancersLoadBalancerOutput) NetworkId() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerOutput) NetworkIp ¶ added in v1.10.2
func (o GetLoadBalancersLoadBalancerOutput) NetworkIp() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerOutput) NetworkZone ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) NetworkZone() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerOutput) Services ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Services() GetLoadBalancersLoadBalancerServiceArrayOutput
func (GetLoadBalancersLoadBalancerOutput) Targets ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) Targets() GetLoadBalancersLoadBalancerTargetArrayOutput
func (GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutput() GetLoadBalancersLoadBalancerOutput
func (GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerOutput) ToGetLoadBalancersLoadBalancerOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerOutput
type GetLoadBalancersLoadBalancerService ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerService struct { DestinationPort int `pulumi:"destinationPort"` HealthChecks []GetLoadBalancersLoadBalancerServiceHealthCheck `pulumi:"healthChecks"` Https []GetLoadBalancersLoadBalancerServiceHttp `pulumi:"https"` ListenPort int `pulumi:"listenPort"` Protocol string `pulumi:"protocol"` Proxyprotocol bool `pulumi:"proxyprotocol"` }
type GetLoadBalancersLoadBalancerServiceArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceArgs struct { DestinationPort pulumi.IntInput `pulumi:"destinationPort"` HealthChecks GetLoadBalancersLoadBalancerServiceHealthCheckArrayInput `pulumi:"healthChecks"` Https GetLoadBalancersLoadBalancerServiceHttpArrayInput `pulumi:"https"` ListenPort pulumi.IntInput `pulumi:"listenPort"` Protocol pulumi.StringInput `pulumi:"protocol"` Proxyprotocol pulumi.BoolInput `pulumi:"proxyprotocol"` }
func (GetLoadBalancersLoadBalancerServiceArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceArgs) ToGetLoadBalancersLoadBalancerServiceOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceArgs) ToGetLoadBalancersLoadBalancerServiceOutput() GetLoadBalancersLoadBalancerServiceOutput
func (GetLoadBalancersLoadBalancerServiceArgs) ToGetLoadBalancersLoadBalancerServiceOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceArgs) ToGetLoadBalancersLoadBalancerServiceOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceOutput
type GetLoadBalancersLoadBalancerServiceArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceArray []GetLoadBalancersLoadBalancerServiceInput
func (GetLoadBalancersLoadBalancerServiceArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceArray) ToGetLoadBalancersLoadBalancerServiceArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceArray) ToGetLoadBalancersLoadBalancerServiceArrayOutput() GetLoadBalancersLoadBalancerServiceArrayOutput
func (GetLoadBalancersLoadBalancerServiceArray) ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceArray) ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceArrayOutput
type GetLoadBalancersLoadBalancerServiceArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceArrayOutput() GetLoadBalancersLoadBalancerServiceArrayOutput ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceArrayOutput }
GetLoadBalancersLoadBalancerServiceArrayInput is an input type that accepts GetLoadBalancersLoadBalancerServiceArray and GetLoadBalancersLoadBalancerServiceArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceArrayInput` via:
GetLoadBalancersLoadBalancerServiceArray{ GetLoadBalancersLoadBalancerServiceArgs{...} }
type GetLoadBalancersLoadBalancerServiceArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceArrayOutput) ToGetLoadBalancersLoadBalancerServiceArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceArrayOutput) ToGetLoadBalancersLoadBalancerServiceArrayOutput() GetLoadBalancersLoadBalancerServiceArrayOutput
func (GetLoadBalancersLoadBalancerServiceArrayOutput) ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceArrayOutput) ToGetLoadBalancersLoadBalancerServiceArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceArrayOutput
type GetLoadBalancersLoadBalancerServiceHealthCheck ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckArgs struct { Https GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayInput `pulumi:"https"` Interval pulumi.IntInput `pulumi:"interval"` Port pulumi.IntInput `pulumi:"port"` Protocol pulumi.StringInput `pulumi:"protocol"` Retries pulumi.IntInput `pulumi:"retries"` Timeout pulumi.IntInput `pulumi:"timeout"` }
func (GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput() GetLoadBalancersLoadBalancerServiceHealthCheckOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckArray []GetLoadBalancersLoadBalancerServiceHealthCheckInput
func (GetLoadBalancersLoadBalancerServiceHealthCheckArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput }
GetLoadBalancersLoadBalancerServiceHealthCheckArrayInput is an input type that accepts GetLoadBalancersLoadBalancerServiceHealthCheckArray and GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceHealthCheckArrayInput` via:
GetLoadBalancersLoadBalancerServiceHealthCheckArray{ GetLoadBalancersLoadBalancerServiceHealthCheckArgs{...} }
type GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckHttp ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs struct { Domain pulumi.StringInput `pulumi:"domain"` Path pulumi.StringInput `pulumi:"path"` Response pulumi.StringInput `pulumi:"response"` StatusCodes pulumi.IntArrayInput `pulumi:"statusCodes"` Tls pulumi.BoolInput `pulumi:"tls"` }
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray []GetLoadBalancersLoadBalancerServiceHealthCheckHttpInput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput }
GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayInput is an input type that accepts GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray and GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayInput` via:
GetLoadBalancersLoadBalancerServiceHealthCheckHttpArray{ GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs{...} }
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpArrayOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput }
GetLoadBalancersLoadBalancerServiceHealthCheckHttpInput is an input type that accepts GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs and GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceHealthCheckHttpInput` via:
GetLoadBalancersLoadBalancerServiceHealthCheckHttpArgs{...}
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Domain ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Domain() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Response ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) Response() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) StatusCodes ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) StatusCodes() pulumi.IntArrayOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput() GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckHttpOutput
type GetLoadBalancersLoadBalancerServiceHealthCheckInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput() GetLoadBalancersLoadBalancerServiceHealthCheckOutput ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckOutput }
GetLoadBalancersLoadBalancerServiceHealthCheckInput is an input type that accepts GetLoadBalancersLoadBalancerServiceHealthCheckArgs and GetLoadBalancersLoadBalancerServiceHealthCheckOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceHealthCheckInput` via:
GetLoadBalancersLoadBalancerServiceHealthCheckArgs{...}
type GetLoadBalancersLoadBalancerServiceHealthCheckOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHealthCheckOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Interval ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Interval() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Port ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Port() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Protocol ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Protocol() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Retries ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Retries() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Timeout ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) Timeout() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutput() GetLoadBalancersLoadBalancerServiceHealthCheckOutput
func (GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHealthCheckOutput) ToGetLoadBalancersLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHealthCheckOutput
type GetLoadBalancersLoadBalancerServiceHttp ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpArgs struct { Certificates pulumi.StringArrayInput `pulumi:"certificates"` CookieLifetime pulumi.IntInput `pulumi:"cookieLifetime"` CookieName pulumi.StringInput `pulumi:"cookieName"` RedirectHttp pulumi.BoolInput `pulumi:"redirectHttp"` StickySessions pulumi.BoolInput `pulumi:"stickySessions"` }
func (GetLoadBalancersLoadBalancerServiceHttpArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHttpArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHttpArgs) ToGetLoadBalancersLoadBalancerServiceHttpOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHttpArgs) ToGetLoadBalancersLoadBalancerServiceHttpOutput() GetLoadBalancersLoadBalancerServiceHttpOutput
func (GetLoadBalancersLoadBalancerServiceHttpArgs) ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHttpArgs) ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpOutput
type GetLoadBalancersLoadBalancerServiceHttpArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpArray []GetLoadBalancersLoadBalancerServiceHttpInput
func (GetLoadBalancersLoadBalancerServiceHttpArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHttpArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHttpArray) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHttpArray) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHttpArrayOutput
func (GetLoadBalancersLoadBalancerServiceHttpArray) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerServiceHttpArray) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpArrayOutput
type GetLoadBalancersLoadBalancerServiceHttpArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHttpArrayOutput ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceHttpArrayOutput }
GetLoadBalancersLoadBalancerServiceHttpArrayInput is an input type that accepts GetLoadBalancersLoadBalancerServiceHttpArray and GetLoadBalancersLoadBalancerServiceHttpArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceHttpArrayInput` via:
GetLoadBalancersLoadBalancerServiceHttpArray{ GetLoadBalancersLoadBalancerServiceHttpArgs{...} }
type GetLoadBalancersLoadBalancerServiceHttpArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutput() GetLoadBalancersLoadBalancerServiceHttpArrayOutput
func (GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpArrayOutput) ToGetLoadBalancersLoadBalancerServiceHttpArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpArrayOutput
type GetLoadBalancersLoadBalancerServiceHttpInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceHttpOutput() GetLoadBalancersLoadBalancerServiceHttpOutput ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceHttpOutput }
GetLoadBalancersLoadBalancerServiceHttpInput is an input type that accepts GetLoadBalancersLoadBalancerServiceHttpArgs and GetLoadBalancersLoadBalancerServiceHttpOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceHttpInput` via:
GetLoadBalancersLoadBalancerServiceHttpArgs{...}
type GetLoadBalancersLoadBalancerServiceHttpOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceHttpOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceHttpOutput) Certificates ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) Certificates() pulumi.StringArrayOutput
func (GetLoadBalancersLoadBalancerServiceHttpOutput) CookieLifetime ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) CookieLifetime() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceHttpOutput) CookieName ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) CookieName() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerServiceHttpOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceHttpOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceHttpOutput) RedirectHttp ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) RedirectHttp() pulumi.BoolOutput
func (GetLoadBalancersLoadBalancerServiceHttpOutput) StickySessions ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) StickySessions() pulumi.BoolOutput
func (GetLoadBalancersLoadBalancerServiceHttpOutput) ToGetLoadBalancersLoadBalancerServiceHttpOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) ToGetLoadBalancersLoadBalancerServiceHttpOutput() GetLoadBalancersLoadBalancerServiceHttpOutput
func (GetLoadBalancersLoadBalancerServiceHttpOutput) ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceHttpOutput) ToGetLoadBalancersLoadBalancerServiceHttpOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceHttpOutput
type GetLoadBalancersLoadBalancerServiceInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerServiceOutput() GetLoadBalancersLoadBalancerServiceOutput ToGetLoadBalancersLoadBalancerServiceOutputWithContext(context.Context) GetLoadBalancersLoadBalancerServiceOutput }
GetLoadBalancersLoadBalancerServiceInput is an input type that accepts GetLoadBalancersLoadBalancerServiceArgs and GetLoadBalancersLoadBalancerServiceOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerServiceInput` via:
GetLoadBalancersLoadBalancerServiceArgs{...}
type GetLoadBalancersLoadBalancerServiceOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerServiceOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerServiceOutput) DestinationPort ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) DestinationPort() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerServiceOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerServiceOutput) HealthChecks ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) HealthChecks() GetLoadBalancersLoadBalancerServiceHealthCheckArrayOutput
func (GetLoadBalancersLoadBalancerServiceOutput) ListenPort ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) ListenPort() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerServiceOutput) Protocol ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) Protocol() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerServiceOutput) Proxyprotocol ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) Proxyprotocol() pulumi.BoolOutput
func (GetLoadBalancersLoadBalancerServiceOutput) ToGetLoadBalancersLoadBalancerServiceOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) ToGetLoadBalancersLoadBalancerServiceOutput() GetLoadBalancersLoadBalancerServiceOutput
func (GetLoadBalancersLoadBalancerServiceOutput) ToGetLoadBalancersLoadBalancerServiceOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerServiceOutput) ToGetLoadBalancersLoadBalancerServiceOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerServiceOutput
type GetLoadBalancersLoadBalancerTarget ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetArgs ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetArgs struct { LabelSelector pulumi.StringInput `pulumi:"labelSelector"` ServerId pulumi.IntInput `pulumi:"serverId"` Type pulumi.StringInput `pulumi:"type"` }
func (GetLoadBalancersLoadBalancerTargetArgs) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerTargetArgs) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerTargetArgs) ToGetLoadBalancersLoadBalancerTargetOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerTargetArgs) ToGetLoadBalancersLoadBalancerTargetOutput() GetLoadBalancersLoadBalancerTargetOutput
func (GetLoadBalancersLoadBalancerTargetArgs) ToGetLoadBalancersLoadBalancerTargetOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerTargetArgs) ToGetLoadBalancersLoadBalancerTargetOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetOutput
type GetLoadBalancersLoadBalancerTargetArray ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetArray []GetLoadBalancersLoadBalancerTargetInput
func (GetLoadBalancersLoadBalancerTargetArray) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerTargetArray) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerTargetArray) ToGetLoadBalancersLoadBalancerTargetArrayOutput ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerTargetArray) ToGetLoadBalancersLoadBalancerTargetArrayOutput() GetLoadBalancersLoadBalancerTargetArrayOutput
func (GetLoadBalancersLoadBalancerTargetArray) ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext ¶ added in v1.5.0
func (i GetLoadBalancersLoadBalancerTargetArray) ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetArrayOutput
type GetLoadBalancersLoadBalancerTargetArrayInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetArrayInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerTargetArrayOutput() GetLoadBalancersLoadBalancerTargetArrayOutput ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext(context.Context) GetLoadBalancersLoadBalancerTargetArrayOutput }
GetLoadBalancersLoadBalancerTargetArrayInput is an input type that accepts GetLoadBalancersLoadBalancerTargetArray and GetLoadBalancersLoadBalancerTargetArrayOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerTargetArrayInput` via:
GetLoadBalancersLoadBalancerTargetArray{ GetLoadBalancersLoadBalancerTargetArgs{...} }
type GetLoadBalancersLoadBalancerTargetArrayOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerTargetArrayOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerTargetArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerTargetArrayOutput) ToGetLoadBalancersLoadBalancerTargetArrayOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetArrayOutput) ToGetLoadBalancersLoadBalancerTargetArrayOutput() GetLoadBalancersLoadBalancerTargetArrayOutput
func (GetLoadBalancersLoadBalancerTargetArrayOutput) ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetArrayOutput) ToGetLoadBalancersLoadBalancerTargetArrayOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetArrayOutput
type GetLoadBalancersLoadBalancerTargetInput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetInput interface { pulumi.Input ToGetLoadBalancersLoadBalancerTargetOutput() GetLoadBalancersLoadBalancerTargetOutput ToGetLoadBalancersLoadBalancerTargetOutputWithContext(context.Context) GetLoadBalancersLoadBalancerTargetOutput }
GetLoadBalancersLoadBalancerTargetInput is an input type that accepts GetLoadBalancersLoadBalancerTargetArgs and GetLoadBalancersLoadBalancerTargetOutput values. You can construct a concrete instance of `GetLoadBalancersLoadBalancerTargetInput` via:
GetLoadBalancersLoadBalancerTargetArgs{...}
type GetLoadBalancersLoadBalancerTargetOutput ¶ added in v1.5.0
type GetLoadBalancersLoadBalancerTargetOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersLoadBalancerTargetOutput) ElementType ¶ added in v1.5.0
func (GetLoadBalancersLoadBalancerTargetOutput) ElementType() reflect.Type
func (GetLoadBalancersLoadBalancerTargetOutput) LabelSelector ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetOutput) LabelSelector() pulumi.StringOutput
func (GetLoadBalancersLoadBalancerTargetOutput) ServerId ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetOutput) ServerId() pulumi.IntOutput
func (GetLoadBalancersLoadBalancerTargetOutput) ToGetLoadBalancersLoadBalancerTargetOutput ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetOutput) ToGetLoadBalancersLoadBalancerTargetOutput() GetLoadBalancersLoadBalancerTargetOutput
func (GetLoadBalancersLoadBalancerTargetOutput) ToGetLoadBalancersLoadBalancerTargetOutputWithContext ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetOutput) ToGetLoadBalancersLoadBalancerTargetOutputWithContext(ctx context.Context) GetLoadBalancersLoadBalancerTargetOutput
func (GetLoadBalancersLoadBalancerTargetOutput) Type ¶ added in v1.5.0
func (o GetLoadBalancersLoadBalancerTargetOutput) Type() pulumi.StringOutput
type GetLoadBalancersOutputArgs ¶ added in v1.6.0
type GetLoadBalancersOutputArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getLoadBalancers.
func (GetLoadBalancersOutputArgs) ElementType ¶ added in v1.6.0
func (GetLoadBalancersOutputArgs) ElementType() reflect.Type
type GetLoadBalancersResult ¶ added in v1.5.0
type GetLoadBalancersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (list) List of all matching load balancers. See `data.hcloud_load_balancer` for schema. LoadBalancers []GetLoadBalancersLoadBalancer `pulumi:"loadBalancers"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getLoadBalancers.
func GetLoadBalancers ¶ added in v1.5.0
func GetLoadBalancers(ctx *pulumi.Context, args *GetLoadBalancersArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancersResult, error)
Provides details about multiple Hetzner Cloud Load Balancers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetLoadBalancers(ctx, &hcloud.GetLoadBalancersArgs{}, nil) if err != nil { return err } _, err = hcloud.GetLoadBalancers(ctx, &hcloud.GetLoadBalancersArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetLoadBalancersResultOutput ¶ added in v1.6.0
type GetLoadBalancersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancers.
func GetLoadBalancersOutput ¶ added in v1.6.0
func GetLoadBalancersOutput(ctx *pulumi.Context, args GetLoadBalancersOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancersResultOutput
func (GetLoadBalancersResultOutput) ElementType ¶ added in v1.6.0
func (GetLoadBalancersResultOutput) ElementType() reflect.Type
func (GetLoadBalancersResultOutput) Id ¶ added in v1.6.0
func (o GetLoadBalancersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLoadBalancersResultOutput) LoadBalancers ¶ added in v1.6.0
func (o GetLoadBalancersResultOutput) LoadBalancers() GetLoadBalancersLoadBalancerArrayOutput
(list) List of all matching load balancers. See `data.hcloud_load_balancer` for schema.
func (GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput ¶ added in v1.6.0
func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput() GetLoadBalancersResultOutput
func (GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext ¶ added in v1.6.0
func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext(ctx context.Context) GetLoadBalancersResultOutput
func (GetLoadBalancersResultOutput) WithSelector ¶ added in v1.6.0
func (o GetLoadBalancersResultOutput) WithSelector() pulumi.StringPtrOutput
type GetLocationArgs ¶
type GetLocationArgs struct { // ID of the Location. Id *int `pulumi:"id"` // Name of the Location. Name *string `pulumi:"name"` }
A collection of arguments for invoking getLocation.
type GetLocationOutputArgs ¶ added in v1.6.0
type GetLocationOutputArgs struct { // ID of the Location. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the Location. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getLocation.
func (GetLocationOutputArgs) ElementType ¶ added in v1.6.0
func (GetLocationOutputArgs) ElementType() reflect.Type
type GetLocationResult ¶
type GetLocationResult struct { // Name of the closest city to the Location. City name and optionally state in short form. City string `pulumi:"city"` // Country the Location resides in. ISO 3166-1 alpha-2 code of the country. Country string `pulumi:"country"` // Description of the Location. Description string `pulumi:"description"` // ID of the Location. Id *int `pulumi:"id"` // Latitude of the city closest to the Location. Latitude float64 `pulumi:"latitude"` // Longitude of the city closest to the Location. Longitude float64 `pulumi:"longitude"` // Name of the Location. Name *string `pulumi:"name"` // Name of the Network Zone this Location resides in. NetworkZone string `pulumi:"networkZone"` }
A collection of values returned by getLocation.
func GetLocation ¶
func GetLocation(ctx *pulumi.Context, args *GetLocationArgs, opts ...pulumi.InvokeOption) (*GetLocationResult, error)
Provides details about a specific Hetzner Cloud Location.
Use this resource to get detailed information about a specific Location.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetLocation(ctx, &hcloud.GetLocationArgs{ Id: pulumi.IntRef(1), }, nil) if err != nil { return err } _, err = hcloud.GetLocation(ctx, &hcloud.GetLocationArgs{ Name: pulumi.StringRef("fsn1"), }, nil) if err != nil { return err } return nil }) }
```
type GetLocationResultOutput ¶ added in v1.6.0
type GetLocationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocation.
func GetLocationOutput ¶ added in v1.6.0
func GetLocationOutput(ctx *pulumi.Context, args GetLocationOutputArgs, opts ...pulumi.InvokeOption) GetLocationResultOutput
func (GetLocationResultOutput) City ¶ added in v1.6.0
func (o GetLocationResultOutput) City() pulumi.StringOutput
Name of the closest city to the Location. City name and optionally state in short form.
func (GetLocationResultOutput) Country ¶ added in v1.6.0
func (o GetLocationResultOutput) Country() pulumi.StringOutput
Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
func (GetLocationResultOutput) Description ¶ added in v1.6.0
func (o GetLocationResultOutput) Description() pulumi.StringOutput
Description of the Location.
func (GetLocationResultOutput) ElementType ¶ added in v1.6.0
func (GetLocationResultOutput) ElementType() reflect.Type
func (GetLocationResultOutput) Id ¶ added in v1.6.0
func (o GetLocationResultOutput) Id() pulumi.IntPtrOutput
ID of the Location.
func (GetLocationResultOutput) Latitude ¶ added in v1.6.0
func (o GetLocationResultOutput) Latitude() pulumi.Float64Output
Latitude of the city closest to the Location.
func (GetLocationResultOutput) Longitude ¶ added in v1.6.0
func (o GetLocationResultOutput) Longitude() pulumi.Float64Output
Longitude of the city closest to the Location.
func (GetLocationResultOutput) Name ¶ added in v1.6.0
func (o GetLocationResultOutput) Name() pulumi.StringPtrOutput
Name of the Location.
func (GetLocationResultOutput) NetworkZone ¶ added in v1.8.0
func (o GetLocationResultOutput) NetworkZone() pulumi.StringOutput
Name of the Network Zone this Location resides in.
func (GetLocationResultOutput) ToGetLocationResultOutput ¶ added in v1.6.0
func (o GetLocationResultOutput) ToGetLocationResultOutput() GetLocationResultOutput
func (GetLocationResultOutput) ToGetLocationResultOutputWithContext ¶ added in v1.6.0
func (o GetLocationResultOutput) ToGetLocationResultOutputWithContext(ctx context.Context) GetLocationResultOutput
type GetLocationsLocation ¶ added in v1.5.0
type GetLocationsLocation struct { // Name of the closest city to the Location. City name and optionally state in short form. City string `pulumi:"city"` // Country the Location resides in. ISO 3166-1 alpha-2 code of the country. Country string `pulumi:"country"` // Description of the Location. Description string `pulumi:"description"` // ID of the Location. Id int `pulumi:"id"` // Latitude of the city closest to the Location. Latitude float64 `pulumi:"latitude"` // Longitude of the city closest to the Location. Longitude float64 `pulumi:"longitude"` // Name of the Location. Name string `pulumi:"name"` // Name of the Network Zone this Location resides in. NetworkZone string `pulumi:"networkZone"` }
type GetLocationsLocationArgs ¶ added in v1.5.0
type GetLocationsLocationArgs struct { // Name of the closest city to the Location. City name and optionally state in short form. City pulumi.StringInput `pulumi:"city"` // Country the Location resides in. ISO 3166-1 alpha-2 code of the country. Country pulumi.StringInput `pulumi:"country"` // Description of the Location. Description pulumi.StringInput `pulumi:"description"` // ID of the Location. Id pulumi.IntInput `pulumi:"id"` // Latitude of the city closest to the Location. Latitude pulumi.Float64Input `pulumi:"latitude"` // Longitude of the city closest to the Location. Longitude pulumi.Float64Input `pulumi:"longitude"` // Name of the Location. Name pulumi.StringInput `pulumi:"name"` // Name of the Network Zone this Location resides in. NetworkZone pulumi.StringInput `pulumi:"networkZone"` }
func (GetLocationsLocationArgs) ElementType ¶ added in v1.5.0
func (GetLocationsLocationArgs) ElementType() reflect.Type
func (GetLocationsLocationArgs) ToGetLocationsLocationOutput ¶ added in v1.5.0
func (i GetLocationsLocationArgs) ToGetLocationsLocationOutput() GetLocationsLocationOutput
func (GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext ¶ added in v1.5.0
func (i GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput
type GetLocationsLocationArray ¶ added in v1.5.0
type GetLocationsLocationArray []GetLocationsLocationInput
func (GetLocationsLocationArray) ElementType ¶ added in v1.5.0
func (GetLocationsLocationArray) ElementType() reflect.Type
func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutput ¶ added in v1.5.0
func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext ¶ added in v1.5.0
func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput
type GetLocationsLocationArrayInput ¶ added in v1.5.0
type GetLocationsLocationArrayInput interface { pulumi.Input ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput ToGetLocationsLocationArrayOutputWithContext(context.Context) GetLocationsLocationArrayOutput }
GetLocationsLocationArrayInput is an input type that accepts GetLocationsLocationArray and GetLocationsLocationArrayOutput values. You can construct a concrete instance of `GetLocationsLocationArrayInput` via:
GetLocationsLocationArray{ GetLocationsLocationArgs{...} }
type GetLocationsLocationArrayOutput ¶ added in v1.5.0
type GetLocationsLocationArrayOutput struct{ *pulumi.OutputState }
func (GetLocationsLocationArrayOutput) ElementType ¶ added in v1.5.0
func (GetLocationsLocationArrayOutput) ElementType() reflect.Type
func (GetLocationsLocationArrayOutput) Index ¶ added in v1.5.0
func (o GetLocationsLocationArrayOutput) Index(i pulumi.IntInput) GetLocationsLocationOutput
func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput ¶ added in v1.5.0
func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext ¶ added in v1.5.0
func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput
type GetLocationsLocationInput ¶ added in v1.5.0
type GetLocationsLocationInput interface { pulumi.Input ToGetLocationsLocationOutput() GetLocationsLocationOutput ToGetLocationsLocationOutputWithContext(context.Context) GetLocationsLocationOutput }
GetLocationsLocationInput is an input type that accepts GetLocationsLocationArgs and GetLocationsLocationOutput values. You can construct a concrete instance of `GetLocationsLocationInput` via:
GetLocationsLocationArgs{...}
type GetLocationsLocationOutput ¶ added in v1.5.0
type GetLocationsLocationOutput struct{ *pulumi.OutputState }
func (GetLocationsLocationOutput) City ¶ added in v1.5.0
func (o GetLocationsLocationOutput) City() pulumi.StringOutput
Name of the closest city to the Location. City name and optionally state in short form.
func (GetLocationsLocationOutput) Country ¶ added in v1.5.0
func (o GetLocationsLocationOutput) Country() pulumi.StringOutput
Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
func (GetLocationsLocationOutput) Description ¶ added in v1.5.0
func (o GetLocationsLocationOutput) Description() pulumi.StringOutput
Description of the Location.
func (GetLocationsLocationOutput) ElementType ¶ added in v1.5.0
func (GetLocationsLocationOutput) ElementType() reflect.Type
func (GetLocationsLocationOutput) Id ¶ added in v1.5.0
func (o GetLocationsLocationOutput) Id() pulumi.IntOutput
ID of the Location.
func (GetLocationsLocationOutput) Latitude ¶ added in v1.5.0
func (o GetLocationsLocationOutput) Latitude() pulumi.Float64Output
Latitude of the city closest to the Location.
func (GetLocationsLocationOutput) Longitude ¶ added in v1.5.0
func (o GetLocationsLocationOutput) Longitude() pulumi.Float64Output
Longitude of the city closest to the Location.
func (GetLocationsLocationOutput) Name ¶ added in v1.5.0
func (o GetLocationsLocationOutput) Name() pulumi.StringOutput
Name of the Location.
func (GetLocationsLocationOutput) NetworkZone ¶ added in v1.8.0
func (o GetLocationsLocationOutput) NetworkZone() pulumi.StringOutput
Name of the Network Zone this Location resides in.
func (GetLocationsLocationOutput) ToGetLocationsLocationOutput ¶ added in v1.5.0
func (o GetLocationsLocationOutput) ToGetLocationsLocationOutput() GetLocationsLocationOutput
func (GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext ¶ added in v1.5.0
func (o GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput
type GetLocationsResult ¶
type GetLocationsResult struct { // Deprecated: Use locations list instead Descriptions []string `pulumi:"descriptions"` // The ID of this resource. Id string `pulumi:"id"` // Deprecated: Use locations list instead LocationIds []string `pulumi:"locationIds"` Locations []GetLocationsLocation `pulumi:"locations"` // Deprecated: Use locations list instead Names []string `pulumi:"names"` }
A collection of values returned by getLocations.
func GetLocations ¶
func GetLocations(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetLocationsResult, error)
Provides a list of available Hetzner Cloud Locations.
This resource may be useful to create highly available infrastructure, distributed across several locations.
type GetLocationsResultOutput ¶ added in v1.6.0
type GetLocationsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocations.
func GetLocationsOutput ¶ added in v1.6.0
func GetLocationsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetLocationsResultOutput
func (GetLocationsResultOutput) Descriptions
deprecated
added in
v1.6.0
func (o GetLocationsResultOutput) Descriptions() pulumi.StringArrayOutput
Deprecated: Use locations list instead
func (GetLocationsResultOutput) ElementType ¶ added in v1.6.0
func (GetLocationsResultOutput) ElementType() reflect.Type
func (GetLocationsResultOutput) Id ¶ added in v1.6.0
func (o GetLocationsResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetLocationsResultOutput) LocationIds
deprecated
added in
v1.6.0
func (o GetLocationsResultOutput) LocationIds() pulumi.StringArrayOutput
Deprecated: Use locations list instead
func (GetLocationsResultOutput) Locations ¶ added in v1.6.0
func (o GetLocationsResultOutput) Locations() GetLocationsLocationArrayOutput
func (GetLocationsResultOutput) Names
deprecated
added in
v1.6.0
func (o GetLocationsResultOutput) Names() pulumi.StringArrayOutput
Deprecated: Use locations list instead
func (GetLocationsResultOutput) ToGetLocationsResultOutput ¶ added in v1.6.0
func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput
func (GetLocationsResultOutput) ToGetLocationsResultOutputWithContext ¶ added in v1.6.0
func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput
type GetNetworksArgs ¶ added in v1.5.0
type GetNetworksArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getNetworks.
type GetNetworksNetwork ¶ added in v1.5.0
type GetNetworksNetwork struct { DeleteProtection bool `pulumi:"deleteProtection"` // Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active. ExposeRoutesToVswitch bool `pulumi:"exposeRoutesToVswitch"` Id int `pulumi:"id"` IpRange string `pulumi:"ipRange"` Labels map[string]string `pulumi:"labels"` Name string `pulumi:"name"` }
type GetNetworksNetworkArgs ¶ added in v1.5.0
type GetNetworksNetworkArgs struct { DeleteProtection pulumi.BoolInput `pulumi:"deleteProtection"` // Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active. ExposeRoutesToVswitch pulumi.BoolInput `pulumi:"exposeRoutesToVswitch"` Id pulumi.IntInput `pulumi:"id"` IpRange pulumi.StringInput `pulumi:"ipRange"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringInput `pulumi:"name"` }
func (GetNetworksNetworkArgs) ElementType ¶ added in v1.5.0
func (GetNetworksNetworkArgs) ElementType() reflect.Type
func (GetNetworksNetworkArgs) ToGetNetworksNetworkOutput ¶ added in v1.5.0
func (i GetNetworksNetworkArgs) ToGetNetworksNetworkOutput() GetNetworksNetworkOutput
func (GetNetworksNetworkArgs) ToGetNetworksNetworkOutputWithContext ¶ added in v1.5.0
func (i GetNetworksNetworkArgs) ToGetNetworksNetworkOutputWithContext(ctx context.Context) GetNetworksNetworkOutput
type GetNetworksNetworkArray ¶ added in v1.5.0
type GetNetworksNetworkArray []GetNetworksNetworkInput
func (GetNetworksNetworkArray) ElementType ¶ added in v1.5.0
func (GetNetworksNetworkArray) ElementType() reflect.Type
func (GetNetworksNetworkArray) ToGetNetworksNetworkArrayOutput ¶ added in v1.5.0
func (i GetNetworksNetworkArray) ToGetNetworksNetworkArrayOutput() GetNetworksNetworkArrayOutput
func (GetNetworksNetworkArray) ToGetNetworksNetworkArrayOutputWithContext ¶ added in v1.5.0
func (i GetNetworksNetworkArray) ToGetNetworksNetworkArrayOutputWithContext(ctx context.Context) GetNetworksNetworkArrayOutput
type GetNetworksNetworkArrayInput ¶ added in v1.5.0
type GetNetworksNetworkArrayInput interface { pulumi.Input ToGetNetworksNetworkArrayOutput() GetNetworksNetworkArrayOutput ToGetNetworksNetworkArrayOutputWithContext(context.Context) GetNetworksNetworkArrayOutput }
GetNetworksNetworkArrayInput is an input type that accepts GetNetworksNetworkArray and GetNetworksNetworkArrayOutput values. You can construct a concrete instance of `GetNetworksNetworkArrayInput` via:
GetNetworksNetworkArray{ GetNetworksNetworkArgs{...} }
type GetNetworksNetworkArrayOutput ¶ added in v1.5.0
type GetNetworksNetworkArrayOutput struct{ *pulumi.OutputState }
func (GetNetworksNetworkArrayOutput) ElementType ¶ added in v1.5.0
func (GetNetworksNetworkArrayOutput) ElementType() reflect.Type
func (GetNetworksNetworkArrayOutput) Index ¶ added in v1.5.0
func (o GetNetworksNetworkArrayOutput) Index(i pulumi.IntInput) GetNetworksNetworkOutput
func (GetNetworksNetworkArrayOutput) ToGetNetworksNetworkArrayOutput ¶ added in v1.5.0
func (o GetNetworksNetworkArrayOutput) ToGetNetworksNetworkArrayOutput() GetNetworksNetworkArrayOutput
func (GetNetworksNetworkArrayOutput) ToGetNetworksNetworkArrayOutputWithContext ¶ added in v1.5.0
func (o GetNetworksNetworkArrayOutput) ToGetNetworksNetworkArrayOutputWithContext(ctx context.Context) GetNetworksNetworkArrayOutput
type GetNetworksNetworkInput ¶ added in v1.5.0
type GetNetworksNetworkInput interface { pulumi.Input ToGetNetworksNetworkOutput() GetNetworksNetworkOutput ToGetNetworksNetworkOutputWithContext(context.Context) GetNetworksNetworkOutput }
GetNetworksNetworkInput is an input type that accepts GetNetworksNetworkArgs and GetNetworksNetworkOutput values. You can construct a concrete instance of `GetNetworksNetworkInput` via:
GetNetworksNetworkArgs{...}
type GetNetworksNetworkOutput ¶ added in v1.5.0
type GetNetworksNetworkOutput struct{ *pulumi.OutputState }
func (GetNetworksNetworkOutput) DeleteProtection ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) DeleteProtection() pulumi.BoolOutput
func (GetNetworksNetworkOutput) ElementType ¶ added in v1.5.0
func (GetNetworksNetworkOutput) ElementType() reflect.Type
func (GetNetworksNetworkOutput) ExposeRoutesToVswitch ¶ added in v1.13.0
func (o GetNetworksNetworkOutput) ExposeRoutesToVswitch() pulumi.BoolOutput
Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
func (GetNetworksNetworkOutput) Id ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) Id() pulumi.IntOutput
func (GetNetworksNetworkOutput) IpRange ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) IpRange() pulumi.StringOutput
func (GetNetworksNetworkOutput) Labels ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) Labels() pulumi.StringMapOutput
func (GetNetworksNetworkOutput) Name ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) Name() pulumi.StringOutput
func (GetNetworksNetworkOutput) ToGetNetworksNetworkOutput ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) ToGetNetworksNetworkOutput() GetNetworksNetworkOutput
func (GetNetworksNetworkOutput) ToGetNetworksNetworkOutputWithContext ¶ added in v1.5.0
func (o GetNetworksNetworkOutput) ToGetNetworksNetworkOutputWithContext(ctx context.Context) GetNetworksNetworkOutput
type GetNetworksOutputArgs ¶ added in v1.6.0
type GetNetworksOutputArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getNetworks.
func (GetNetworksOutputArgs) ElementType ¶ added in v1.6.0
func (GetNetworksOutputArgs) ElementType() reflect.Type
type GetNetworksResult ¶ added in v1.5.0
type GetNetworksResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (list) List of all matching networks. See `data.hcloud_network` for schema. Networks []GetNetworksNetwork `pulumi:"networks"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getNetworks.
func GetNetworks ¶ added in v1.5.0
func GetNetworks(ctx *pulumi.Context, args *GetNetworksArgs, opts ...pulumi.InvokeOption) (*GetNetworksResult, error)
Provides details about multiple Hetzner Cloud Networks.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupNetwork(ctx, &hcloud.LookupNetworkArgs{}, nil) if err != nil { return err } _, err = hcloud.LookupNetwork(ctx, &hcloud.LookupNetworkArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetNetworksResultOutput ¶ added in v1.6.0
type GetNetworksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetworks.
func GetNetworksOutput ¶ added in v1.6.0
func GetNetworksOutput(ctx *pulumi.Context, args GetNetworksOutputArgs, opts ...pulumi.InvokeOption) GetNetworksResultOutput
func (GetNetworksResultOutput) ElementType ¶ added in v1.6.0
func (GetNetworksResultOutput) ElementType() reflect.Type
func (GetNetworksResultOutput) Id ¶ added in v1.6.0
func (o GetNetworksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNetworksResultOutput) Networks ¶ added in v1.6.0
func (o GetNetworksResultOutput) Networks() GetNetworksNetworkArrayOutput
(list) List of all matching networks. See `data.hcloud_network` for schema.
func (GetNetworksResultOutput) ToGetNetworksResultOutput ¶ added in v1.6.0
func (o GetNetworksResultOutput) ToGetNetworksResultOutput() GetNetworksResultOutput
func (GetNetworksResultOutput) ToGetNetworksResultOutputWithContext ¶ added in v1.6.0
func (o GetNetworksResultOutput) ToGetNetworksResultOutputWithContext(ctx context.Context) GetNetworksResultOutput
func (GetNetworksResultOutput) WithSelector ¶ added in v1.6.0
func (o GetNetworksResultOutput) WithSelector() pulumi.StringPtrOutput
type GetPlacementGroupsArgs ¶ added in v1.5.0
type GetPlacementGroupsArgs struct { // Sorts list by date. MostRecent *bool `pulumi:"mostRecent"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getPlacementGroups.
type GetPlacementGroupsOutputArgs ¶ added in v1.6.0
type GetPlacementGroupsOutputArgs struct { // Sorts list by date. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getPlacementGroups.
func (GetPlacementGroupsOutputArgs) ElementType ¶ added in v1.6.0
func (GetPlacementGroupsOutputArgs) ElementType() reflect.Type
type GetPlacementGroupsPlacementGroup ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupArgs ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupArgs struct { Id pulumi.IntInput `pulumi:"id"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringInput `pulumi:"name"` Servers pulumi.IntArrayInput `pulumi:"servers"` Type pulumi.StringInput `pulumi:"type"` }
func (GetPlacementGroupsPlacementGroupArgs) ElementType ¶ added in v1.5.0
func (GetPlacementGroupsPlacementGroupArgs) ElementType() reflect.Type
func (GetPlacementGroupsPlacementGroupArgs) ToGetPlacementGroupsPlacementGroupOutput ¶ added in v1.5.0
func (i GetPlacementGroupsPlacementGroupArgs) ToGetPlacementGroupsPlacementGroupOutput() GetPlacementGroupsPlacementGroupOutput
func (GetPlacementGroupsPlacementGroupArgs) ToGetPlacementGroupsPlacementGroupOutputWithContext ¶ added in v1.5.0
func (i GetPlacementGroupsPlacementGroupArgs) ToGetPlacementGroupsPlacementGroupOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupOutput
type GetPlacementGroupsPlacementGroupArray ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupArray []GetPlacementGroupsPlacementGroupInput
func (GetPlacementGroupsPlacementGroupArray) ElementType ¶ added in v1.5.0
func (GetPlacementGroupsPlacementGroupArray) ElementType() reflect.Type
func (GetPlacementGroupsPlacementGroupArray) ToGetPlacementGroupsPlacementGroupArrayOutput ¶ added in v1.5.0
func (i GetPlacementGroupsPlacementGroupArray) ToGetPlacementGroupsPlacementGroupArrayOutput() GetPlacementGroupsPlacementGroupArrayOutput
func (GetPlacementGroupsPlacementGroupArray) ToGetPlacementGroupsPlacementGroupArrayOutputWithContext ¶ added in v1.5.0
func (i GetPlacementGroupsPlacementGroupArray) ToGetPlacementGroupsPlacementGroupArrayOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupArrayOutput
type GetPlacementGroupsPlacementGroupArrayInput ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupArrayInput interface { pulumi.Input ToGetPlacementGroupsPlacementGroupArrayOutput() GetPlacementGroupsPlacementGroupArrayOutput ToGetPlacementGroupsPlacementGroupArrayOutputWithContext(context.Context) GetPlacementGroupsPlacementGroupArrayOutput }
GetPlacementGroupsPlacementGroupArrayInput is an input type that accepts GetPlacementGroupsPlacementGroupArray and GetPlacementGroupsPlacementGroupArrayOutput values. You can construct a concrete instance of `GetPlacementGroupsPlacementGroupArrayInput` via:
GetPlacementGroupsPlacementGroupArray{ GetPlacementGroupsPlacementGroupArgs{...} }
type GetPlacementGroupsPlacementGroupArrayOutput ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupArrayOutput struct{ *pulumi.OutputState }
func (GetPlacementGroupsPlacementGroupArrayOutput) ElementType ¶ added in v1.5.0
func (GetPlacementGroupsPlacementGroupArrayOutput) ElementType() reflect.Type
func (GetPlacementGroupsPlacementGroupArrayOutput) ToGetPlacementGroupsPlacementGroupArrayOutput ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupArrayOutput) ToGetPlacementGroupsPlacementGroupArrayOutput() GetPlacementGroupsPlacementGroupArrayOutput
func (GetPlacementGroupsPlacementGroupArrayOutput) ToGetPlacementGroupsPlacementGroupArrayOutputWithContext ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupArrayOutput) ToGetPlacementGroupsPlacementGroupArrayOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupArrayOutput
type GetPlacementGroupsPlacementGroupInput ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupInput interface { pulumi.Input ToGetPlacementGroupsPlacementGroupOutput() GetPlacementGroupsPlacementGroupOutput ToGetPlacementGroupsPlacementGroupOutputWithContext(context.Context) GetPlacementGroupsPlacementGroupOutput }
GetPlacementGroupsPlacementGroupInput is an input type that accepts GetPlacementGroupsPlacementGroupArgs and GetPlacementGroupsPlacementGroupOutput values. You can construct a concrete instance of `GetPlacementGroupsPlacementGroupInput` via:
GetPlacementGroupsPlacementGroupArgs{...}
type GetPlacementGroupsPlacementGroupOutput ¶ added in v1.5.0
type GetPlacementGroupsPlacementGroupOutput struct{ *pulumi.OutputState }
func (GetPlacementGroupsPlacementGroupOutput) ElementType ¶ added in v1.5.0
func (GetPlacementGroupsPlacementGroupOutput) ElementType() reflect.Type
func (GetPlacementGroupsPlacementGroupOutput) Id ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) Id() pulumi.IntOutput
func (GetPlacementGroupsPlacementGroupOutput) Labels ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) Labels() pulumi.StringMapOutput
func (GetPlacementGroupsPlacementGroupOutput) Name ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) Name() pulumi.StringOutput
func (GetPlacementGroupsPlacementGroupOutput) Servers ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) Servers() pulumi.IntArrayOutput
func (GetPlacementGroupsPlacementGroupOutput) ToGetPlacementGroupsPlacementGroupOutput ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) ToGetPlacementGroupsPlacementGroupOutput() GetPlacementGroupsPlacementGroupOutput
func (GetPlacementGroupsPlacementGroupOutput) ToGetPlacementGroupsPlacementGroupOutputWithContext ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) ToGetPlacementGroupsPlacementGroupOutputWithContext(ctx context.Context) GetPlacementGroupsPlacementGroupOutput
func (GetPlacementGroupsPlacementGroupOutput) Type ¶ added in v1.5.0
func (o GetPlacementGroupsPlacementGroupOutput) Type() pulumi.StringOutput
type GetPlacementGroupsResult ¶ added in v1.5.0
type GetPlacementGroupsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` MostRecent *bool `pulumi:"mostRecent"` // (list) List of all matching placement groups. See `data.hcloud_placement_group` for schema. PlacementGroups []GetPlacementGroupsPlacementGroup `pulumi:"placementGroups"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getPlacementGroups.
func GetPlacementGroups ¶ added in v1.5.0
func GetPlacementGroups(ctx *pulumi.Context, args *GetPlacementGroupsArgs, opts ...pulumi.InvokeOption) (*GetPlacementGroupsResult, error)
Provides details about multiple Hetzner Cloud Placement Groups.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetPlacementGroups(ctx, &hcloud.GetPlacementGroupsArgs{}, nil) if err != nil { return err } _, err = hcloud.GetPlacementGroups(ctx, &hcloud.GetPlacementGroupsArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetPlacementGroupsResultOutput ¶ added in v1.6.0
type GetPlacementGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPlacementGroups.
func GetPlacementGroupsOutput ¶ added in v1.6.0
func GetPlacementGroupsOutput(ctx *pulumi.Context, args GetPlacementGroupsOutputArgs, opts ...pulumi.InvokeOption) GetPlacementGroupsResultOutput
func (GetPlacementGroupsResultOutput) ElementType ¶ added in v1.6.0
func (GetPlacementGroupsResultOutput) ElementType() reflect.Type
func (GetPlacementGroupsResultOutput) Id ¶ added in v1.6.0
func (o GetPlacementGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPlacementGroupsResultOutput) MostRecent ¶ added in v1.6.0
func (o GetPlacementGroupsResultOutput) MostRecent() pulumi.BoolPtrOutput
func (GetPlacementGroupsResultOutput) PlacementGroups ¶ added in v1.6.0
func (o GetPlacementGroupsResultOutput) PlacementGroups() GetPlacementGroupsPlacementGroupArrayOutput
(list) List of all matching placement groups. See `data.hcloud_placement_group` for schema.
func (GetPlacementGroupsResultOutput) ToGetPlacementGroupsResultOutput ¶ added in v1.6.0
func (o GetPlacementGroupsResultOutput) ToGetPlacementGroupsResultOutput() GetPlacementGroupsResultOutput
func (GetPlacementGroupsResultOutput) ToGetPlacementGroupsResultOutputWithContext ¶ added in v1.6.0
func (o GetPlacementGroupsResultOutput) ToGetPlacementGroupsResultOutputWithContext(ctx context.Context) GetPlacementGroupsResultOutput
func (GetPlacementGroupsResultOutput) WithSelector ¶ added in v1.6.0
func (o GetPlacementGroupsResultOutput) WithSelector() pulumi.StringPtrOutput
type GetPrimaryIpsArgs ¶ added in v1.9.0
type GetPrimaryIpsArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getPrimaryIps.
type GetPrimaryIpsOutputArgs ¶ added in v1.9.0
type GetPrimaryIpsOutputArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getPrimaryIps.
func (GetPrimaryIpsOutputArgs) ElementType ¶ added in v1.9.0
func (GetPrimaryIpsOutputArgs) ElementType() reflect.Type
type GetPrimaryIpsPrimaryIp ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIp struct { AssigneeId int `pulumi:"assigneeId"` AssigneeType string `pulumi:"assigneeType"` AutoDelete bool `pulumi:"autoDelete"` Datacenter string `pulumi:"datacenter"` DeleteProtection bool `pulumi:"deleteProtection"` Id int `pulumi:"id"` IpAddress string `pulumi:"ipAddress"` IpNetwork string `pulumi:"ipNetwork"` Labels map[string]string `pulumi:"labels"` Name *string `pulumi:"name"` Type string `pulumi:"type"` }
type GetPrimaryIpsPrimaryIpArgs ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIpArgs struct { AssigneeId pulumi.IntInput `pulumi:"assigneeId"` AssigneeType pulumi.StringInput `pulumi:"assigneeType"` AutoDelete pulumi.BoolInput `pulumi:"autoDelete"` Datacenter pulumi.StringInput `pulumi:"datacenter"` DeleteProtection pulumi.BoolInput `pulumi:"deleteProtection"` Id pulumi.IntInput `pulumi:"id"` IpAddress pulumi.StringInput `pulumi:"ipAddress"` IpNetwork pulumi.StringInput `pulumi:"ipNetwork"` Labels pulumi.StringMapInput `pulumi:"labels"` Name pulumi.StringPtrInput `pulumi:"name"` Type pulumi.StringInput `pulumi:"type"` }
func (GetPrimaryIpsPrimaryIpArgs) ElementType ¶ added in v1.9.0
func (GetPrimaryIpsPrimaryIpArgs) ElementType() reflect.Type
func (GetPrimaryIpsPrimaryIpArgs) ToGetPrimaryIpsPrimaryIpOutput ¶ added in v1.9.0
func (i GetPrimaryIpsPrimaryIpArgs) ToGetPrimaryIpsPrimaryIpOutput() GetPrimaryIpsPrimaryIpOutput
func (GetPrimaryIpsPrimaryIpArgs) ToGetPrimaryIpsPrimaryIpOutputWithContext ¶ added in v1.9.0
func (i GetPrimaryIpsPrimaryIpArgs) ToGetPrimaryIpsPrimaryIpOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpOutput
type GetPrimaryIpsPrimaryIpArray ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIpArray []GetPrimaryIpsPrimaryIpInput
func (GetPrimaryIpsPrimaryIpArray) ElementType ¶ added in v1.9.0
func (GetPrimaryIpsPrimaryIpArray) ElementType() reflect.Type
func (GetPrimaryIpsPrimaryIpArray) ToGetPrimaryIpsPrimaryIpArrayOutput ¶ added in v1.9.0
func (i GetPrimaryIpsPrimaryIpArray) ToGetPrimaryIpsPrimaryIpArrayOutput() GetPrimaryIpsPrimaryIpArrayOutput
func (GetPrimaryIpsPrimaryIpArray) ToGetPrimaryIpsPrimaryIpArrayOutputWithContext ¶ added in v1.9.0
func (i GetPrimaryIpsPrimaryIpArray) ToGetPrimaryIpsPrimaryIpArrayOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpArrayOutput
type GetPrimaryIpsPrimaryIpArrayInput ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIpArrayInput interface { pulumi.Input ToGetPrimaryIpsPrimaryIpArrayOutput() GetPrimaryIpsPrimaryIpArrayOutput ToGetPrimaryIpsPrimaryIpArrayOutputWithContext(context.Context) GetPrimaryIpsPrimaryIpArrayOutput }
GetPrimaryIpsPrimaryIpArrayInput is an input type that accepts GetPrimaryIpsPrimaryIpArray and GetPrimaryIpsPrimaryIpArrayOutput values. You can construct a concrete instance of `GetPrimaryIpsPrimaryIpArrayInput` via:
GetPrimaryIpsPrimaryIpArray{ GetPrimaryIpsPrimaryIpArgs{...} }
type GetPrimaryIpsPrimaryIpArrayOutput ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIpArrayOutput struct{ *pulumi.OutputState }
func (GetPrimaryIpsPrimaryIpArrayOutput) ElementType ¶ added in v1.9.0
func (GetPrimaryIpsPrimaryIpArrayOutput) ElementType() reflect.Type
func (GetPrimaryIpsPrimaryIpArrayOutput) Index ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpArrayOutput) Index(i pulumi.IntInput) GetPrimaryIpsPrimaryIpOutput
func (GetPrimaryIpsPrimaryIpArrayOutput) ToGetPrimaryIpsPrimaryIpArrayOutput ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpArrayOutput) ToGetPrimaryIpsPrimaryIpArrayOutput() GetPrimaryIpsPrimaryIpArrayOutput
func (GetPrimaryIpsPrimaryIpArrayOutput) ToGetPrimaryIpsPrimaryIpArrayOutputWithContext ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpArrayOutput) ToGetPrimaryIpsPrimaryIpArrayOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpArrayOutput
type GetPrimaryIpsPrimaryIpInput ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIpInput interface { pulumi.Input ToGetPrimaryIpsPrimaryIpOutput() GetPrimaryIpsPrimaryIpOutput ToGetPrimaryIpsPrimaryIpOutputWithContext(context.Context) GetPrimaryIpsPrimaryIpOutput }
GetPrimaryIpsPrimaryIpInput is an input type that accepts GetPrimaryIpsPrimaryIpArgs and GetPrimaryIpsPrimaryIpOutput values. You can construct a concrete instance of `GetPrimaryIpsPrimaryIpInput` via:
GetPrimaryIpsPrimaryIpArgs{...}
type GetPrimaryIpsPrimaryIpOutput ¶ added in v1.9.0
type GetPrimaryIpsPrimaryIpOutput struct{ *pulumi.OutputState }
func (GetPrimaryIpsPrimaryIpOutput) AssigneeId ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) AssigneeId() pulumi.IntOutput
func (GetPrimaryIpsPrimaryIpOutput) AssigneeType ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) AssigneeType() pulumi.StringOutput
func (GetPrimaryIpsPrimaryIpOutput) AutoDelete ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) AutoDelete() pulumi.BoolOutput
func (GetPrimaryIpsPrimaryIpOutput) Datacenter ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) Datacenter() pulumi.StringOutput
func (GetPrimaryIpsPrimaryIpOutput) DeleteProtection ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) DeleteProtection() pulumi.BoolOutput
func (GetPrimaryIpsPrimaryIpOutput) ElementType ¶ added in v1.9.0
func (GetPrimaryIpsPrimaryIpOutput) ElementType() reflect.Type
func (GetPrimaryIpsPrimaryIpOutput) Id ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) Id() pulumi.IntOutput
func (GetPrimaryIpsPrimaryIpOutput) IpAddress ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) IpAddress() pulumi.StringOutput
func (GetPrimaryIpsPrimaryIpOutput) IpNetwork ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) IpNetwork() pulumi.StringOutput
func (GetPrimaryIpsPrimaryIpOutput) Labels ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) Labels() pulumi.StringMapOutput
func (GetPrimaryIpsPrimaryIpOutput) Name ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) Name() pulumi.StringPtrOutput
func (GetPrimaryIpsPrimaryIpOutput) ToGetPrimaryIpsPrimaryIpOutput ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) ToGetPrimaryIpsPrimaryIpOutput() GetPrimaryIpsPrimaryIpOutput
func (GetPrimaryIpsPrimaryIpOutput) ToGetPrimaryIpsPrimaryIpOutputWithContext ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) ToGetPrimaryIpsPrimaryIpOutputWithContext(ctx context.Context) GetPrimaryIpsPrimaryIpOutput
func (GetPrimaryIpsPrimaryIpOutput) Type ¶ added in v1.9.0
func (o GetPrimaryIpsPrimaryIpOutput) Type() pulumi.StringOutput
type GetPrimaryIpsResult ¶ added in v1.9.0
type GetPrimaryIpsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (list) List of all matching primary ips. See `data.hcloud_primary_ip` for schema. PrimaryIps []GetPrimaryIpsPrimaryIp `pulumi:"primaryIps"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getPrimaryIps.
func GetPrimaryIps ¶ added in v1.9.0
func GetPrimaryIps(ctx *pulumi.Context, args *GetPrimaryIpsArgs, opts ...pulumi.InvokeOption) (*GetPrimaryIpsResult, error)
Provides details about multiple Hetzner Cloud Primary IPs.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetPrimaryIps(ctx, &hcloud.GetPrimaryIpsArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetPrimaryIpsResultOutput ¶ added in v1.9.0
type GetPrimaryIpsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPrimaryIps.
func GetPrimaryIpsOutput ¶ added in v1.9.0
func GetPrimaryIpsOutput(ctx *pulumi.Context, args GetPrimaryIpsOutputArgs, opts ...pulumi.InvokeOption) GetPrimaryIpsResultOutput
func (GetPrimaryIpsResultOutput) ElementType ¶ added in v1.9.0
func (GetPrimaryIpsResultOutput) ElementType() reflect.Type
func (GetPrimaryIpsResultOutput) Id ¶ added in v1.9.0
func (o GetPrimaryIpsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPrimaryIpsResultOutput) PrimaryIps ¶ added in v1.9.0
func (o GetPrimaryIpsResultOutput) PrimaryIps() GetPrimaryIpsPrimaryIpArrayOutput
(list) List of all matching primary ips. See `data.hcloud_primary_ip` for schema.
func (GetPrimaryIpsResultOutput) ToGetPrimaryIpsResultOutput ¶ added in v1.9.0
func (o GetPrimaryIpsResultOutput) ToGetPrimaryIpsResultOutput() GetPrimaryIpsResultOutput
func (GetPrimaryIpsResultOutput) ToGetPrimaryIpsResultOutputWithContext ¶ added in v1.9.0
func (o GetPrimaryIpsResultOutput) ToGetPrimaryIpsResultOutputWithContext(ctx context.Context) GetPrimaryIpsResultOutput
func (GetPrimaryIpsResultOutput) WithSelector ¶ added in v1.9.0
func (o GetPrimaryIpsResultOutput) WithSelector() pulumi.StringPtrOutput
type GetServerTypeArgs ¶ added in v0.5.0
type GetServerTypeArgs struct { // ID of the Server Type. Id *int `pulumi:"id"` // Name of the Server Type. Name *string `pulumi:"name"` }
A collection of arguments for invoking getServerType.
type GetServerTypeOutputArgs ¶ added in v1.6.0
type GetServerTypeOutputArgs struct { // ID of the Server Type. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the Server Type. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getServerType.
func (GetServerTypeOutputArgs) ElementType ¶ added in v1.6.0
func (GetServerTypeOutputArgs) ElementType() reflect.Type
type GetServerTypeResult ¶ added in v0.5.0
type GetServerTypeResult struct { // Architecture of the cpu for a Server of this type. Architecture string `pulumi:"architecture"` // Number of cpu cores for a Server of this type. Cores float64 `pulumi:"cores"` // Type of cpu for a Server of this type. CpuType string `pulumi:"cpuType"` // Date of the Server Type deprecation announcement. DeprecationAnnounced string `pulumi:"deprecationAnnounced"` // Description of the Server Type. Description string `pulumi:"description"` // Disk size in GB for a Server of this type. Disk float64 `pulumi:"disk"` // ID of the Server Type. Id *int `pulumi:"id"` // Deprecated: The field is deprecated and will always report 0 after 2024-08-05. IncludedTraffic int `pulumi:"includedTraffic"` // Whether the Server Type is deprecated. IsDeprecated bool `pulumi:"isDeprecated"` // Memory in GB for a Server of this type. Memory float64 `pulumi:"memory"` // Name of the Server Type. Name *string `pulumi:"name"` // Type of boot drive for a Server of this type. StorageType string `pulumi:"storageType"` UnavailableAfter string `pulumi:"unavailableAfter"` }
A collection of values returned by getServerType.
func GetServerType ¶ added in v0.5.0
func GetServerType(ctx *pulumi.Context, args *GetServerTypeArgs, opts ...pulumi.InvokeOption) (*GetServerTypeResult, error)
Provides details about a specific Hetzner Cloud Server Type.
Use this resource to get detailed information about specific Server Type.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetServerType(ctx, &hcloud.GetServerTypeArgs{ Id: pulumi.IntRef(22), }, nil) if err != nil { return err } byName, err := hcloud.GetServerType(ctx, &hcloud.GetServerTypeArgs{ Name: pulumi.StringRef("cx22"), }, nil) if err != nil { return err } _, err = hcloud.NewServer(ctx, "main", &hcloud.ServerArgs{ Name: pulumi.String("my-server"), Location: pulumi.String("fsn1"), Image: pulumi.String("debian-12"), ServerType: pulumi.String(byName.Name), }) if err != nil { return err } return nil }) }
```
type GetServerTypeResultOutput ¶ added in v1.6.0
type GetServerTypeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerType.
func GetServerTypeOutput ¶ added in v1.6.0
func GetServerTypeOutput(ctx *pulumi.Context, args GetServerTypeOutputArgs, opts ...pulumi.InvokeOption) GetServerTypeResultOutput
func (GetServerTypeResultOutput) Architecture ¶ added in v1.11.0
func (o GetServerTypeResultOutput) Architecture() pulumi.StringOutput
Architecture of the cpu for a Server of this type.
func (GetServerTypeResultOutput) Cores ¶ added in v1.6.0
func (o GetServerTypeResultOutput) Cores() pulumi.Float64Output
Number of cpu cores for a Server of this type.
func (GetServerTypeResultOutput) CpuType ¶ added in v1.6.0
func (o GetServerTypeResultOutput) CpuType() pulumi.StringOutput
Type of cpu for a Server of this type.
func (GetServerTypeResultOutput) DeprecationAnnounced ¶ added in v1.13.0
func (o GetServerTypeResultOutput) DeprecationAnnounced() pulumi.StringOutput
Date of the Server Type deprecation announcement.
func (GetServerTypeResultOutput) Description ¶ added in v1.6.0
func (o GetServerTypeResultOutput) Description() pulumi.StringOutput
Description of the Server Type.
func (GetServerTypeResultOutput) Disk ¶ added in v1.6.0
func (o GetServerTypeResultOutput) Disk() pulumi.Float64Output
Disk size in GB for a Server of this type.
func (GetServerTypeResultOutput) ElementType ¶ added in v1.6.0
func (GetServerTypeResultOutput) ElementType() reflect.Type
func (GetServerTypeResultOutput) Id ¶ added in v1.6.0
func (o GetServerTypeResultOutput) Id() pulumi.IntPtrOutput
ID of the Server Type.
func (GetServerTypeResultOutput) IncludedTraffic
deprecated
added in
v1.12.0
func (o GetServerTypeResultOutput) IncludedTraffic() pulumi.IntOutput
Deprecated: The field is deprecated and will always report 0 after 2024-08-05.
func (GetServerTypeResultOutput) IsDeprecated ¶ added in v1.13.0
func (o GetServerTypeResultOutput) IsDeprecated() pulumi.BoolOutput
Whether the Server Type is deprecated.
func (GetServerTypeResultOutput) Memory ¶ added in v1.6.0
func (o GetServerTypeResultOutput) Memory() pulumi.Float64Output
Memory in GB for a Server of this type.
func (GetServerTypeResultOutput) Name ¶ added in v1.6.0
func (o GetServerTypeResultOutput) Name() pulumi.StringPtrOutput
Name of the Server Type.
func (GetServerTypeResultOutput) StorageType ¶ added in v1.6.0
func (o GetServerTypeResultOutput) StorageType() pulumi.StringOutput
Type of boot drive for a Server of this type.
func (GetServerTypeResultOutput) ToGetServerTypeResultOutput ¶ added in v1.6.0
func (o GetServerTypeResultOutput) ToGetServerTypeResultOutput() GetServerTypeResultOutput
func (GetServerTypeResultOutput) ToGetServerTypeResultOutputWithContext ¶ added in v1.6.0
func (o GetServerTypeResultOutput) ToGetServerTypeResultOutputWithContext(ctx context.Context) GetServerTypeResultOutput
func (GetServerTypeResultOutput) UnavailableAfter ¶ added in v1.13.0
func (o GetServerTypeResultOutput) UnavailableAfter() pulumi.StringOutput
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
type GetServerTypesResult ¶ added in v0.5.0
type GetServerTypesResult struct { // Deprecated: Use serverTypes list instead Descriptions []string `pulumi:"descriptions"` // The ID of this resource. Id string `pulumi:"id"` // Deprecated: Use serverTypes list instead Names []string `pulumi:"names"` // Deprecated: Use serverTypes list instead ServerTypeIds []string `pulumi:"serverTypeIds"` ServerTypes []GetServerTypesServerType `pulumi:"serverTypes"` }
A collection of values returned by getServerTypes.
func GetServerTypes ¶ added in v0.5.0
func GetServerTypes(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetServerTypesResult, error)
Provides a list of available Hetzner Cloud Server Types.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetServerTypes(ctx, map[string]interface{}{}, nil) if err != nil { return err } return nil }) }
```
type GetServerTypesResultOutput ¶ added in v1.6.0
type GetServerTypesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerTypes.
func GetServerTypesOutput ¶ added in v1.6.0
func GetServerTypesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetServerTypesResultOutput
func (GetServerTypesResultOutput) Descriptions
deprecated
added in
v1.6.0
func (o GetServerTypesResultOutput) Descriptions() pulumi.StringArrayOutput
Deprecated: Use serverTypes list instead
func (GetServerTypesResultOutput) ElementType ¶ added in v1.6.0
func (GetServerTypesResultOutput) ElementType() reflect.Type
func (GetServerTypesResultOutput) Id ¶ added in v1.6.0
func (o GetServerTypesResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetServerTypesResultOutput) Names
deprecated
added in
v1.6.0
func (o GetServerTypesResultOutput) Names() pulumi.StringArrayOutput
Deprecated: Use serverTypes list instead
func (GetServerTypesResultOutput) ServerTypeIds
deprecated
added in
v1.6.0
func (o GetServerTypesResultOutput) ServerTypeIds() pulumi.StringArrayOutput
Deprecated: Use serverTypes list instead
func (GetServerTypesResultOutput) ServerTypes ¶ added in v1.6.0
func (o GetServerTypesResultOutput) ServerTypes() GetServerTypesServerTypeArrayOutput
func (GetServerTypesResultOutput) ToGetServerTypesResultOutput ¶ added in v1.6.0
func (o GetServerTypesResultOutput) ToGetServerTypesResultOutput() GetServerTypesResultOutput
func (GetServerTypesResultOutput) ToGetServerTypesResultOutputWithContext ¶ added in v1.6.0
func (o GetServerTypesResultOutput) ToGetServerTypesResultOutputWithContext(ctx context.Context) GetServerTypesResultOutput
type GetServerTypesServerType ¶ added in v1.5.0
type GetServerTypesServerType struct { // Architecture of the cpu for a Server of this type. Architecture string `pulumi:"architecture"` // Number of cpu cores for a Server of this type. Cores float64 `pulumi:"cores"` // Type of cpu for a Server of this type. CpuType string `pulumi:"cpuType"` // Date of the Server Type deprecation announcement. DeprecationAnnounced string `pulumi:"deprecationAnnounced"` // Description of the Server Type. Description string `pulumi:"description"` // Disk size in GB for a Server of this type. Disk float64 `pulumi:"disk"` // ID of the Server Type. Id int `pulumi:"id"` // Deprecated: The field is deprecated and will always report 0 after 2024-08-05. IncludedTraffic int `pulumi:"includedTraffic"` // Whether the Server Type is deprecated. IsDeprecated bool `pulumi:"isDeprecated"` // Memory in GB for a Server of this type. Memory float64 `pulumi:"memory"` // Name of the Server Type. Name string `pulumi:"name"` // Type of boot drive for a Server of this type. StorageType string `pulumi:"storageType"` UnavailableAfter string `pulumi:"unavailableAfter"` }
type GetServerTypesServerTypeArgs ¶ added in v1.5.0
type GetServerTypesServerTypeArgs struct { // Architecture of the cpu for a Server of this type. Architecture pulumi.StringInput `pulumi:"architecture"` // Number of cpu cores for a Server of this type. Cores pulumi.Float64Input `pulumi:"cores"` // Type of cpu for a Server of this type. CpuType pulumi.StringInput `pulumi:"cpuType"` // Date of the Server Type deprecation announcement. DeprecationAnnounced pulumi.StringInput `pulumi:"deprecationAnnounced"` // Description of the Server Type. Description pulumi.StringInput `pulumi:"description"` // Disk size in GB for a Server of this type. Disk pulumi.Float64Input `pulumi:"disk"` // ID of the Server Type. Id pulumi.IntInput `pulumi:"id"` // Deprecated: The field is deprecated and will always report 0 after 2024-08-05. IncludedTraffic pulumi.IntInput `pulumi:"includedTraffic"` // Whether the Server Type is deprecated. IsDeprecated pulumi.BoolInput `pulumi:"isDeprecated"` // Memory in GB for a Server of this type. Memory pulumi.Float64Input `pulumi:"memory"` // Name of the Server Type. Name pulumi.StringInput `pulumi:"name"` // Type of boot drive for a Server of this type. StorageType pulumi.StringInput `pulumi:"storageType"` UnavailableAfter pulumi.StringInput `pulumi:"unavailableAfter"` }
func (GetServerTypesServerTypeArgs) ElementType ¶ added in v1.5.0
func (GetServerTypesServerTypeArgs) ElementType() reflect.Type
func (GetServerTypesServerTypeArgs) ToGetServerTypesServerTypeOutput ¶ added in v1.5.0
func (i GetServerTypesServerTypeArgs) ToGetServerTypesServerTypeOutput() GetServerTypesServerTypeOutput
func (GetServerTypesServerTypeArgs) ToGetServerTypesServerTypeOutputWithContext ¶ added in v1.5.0
func (i GetServerTypesServerTypeArgs) ToGetServerTypesServerTypeOutputWithContext(ctx context.Context) GetServerTypesServerTypeOutput
type GetServerTypesServerTypeArray ¶ added in v1.5.0
type GetServerTypesServerTypeArray []GetServerTypesServerTypeInput
func (GetServerTypesServerTypeArray) ElementType ¶ added in v1.5.0
func (GetServerTypesServerTypeArray) ElementType() reflect.Type
func (GetServerTypesServerTypeArray) ToGetServerTypesServerTypeArrayOutput ¶ added in v1.5.0
func (i GetServerTypesServerTypeArray) ToGetServerTypesServerTypeArrayOutput() GetServerTypesServerTypeArrayOutput
func (GetServerTypesServerTypeArray) ToGetServerTypesServerTypeArrayOutputWithContext ¶ added in v1.5.0
func (i GetServerTypesServerTypeArray) ToGetServerTypesServerTypeArrayOutputWithContext(ctx context.Context) GetServerTypesServerTypeArrayOutput
type GetServerTypesServerTypeArrayInput ¶ added in v1.5.0
type GetServerTypesServerTypeArrayInput interface { pulumi.Input ToGetServerTypesServerTypeArrayOutput() GetServerTypesServerTypeArrayOutput ToGetServerTypesServerTypeArrayOutputWithContext(context.Context) GetServerTypesServerTypeArrayOutput }
GetServerTypesServerTypeArrayInput is an input type that accepts GetServerTypesServerTypeArray and GetServerTypesServerTypeArrayOutput values. You can construct a concrete instance of `GetServerTypesServerTypeArrayInput` via:
GetServerTypesServerTypeArray{ GetServerTypesServerTypeArgs{...} }
type GetServerTypesServerTypeArrayOutput ¶ added in v1.5.0
type GetServerTypesServerTypeArrayOutput struct{ *pulumi.OutputState }
func (GetServerTypesServerTypeArrayOutput) ElementType ¶ added in v1.5.0
func (GetServerTypesServerTypeArrayOutput) ElementType() reflect.Type
func (GetServerTypesServerTypeArrayOutput) Index ¶ added in v1.5.0
func (o GetServerTypesServerTypeArrayOutput) Index(i pulumi.IntInput) GetServerTypesServerTypeOutput
func (GetServerTypesServerTypeArrayOutput) ToGetServerTypesServerTypeArrayOutput ¶ added in v1.5.0
func (o GetServerTypesServerTypeArrayOutput) ToGetServerTypesServerTypeArrayOutput() GetServerTypesServerTypeArrayOutput
func (GetServerTypesServerTypeArrayOutput) ToGetServerTypesServerTypeArrayOutputWithContext ¶ added in v1.5.0
func (o GetServerTypesServerTypeArrayOutput) ToGetServerTypesServerTypeArrayOutputWithContext(ctx context.Context) GetServerTypesServerTypeArrayOutput
type GetServerTypesServerTypeInput ¶ added in v1.5.0
type GetServerTypesServerTypeInput interface { pulumi.Input ToGetServerTypesServerTypeOutput() GetServerTypesServerTypeOutput ToGetServerTypesServerTypeOutputWithContext(context.Context) GetServerTypesServerTypeOutput }
GetServerTypesServerTypeInput is an input type that accepts GetServerTypesServerTypeArgs and GetServerTypesServerTypeOutput values. You can construct a concrete instance of `GetServerTypesServerTypeInput` via:
GetServerTypesServerTypeArgs{...}
type GetServerTypesServerTypeOutput ¶ added in v1.5.0
type GetServerTypesServerTypeOutput struct{ *pulumi.OutputState }
func (GetServerTypesServerTypeOutput) Architecture ¶ added in v1.11.0
func (o GetServerTypesServerTypeOutput) Architecture() pulumi.StringOutput
Architecture of the cpu for a Server of this type.
func (GetServerTypesServerTypeOutput) Cores ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) Cores() pulumi.Float64Output
Number of cpu cores for a Server of this type.
func (GetServerTypesServerTypeOutput) CpuType ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) CpuType() pulumi.StringOutput
Type of cpu for a Server of this type.
func (GetServerTypesServerTypeOutput) DeprecationAnnounced ¶ added in v1.13.0
func (o GetServerTypesServerTypeOutput) DeprecationAnnounced() pulumi.StringOutput
Date of the Server Type deprecation announcement.
func (GetServerTypesServerTypeOutput) Description ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) Description() pulumi.StringOutput
Description of the Server Type.
func (GetServerTypesServerTypeOutput) Disk ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) Disk() pulumi.Float64Output
Disk size in GB for a Server of this type.
func (GetServerTypesServerTypeOutput) ElementType ¶ added in v1.5.0
func (GetServerTypesServerTypeOutput) ElementType() reflect.Type
func (GetServerTypesServerTypeOutput) Id ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) Id() pulumi.IntOutput
ID of the Server Type.
func (GetServerTypesServerTypeOutput) IncludedTraffic
deprecated
added in
v1.12.0
func (o GetServerTypesServerTypeOutput) IncludedTraffic() pulumi.IntOutput
Deprecated: The field is deprecated and will always report 0 after 2024-08-05.
func (GetServerTypesServerTypeOutput) IsDeprecated ¶ added in v1.13.0
func (o GetServerTypesServerTypeOutput) IsDeprecated() pulumi.BoolOutput
Whether the Server Type is deprecated.
func (GetServerTypesServerTypeOutput) Memory ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) Memory() pulumi.Float64Output
Memory in GB for a Server of this type.
func (GetServerTypesServerTypeOutput) Name ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) Name() pulumi.StringOutput
Name of the Server Type.
func (GetServerTypesServerTypeOutput) StorageType ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) StorageType() pulumi.StringOutput
Type of boot drive for a Server of this type.
func (GetServerTypesServerTypeOutput) ToGetServerTypesServerTypeOutput ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) ToGetServerTypesServerTypeOutput() GetServerTypesServerTypeOutput
func (GetServerTypesServerTypeOutput) ToGetServerTypesServerTypeOutputWithContext ¶ added in v1.5.0
func (o GetServerTypesServerTypeOutput) ToGetServerTypesServerTypeOutputWithContext(ctx context.Context) GetServerTypesServerTypeOutput
func (GetServerTypesServerTypeOutput) UnavailableAfter ¶ added in v1.13.0
func (o GetServerTypesServerTypeOutput) UnavailableAfter() pulumi.StringOutput
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
type GetServersArgs ¶ added in v1.5.0
type GetServersArgs struct { // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector *string `pulumi:"withSelector"` // List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`. WithStatuses []string `pulumi:"withStatuses"` }
A collection of arguments for invoking getServers.
type GetServersOutputArgs ¶ added in v1.6.0
type GetServersOutputArgs struct { // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` // List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`. WithStatuses pulumi.StringArrayInput `pulumi:"withStatuses"` }
A collection of arguments for invoking getServers.
func (GetServersOutputArgs) ElementType ¶ added in v1.6.0
func (GetServersOutputArgs) ElementType() reflect.Type
type GetServersResult ¶ added in v1.5.0
type GetServersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (list) List of all matching servers. See `data.hcloud_server` for schema. Servers []GetServersServer `pulumi:"servers"` WithSelector *string `pulumi:"withSelector"` WithStatuses []string `pulumi:"withStatuses"` }
A collection of values returned by getServers.
func GetServers ¶ added in v1.5.0
func GetServers(ctx *pulumi.Context, args *GetServersArgs, opts ...pulumi.InvokeOption) (*GetServersResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetServers(ctx, &hcloud.GetServersArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetServersResultOutput ¶ added in v1.6.0
type GetServersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServers.
func GetServersOutput ¶ added in v1.6.0
func GetServersOutput(ctx *pulumi.Context, args GetServersOutputArgs, opts ...pulumi.InvokeOption) GetServersResultOutput
func (GetServersResultOutput) ElementType ¶ added in v1.6.0
func (GetServersResultOutput) ElementType() reflect.Type
func (GetServersResultOutput) Id ¶ added in v1.6.0
func (o GetServersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServersResultOutput) Servers ¶ added in v1.6.0
func (o GetServersResultOutput) Servers() GetServersServerArrayOutput
(list) List of all matching servers. See `data.hcloud_server` for schema.
func (GetServersResultOutput) ToGetServersResultOutput ¶ added in v1.6.0
func (o GetServersResultOutput) ToGetServersResultOutput() GetServersResultOutput
func (GetServersResultOutput) ToGetServersResultOutputWithContext ¶ added in v1.6.0
func (o GetServersResultOutput) ToGetServersResultOutputWithContext(ctx context.Context) GetServersResultOutput
func (GetServersResultOutput) WithSelector ¶ added in v1.6.0
func (o GetServersResultOutput) WithSelector() pulumi.StringPtrOutput
func (GetServersResultOutput) WithStatuses ¶ added in v1.6.0
func (o GetServersResultOutput) WithStatuses() pulumi.StringArrayOutput
type GetServersServer ¶ added in v1.5.0
type GetServersServer struct { BackupWindow string `pulumi:"backupWindow"` Backups bool `pulumi:"backups"` Datacenter string `pulumi:"datacenter"` DeleteProtection bool `pulumi:"deleteProtection"` FirewallIds []int `pulumi:"firewallIds"` Id int `pulumi:"id"` Image string `pulumi:"image"` Ipv4Address string `pulumi:"ipv4Address"` Ipv6Address string `pulumi:"ipv6Address"` Ipv6Network string `pulumi:"ipv6Network"` Iso string `pulumi:"iso"` Labels map[string]string `pulumi:"labels"` Location string `pulumi:"location"` Name string `pulumi:"name"` PlacementGroupId *int `pulumi:"placementGroupId"` PrimaryDiskSize int `pulumi:"primaryDiskSize"` RebuildProtection bool `pulumi:"rebuildProtection"` Rescue string `pulumi:"rescue"` ServerType string `pulumi:"serverType"` Status string `pulumi:"status"` }
type GetServersServerArgs ¶ added in v1.5.0
type GetServersServerArgs struct { BackupWindow pulumi.StringInput `pulumi:"backupWindow"` Backups pulumi.BoolInput `pulumi:"backups"` Datacenter pulumi.StringInput `pulumi:"datacenter"` DeleteProtection pulumi.BoolInput `pulumi:"deleteProtection"` FirewallIds pulumi.IntArrayInput `pulumi:"firewallIds"` Id pulumi.IntInput `pulumi:"id"` Image pulumi.StringInput `pulumi:"image"` Ipv4Address pulumi.StringInput `pulumi:"ipv4Address"` Ipv6Address pulumi.StringInput `pulumi:"ipv6Address"` Ipv6Network pulumi.StringInput `pulumi:"ipv6Network"` Iso pulumi.StringInput `pulumi:"iso"` Labels pulumi.StringMapInput `pulumi:"labels"` Location pulumi.StringInput `pulumi:"location"` Name pulumi.StringInput `pulumi:"name"` PlacementGroupId pulumi.IntPtrInput `pulumi:"placementGroupId"` PrimaryDiskSize pulumi.IntInput `pulumi:"primaryDiskSize"` RebuildProtection pulumi.BoolInput `pulumi:"rebuildProtection"` Rescue pulumi.StringInput `pulumi:"rescue"` ServerType pulumi.StringInput `pulumi:"serverType"` Status pulumi.StringInput `pulumi:"status"` }
func (GetServersServerArgs) ElementType ¶ added in v1.5.0
func (GetServersServerArgs) ElementType() reflect.Type
func (GetServersServerArgs) ToGetServersServerOutput ¶ added in v1.5.0
func (i GetServersServerArgs) ToGetServersServerOutput() GetServersServerOutput
func (GetServersServerArgs) ToGetServersServerOutputWithContext ¶ added in v1.5.0
func (i GetServersServerArgs) ToGetServersServerOutputWithContext(ctx context.Context) GetServersServerOutput
type GetServersServerArray ¶ added in v1.5.0
type GetServersServerArray []GetServersServerInput
func (GetServersServerArray) ElementType ¶ added in v1.5.0
func (GetServersServerArray) ElementType() reflect.Type
func (GetServersServerArray) ToGetServersServerArrayOutput ¶ added in v1.5.0
func (i GetServersServerArray) ToGetServersServerArrayOutput() GetServersServerArrayOutput
func (GetServersServerArray) ToGetServersServerArrayOutputWithContext ¶ added in v1.5.0
func (i GetServersServerArray) ToGetServersServerArrayOutputWithContext(ctx context.Context) GetServersServerArrayOutput
type GetServersServerArrayInput ¶ added in v1.5.0
type GetServersServerArrayInput interface { pulumi.Input ToGetServersServerArrayOutput() GetServersServerArrayOutput ToGetServersServerArrayOutputWithContext(context.Context) GetServersServerArrayOutput }
GetServersServerArrayInput is an input type that accepts GetServersServerArray and GetServersServerArrayOutput values. You can construct a concrete instance of `GetServersServerArrayInput` via:
GetServersServerArray{ GetServersServerArgs{...} }
type GetServersServerArrayOutput ¶ added in v1.5.0
type GetServersServerArrayOutput struct{ *pulumi.OutputState }
func (GetServersServerArrayOutput) ElementType ¶ added in v1.5.0
func (GetServersServerArrayOutput) ElementType() reflect.Type
func (GetServersServerArrayOutput) Index ¶ added in v1.5.0
func (o GetServersServerArrayOutput) Index(i pulumi.IntInput) GetServersServerOutput
func (GetServersServerArrayOutput) ToGetServersServerArrayOutput ¶ added in v1.5.0
func (o GetServersServerArrayOutput) ToGetServersServerArrayOutput() GetServersServerArrayOutput
func (GetServersServerArrayOutput) ToGetServersServerArrayOutputWithContext ¶ added in v1.5.0
func (o GetServersServerArrayOutput) ToGetServersServerArrayOutputWithContext(ctx context.Context) GetServersServerArrayOutput
type GetServersServerInput ¶ added in v1.5.0
type GetServersServerInput interface { pulumi.Input ToGetServersServerOutput() GetServersServerOutput ToGetServersServerOutputWithContext(context.Context) GetServersServerOutput }
GetServersServerInput is an input type that accepts GetServersServerArgs and GetServersServerOutput values. You can construct a concrete instance of `GetServersServerInput` via:
GetServersServerArgs{...}
type GetServersServerOutput ¶ added in v1.5.0
type GetServersServerOutput struct{ *pulumi.OutputState }
func (GetServersServerOutput) BackupWindow ¶ added in v1.5.0
func (o GetServersServerOutput) BackupWindow() pulumi.StringOutput
func (GetServersServerOutput) Backups ¶ added in v1.5.0
func (o GetServersServerOutput) Backups() pulumi.BoolOutput
func (GetServersServerOutput) Datacenter ¶ added in v1.5.0
func (o GetServersServerOutput) Datacenter() pulumi.StringOutput
func (GetServersServerOutput) DeleteProtection ¶ added in v1.5.0
func (o GetServersServerOutput) DeleteProtection() pulumi.BoolOutput
func (GetServersServerOutput) ElementType ¶ added in v1.5.0
func (GetServersServerOutput) ElementType() reflect.Type
func (GetServersServerOutput) FirewallIds ¶ added in v1.5.0
func (o GetServersServerOutput) FirewallIds() pulumi.IntArrayOutput
func (GetServersServerOutput) Id ¶ added in v1.5.0
func (o GetServersServerOutput) Id() pulumi.IntOutput
func (GetServersServerOutput) Image ¶ added in v1.5.0
func (o GetServersServerOutput) Image() pulumi.StringOutput
func (GetServersServerOutput) Ipv4Address ¶ added in v1.5.0
func (o GetServersServerOutput) Ipv4Address() pulumi.StringOutput
func (GetServersServerOutput) Ipv6Address ¶ added in v1.5.0
func (o GetServersServerOutput) Ipv6Address() pulumi.StringOutput
func (GetServersServerOutput) Ipv6Network ¶ added in v1.5.0
func (o GetServersServerOutput) Ipv6Network() pulumi.StringOutput
func (GetServersServerOutput) Iso ¶ added in v1.5.0
func (o GetServersServerOutput) Iso() pulumi.StringOutput
func (GetServersServerOutput) Labels ¶ added in v1.5.0
func (o GetServersServerOutput) Labels() pulumi.StringMapOutput
func (GetServersServerOutput) Location ¶ added in v1.5.0
func (o GetServersServerOutput) Location() pulumi.StringOutput
func (GetServersServerOutput) Name ¶ added in v1.5.0
func (o GetServersServerOutput) Name() pulumi.StringOutput
func (GetServersServerOutput) PlacementGroupId ¶ added in v1.5.0
func (o GetServersServerOutput) PlacementGroupId() pulumi.IntPtrOutput
func (GetServersServerOutput) PrimaryDiskSize ¶ added in v1.17.0
func (o GetServersServerOutput) PrimaryDiskSize() pulumi.IntOutput
func (GetServersServerOutput) RebuildProtection ¶ added in v1.5.0
func (o GetServersServerOutput) RebuildProtection() pulumi.BoolOutput
func (GetServersServerOutput) Rescue ¶ added in v1.5.0
func (o GetServersServerOutput) Rescue() pulumi.StringOutput
func (GetServersServerOutput) ServerType ¶ added in v1.5.0
func (o GetServersServerOutput) ServerType() pulumi.StringOutput
func (GetServersServerOutput) Status ¶ added in v1.5.0
func (o GetServersServerOutput) Status() pulumi.StringOutput
func (GetServersServerOutput) ToGetServersServerOutput ¶ added in v1.5.0
func (o GetServersServerOutput) ToGetServersServerOutput() GetServersServerOutput
func (GetServersServerOutput) ToGetServersServerOutputWithContext ¶ added in v1.5.0
func (o GetServersServerOutput) ToGetServersServerOutputWithContext(ctx context.Context) GetServersServerOutput
type GetSshKeysArgs ¶
type GetSshKeysArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getSshKeys.
type GetSshKeysOutputArgs ¶ added in v1.6.0
type GetSshKeysOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getSshKeys.
func (GetSshKeysOutputArgs) ElementType ¶ added in v1.6.0
func (GetSshKeysOutputArgs) ElementType() reflect.Type
type GetSshKeysResult ¶
type GetSshKeysResult struct { // The ID of this resource. Id *string `pulumi:"id"` SshKeys []GetSshKeysSshKey `pulumi:"sshKeys"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getSshKeys.
func GetSshKeys ¶
func GetSshKeys(ctx *pulumi.Context, args *GetSshKeysArgs, opts ...pulumi.InvokeOption) (*GetSshKeysResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { all, err := hcloud.GetSshKeys(ctx, &hcloud.GetSshKeysArgs{}, nil) if err != nil { return err } _, err = hcloud.GetSshKeys(ctx, &hcloud.GetSshKeysArgs{ WithSelector: pulumi.StringRef("foo=bar"), }, nil) if err != nil { return err } var splat0 []*string for _, val0 := range all.SshKeys { splat0 = append(splat0, val0.Name) } _, err = hcloud.NewServer(ctx, "main", &hcloud.ServerArgs{ SshKeys: splat0, }) if err != nil { return err } return nil }) }
```
type GetSshKeysResultOutput ¶ added in v1.6.0
type GetSshKeysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSshKeys.
func GetSshKeysOutput ¶ added in v1.6.0
func GetSshKeysOutput(ctx *pulumi.Context, args GetSshKeysOutputArgs, opts ...pulumi.InvokeOption) GetSshKeysResultOutput
func (GetSshKeysResultOutput) ElementType ¶ added in v1.6.0
func (GetSshKeysResultOutput) ElementType() reflect.Type
func (GetSshKeysResultOutput) Id ¶ added in v1.6.0
func (o GetSshKeysResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (GetSshKeysResultOutput) SshKeys ¶ added in v1.6.0
func (o GetSshKeysResultOutput) SshKeys() GetSshKeysSshKeyArrayOutput
func (GetSshKeysResultOutput) ToGetSshKeysResultOutput ¶ added in v1.6.0
func (o GetSshKeysResultOutput) ToGetSshKeysResultOutput() GetSshKeysResultOutput
func (GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext ¶ added in v1.6.0
func (o GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext(ctx context.Context) GetSshKeysResultOutput
func (GetSshKeysResultOutput) WithSelector ¶ added in v1.6.0
func (o GetSshKeysResultOutput) WithSelector() pulumi.StringPtrOutput
Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector)
type GetSshKeysSshKey ¶
type GetSshKeysSshKey struct { // Fingerprint of the SSH Key. Fingerprint string `pulumi:"fingerprint"` // ID of the SSH Key. Id int `pulumi:"id"` // User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource. Labels map[string]string `pulumi:"labels"` // Name of the SSH Key. Name string `pulumi:"name"` // Public key of the SSH Key pair. PublicKey string `pulumi:"publicKey"` }
type GetSshKeysSshKeyArgs ¶
type GetSshKeysSshKeyArgs struct { // Fingerprint of the SSH Key. Fingerprint pulumi.StringInput `pulumi:"fingerprint"` // ID of the SSH Key. Id pulumi.IntInput `pulumi:"id"` // User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource. Labels pulumi.StringMapInput `pulumi:"labels"` // Name of the SSH Key. Name pulumi.StringInput `pulumi:"name"` // Public key of the SSH Key pair. PublicKey pulumi.StringInput `pulumi:"publicKey"` }
func (GetSshKeysSshKeyArgs) ElementType ¶
func (GetSshKeysSshKeyArgs) ElementType() reflect.Type
func (GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutput ¶
func (i GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput
func (GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutputWithContext ¶
func (i GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutputWithContext(ctx context.Context) GetSshKeysSshKeyOutput
type GetSshKeysSshKeyArray ¶
type GetSshKeysSshKeyArray []GetSshKeysSshKeyInput
func (GetSshKeysSshKeyArray) ElementType ¶
func (GetSshKeysSshKeyArray) ElementType() reflect.Type
func (GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutput ¶
func (i GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput
func (GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutputWithContext ¶
func (i GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutputWithContext(ctx context.Context) GetSshKeysSshKeyArrayOutput
type GetSshKeysSshKeyArrayInput ¶
type GetSshKeysSshKeyArrayInput interface { pulumi.Input ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput ToGetSshKeysSshKeyArrayOutputWithContext(context.Context) GetSshKeysSshKeyArrayOutput }
GetSshKeysSshKeyArrayInput is an input type that accepts GetSshKeysSshKeyArray and GetSshKeysSshKeyArrayOutput values. You can construct a concrete instance of `GetSshKeysSshKeyArrayInput` via:
GetSshKeysSshKeyArray{ GetSshKeysSshKeyArgs{...} }
type GetSshKeysSshKeyArrayOutput ¶
type GetSshKeysSshKeyArrayOutput struct{ *pulumi.OutputState }
func (GetSshKeysSshKeyArrayOutput) ElementType ¶
func (GetSshKeysSshKeyArrayOutput) ElementType() reflect.Type
func (GetSshKeysSshKeyArrayOutput) Index ¶
func (o GetSshKeysSshKeyArrayOutput) Index(i pulumi.IntInput) GetSshKeysSshKeyOutput
func (GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutput ¶
func (o GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput
func (GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutputWithContext ¶
func (o GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutputWithContext(ctx context.Context) GetSshKeysSshKeyArrayOutput
type GetSshKeysSshKeyInput ¶
type GetSshKeysSshKeyInput interface { pulumi.Input ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput ToGetSshKeysSshKeyOutputWithContext(context.Context) GetSshKeysSshKeyOutput }
GetSshKeysSshKeyInput is an input type that accepts GetSshKeysSshKeyArgs and GetSshKeysSshKeyOutput values. You can construct a concrete instance of `GetSshKeysSshKeyInput` via:
GetSshKeysSshKeyArgs{...}
type GetSshKeysSshKeyOutput ¶
type GetSshKeysSshKeyOutput struct{ *pulumi.OutputState }
func (GetSshKeysSshKeyOutput) ElementType ¶
func (GetSshKeysSshKeyOutput) ElementType() reflect.Type
func (GetSshKeysSshKeyOutput) Fingerprint ¶
func (o GetSshKeysSshKeyOutput) Fingerprint() pulumi.StringOutput
Fingerprint of the SSH Key.
func (GetSshKeysSshKeyOutput) Id ¶
func (o GetSshKeysSshKeyOutput) Id() pulumi.IntOutput
ID of the SSH Key.
func (GetSshKeysSshKeyOutput) Labels ¶
func (o GetSshKeysSshKeyOutput) Labels() pulumi.StringMapOutput
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
func (GetSshKeysSshKeyOutput) Name ¶
func (o GetSshKeysSshKeyOutput) Name() pulumi.StringOutput
Name of the SSH Key.
func (GetSshKeysSshKeyOutput) PublicKey ¶
func (o GetSshKeysSshKeyOutput) PublicKey() pulumi.StringOutput
Public key of the SSH Key pair.
func (GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutput ¶
func (o GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput
func (GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutputWithContext ¶
func (o GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutputWithContext(ctx context.Context) GetSshKeysSshKeyOutput
type GetVolumesArgs ¶ added in v1.5.0
type GetVolumesArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` // List only volumes with the specified status, could contain `creating` or `available`. WithStatuses []string `pulumi:"withStatuses"` }
A collection of arguments for invoking getVolumes.
type GetVolumesOutputArgs ¶ added in v1.6.0
type GetVolumesOutputArgs struct { // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` // List only volumes with the specified status, could contain `creating` or `available`. WithStatuses pulumi.StringArrayInput `pulumi:"withStatuses"` }
A collection of arguments for invoking getVolumes.
func (GetVolumesOutputArgs) ElementType ¶ added in v1.6.0
func (GetVolumesOutputArgs) ElementType() reflect.Type
type GetVolumesResult ¶ added in v1.5.0
type GetVolumesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (list) List of all matching volumes. See `data.hcloud_volume` for schema. Volumes []GetVolumesVolume `pulumi:"volumes"` WithSelector *string `pulumi:"withSelector"` WithStatuses []string `pulumi:"withStatuses"` }
A collection of values returned by getVolumes.
func GetVolumes ¶ added in v1.5.0
func GetVolumes(ctx *pulumi.Context, args *GetVolumesArgs, opts ...pulumi.InvokeOption) (*GetVolumesResult, error)
Provides details about multiple Hetzner Cloud Volumes.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.GetVolumes(ctx, &hcloud.GetVolumesArgs{}, nil) if err != nil { return err } _, err = hcloud.GetVolumes(ctx, &hcloud.GetVolumesArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type GetVolumesResultOutput ¶ added in v1.6.0
type GetVolumesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVolumes.
func GetVolumesOutput ¶ added in v1.6.0
func GetVolumesOutput(ctx *pulumi.Context, args GetVolumesOutputArgs, opts ...pulumi.InvokeOption) GetVolumesResultOutput
func (GetVolumesResultOutput) ElementType ¶ added in v1.6.0
func (GetVolumesResultOutput) ElementType() reflect.Type
func (GetVolumesResultOutput) Id ¶ added in v1.6.0
func (o GetVolumesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVolumesResultOutput) ToGetVolumesResultOutput ¶ added in v1.6.0
func (o GetVolumesResultOutput) ToGetVolumesResultOutput() GetVolumesResultOutput
func (GetVolumesResultOutput) ToGetVolumesResultOutputWithContext ¶ added in v1.6.0
func (o GetVolumesResultOutput) ToGetVolumesResultOutputWithContext(ctx context.Context) GetVolumesResultOutput
func (GetVolumesResultOutput) Volumes ¶ added in v1.6.0
func (o GetVolumesResultOutput) Volumes() GetVolumesVolumeArrayOutput
(list) List of all matching volumes. See `data.hcloud_volume` for schema.
func (GetVolumesResultOutput) WithSelector ¶ added in v1.6.0
func (o GetVolumesResultOutput) WithSelector() pulumi.StringPtrOutput
func (GetVolumesResultOutput) WithStatuses ¶ added in v1.6.0
func (o GetVolumesResultOutput) WithStatuses() pulumi.StringArrayOutput
type GetVolumesVolume ¶ added in v1.5.0
type GetVolumesVolume struct { DeleteProtection bool `pulumi:"deleteProtection"` Id int `pulumi:"id"` Labels map[string]string `pulumi:"labels"` LinuxDevice string `pulumi:"linuxDevice"` Location *string `pulumi:"location"` Name string `pulumi:"name"` ServerId *int `pulumi:"serverId"` Size int `pulumi:"size"` }
type GetVolumesVolumeArgs ¶ added in v1.5.0
type GetVolumesVolumeArgs struct { DeleteProtection pulumi.BoolInput `pulumi:"deleteProtection"` Id pulumi.IntInput `pulumi:"id"` Labels pulumi.StringMapInput `pulumi:"labels"` LinuxDevice pulumi.StringInput `pulumi:"linuxDevice"` Location pulumi.StringPtrInput `pulumi:"location"` Name pulumi.StringInput `pulumi:"name"` ServerId pulumi.IntPtrInput `pulumi:"serverId"` Size pulumi.IntInput `pulumi:"size"` }
func (GetVolumesVolumeArgs) ElementType ¶ added in v1.5.0
func (GetVolumesVolumeArgs) ElementType() reflect.Type
func (GetVolumesVolumeArgs) ToGetVolumesVolumeOutput ¶ added in v1.5.0
func (i GetVolumesVolumeArgs) ToGetVolumesVolumeOutput() GetVolumesVolumeOutput
func (GetVolumesVolumeArgs) ToGetVolumesVolumeOutputWithContext ¶ added in v1.5.0
func (i GetVolumesVolumeArgs) ToGetVolumesVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeOutput
type GetVolumesVolumeArray ¶ added in v1.5.0
type GetVolumesVolumeArray []GetVolumesVolumeInput
func (GetVolumesVolumeArray) ElementType ¶ added in v1.5.0
func (GetVolumesVolumeArray) ElementType() reflect.Type
func (GetVolumesVolumeArray) ToGetVolumesVolumeArrayOutput ¶ added in v1.5.0
func (i GetVolumesVolumeArray) ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput
func (GetVolumesVolumeArray) ToGetVolumesVolumeArrayOutputWithContext ¶ added in v1.5.0
func (i GetVolumesVolumeArray) ToGetVolumesVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeArrayOutput
type GetVolumesVolumeArrayInput ¶ added in v1.5.0
type GetVolumesVolumeArrayInput interface { pulumi.Input ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput ToGetVolumesVolumeArrayOutputWithContext(context.Context) GetVolumesVolumeArrayOutput }
GetVolumesVolumeArrayInput is an input type that accepts GetVolumesVolumeArray and GetVolumesVolumeArrayOutput values. You can construct a concrete instance of `GetVolumesVolumeArrayInput` via:
GetVolumesVolumeArray{ GetVolumesVolumeArgs{...} }
type GetVolumesVolumeArrayOutput ¶ added in v1.5.0
type GetVolumesVolumeArrayOutput struct{ *pulumi.OutputState }
func (GetVolumesVolumeArrayOutput) ElementType ¶ added in v1.5.0
func (GetVolumesVolumeArrayOutput) ElementType() reflect.Type
func (GetVolumesVolumeArrayOutput) Index ¶ added in v1.5.0
func (o GetVolumesVolumeArrayOutput) Index(i pulumi.IntInput) GetVolumesVolumeOutput
func (GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutput ¶ added in v1.5.0
func (o GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutput() GetVolumesVolumeArrayOutput
func (GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutputWithContext ¶ added in v1.5.0
func (o GetVolumesVolumeArrayOutput) ToGetVolumesVolumeArrayOutputWithContext(ctx context.Context) GetVolumesVolumeArrayOutput
type GetVolumesVolumeInput ¶ added in v1.5.0
type GetVolumesVolumeInput interface { pulumi.Input ToGetVolumesVolumeOutput() GetVolumesVolumeOutput ToGetVolumesVolumeOutputWithContext(context.Context) GetVolumesVolumeOutput }
GetVolumesVolumeInput is an input type that accepts GetVolumesVolumeArgs and GetVolumesVolumeOutput values. You can construct a concrete instance of `GetVolumesVolumeInput` via:
GetVolumesVolumeArgs{...}
type GetVolumesVolumeOutput ¶ added in v1.5.0
type GetVolumesVolumeOutput struct{ *pulumi.OutputState }
func (GetVolumesVolumeOutput) DeleteProtection ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) DeleteProtection() pulumi.BoolOutput
func (GetVolumesVolumeOutput) ElementType ¶ added in v1.5.0
func (GetVolumesVolumeOutput) ElementType() reflect.Type
func (GetVolumesVolumeOutput) Id ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) Id() pulumi.IntOutput
func (GetVolumesVolumeOutput) Labels ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) Labels() pulumi.StringMapOutput
func (GetVolumesVolumeOutput) LinuxDevice ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) LinuxDevice() pulumi.StringOutput
func (GetVolumesVolumeOutput) Location ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) Location() pulumi.StringPtrOutput
func (GetVolumesVolumeOutput) Name ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) Name() pulumi.StringOutput
func (GetVolumesVolumeOutput) ServerId ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) ServerId() pulumi.IntPtrOutput
func (GetVolumesVolumeOutput) Size ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) Size() pulumi.IntOutput
func (GetVolumesVolumeOutput) ToGetVolumesVolumeOutput ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) ToGetVolumesVolumeOutput() GetVolumesVolumeOutput
func (GetVolumesVolumeOutput) ToGetVolumesVolumeOutputWithContext ¶ added in v1.5.0
func (o GetVolumesVolumeOutput) ToGetVolumesVolumeOutputWithContext(ctx context.Context) GetVolumesVolumeOutput
type LoadBalancer ¶
type LoadBalancer struct { pulumi.CustomResourceState // Configuration of the algorithm the Load Balancer use. Algorithm LoadBalancerAlgorithmOutput `pulumi:"algorithm"` // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // (string) IPv4 Address of the Load Balancer. Ipv4 pulumi.StringOutput `pulumi:"ipv4"` // (string) IPv6 Address of the Load Balancer. Ipv6 pulumi.StringOutput `pulumi:"ipv6"` // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Type of the Load Balancer. LoadBalancerType pulumi.StringOutput `pulumi:"loadBalancerType"` // The location name of the Load Balancer. Require when no networkZone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringOutput `pulumi:"location"` // Name of the Load Balancer. Name pulumi.StringOutput `pulumi:"name"` // (int) ID of the first private network that this Load Balancer is connected to. NetworkId pulumi.IntOutput `pulumi:"networkId"` // (string) IP of the Load Balancer in the first private network that it is connected to. NetworkIp pulumi.StringOutput `pulumi:"networkIp"` // The Network Zone of the Load Balancer. Require when no location is set. NetworkZone pulumi.StringOutput `pulumi:"networkZone"` // Deprecated: Use LoadBalancerTarget resource instead. This allows the full control over the selected targets. Targets LoadBalancerTargetTypeArrayOutput `pulumi:"targets"` }
Provides a Hetzner Cloud Load Balancer to represent a Load Balancer in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myServer, err := hcloud.NewServer(ctx, "my_server", &hcloud.ServerArgs{ Name: pulumi.String("server-%d"), ServerType: pulumi.String("cx22"), Image: pulumi.String("ubuntu-18.04"), }) if err != nil { return err } loadBalancer, err := hcloud.NewLoadBalancer(ctx, "load_balancer", &hcloud.LoadBalancerArgs{ Name: pulumi.String("my-load-balancer"), LoadBalancerType: pulumi.String("lb11"), Location: pulumi.String("nbg1"), }) if err != nil { return err } _, err = hcloud.NewLoadBalancerTarget(ctx, "load_balancer_target", &hcloud.LoadBalancerTargetArgs{ Type: pulumi.String("server"), LoadBalancerId: loadBalancer.ID(), ServerId: myServer.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Load Balancers can be imported using its `id`:
```sh $ pulumi import hcloud:index/loadBalancer:LoadBalancer example "$LOAD_BALANCER_ID" ```
func GetLoadBalancer ¶
func GetLoadBalancer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*LoadBalancer, error)
GetLoadBalancer gets an existing LoadBalancer 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 NewLoadBalancer ¶
func NewLoadBalancer(ctx *pulumi.Context, name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOption) (*LoadBalancer, error)
NewLoadBalancer registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancer) ElementType ¶ added in v0.4.1
func (*LoadBalancer) ElementType() reflect.Type
func (*LoadBalancer) ToLoadBalancerOutput ¶ added in v0.4.1
func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput
func (*LoadBalancer) ToLoadBalancerOutputWithContext ¶ added in v0.4.1
func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
type LoadBalancerAlgorithm ¶
type LoadBalancerAlgorithm struct { // Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections` Type *string `pulumi:"type"` }
type LoadBalancerAlgorithmArgs ¶
type LoadBalancerAlgorithmArgs struct { // Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections` Type pulumi.StringPtrInput `pulumi:"type"` }
func (LoadBalancerAlgorithmArgs) ElementType ¶
func (LoadBalancerAlgorithmArgs) ElementType() reflect.Type
func (LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmOutput ¶
func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmOutput() LoadBalancerAlgorithmOutput
func (LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmOutputWithContext ¶
func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmOutputWithContext(ctx context.Context) LoadBalancerAlgorithmOutput
func (LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmPtrOutput ¶
func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput
func (LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmPtrOutputWithContext ¶
func (i LoadBalancerAlgorithmArgs) ToLoadBalancerAlgorithmPtrOutputWithContext(ctx context.Context) LoadBalancerAlgorithmPtrOutput
type LoadBalancerAlgorithmInput ¶
type LoadBalancerAlgorithmInput interface { pulumi.Input ToLoadBalancerAlgorithmOutput() LoadBalancerAlgorithmOutput ToLoadBalancerAlgorithmOutputWithContext(context.Context) LoadBalancerAlgorithmOutput }
LoadBalancerAlgorithmInput is an input type that accepts LoadBalancerAlgorithmArgs and LoadBalancerAlgorithmOutput values. You can construct a concrete instance of `LoadBalancerAlgorithmInput` via:
LoadBalancerAlgorithmArgs{...}
type LoadBalancerAlgorithmOutput ¶
type LoadBalancerAlgorithmOutput struct{ *pulumi.OutputState }
func (LoadBalancerAlgorithmOutput) ElementType ¶
func (LoadBalancerAlgorithmOutput) ElementType() reflect.Type
func (LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmOutput ¶
func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmOutput() LoadBalancerAlgorithmOutput
func (LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmOutputWithContext ¶
func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmOutputWithContext(ctx context.Context) LoadBalancerAlgorithmOutput
func (LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmPtrOutput ¶
func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput
func (LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmPtrOutputWithContext ¶
func (o LoadBalancerAlgorithmOutput) ToLoadBalancerAlgorithmPtrOutputWithContext(ctx context.Context) LoadBalancerAlgorithmPtrOutput
func (LoadBalancerAlgorithmOutput) Type ¶
func (o LoadBalancerAlgorithmOutput) Type() pulumi.StringPtrOutput
Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections`
type LoadBalancerAlgorithmPtrInput ¶
type LoadBalancerAlgorithmPtrInput interface { pulumi.Input ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput ToLoadBalancerAlgorithmPtrOutputWithContext(context.Context) LoadBalancerAlgorithmPtrOutput }
LoadBalancerAlgorithmPtrInput is an input type that accepts LoadBalancerAlgorithmArgs, LoadBalancerAlgorithmPtr and LoadBalancerAlgorithmPtrOutput values. You can construct a concrete instance of `LoadBalancerAlgorithmPtrInput` via:
LoadBalancerAlgorithmArgs{...} or: nil
func LoadBalancerAlgorithmPtr ¶
func LoadBalancerAlgorithmPtr(v *LoadBalancerAlgorithmArgs) LoadBalancerAlgorithmPtrInput
type LoadBalancerAlgorithmPtrOutput ¶
type LoadBalancerAlgorithmPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerAlgorithmPtrOutput) Elem ¶
func (o LoadBalancerAlgorithmPtrOutput) Elem() LoadBalancerAlgorithmOutput
func (LoadBalancerAlgorithmPtrOutput) ElementType ¶
func (LoadBalancerAlgorithmPtrOutput) ElementType() reflect.Type
func (LoadBalancerAlgorithmPtrOutput) ToLoadBalancerAlgorithmPtrOutput ¶
func (o LoadBalancerAlgorithmPtrOutput) ToLoadBalancerAlgorithmPtrOutput() LoadBalancerAlgorithmPtrOutput
func (LoadBalancerAlgorithmPtrOutput) ToLoadBalancerAlgorithmPtrOutputWithContext ¶
func (o LoadBalancerAlgorithmPtrOutput) ToLoadBalancerAlgorithmPtrOutputWithContext(ctx context.Context) LoadBalancerAlgorithmPtrOutput
func (LoadBalancerAlgorithmPtrOutput) Type ¶
func (o LoadBalancerAlgorithmPtrOutput) Type() pulumi.StringPtrOutput
Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections`
type LoadBalancerArgs ¶
type LoadBalancerArgs struct { // Configuration of the algorithm the Load Balancer use. Algorithm LoadBalancerAlgorithmPtrInput // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Type of the Load Balancer. LoadBalancerType pulumi.StringInput // The location name of the Load Balancer. Require when no networkZone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput // Name of the Load Balancer. Name pulumi.StringPtrInput // The Network Zone of the Load Balancer. Require when no location is set. NetworkZone pulumi.StringPtrInput // Deprecated: Use LoadBalancerTarget resource instead. This allows the full control over the selected targets. Targets LoadBalancerTargetTypeArrayInput }
The set of arguments for constructing a LoadBalancer resource.
func (LoadBalancerArgs) ElementType ¶
func (LoadBalancerArgs) ElementType() reflect.Type
type LoadBalancerArray ¶ added in v0.6.2
type LoadBalancerArray []LoadBalancerInput
func (LoadBalancerArray) ElementType ¶ added in v0.6.2
func (LoadBalancerArray) ElementType() reflect.Type
func (LoadBalancerArray) ToLoadBalancerArrayOutput ¶ added in v0.6.2
func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
type LoadBalancerArrayInput ¶ added in v0.6.2
type LoadBalancerArrayInput interface { pulumi.Input ToLoadBalancerArrayOutput() LoadBalancerArrayOutput ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput }
LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. You can construct a concrete instance of `LoadBalancerArrayInput` via:
LoadBalancerArray{ LoadBalancerArgs{...} }
type LoadBalancerArrayOutput ¶ added in v0.6.2
type LoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerArrayOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerArrayOutput) ElementType() reflect.Type
func (LoadBalancerArrayOutput) Index ¶ added in v0.6.2
func (o LoadBalancerArrayOutput) Index(i pulumi.IntInput) LoadBalancerOutput
func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput ¶ added in v0.6.2
func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
type LoadBalancerInput ¶ added in v0.4.1
type LoadBalancerInput interface { pulumi.Input ToLoadBalancerOutput() LoadBalancerOutput ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput }
type LoadBalancerMap ¶ added in v0.6.2
type LoadBalancerMap map[string]LoadBalancerInput
func (LoadBalancerMap) ElementType ¶ added in v0.6.2
func (LoadBalancerMap) ElementType() reflect.Type
func (LoadBalancerMap) ToLoadBalancerMapOutput ¶ added in v0.6.2
func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput
func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
type LoadBalancerMapInput ¶ added in v0.6.2
type LoadBalancerMapInput interface { pulumi.Input ToLoadBalancerMapOutput() LoadBalancerMapOutput ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput }
LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. You can construct a concrete instance of `LoadBalancerMapInput` via:
LoadBalancerMap{ "key": LoadBalancerArgs{...} }
type LoadBalancerMapOutput ¶ added in v0.6.2
type LoadBalancerMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerMapOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerMapOutput) ElementType() reflect.Type
func (LoadBalancerMapOutput) MapIndex ¶ added in v0.6.2
func (o LoadBalancerMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerOutput
func (LoadBalancerMapOutput) ToLoadBalancerMapOutput ¶ added in v0.6.2
func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput
func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
type LoadBalancerNetwork ¶
type LoadBalancerNetwork struct { pulumi.CustomResourceState // Enable or disable the // Load Balancers public interface. Default: `true` EnablePublicInterface pulumi.BoolPtrOutput `pulumi:"enablePublicInterface"` // IP to request to be assigned to this Load // Balancer. If you do not provide this then you will be auto assigned an // IP address. Ip pulumi.StringOutput `pulumi:"ip"` // ID of the Load Balancer. LoadBalancerId pulumi.IntOutput `pulumi:"loadBalancerId"` // ID of the network which should be added // to the Load Balancer. Required if `subnetId` is not set. Successful // creation of the resource depends on the existence of a subnet in the // Hetzner Cloud Backend. Using `networkId` will not create an explicit // dependency between the Load Balancer and the subnet. Therefore // `dependsOn` may need to be used. Alternatively the `subnetId` // property can be used, which will create an explicit dependency between // `LoadBalancerNetwork` and the existence of a subnet. NetworkId pulumi.IntPtrOutput `pulumi:"networkId"` // ID of the sub-network which should be // added to the Load Balancer. Required if `networkId` is not set. // _Note_: if the `ip` property is missing, the Load Balancer is // currently added to the last created subnet. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` }
Provides a Hetzner Cloud Load Balancer Network to represent a private network on a Load Balancer in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { lb1, err := hcloud.NewLoadBalancer(ctx, "lb1", &hcloud.LoadBalancerArgs{ Name: pulumi.String("lb1"), LoadBalancerType: pulumi.String("lb11"), NetworkZone: pulumi.String("eu-central"), }) if err != nil { return err } mynet, err := hcloud.NewNetwork(ctx, "mynet", &hcloud.NetworkArgs{ Name: pulumi.String("my-net"), IpRange: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } _, err = hcloud.NewNetworkSubnet(ctx, "foonet", &hcloud.NetworkSubnetArgs{ NetworkId: mynet.ID(), Type: pulumi.String("cloud"), NetworkZone: pulumi.String("eu-central"), IpRange: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } _, err = hcloud.NewLoadBalancerNetwork(ctx, "srvnetwork", &hcloud.LoadBalancerNetworkArgs{ LoadBalancerId: lb1.ID(), NetworkId: mynet.ID(), Ip: pulumi.String("10.0.1.5"), }, pulumi.DependsOn([]pulumi.Resource{ srvnetworkHcloudNetworkSubnet, })) if err != nil { return err } return nil }) }
```
## Import
Load Balancer Network entries can be imported using a compound ID with the following format:
`<load-balancer-id>-<network-id>`
```sh $ pulumi import hcloud:index/loadBalancerNetwork:LoadBalancerNetwork example "$LOAD_BALANCER_ID-$NETWORK_ID" ```
func GetLoadBalancerNetwork ¶
func GetLoadBalancerNetwork(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerNetworkState, opts ...pulumi.ResourceOption) (*LoadBalancerNetwork, error)
GetLoadBalancerNetwork gets an existing LoadBalancerNetwork 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 NewLoadBalancerNetwork ¶
func NewLoadBalancerNetwork(ctx *pulumi.Context, name string, args *LoadBalancerNetworkArgs, opts ...pulumi.ResourceOption) (*LoadBalancerNetwork, error)
NewLoadBalancerNetwork registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancerNetwork) ElementType ¶ added in v0.4.1
func (*LoadBalancerNetwork) ElementType() reflect.Type
func (*LoadBalancerNetwork) ToLoadBalancerNetworkOutput ¶ added in v0.4.1
func (i *LoadBalancerNetwork) ToLoadBalancerNetworkOutput() LoadBalancerNetworkOutput
func (*LoadBalancerNetwork) ToLoadBalancerNetworkOutputWithContext ¶ added in v0.4.1
func (i *LoadBalancerNetwork) ToLoadBalancerNetworkOutputWithContext(ctx context.Context) LoadBalancerNetworkOutput
type LoadBalancerNetworkArgs ¶
type LoadBalancerNetworkArgs struct { // Enable or disable the // Load Balancers public interface. Default: `true` EnablePublicInterface pulumi.BoolPtrInput // IP to request to be assigned to this Load // Balancer. If you do not provide this then you will be auto assigned an // IP address. Ip pulumi.StringPtrInput // ID of the Load Balancer. LoadBalancerId pulumi.IntInput // ID of the network which should be added // to the Load Balancer. Required if `subnetId` is not set. Successful // creation of the resource depends on the existence of a subnet in the // Hetzner Cloud Backend. Using `networkId` will not create an explicit // dependency between the Load Balancer and the subnet. Therefore // `dependsOn` may need to be used. Alternatively the `subnetId` // property can be used, which will create an explicit dependency between // `LoadBalancerNetwork` and the existence of a subnet. NetworkId pulumi.IntPtrInput // ID of the sub-network which should be // added to the Load Balancer. Required if `networkId` is not set. // _Note_: if the `ip` property is missing, the Load Balancer is // currently added to the last created subnet. SubnetId pulumi.StringPtrInput }
The set of arguments for constructing a LoadBalancerNetwork resource.
func (LoadBalancerNetworkArgs) ElementType ¶
func (LoadBalancerNetworkArgs) ElementType() reflect.Type
type LoadBalancerNetworkArray ¶ added in v0.6.2
type LoadBalancerNetworkArray []LoadBalancerNetworkInput
func (LoadBalancerNetworkArray) ElementType ¶ added in v0.6.2
func (LoadBalancerNetworkArray) ElementType() reflect.Type
func (LoadBalancerNetworkArray) ToLoadBalancerNetworkArrayOutput ¶ added in v0.6.2
func (i LoadBalancerNetworkArray) ToLoadBalancerNetworkArrayOutput() LoadBalancerNetworkArrayOutput
func (LoadBalancerNetworkArray) ToLoadBalancerNetworkArrayOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerNetworkArray) ToLoadBalancerNetworkArrayOutputWithContext(ctx context.Context) LoadBalancerNetworkArrayOutput
type LoadBalancerNetworkArrayInput ¶ added in v0.6.2
type LoadBalancerNetworkArrayInput interface { pulumi.Input ToLoadBalancerNetworkArrayOutput() LoadBalancerNetworkArrayOutput ToLoadBalancerNetworkArrayOutputWithContext(context.Context) LoadBalancerNetworkArrayOutput }
LoadBalancerNetworkArrayInput is an input type that accepts LoadBalancerNetworkArray and LoadBalancerNetworkArrayOutput values. You can construct a concrete instance of `LoadBalancerNetworkArrayInput` via:
LoadBalancerNetworkArray{ LoadBalancerNetworkArgs{...} }
type LoadBalancerNetworkArrayOutput ¶ added in v0.6.2
type LoadBalancerNetworkArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerNetworkArrayOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerNetworkArrayOutput) ElementType() reflect.Type
func (LoadBalancerNetworkArrayOutput) Index ¶ added in v0.6.2
func (o LoadBalancerNetworkArrayOutput) Index(i pulumi.IntInput) LoadBalancerNetworkOutput
func (LoadBalancerNetworkArrayOutput) ToLoadBalancerNetworkArrayOutput ¶ added in v0.6.2
func (o LoadBalancerNetworkArrayOutput) ToLoadBalancerNetworkArrayOutput() LoadBalancerNetworkArrayOutput
func (LoadBalancerNetworkArrayOutput) ToLoadBalancerNetworkArrayOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerNetworkArrayOutput) ToLoadBalancerNetworkArrayOutputWithContext(ctx context.Context) LoadBalancerNetworkArrayOutput
type LoadBalancerNetworkInput ¶ added in v0.4.1
type LoadBalancerNetworkInput interface { pulumi.Input ToLoadBalancerNetworkOutput() LoadBalancerNetworkOutput ToLoadBalancerNetworkOutputWithContext(ctx context.Context) LoadBalancerNetworkOutput }
type LoadBalancerNetworkMap ¶ added in v0.6.2
type LoadBalancerNetworkMap map[string]LoadBalancerNetworkInput
func (LoadBalancerNetworkMap) ElementType ¶ added in v0.6.2
func (LoadBalancerNetworkMap) ElementType() reflect.Type
func (LoadBalancerNetworkMap) ToLoadBalancerNetworkMapOutput ¶ added in v0.6.2
func (i LoadBalancerNetworkMap) ToLoadBalancerNetworkMapOutput() LoadBalancerNetworkMapOutput
func (LoadBalancerNetworkMap) ToLoadBalancerNetworkMapOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerNetworkMap) ToLoadBalancerNetworkMapOutputWithContext(ctx context.Context) LoadBalancerNetworkMapOutput
type LoadBalancerNetworkMapInput ¶ added in v0.6.2
type LoadBalancerNetworkMapInput interface { pulumi.Input ToLoadBalancerNetworkMapOutput() LoadBalancerNetworkMapOutput ToLoadBalancerNetworkMapOutputWithContext(context.Context) LoadBalancerNetworkMapOutput }
LoadBalancerNetworkMapInput is an input type that accepts LoadBalancerNetworkMap and LoadBalancerNetworkMapOutput values. You can construct a concrete instance of `LoadBalancerNetworkMapInput` via:
LoadBalancerNetworkMap{ "key": LoadBalancerNetworkArgs{...} }
type LoadBalancerNetworkMapOutput ¶ added in v0.6.2
type LoadBalancerNetworkMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerNetworkMapOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerNetworkMapOutput) ElementType() reflect.Type
func (LoadBalancerNetworkMapOutput) MapIndex ¶ added in v0.6.2
func (o LoadBalancerNetworkMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerNetworkOutput
func (LoadBalancerNetworkMapOutput) ToLoadBalancerNetworkMapOutput ¶ added in v0.6.2
func (o LoadBalancerNetworkMapOutput) ToLoadBalancerNetworkMapOutput() LoadBalancerNetworkMapOutput
func (LoadBalancerNetworkMapOutput) ToLoadBalancerNetworkMapOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerNetworkMapOutput) ToLoadBalancerNetworkMapOutputWithContext(ctx context.Context) LoadBalancerNetworkMapOutput
type LoadBalancerNetworkOutput ¶ added in v0.4.1
type LoadBalancerNetworkOutput struct{ *pulumi.OutputState }
func (LoadBalancerNetworkOutput) ElementType ¶ added in v0.4.1
func (LoadBalancerNetworkOutput) ElementType() reflect.Type
func (LoadBalancerNetworkOutput) EnablePublicInterface ¶ added in v1.9.0
func (o LoadBalancerNetworkOutput) EnablePublicInterface() pulumi.BoolPtrOutput
Enable or disable the Load Balancers public interface. Default: `true`
func (LoadBalancerNetworkOutput) Ip ¶ added in v1.9.0
func (o LoadBalancerNetworkOutput) Ip() pulumi.StringOutput
IP to request to be assigned to this Load Balancer. If you do not provide this then you will be auto assigned an IP address.
func (LoadBalancerNetworkOutput) LoadBalancerId ¶ added in v1.9.0
func (o LoadBalancerNetworkOutput) LoadBalancerId() pulumi.IntOutput
ID of the Load Balancer.
func (LoadBalancerNetworkOutput) NetworkId ¶ added in v1.9.0
func (o LoadBalancerNetworkOutput) NetworkId() pulumi.IntPtrOutput
ID of the network which should be added to the Load Balancer. Required if `subnetId` is not set. Successful creation of the resource depends on the existence of a subnet in the Hetzner Cloud Backend. Using `networkId` will not create an explicit dependency between the Load Balancer and the subnet. Therefore `dependsOn` may need to be used. Alternatively the `subnetId` property can be used, which will create an explicit dependency between `LoadBalancerNetwork` and the existence of a subnet.
func (LoadBalancerNetworkOutput) SubnetId ¶ added in v1.9.0
func (o LoadBalancerNetworkOutput) SubnetId() pulumi.StringPtrOutput
ID of the sub-network which should be added to the Load Balancer. Required if `networkId` is not set. _Note_: if the `ip` property is missing, the Load Balancer is currently added to the last created subnet.
func (LoadBalancerNetworkOutput) ToLoadBalancerNetworkOutput ¶ added in v0.4.1
func (o LoadBalancerNetworkOutput) ToLoadBalancerNetworkOutput() LoadBalancerNetworkOutput
func (LoadBalancerNetworkOutput) ToLoadBalancerNetworkOutputWithContext ¶ added in v0.4.1
func (o LoadBalancerNetworkOutput) ToLoadBalancerNetworkOutputWithContext(ctx context.Context) LoadBalancerNetworkOutput
type LoadBalancerNetworkState ¶
type LoadBalancerNetworkState struct { // Enable or disable the // Load Balancers public interface. Default: `true` EnablePublicInterface pulumi.BoolPtrInput // IP to request to be assigned to this Load // Balancer. If you do not provide this then you will be auto assigned an // IP address. Ip pulumi.StringPtrInput // ID of the Load Balancer. LoadBalancerId pulumi.IntPtrInput // ID of the network which should be added // to the Load Balancer. Required if `subnetId` is not set. Successful // creation of the resource depends on the existence of a subnet in the // Hetzner Cloud Backend. Using `networkId` will not create an explicit // dependency between the Load Balancer and the subnet. Therefore // `dependsOn` may need to be used. Alternatively the `subnetId` // property can be used, which will create an explicit dependency between // `LoadBalancerNetwork` and the existence of a subnet. NetworkId pulumi.IntPtrInput // ID of the sub-network which should be // added to the Load Balancer. Required if `networkId` is not set. // _Note_: if the `ip` property is missing, the Load Balancer is // currently added to the last created subnet. SubnetId pulumi.StringPtrInput }
func (LoadBalancerNetworkState) ElementType ¶
func (LoadBalancerNetworkState) ElementType() reflect.Type
type LoadBalancerOutput ¶ added in v0.4.1
type LoadBalancerOutput struct{ *pulumi.OutputState }
func (LoadBalancerOutput) Algorithm ¶ added in v1.9.0
func (o LoadBalancerOutput) Algorithm() LoadBalancerAlgorithmOutput
Configuration of the algorithm the Load Balancer use.
func (LoadBalancerOutput) DeleteProtection ¶ added in v1.9.0
func (o LoadBalancerOutput) DeleteProtection() pulumi.BoolPtrOutput
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
func (LoadBalancerOutput) ElementType ¶ added in v0.4.1
func (LoadBalancerOutput) ElementType() reflect.Type
func (LoadBalancerOutput) Ipv4 ¶ added in v1.9.0
func (o LoadBalancerOutput) Ipv4() pulumi.StringOutput
(string) IPv4 Address of the Load Balancer.
func (LoadBalancerOutput) Ipv6 ¶ added in v1.9.0
func (o LoadBalancerOutput) Ipv6() pulumi.StringOutput
(string) IPv6 Address of the Load Balancer.
func (LoadBalancerOutput) Labels ¶ added in v1.9.0
func (o LoadBalancerOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (LoadBalancerOutput) LoadBalancerType ¶ added in v1.9.0
func (o LoadBalancerOutput) LoadBalancerType() pulumi.StringOutput
Type of the Load Balancer.
func (LoadBalancerOutput) Location ¶ added in v1.9.0
func (o LoadBalancerOutput) Location() pulumi.StringOutput
The location name of the Load Balancer. Require when no networkZone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (LoadBalancerOutput) Name ¶ added in v1.9.0
func (o LoadBalancerOutput) Name() pulumi.StringOutput
Name of the Load Balancer.
func (LoadBalancerOutput) NetworkId ¶ added in v1.9.0
func (o LoadBalancerOutput) NetworkId() pulumi.IntOutput
(int) ID of the first private network that this Load Balancer is connected to.
func (LoadBalancerOutput) NetworkIp ¶ added in v1.9.0
func (o LoadBalancerOutput) NetworkIp() pulumi.StringOutput
(string) IP of the Load Balancer in the first private network that it is connected to.
func (LoadBalancerOutput) NetworkZone ¶ added in v1.9.0
func (o LoadBalancerOutput) NetworkZone() pulumi.StringOutput
The Network Zone of the Load Balancer. Require when no location is set.
func (LoadBalancerOutput) Targets
deprecated
added in
v1.9.0
func (o LoadBalancerOutput) Targets() LoadBalancerTargetTypeArrayOutput
Deprecated: Use LoadBalancerTarget resource instead. This allows the full control over the selected targets.
func (LoadBalancerOutput) ToLoadBalancerOutput ¶ added in v0.4.1
func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput
func (LoadBalancerOutput) ToLoadBalancerOutputWithContext ¶ added in v0.4.1
func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
type LoadBalancerService ¶
type LoadBalancerService struct { pulumi.CustomResourceState // Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`. DestinationPort pulumi.IntOutput `pulumi:"destinationPort"` // Health Check configuration when `protocol` is `http` or `https`. HealthCheck LoadBalancerServiceHealthCheckOutput `pulumi:"healthCheck"` // HTTP configuration when `protocol` is `http` or `https`. Http LoadBalancerServiceHttpOutput `pulumi:"http"` // Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer. ListenPort pulumi.IntOutput `pulumi:"listenPort"` // Id of the load balancer this service belongs to. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // Protocol of the service. `http`, `https` or `tcp` Protocol pulumi.StringOutput `pulumi:"protocol"` // Enable proxyprotocol. Proxyprotocol pulumi.BoolOutput `pulumi:"proxyprotocol"` }
Define services for Hetzner Cloud Load Balancers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { loadBalancer, err := hcloud.NewLoadBalancer(ctx, "load_balancer", &hcloud.LoadBalancerArgs{ Name: pulumi.String("my-load-balancer"), LoadBalancerType: pulumi.String("lb11"), Location: pulumi.String("nbg1"), }) if err != nil { return err } _, err = hcloud.NewLoadBalancerService(ctx, "load_balancer_service", &hcloud.LoadBalancerServiceArgs{ LoadBalancerId: loadBalancer.ID(), Protocol: pulumi.String("http"), Http: &hcloud.LoadBalancerServiceHttpArgs{ StickySessions: pulumi.Bool(true), CookieName: pulumi.String("EXAMPLE_STICKY"), }, HealthCheck: &hcloud.LoadBalancerServiceHealthCheckArgs{ Protocol: pulumi.String("http"), Port: pulumi.Int(80), Interval: pulumi.Int(10), Timeout: pulumi.Int(5), Http: &hcloud.LoadBalancerServiceHealthCheckHttpArgs{ Domain: pulumi.String("example.com"), Path: pulumi.String("/healthz"), Response: pulumi.String("OK"), Tls: pulumi.Bool(true), StatusCodes: pulumi.StringArray{ pulumi.String("200"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Load Balancer Service entries can be imported using a compound ID with the following format:
`<load-balancer-id>__<listen-port>`
```sh $ pulumi import hcloud:index/loadBalancerService:LoadBalancerService example "${LOAD_BALANCER_ID}__${LISTEN_PORT}" ```
func GetLoadBalancerService ¶
func GetLoadBalancerService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerServiceState, opts ...pulumi.ResourceOption) (*LoadBalancerService, error)
GetLoadBalancerService gets an existing LoadBalancerService 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 NewLoadBalancerService ¶
func NewLoadBalancerService(ctx *pulumi.Context, name string, args *LoadBalancerServiceArgs, opts ...pulumi.ResourceOption) (*LoadBalancerService, error)
NewLoadBalancerService registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancerService) ElementType ¶ added in v0.4.1
func (*LoadBalancerService) ElementType() reflect.Type
func (*LoadBalancerService) ToLoadBalancerServiceOutput ¶ added in v0.4.1
func (i *LoadBalancerService) ToLoadBalancerServiceOutput() LoadBalancerServiceOutput
func (*LoadBalancerService) ToLoadBalancerServiceOutputWithContext ¶ added in v0.4.1
func (i *LoadBalancerService) ToLoadBalancerServiceOutputWithContext(ctx context.Context) LoadBalancerServiceOutput
type LoadBalancerServiceArgs ¶
type LoadBalancerServiceArgs struct { // Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`. DestinationPort pulumi.IntPtrInput // Health Check configuration when `protocol` is `http` or `https`. HealthCheck LoadBalancerServiceHealthCheckPtrInput // HTTP configuration when `protocol` is `http` or `https`. Http LoadBalancerServiceHttpPtrInput // Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer. ListenPort pulumi.IntPtrInput // Id of the load balancer this service belongs to. LoadBalancerId pulumi.StringInput // Protocol of the service. `http`, `https` or `tcp` Protocol pulumi.StringInput // Enable proxyprotocol. Proxyprotocol pulumi.BoolPtrInput }
The set of arguments for constructing a LoadBalancerService resource.
func (LoadBalancerServiceArgs) ElementType ¶
func (LoadBalancerServiceArgs) ElementType() reflect.Type
type LoadBalancerServiceArray ¶ added in v0.6.2
type LoadBalancerServiceArray []LoadBalancerServiceInput
func (LoadBalancerServiceArray) ElementType ¶ added in v0.6.2
func (LoadBalancerServiceArray) ElementType() reflect.Type
func (LoadBalancerServiceArray) ToLoadBalancerServiceArrayOutput ¶ added in v0.6.2
func (i LoadBalancerServiceArray) ToLoadBalancerServiceArrayOutput() LoadBalancerServiceArrayOutput
func (LoadBalancerServiceArray) ToLoadBalancerServiceArrayOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerServiceArray) ToLoadBalancerServiceArrayOutputWithContext(ctx context.Context) LoadBalancerServiceArrayOutput
type LoadBalancerServiceArrayInput ¶ added in v0.6.2
type LoadBalancerServiceArrayInput interface { pulumi.Input ToLoadBalancerServiceArrayOutput() LoadBalancerServiceArrayOutput ToLoadBalancerServiceArrayOutputWithContext(context.Context) LoadBalancerServiceArrayOutput }
LoadBalancerServiceArrayInput is an input type that accepts LoadBalancerServiceArray and LoadBalancerServiceArrayOutput values. You can construct a concrete instance of `LoadBalancerServiceArrayInput` via:
LoadBalancerServiceArray{ LoadBalancerServiceArgs{...} }
type LoadBalancerServiceArrayOutput ¶ added in v0.6.2
type LoadBalancerServiceArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceArrayOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerServiceArrayOutput) ElementType() reflect.Type
func (LoadBalancerServiceArrayOutput) Index ¶ added in v0.6.2
func (o LoadBalancerServiceArrayOutput) Index(i pulumi.IntInput) LoadBalancerServiceOutput
func (LoadBalancerServiceArrayOutput) ToLoadBalancerServiceArrayOutput ¶ added in v0.6.2
func (o LoadBalancerServiceArrayOutput) ToLoadBalancerServiceArrayOutput() LoadBalancerServiceArrayOutput
func (LoadBalancerServiceArrayOutput) ToLoadBalancerServiceArrayOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerServiceArrayOutput) ToLoadBalancerServiceArrayOutputWithContext(ctx context.Context) LoadBalancerServiceArrayOutput
type LoadBalancerServiceHealthCheck ¶
type LoadBalancerServiceHealthCheck struct { // HTTP configuration. Required if `protocol` is `http`. Http *LoadBalancerServiceHealthCheckHttp `pulumi:"http"` // Interval how often the health check will be performed, in seconds. Interval int `pulumi:"interval"` // Port the health check tries to connect to, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer. Port int `pulumi:"port"` // Protocol the health check uses. `http` or `tcp` Protocol string `pulumi:"protocol"` // Number of tries a health check will be performed until a target will be listed as `unhealthy`. Retries *int `pulumi:"retries"` // Timeout when a health check try will be canceled if there is no response, in seconds. Timeout int `pulumi:"timeout"` }
type LoadBalancerServiceHealthCheckArgs ¶
type LoadBalancerServiceHealthCheckArgs struct { // HTTP configuration. Required if `protocol` is `http`. Http LoadBalancerServiceHealthCheckHttpPtrInput `pulumi:"http"` // Interval how often the health check will be performed, in seconds. Interval pulumi.IntInput `pulumi:"interval"` // Port the health check tries to connect to, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer. Port pulumi.IntInput `pulumi:"port"` // Protocol the health check uses. `http` or `tcp` Protocol pulumi.StringInput `pulumi:"protocol"` // Number of tries a health check will be performed until a target will be listed as `unhealthy`. Retries pulumi.IntPtrInput `pulumi:"retries"` // Timeout when a health check try will be canceled if there is no response, in seconds. Timeout pulumi.IntInput `pulumi:"timeout"` }
func (LoadBalancerServiceHealthCheckArgs) ElementType ¶
func (LoadBalancerServiceHealthCheckArgs) ElementType() reflect.Type
func (LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckOutput ¶
func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckOutput() LoadBalancerServiceHealthCheckOutput
func (LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckOutputWithContext ¶
func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckOutput
func (LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckPtrOutput ¶
func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput
func (LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckPtrOutputWithContext ¶
func (i LoadBalancerServiceHealthCheckArgs) ToLoadBalancerServiceHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckPtrOutput
type LoadBalancerServiceHealthCheckHttp ¶
type LoadBalancerServiceHealthCheckHttp struct { // Domain we try to access when performing the Health Check. Domain *string `pulumi:"domain"` // Path we try to access when performing the Health Check. Path *string `pulumi:"path"` // Response we expect to be included in the Target response when a Health Check was performed. Response *string `pulumi:"response"` // We expect that the target answers with these status codes. If not the target is marked as `unhealthy`. StatusCodes []string `pulumi:"statusCodes"` // Enable TLS certificate checking. Tls *bool `pulumi:"tls"` }
type LoadBalancerServiceHealthCheckHttpArgs ¶
type LoadBalancerServiceHealthCheckHttpArgs struct { // Domain we try to access when performing the Health Check. Domain pulumi.StringPtrInput `pulumi:"domain"` // Path we try to access when performing the Health Check. Path pulumi.StringPtrInput `pulumi:"path"` // Response we expect to be included in the Target response when a Health Check was performed. Response pulumi.StringPtrInput `pulumi:"response"` // We expect that the target answers with these status codes. If not the target is marked as `unhealthy`. StatusCodes pulumi.StringArrayInput `pulumi:"statusCodes"` // Enable TLS certificate checking. Tls pulumi.BoolPtrInput `pulumi:"tls"` }
func (LoadBalancerServiceHealthCheckHttpArgs) ElementType ¶
func (LoadBalancerServiceHealthCheckHttpArgs) ElementType() reflect.Type
func (LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpOutput ¶
func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpOutput() LoadBalancerServiceHealthCheckHttpOutput
func (LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpOutputWithContext ¶
func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpOutput
func (LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpPtrOutput ¶
func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput
func (LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext ¶
func (i LoadBalancerServiceHealthCheckHttpArgs) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput
type LoadBalancerServiceHealthCheckHttpInput ¶
type LoadBalancerServiceHealthCheckHttpInput interface { pulumi.Input ToLoadBalancerServiceHealthCheckHttpOutput() LoadBalancerServiceHealthCheckHttpOutput ToLoadBalancerServiceHealthCheckHttpOutputWithContext(context.Context) LoadBalancerServiceHealthCheckHttpOutput }
LoadBalancerServiceHealthCheckHttpInput is an input type that accepts LoadBalancerServiceHealthCheckHttpArgs and LoadBalancerServiceHealthCheckHttpOutput values. You can construct a concrete instance of `LoadBalancerServiceHealthCheckHttpInput` via:
LoadBalancerServiceHealthCheckHttpArgs{...}
type LoadBalancerServiceHealthCheckHttpOutput ¶
type LoadBalancerServiceHealthCheckHttpOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceHealthCheckHttpOutput) Domain ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) Domain() pulumi.StringPtrOutput
Domain we try to access when performing the Health Check.
func (LoadBalancerServiceHealthCheckHttpOutput) ElementType ¶
func (LoadBalancerServiceHealthCheckHttpOutput) ElementType() reflect.Type
func (LoadBalancerServiceHealthCheckHttpOutput) Path ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) Path() pulumi.StringPtrOutput
Path we try to access when performing the Health Check.
func (LoadBalancerServiceHealthCheckHttpOutput) Response ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) Response() pulumi.StringPtrOutput
Response we expect to be included in the Target response when a Health Check was performed.
func (LoadBalancerServiceHealthCheckHttpOutput) StatusCodes ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) StatusCodes() pulumi.StringArrayOutput
We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
func (LoadBalancerServiceHealthCheckHttpOutput) Tls ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) Tls() pulumi.BoolPtrOutput
Enable TLS certificate checking.
func (LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpOutput ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpOutput() LoadBalancerServiceHealthCheckHttpOutput
func (LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpOutputWithContext ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpOutput
func (LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutput ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput
func (LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext ¶
func (o LoadBalancerServiceHealthCheckHttpOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput
type LoadBalancerServiceHealthCheckHttpPtrInput ¶
type LoadBalancerServiceHealthCheckHttpPtrInput interface { pulumi.Input ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput }
LoadBalancerServiceHealthCheckHttpPtrInput is an input type that accepts LoadBalancerServiceHealthCheckHttpArgs, LoadBalancerServiceHealthCheckHttpPtr and LoadBalancerServiceHealthCheckHttpPtrOutput values. You can construct a concrete instance of `LoadBalancerServiceHealthCheckHttpPtrInput` via:
LoadBalancerServiceHealthCheckHttpArgs{...} or: nil
func LoadBalancerServiceHealthCheckHttpPtr ¶
func LoadBalancerServiceHealthCheckHttpPtr(v *LoadBalancerServiceHealthCheckHttpArgs) LoadBalancerServiceHealthCheckHttpPtrInput
type LoadBalancerServiceHealthCheckHttpPtrOutput ¶
type LoadBalancerServiceHealthCheckHttpPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceHealthCheckHttpPtrOutput) Domain ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Domain() pulumi.StringPtrOutput
Domain we try to access when performing the Health Check.
func (LoadBalancerServiceHealthCheckHttpPtrOutput) ElementType ¶
func (LoadBalancerServiceHealthCheckHttpPtrOutput) ElementType() reflect.Type
func (LoadBalancerServiceHealthCheckHttpPtrOutput) Path ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Path() pulumi.StringPtrOutput
Path we try to access when performing the Health Check.
func (LoadBalancerServiceHealthCheckHttpPtrOutput) Response ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Response() pulumi.StringPtrOutput
Response we expect to be included in the Target response when a Health Check was performed.
func (LoadBalancerServiceHealthCheckHttpPtrOutput) StatusCodes ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) StatusCodes() pulumi.StringArrayOutput
We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
func (LoadBalancerServiceHealthCheckHttpPtrOutput) Tls ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) Tls() pulumi.BoolPtrOutput
Enable TLS certificate checking.
func (LoadBalancerServiceHealthCheckHttpPtrOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutput ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutput() LoadBalancerServiceHealthCheckHttpPtrOutput
func (LoadBalancerServiceHealthCheckHttpPtrOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext ¶
func (o LoadBalancerServiceHealthCheckHttpPtrOutput) ToLoadBalancerServiceHealthCheckHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckHttpPtrOutput
type LoadBalancerServiceHealthCheckInput ¶
type LoadBalancerServiceHealthCheckInput interface { pulumi.Input ToLoadBalancerServiceHealthCheckOutput() LoadBalancerServiceHealthCheckOutput ToLoadBalancerServiceHealthCheckOutputWithContext(context.Context) LoadBalancerServiceHealthCheckOutput }
LoadBalancerServiceHealthCheckInput is an input type that accepts LoadBalancerServiceHealthCheckArgs and LoadBalancerServiceHealthCheckOutput values. You can construct a concrete instance of `LoadBalancerServiceHealthCheckInput` via:
LoadBalancerServiceHealthCheckArgs{...}
type LoadBalancerServiceHealthCheckOutput ¶
type LoadBalancerServiceHealthCheckOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceHealthCheckOutput) ElementType ¶
func (LoadBalancerServiceHealthCheckOutput) ElementType() reflect.Type
func (LoadBalancerServiceHealthCheckOutput) Http ¶
HTTP configuration. Required if `protocol` is `http`.
func (LoadBalancerServiceHealthCheckOutput) Interval ¶
func (o LoadBalancerServiceHealthCheckOutput) Interval() pulumi.IntOutput
Interval how often the health check will be performed, in seconds.
func (LoadBalancerServiceHealthCheckOutput) Port ¶
func (o LoadBalancerServiceHealthCheckOutput) Port() pulumi.IntOutput
Port the health check tries to connect to, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
func (LoadBalancerServiceHealthCheckOutput) Protocol ¶
func (o LoadBalancerServiceHealthCheckOutput) Protocol() pulumi.StringOutput
Protocol the health check uses. `http` or `tcp`
func (LoadBalancerServiceHealthCheckOutput) Retries ¶
func (o LoadBalancerServiceHealthCheckOutput) Retries() pulumi.IntPtrOutput
Number of tries a health check will be performed until a target will be listed as `unhealthy`.
func (LoadBalancerServiceHealthCheckOutput) Timeout ¶
func (o LoadBalancerServiceHealthCheckOutput) Timeout() pulumi.IntOutput
Timeout when a health check try will be canceled if there is no response, in seconds.
func (LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckOutput ¶
func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckOutput() LoadBalancerServiceHealthCheckOutput
func (LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckOutputWithContext ¶
func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckOutput
func (LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckPtrOutput ¶
func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput
func (LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckPtrOutputWithContext ¶
func (o LoadBalancerServiceHealthCheckOutput) ToLoadBalancerServiceHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckPtrOutput
type LoadBalancerServiceHealthCheckPtrInput ¶
type LoadBalancerServiceHealthCheckPtrInput interface { pulumi.Input ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput ToLoadBalancerServiceHealthCheckPtrOutputWithContext(context.Context) LoadBalancerServiceHealthCheckPtrOutput }
LoadBalancerServiceHealthCheckPtrInput is an input type that accepts LoadBalancerServiceHealthCheckArgs, LoadBalancerServiceHealthCheckPtr and LoadBalancerServiceHealthCheckPtrOutput values. You can construct a concrete instance of `LoadBalancerServiceHealthCheckPtrInput` via:
LoadBalancerServiceHealthCheckArgs{...} or: nil
func LoadBalancerServiceHealthCheckPtr ¶
func LoadBalancerServiceHealthCheckPtr(v *LoadBalancerServiceHealthCheckArgs) LoadBalancerServiceHealthCheckPtrInput
type LoadBalancerServiceHealthCheckPtrOutput ¶
type LoadBalancerServiceHealthCheckPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceHealthCheckPtrOutput) ElementType ¶
func (LoadBalancerServiceHealthCheckPtrOutput) ElementType() reflect.Type
func (LoadBalancerServiceHealthCheckPtrOutput) Http ¶
HTTP configuration. Required if `protocol` is `http`.
func (LoadBalancerServiceHealthCheckPtrOutput) Interval ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) Interval() pulumi.IntPtrOutput
Interval how often the health check will be performed, in seconds.
func (LoadBalancerServiceHealthCheckPtrOutput) Port ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) Port() pulumi.IntPtrOutput
Port the health check tries to connect to, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
func (LoadBalancerServiceHealthCheckPtrOutput) Protocol ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) Protocol() pulumi.StringPtrOutput
Protocol the health check uses. `http` or `tcp`
func (LoadBalancerServiceHealthCheckPtrOutput) Retries ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) Retries() pulumi.IntPtrOutput
Number of tries a health check will be performed until a target will be listed as `unhealthy`.
func (LoadBalancerServiceHealthCheckPtrOutput) Timeout ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) Timeout() pulumi.IntPtrOutput
Timeout when a health check try will be canceled if there is no response, in seconds.
func (LoadBalancerServiceHealthCheckPtrOutput) ToLoadBalancerServiceHealthCheckPtrOutput ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) ToLoadBalancerServiceHealthCheckPtrOutput() LoadBalancerServiceHealthCheckPtrOutput
func (LoadBalancerServiceHealthCheckPtrOutput) ToLoadBalancerServiceHealthCheckPtrOutputWithContext ¶
func (o LoadBalancerServiceHealthCheckPtrOutput) ToLoadBalancerServiceHealthCheckPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHealthCheckPtrOutput
type LoadBalancerServiceHttp ¶
type LoadBalancerServiceHttp struct { // List of IDs from certificates which the Load Balancer has. Certificates []int `pulumi:"certificates"` // Lifetime of the cookie for sticky session (in seconds). Default: `300` CookieLifetime *int `pulumi:"cookieLifetime"` // Name of the cookie for sticky session. Default: `HCLBSTICKY` CookieName *string `pulumi:"cookieName"` // Redirect HTTP to HTTPS traffic. Only supported for services with `protocol` `https` using the default HTTP port `80`. RedirectHttp *bool `pulumi:"redirectHttp"` // Enable sticky sessions StickySessions *bool `pulumi:"stickySessions"` }
type LoadBalancerServiceHttpArgs ¶
type LoadBalancerServiceHttpArgs struct { // List of IDs from certificates which the Load Balancer has. Certificates pulumi.IntArrayInput `pulumi:"certificates"` // Lifetime of the cookie for sticky session (in seconds). Default: `300` CookieLifetime pulumi.IntPtrInput `pulumi:"cookieLifetime"` // Name of the cookie for sticky session. Default: `HCLBSTICKY` CookieName pulumi.StringPtrInput `pulumi:"cookieName"` // Redirect HTTP to HTTPS traffic. Only supported for services with `protocol` `https` using the default HTTP port `80`. RedirectHttp pulumi.BoolPtrInput `pulumi:"redirectHttp"` // Enable sticky sessions StickySessions pulumi.BoolPtrInput `pulumi:"stickySessions"` }
func (LoadBalancerServiceHttpArgs) ElementType ¶
func (LoadBalancerServiceHttpArgs) ElementType() reflect.Type
func (LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpOutput ¶
func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpOutput() LoadBalancerServiceHttpOutput
func (LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpOutputWithContext ¶
func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHttpOutput
func (LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpPtrOutput ¶
func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput
func (LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpPtrOutputWithContext ¶
func (i LoadBalancerServiceHttpArgs) ToLoadBalancerServiceHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHttpPtrOutput
type LoadBalancerServiceHttpInput ¶
type LoadBalancerServiceHttpInput interface { pulumi.Input ToLoadBalancerServiceHttpOutput() LoadBalancerServiceHttpOutput ToLoadBalancerServiceHttpOutputWithContext(context.Context) LoadBalancerServiceHttpOutput }
LoadBalancerServiceHttpInput is an input type that accepts LoadBalancerServiceHttpArgs and LoadBalancerServiceHttpOutput values. You can construct a concrete instance of `LoadBalancerServiceHttpInput` via:
LoadBalancerServiceHttpArgs{...}
type LoadBalancerServiceHttpOutput ¶
type LoadBalancerServiceHttpOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceHttpOutput) Certificates ¶
func (o LoadBalancerServiceHttpOutput) Certificates() pulumi.IntArrayOutput
List of IDs from certificates which the Load Balancer has.
func (LoadBalancerServiceHttpOutput) CookieLifetime ¶
func (o LoadBalancerServiceHttpOutput) CookieLifetime() pulumi.IntPtrOutput
Lifetime of the cookie for sticky session (in seconds). Default: `300`
func (LoadBalancerServiceHttpOutput) CookieName ¶
func (o LoadBalancerServiceHttpOutput) CookieName() pulumi.StringPtrOutput
Name of the cookie for sticky session. Default: `HCLBSTICKY`
func (LoadBalancerServiceHttpOutput) ElementType ¶
func (LoadBalancerServiceHttpOutput) ElementType() reflect.Type
func (LoadBalancerServiceHttpOutput) RedirectHttp ¶
func (o LoadBalancerServiceHttpOutput) RedirectHttp() pulumi.BoolPtrOutput
Redirect HTTP to HTTPS traffic. Only supported for services with `protocol` `https` using the default HTTP port `80`.
func (LoadBalancerServiceHttpOutput) StickySessions ¶
func (o LoadBalancerServiceHttpOutput) StickySessions() pulumi.BoolPtrOutput
Enable sticky sessions
func (LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpOutput ¶
func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpOutput() LoadBalancerServiceHttpOutput
func (LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpOutputWithContext ¶
func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpOutputWithContext(ctx context.Context) LoadBalancerServiceHttpOutput
func (LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpPtrOutput ¶
func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput
func (LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpPtrOutputWithContext ¶
func (o LoadBalancerServiceHttpOutput) ToLoadBalancerServiceHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHttpPtrOutput
type LoadBalancerServiceHttpPtrInput ¶
type LoadBalancerServiceHttpPtrInput interface { pulumi.Input ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput ToLoadBalancerServiceHttpPtrOutputWithContext(context.Context) LoadBalancerServiceHttpPtrOutput }
LoadBalancerServiceHttpPtrInput is an input type that accepts LoadBalancerServiceHttpArgs, LoadBalancerServiceHttpPtr and LoadBalancerServiceHttpPtrOutput values. You can construct a concrete instance of `LoadBalancerServiceHttpPtrInput` via:
LoadBalancerServiceHttpArgs{...} or: nil
func LoadBalancerServiceHttpPtr ¶
func LoadBalancerServiceHttpPtr(v *LoadBalancerServiceHttpArgs) LoadBalancerServiceHttpPtrInput
type LoadBalancerServiceHttpPtrOutput ¶
type LoadBalancerServiceHttpPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceHttpPtrOutput) Certificates ¶
func (o LoadBalancerServiceHttpPtrOutput) Certificates() pulumi.IntArrayOutput
List of IDs from certificates which the Load Balancer has.
func (LoadBalancerServiceHttpPtrOutput) CookieLifetime ¶
func (o LoadBalancerServiceHttpPtrOutput) CookieLifetime() pulumi.IntPtrOutput
Lifetime of the cookie for sticky session (in seconds). Default: `300`
func (LoadBalancerServiceHttpPtrOutput) CookieName ¶
func (o LoadBalancerServiceHttpPtrOutput) CookieName() pulumi.StringPtrOutput
Name of the cookie for sticky session. Default: `HCLBSTICKY`
func (LoadBalancerServiceHttpPtrOutput) Elem ¶
func (o LoadBalancerServiceHttpPtrOutput) Elem() LoadBalancerServiceHttpOutput
func (LoadBalancerServiceHttpPtrOutput) ElementType ¶
func (LoadBalancerServiceHttpPtrOutput) ElementType() reflect.Type
func (LoadBalancerServiceHttpPtrOutput) RedirectHttp ¶
func (o LoadBalancerServiceHttpPtrOutput) RedirectHttp() pulumi.BoolPtrOutput
Redirect HTTP to HTTPS traffic. Only supported for services with `protocol` `https` using the default HTTP port `80`.
func (LoadBalancerServiceHttpPtrOutput) StickySessions ¶
func (o LoadBalancerServiceHttpPtrOutput) StickySessions() pulumi.BoolPtrOutput
Enable sticky sessions
func (LoadBalancerServiceHttpPtrOutput) ToLoadBalancerServiceHttpPtrOutput ¶
func (o LoadBalancerServiceHttpPtrOutput) ToLoadBalancerServiceHttpPtrOutput() LoadBalancerServiceHttpPtrOutput
func (LoadBalancerServiceHttpPtrOutput) ToLoadBalancerServiceHttpPtrOutputWithContext ¶
func (o LoadBalancerServiceHttpPtrOutput) ToLoadBalancerServiceHttpPtrOutputWithContext(ctx context.Context) LoadBalancerServiceHttpPtrOutput
type LoadBalancerServiceInput ¶ added in v0.4.1
type LoadBalancerServiceInput interface { pulumi.Input ToLoadBalancerServiceOutput() LoadBalancerServiceOutput ToLoadBalancerServiceOutputWithContext(ctx context.Context) LoadBalancerServiceOutput }
type LoadBalancerServiceMap ¶ added in v0.6.2
type LoadBalancerServiceMap map[string]LoadBalancerServiceInput
func (LoadBalancerServiceMap) ElementType ¶ added in v0.6.2
func (LoadBalancerServiceMap) ElementType() reflect.Type
func (LoadBalancerServiceMap) ToLoadBalancerServiceMapOutput ¶ added in v0.6.2
func (i LoadBalancerServiceMap) ToLoadBalancerServiceMapOutput() LoadBalancerServiceMapOutput
func (LoadBalancerServiceMap) ToLoadBalancerServiceMapOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerServiceMap) ToLoadBalancerServiceMapOutputWithContext(ctx context.Context) LoadBalancerServiceMapOutput
type LoadBalancerServiceMapInput ¶ added in v0.6.2
type LoadBalancerServiceMapInput interface { pulumi.Input ToLoadBalancerServiceMapOutput() LoadBalancerServiceMapOutput ToLoadBalancerServiceMapOutputWithContext(context.Context) LoadBalancerServiceMapOutput }
LoadBalancerServiceMapInput is an input type that accepts LoadBalancerServiceMap and LoadBalancerServiceMapOutput values. You can construct a concrete instance of `LoadBalancerServiceMapInput` via:
LoadBalancerServiceMap{ "key": LoadBalancerServiceArgs{...} }
type LoadBalancerServiceMapOutput ¶ added in v0.6.2
type LoadBalancerServiceMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceMapOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerServiceMapOutput) ElementType() reflect.Type
func (LoadBalancerServiceMapOutput) MapIndex ¶ added in v0.6.2
func (o LoadBalancerServiceMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerServiceOutput
func (LoadBalancerServiceMapOutput) ToLoadBalancerServiceMapOutput ¶ added in v0.6.2
func (o LoadBalancerServiceMapOutput) ToLoadBalancerServiceMapOutput() LoadBalancerServiceMapOutput
func (LoadBalancerServiceMapOutput) ToLoadBalancerServiceMapOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerServiceMapOutput) ToLoadBalancerServiceMapOutputWithContext(ctx context.Context) LoadBalancerServiceMapOutput
type LoadBalancerServiceOutput ¶ added in v0.4.1
type LoadBalancerServiceOutput struct{ *pulumi.OutputState }
func (LoadBalancerServiceOutput) DestinationPort ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) DestinationPort() pulumi.IntOutput
Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
func (LoadBalancerServiceOutput) ElementType ¶ added in v0.4.1
func (LoadBalancerServiceOutput) ElementType() reflect.Type
func (LoadBalancerServiceOutput) HealthCheck ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) HealthCheck() LoadBalancerServiceHealthCheckOutput
Health Check configuration when `protocol` is `http` or `https`.
func (LoadBalancerServiceOutput) Http ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) Http() LoadBalancerServiceHttpOutput
HTTP configuration when `protocol` is `http` or `https`.
func (LoadBalancerServiceOutput) ListenPort ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) ListenPort() pulumi.IntOutput
Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
func (LoadBalancerServiceOutput) LoadBalancerId ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) LoadBalancerId() pulumi.StringOutput
Id of the load balancer this service belongs to.
func (LoadBalancerServiceOutput) Protocol ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) Protocol() pulumi.StringOutput
Protocol of the service. `http`, `https` or `tcp`
func (LoadBalancerServiceOutput) Proxyprotocol ¶ added in v1.9.0
func (o LoadBalancerServiceOutput) Proxyprotocol() pulumi.BoolOutput
Enable proxyprotocol.
func (LoadBalancerServiceOutput) ToLoadBalancerServiceOutput ¶ added in v0.4.1
func (o LoadBalancerServiceOutput) ToLoadBalancerServiceOutput() LoadBalancerServiceOutput
func (LoadBalancerServiceOutput) ToLoadBalancerServiceOutputWithContext ¶ added in v0.4.1
func (o LoadBalancerServiceOutput) ToLoadBalancerServiceOutputWithContext(ctx context.Context) LoadBalancerServiceOutput
type LoadBalancerServiceState ¶
type LoadBalancerServiceState struct { // Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`. DestinationPort pulumi.IntPtrInput // Health Check configuration when `protocol` is `http` or `https`. HealthCheck LoadBalancerServiceHealthCheckPtrInput // HTTP configuration when `protocol` is `http` or `https`. Http LoadBalancerServiceHttpPtrInput // Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer. ListenPort pulumi.IntPtrInput // Id of the load balancer this service belongs to. LoadBalancerId pulumi.StringPtrInput // Protocol of the service. `http`, `https` or `tcp` Protocol pulumi.StringPtrInput // Enable proxyprotocol. Proxyprotocol pulumi.BoolPtrInput }
func (LoadBalancerServiceState) ElementType ¶
func (LoadBalancerServiceState) ElementType() reflect.Type
type LoadBalancerState ¶
type LoadBalancerState struct { // Configuration of the algorithm the Load Balancer use. Algorithm LoadBalancerAlgorithmPtrInput // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // (string) IPv4 Address of the Load Balancer. Ipv4 pulumi.StringPtrInput // (string) IPv6 Address of the Load Balancer. Ipv6 pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Type of the Load Balancer. LoadBalancerType pulumi.StringPtrInput // The location name of the Load Balancer. Require when no networkZone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput // Name of the Load Balancer. Name pulumi.StringPtrInput // (int) ID of the first private network that this Load Balancer is connected to. NetworkId pulumi.IntPtrInput // (string) IP of the Load Balancer in the first private network that it is connected to. NetworkIp pulumi.StringPtrInput // The Network Zone of the Load Balancer. Require when no location is set. NetworkZone pulumi.StringPtrInput // Deprecated: Use LoadBalancerTarget resource instead. This allows the full control over the selected targets. Targets LoadBalancerTargetTypeArrayInput }
func (LoadBalancerState) ElementType ¶
func (LoadBalancerState) ElementType() reflect.Type
type LoadBalancerTarget ¶
type LoadBalancerTarget struct { pulumi.CustomResourceState // IP address for an IP Target. Required if // `type` is `ip`. Ip pulumi.StringPtrOutput `pulumi:"ip"` // Label Selector selecting targets // for this Load Balancer. Required if `type` is `labelSelector`. LabelSelector pulumi.StringPtrOutput `pulumi:"labelSelector"` // ID of the Load Balancer to which // the target gets attached. LoadBalancerId pulumi.IntOutput `pulumi:"loadBalancerId"` // ID of the server which should be a // target for this Load Balancer. Required if `type` is `server` ServerId pulumi.IntPtrOutput `pulumi:"serverId"` // Type of the target. Possible values // `server`, `labelSelector`, `ip`. Type pulumi.StringOutput `pulumi:"type"` // use the private IP to connect to // Load Balancer targets. Only allowed if type is `server` or // `labelSelector`. UsePrivateIp pulumi.BoolOutput `pulumi:"usePrivateIp"` }
Adds a target to a Hetzner Cloud Load Balancer.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myServer, err := hcloud.NewServer(ctx, "my_server", &hcloud.ServerArgs{ Name: pulumi.String("my-server"), ServerType: pulumi.String("cx22"), Image: pulumi.String("ubuntu-18.04"), }) if err != nil { return err } loadBalancer, err := hcloud.NewLoadBalancer(ctx, "load_balancer", &hcloud.LoadBalancerArgs{ Name: pulumi.String("my-load-balancer"), LoadBalancerType: pulumi.String("lb11"), Location: pulumi.String("nbg1"), }) if err != nil { return err } _, err = hcloud.NewLoadBalancerTarget(ctx, "load_balancer_target", &hcloud.LoadBalancerTargetArgs{ Type: pulumi.String("server"), LoadBalancerId: loadBalancer.ID(), ServerId: myServer.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Load Balancer Target entries can be imported using a compound ID with the following format:
`<load-balancer-id>__<type>__<identifier>`
Where _identifier_ depends on the _type_:
- `server`: server id, for example: `123`
- `label_selector`: label selector, for example: `foo=bar`
- `ip`: ip address, for example: `203.0.113.123`
```sh $ pulumi import hcloud:index/loadBalancerTarget:LoadBalancerTarget server "${LOAD_BALANCER_ID}__server__${SERVER_ID}" ```
```sh $ pulumi import hcloud:index/loadBalancerTarget:LoadBalancerTarget label "${LOAD_BALANCER_ID}__label_selector__${LABEL_SELECTOR}" ```
```sh $ pulumi import hcloud:index/loadBalancerTarget:LoadBalancerTarget ip "${LOAD_BALANCER_ID}__ip__${IP}" ```
func GetLoadBalancerTarget ¶
func GetLoadBalancerTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LoadBalancerTargetState, opts ...pulumi.ResourceOption) (*LoadBalancerTarget, error)
GetLoadBalancerTarget gets an existing LoadBalancerTarget 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 NewLoadBalancerTarget ¶
func NewLoadBalancerTarget(ctx *pulumi.Context, name string, args *LoadBalancerTargetArgs, opts ...pulumi.ResourceOption) (*LoadBalancerTarget, error)
NewLoadBalancerTarget registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancerTarget) ElementType ¶ added in v0.4.1
func (*LoadBalancerTarget) ElementType() reflect.Type
func (*LoadBalancerTarget) ToLoadBalancerTargetOutput ¶ added in v0.4.1
func (i *LoadBalancerTarget) ToLoadBalancerTargetOutput() LoadBalancerTargetOutput
func (*LoadBalancerTarget) ToLoadBalancerTargetOutputWithContext ¶ added in v0.4.1
func (i *LoadBalancerTarget) ToLoadBalancerTargetOutputWithContext(ctx context.Context) LoadBalancerTargetOutput
type LoadBalancerTargetArgs ¶
type LoadBalancerTargetArgs struct { // IP address for an IP Target. Required if // `type` is `ip`. Ip pulumi.StringPtrInput // Label Selector selecting targets // for this Load Balancer. Required if `type` is `labelSelector`. LabelSelector pulumi.StringPtrInput // ID of the Load Balancer to which // the target gets attached. LoadBalancerId pulumi.IntInput // ID of the server which should be a // target for this Load Balancer. Required if `type` is `server` ServerId pulumi.IntPtrInput // Type of the target. Possible values // `server`, `labelSelector`, `ip`. Type pulumi.StringInput // use the private IP to connect to // Load Balancer targets. Only allowed if type is `server` or // `labelSelector`. UsePrivateIp pulumi.BoolPtrInput }
The set of arguments for constructing a LoadBalancerTarget resource.
func (LoadBalancerTargetArgs) ElementType ¶
func (LoadBalancerTargetArgs) ElementType() reflect.Type
type LoadBalancerTargetArray ¶ added in v0.6.2
type LoadBalancerTargetArray []LoadBalancerTargetInput
func (LoadBalancerTargetArray) ElementType ¶ added in v0.6.2
func (LoadBalancerTargetArray) ElementType() reflect.Type
func (LoadBalancerTargetArray) ToLoadBalancerTargetArrayOutput ¶ added in v0.6.2
func (i LoadBalancerTargetArray) ToLoadBalancerTargetArrayOutput() LoadBalancerTargetArrayOutput
func (LoadBalancerTargetArray) ToLoadBalancerTargetArrayOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerTargetArray) ToLoadBalancerTargetArrayOutputWithContext(ctx context.Context) LoadBalancerTargetArrayOutput
type LoadBalancerTargetArrayInput ¶ added in v0.6.2
type LoadBalancerTargetArrayInput interface { pulumi.Input ToLoadBalancerTargetArrayOutput() LoadBalancerTargetArrayOutput ToLoadBalancerTargetArrayOutputWithContext(context.Context) LoadBalancerTargetArrayOutput }
LoadBalancerTargetArrayInput is an input type that accepts LoadBalancerTargetArray and LoadBalancerTargetArrayOutput values. You can construct a concrete instance of `LoadBalancerTargetArrayInput` via:
LoadBalancerTargetArray{ LoadBalancerTargetArgs{...} }
type LoadBalancerTargetArrayOutput ¶ added in v0.6.2
type LoadBalancerTargetArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerTargetArrayOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerTargetArrayOutput) ElementType() reflect.Type
func (LoadBalancerTargetArrayOutput) Index ¶ added in v0.6.2
func (o LoadBalancerTargetArrayOutput) Index(i pulumi.IntInput) LoadBalancerTargetOutput
func (LoadBalancerTargetArrayOutput) ToLoadBalancerTargetArrayOutput ¶ added in v0.6.2
func (o LoadBalancerTargetArrayOutput) ToLoadBalancerTargetArrayOutput() LoadBalancerTargetArrayOutput
func (LoadBalancerTargetArrayOutput) ToLoadBalancerTargetArrayOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerTargetArrayOutput) ToLoadBalancerTargetArrayOutputWithContext(ctx context.Context) LoadBalancerTargetArrayOutput
type LoadBalancerTargetInput ¶ added in v0.4.1
type LoadBalancerTargetInput interface { pulumi.Input ToLoadBalancerTargetOutput() LoadBalancerTargetOutput ToLoadBalancerTargetOutputWithContext(ctx context.Context) LoadBalancerTargetOutput }
type LoadBalancerTargetMap ¶ added in v0.6.2
type LoadBalancerTargetMap map[string]LoadBalancerTargetInput
func (LoadBalancerTargetMap) ElementType ¶ added in v0.6.2
func (LoadBalancerTargetMap) ElementType() reflect.Type
func (LoadBalancerTargetMap) ToLoadBalancerTargetMapOutput ¶ added in v0.6.2
func (i LoadBalancerTargetMap) ToLoadBalancerTargetMapOutput() LoadBalancerTargetMapOutput
func (LoadBalancerTargetMap) ToLoadBalancerTargetMapOutputWithContext ¶ added in v0.6.2
func (i LoadBalancerTargetMap) ToLoadBalancerTargetMapOutputWithContext(ctx context.Context) LoadBalancerTargetMapOutput
type LoadBalancerTargetMapInput ¶ added in v0.6.2
type LoadBalancerTargetMapInput interface { pulumi.Input ToLoadBalancerTargetMapOutput() LoadBalancerTargetMapOutput ToLoadBalancerTargetMapOutputWithContext(context.Context) LoadBalancerTargetMapOutput }
LoadBalancerTargetMapInput is an input type that accepts LoadBalancerTargetMap and LoadBalancerTargetMapOutput values. You can construct a concrete instance of `LoadBalancerTargetMapInput` via:
LoadBalancerTargetMap{ "key": LoadBalancerTargetArgs{...} }
type LoadBalancerTargetMapOutput ¶ added in v0.6.2
type LoadBalancerTargetMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerTargetMapOutput) ElementType ¶ added in v0.6.2
func (LoadBalancerTargetMapOutput) ElementType() reflect.Type
func (LoadBalancerTargetMapOutput) MapIndex ¶ added in v0.6.2
func (o LoadBalancerTargetMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerTargetOutput
func (LoadBalancerTargetMapOutput) ToLoadBalancerTargetMapOutput ¶ added in v0.6.2
func (o LoadBalancerTargetMapOutput) ToLoadBalancerTargetMapOutput() LoadBalancerTargetMapOutput
func (LoadBalancerTargetMapOutput) ToLoadBalancerTargetMapOutputWithContext ¶ added in v0.6.2
func (o LoadBalancerTargetMapOutput) ToLoadBalancerTargetMapOutputWithContext(ctx context.Context) LoadBalancerTargetMapOutput
type LoadBalancerTargetOutput ¶ added in v0.4.1
type LoadBalancerTargetOutput struct{ *pulumi.OutputState }
func (LoadBalancerTargetOutput) ElementType ¶ added in v0.4.1
func (LoadBalancerTargetOutput) ElementType() reflect.Type
func (LoadBalancerTargetOutput) Ip ¶ added in v1.9.0
func (o LoadBalancerTargetOutput) Ip() pulumi.StringPtrOutput
IP address for an IP Target. Required if `type` is `ip`.
func (LoadBalancerTargetOutput) LabelSelector ¶ added in v1.9.0
func (o LoadBalancerTargetOutput) LabelSelector() pulumi.StringPtrOutput
Label Selector selecting targets for this Load Balancer. Required if `type` is `labelSelector`.
func (LoadBalancerTargetOutput) LoadBalancerId ¶ added in v1.9.0
func (o LoadBalancerTargetOutput) LoadBalancerId() pulumi.IntOutput
ID of the Load Balancer to which the target gets attached.
func (LoadBalancerTargetOutput) ServerId ¶ added in v1.9.0
func (o LoadBalancerTargetOutput) ServerId() pulumi.IntPtrOutput
ID of the server which should be a target for this Load Balancer. Required if `type` is `server`
func (LoadBalancerTargetOutput) ToLoadBalancerTargetOutput ¶ added in v0.4.1
func (o LoadBalancerTargetOutput) ToLoadBalancerTargetOutput() LoadBalancerTargetOutput
func (LoadBalancerTargetOutput) ToLoadBalancerTargetOutputWithContext ¶ added in v0.4.1
func (o LoadBalancerTargetOutput) ToLoadBalancerTargetOutputWithContext(ctx context.Context) LoadBalancerTargetOutput
func (LoadBalancerTargetOutput) Type ¶ added in v1.9.0
func (o LoadBalancerTargetOutput) Type() pulumi.StringOutput
Type of the target. Possible values `server`, `labelSelector`, `ip`.
func (LoadBalancerTargetOutput) UsePrivateIp ¶ added in v1.9.0
func (o LoadBalancerTargetOutput) UsePrivateIp() pulumi.BoolOutput
use the private IP to connect to Load Balancer targets. Only allowed if type is `server` or `labelSelector`.
type LoadBalancerTargetState ¶
type LoadBalancerTargetState struct { // IP address for an IP Target. Required if // `type` is `ip`. Ip pulumi.StringPtrInput // Label Selector selecting targets // for this Load Balancer. Required if `type` is `labelSelector`. LabelSelector pulumi.StringPtrInput // ID of the Load Balancer to which // the target gets attached. LoadBalancerId pulumi.IntPtrInput // ID of the server which should be a // target for this Load Balancer. Required if `type` is `server` ServerId pulumi.IntPtrInput // Type of the target. Possible values // `server`, `labelSelector`, `ip`. Type pulumi.StringPtrInput // use the private IP to connect to // Load Balancer targets. Only allowed if type is `server` or // `labelSelector`. UsePrivateIp pulumi.BoolPtrInput }
func (LoadBalancerTargetState) ElementType ¶
func (LoadBalancerTargetState) ElementType() reflect.Type
type LoadBalancerTargetType ¶
type LoadBalancerTargetType struct { ServerId *int `pulumi:"serverId"` // (string) Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections` Type string `pulumi:"type"` // Deprecated: Does not work. Use the LoadBalancerTarget resource instead. UsePrivateIp *bool `pulumi:"usePrivateIp"` }
type LoadBalancerTargetTypeArgs ¶
type LoadBalancerTargetTypeArgs struct { ServerId pulumi.IntPtrInput `pulumi:"serverId"` // (string) Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections` Type pulumi.StringInput `pulumi:"type"` // Deprecated: Does not work. Use the LoadBalancerTarget resource instead. UsePrivateIp pulumi.BoolPtrInput `pulumi:"usePrivateIp"` }
func (LoadBalancerTargetTypeArgs) ElementType ¶
func (LoadBalancerTargetTypeArgs) ElementType() reflect.Type
func (LoadBalancerTargetTypeArgs) ToLoadBalancerTargetTypeOutput ¶
func (i LoadBalancerTargetTypeArgs) ToLoadBalancerTargetTypeOutput() LoadBalancerTargetTypeOutput
func (LoadBalancerTargetTypeArgs) ToLoadBalancerTargetTypeOutputWithContext ¶
func (i LoadBalancerTargetTypeArgs) ToLoadBalancerTargetTypeOutputWithContext(ctx context.Context) LoadBalancerTargetTypeOutput
type LoadBalancerTargetTypeArray ¶
type LoadBalancerTargetTypeArray []LoadBalancerTargetTypeInput
func (LoadBalancerTargetTypeArray) ElementType ¶
func (LoadBalancerTargetTypeArray) ElementType() reflect.Type
func (LoadBalancerTargetTypeArray) ToLoadBalancerTargetTypeArrayOutput ¶
func (i LoadBalancerTargetTypeArray) ToLoadBalancerTargetTypeArrayOutput() LoadBalancerTargetTypeArrayOutput
func (LoadBalancerTargetTypeArray) ToLoadBalancerTargetTypeArrayOutputWithContext ¶
func (i LoadBalancerTargetTypeArray) ToLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) LoadBalancerTargetTypeArrayOutput
type LoadBalancerTargetTypeArrayInput ¶
type LoadBalancerTargetTypeArrayInput interface { pulumi.Input ToLoadBalancerTargetTypeArrayOutput() LoadBalancerTargetTypeArrayOutput ToLoadBalancerTargetTypeArrayOutputWithContext(context.Context) LoadBalancerTargetTypeArrayOutput }
LoadBalancerTargetTypeArrayInput is an input type that accepts LoadBalancerTargetTypeArray and LoadBalancerTargetTypeArrayOutput values. You can construct a concrete instance of `LoadBalancerTargetTypeArrayInput` via:
LoadBalancerTargetTypeArray{ LoadBalancerTargetTypeArgs{...} }
type LoadBalancerTargetTypeArrayOutput ¶
type LoadBalancerTargetTypeArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerTargetTypeArrayOutput) ElementType ¶
func (LoadBalancerTargetTypeArrayOutput) ElementType() reflect.Type
func (LoadBalancerTargetTypeArrayOutput) Index ¶
func (o LoadBalancerTargetTypeArrayOutput) Index(i pulumi.IntInput) LoadBalancerTargetTypeOutput
func (LoadBalancerTargetTypeArrayOutput) ToLoadBalancerTargetTypeArrayOutput ¶
func (o LoadBalancerTargetTypeArrayOutput) ToLoadBalancerTargetTypeArrayOutput() LoadBalancerTargetTypeArrayOutput
func (LoadBalancerTargetTypeArrayOutput) ToLoadBalancerTargetTypeArrayOutputWithContext ¶
func (o LoadBalancerTargetTypeArrayOutput) ToLoadBalancerTargetTypeArrayOutputWithContext(ctx context.Context) LoadBalancerTargetTypeArrayOutput
type LoadBalancerTargetTypeInput ¶
type LoadBalancerTargetTypeInput interface { pulumi.Input ToLoadBalancerTargetTypeOutput() LoadBalancerTargetTypeOutput ToLoadBalancerTargetTypeOutputWithContext(context.Context) LoadBalancerTargetTypeOutput }
LoadBalancerTargetTypeInput is an input type that accepts LoadBalancerTargetTypeArgs and LoadBalancerTargetTypeOutput values. You can construct a concrete instance of `LoadBalancerTargetTypeInput` via:
LoadBalancerTargetTypeArgs{...}
type LoadBalancerTargetTypeOutput ¶
type LoadBalancerTargetTypeOutput struct{ *pulumi.OutputState }
func (LoadBalancerTargetTypeOutput) ElementType ¶
func (LoadBalancerTargetTypeOutput) ElementType() reflect.Type
func (LoadBalancerTargetTypeOutput) ServerId ¶
func (o LoadBalancerTargetTypeOutput) ServerId() pulumi.IntPtrOutput
func (LoadBalancerTargetTypeOutput) ToLoadBalancerTargetTypeOutput ¶
func (o LoadBalancerTargetTypeOutput) ToLoadBalancerTargetTypeOutput() LoadBalancerTargetTypeOutput
func (LoadBalancerTargetTypeOutput) ToLoadBalancerTargetTypeOutputWithContext ¶
func (o LoadBalancerTargetTypeOutput) ToLoadBalancerTargetTypeOutputWithContext(ctx context.Context) LoadBalancerTargetTypeOutput
func (LoadBalancerTargetTypeOutput) Type ¶
func (o LoadBalancerTargetTypeOutput) Type() pulumi.StringOutput
(string) Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections`
func (LoadBalancerTargetTypeOutput) UsePrivateIp
deprecated
func (o LoadBalancerTargetTypeOutput) UsePrivateIp() pulumi.BoolPtrOutput
Deprecated: Does not work. Use the LoadBalancerTarget resource instead.
type LookupCertificateArgs ¶
type LookupCertificateArgs struct { // ID of the certificate. Id *int `pulumi:"id"` // Name of the certificate. Name *string `pulumi:"name"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getCertificate.
type LookupCertificateOutputArgs ¶ added in v1.6.0
type LookupCertificateOutputArgs struct { // ID of the certificate. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the certificate. Name pulumi.StringPtrInput `pulumi:"name"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getCertificate.
func (LookupCertificateOutputArgs) ElementType ¶ added in v1.6.0
func (LookupCertificateOutputArgs) ElementType() reflect.Type
type LookupCertificateResult ¶
type LookupCertificateResult struct { // (string) PEM encoded TLS certificate. Certificate string `pulumi:"certificate"` // (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). Created string `pulumi:"created"` // (list) Domains and subdomains covered by the certificate. DomainNames []string `pulumi:"domainNames"` // (string) Fingerprint of the certificate. Fingerprint string `pulumi:"fingerprint"` // (int) Unique ID of the certificate. Id int `pulumi:"id"` // (map) User-defined labels (key-value pairs) assigned to the certificate. Labels map[string]string `pulumi:"labels"` // (string) Name of the Certificate. Name *string `pulumi:"name"` // (string) Point in time when the Certificate stops being valid (in ISO-8601 format). NotValidAfter string `pulumi:"notValidAfter"` // (string) Point in time when the Certificate becomes valid (in ISO-8601 format). NotValidBefore string `pulumi:"notValidBefore"` Type string `pulumi:"type"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getCertificate.
func LookupCertificate ¶
func LookupCertificate(ctx *pulumi.Context, args *LookupCertificateArgs, opts ...pulumi.InvokeOption) (*LookupCertificateResult, error)
Provides details about a specific Hetzner Cloud Certificate.
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupCertificate(ctx, &hcloud.LookupCertificateArgs{ Name: pulumi.StringRef("sample-certificate-1"), }, nil) if err != nil { return err } _, err = hcloud.LookupCertificate(ctx, &hcloud.LookupCertificateArgs{ Id: pulumi.IntRef(4711), }, nil) if err != nil { return err } return nil }) }
```
type LookupCertificateResultOutput ¶ added in v1.6.0
type LookupCertificateResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCertificate.
func LookupCertificateOutput ¶ added in v1.6.0
func LookupCertificateOutput(ctx *pulumi.Context, args LookupCertificateOutputArgs, opts ...pulumi.InvokeOption) LookupCertificateResultOutput
func (LookupCertificateResultOutput) Certificate ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Certificate() pulumi.StringOutput
(string) PEM encoded TLS certificate.
func (LookupCertificateResultOutput) Created ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Created() pulumi.StringOutput
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
func (LookupCertificateResultOutput) DomainNames ¶ added in v1.6.0
func (o LookupCertificateResultOutput) DomainNames() pulumi.StringArrayOutput
(list) Domains and subdomains covered by the certificate.
func (LookupCertificateResultOutput) ElementType ¶ added in v1.6.0
func (LookupCertificateResultOutput) ElementType() reflect.Type
func (LookupCertificateResultOutput) Fingerprint ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Fingerprint() pulumi.StringOutput
(string) Fingerprint of the certificate.
func (LookupCertificateResultOutput) Id ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the certificate.
func (LookupCertificateResultOutput) Labels ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs) assigned to the certificate.
func (LookupCertificateResultOutput) Name ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Name() pulumi.StringPtrOutput
(string) Name of the Certificate.
func (LookupCertificateResultOutput) NotValidAfter ¶ added in v1.6.0
func (o LookupCertificateResultOutput) NotValidAfter() pulumi.StringOutput
(string) Point in time when the Certificate stops being valid (in ISO-8601 format).
func (LookupCertificateResultOutput) NotValidBefore ¶ added in v1.6.0
func (o LookupCertificateResultOutput) NotValidBefore() pulumi.StringOutput
(string) Point in time when the Certificate becomes valid (in ISO-8601 format).
func (LookupCertificateResultOutput) ToLookupCertificateResultOutput ¶ added in v1.6.0
func (o LookupCertificateResultOutput) ToLookupCertificateResultOutput() LookupCertificateResultOutput
func (LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext ¶ added in v1.6.0
func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext(ctx context.Context) LookupCertificateResultOutput
func (LookupCertificateResultOutput) Type ¶ added in v1.6.0
func (o LookupCertificateResultOutput) Type() pulumi.StringOutput
func (LookupCertificateResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupCertificateResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupFirewallArgs ¶ added in v0.7.0
type LookupFirewallArgs struct { // Configuration of the Applied Resources ApplyTos []GetFirewallApplyTo `pulumi:"applyTos"` // ID of the firewall. Id *int `pulumi:"id"` // (map) User-defined labels (key-value pairs) Labels map[string]string `pulumi:"labels"` // Return most recent firewall if multiple are found. MostRecent *bool `pulumi:"mostRecent"` // Name of the firewall. Name *string `pulumi:"name"` // (string) Configuration of a Rule from this Firewall. Rules []GetFirewallRule `pulumi:"rules"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getFirewall.
type LookupFirewallOutputArgs ¶ added in v1.6.0
type LookupFirewallOutputArgs struct { // Configuration of the Applied Resources ApplyTos GetFirewallApplyToArrayInput `pulumi:"applyTos"` // ID of the firewall. Id pulumi.IntPtrInput `pulumi:"id"` // (map) User-defined labels (key-value pairs) Labels pulumi.StringMapInput `pulumi:"labels"` // Return most recent firewall if multiple are found. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Name of the firewall. Name pulumi.StringPtrInput `pulumi:"name"` // (string) Configuration of a Rule from this Firewall. Rules GetFirewallRuleArrayInput `pulumi:"rules"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getFirewall.
func (LookupFirewallOutputArgs) ElementType ¶ added in v1.6.0
func (LookupFirewallOutputArgs) ElementType() reflect.Type
type LookupFirewallResult ¶ added in v0.7.0
type LookupFirewallResult struct { // Configuration of the Applied Resources ApplyTos []GetFirewallApplyTo `pulumi:"applyTos"` // (int) Unique ID of the Firewall. Id *int `pulumi:"id"` // (map) User-defined labels (key-value pairs) Labels map[string]string `pulumi:"labels"` MostRecent *bool `pulumi:"mostRecent"` // (string) Name of the Firewall. Name string `pulumi:"name"` // (string) Configuration of a Rule from this Firewall. Rules []GetFirewallRule `pulumi:"rules"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getFirewall.
func LookupFirewall ¶ added in v0.7.0
func LookupFirewall(ctx *pulumi.Context, args *LookupFirewallArgs, opts ...pulumi.InvokeOption) (*LookupFirewallResult, error)
Provides details about a specific Hetzner Cloud Firewall.
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupFirewall(ctx, &hcloud.LookupFirewallArgs{ Name: pulumi.StringRef("sample-firewall-1"), }, nil) if err != nil { return err } _, err = hcloud.LookupFirewall(ctx, &hcloud.LookupFirewallArgs{ Id: pulumi.IntRef(4711), }, nil) if err != nil { return err } return nil }) }
```
type LookupFirewallResultOutput ¶ added in v1.6.0
type LookupFirewallResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFirewall.
func LookupFirewallOutput ¶ added in v1.6.0
func LookupFirewallOutput(ctx *pulumi.Context, args LookupFirewallOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallResultOutput
func (LookupFirewallResultOutput) ApplyTos ¶ added in v1.6.0
func (o LookupFirewallResultOutput) ApplyTos() GetFirewallApplyToArrayOutput
Configuration of the Applied Resources
func (LookupFirewallResultOutput) ElementType ¶ added in v1.6.0
func (LookupFirewallResultOutput) ElementType() reflect.Type
func (LookupFirewallResultOutput) Id ¶ added in v1.6.0
func (o LookupFirewallResultOutput) Id() pulumi.IntPtrOutput
(int) Unique ID of the Firewall.
func (LookupFirewallResultOutput) Labels ¶ added in v1.6.0
func (o LookupFirewallResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs)
func (LookupFirewallResultOutput) MostRecent ¶ added in v1.6.0
func (o LookupFirewallResultOutput) MostRecent() pulumi.BoolPtrOutput
func (LookupFirewallResultOutput) Name ¶ added in v1.6.0
func (o LookupFirewallResultOutput) Name() pulumi.StringOutput
(string) Name of the Firewall.
func (LookupFirewallResultOutput) Rules ¶ added in v1.6.0
func (o LookupFirewallResultOutput) Rules() GetFirewallRuleArrayOutput
(string) Configuration of a Rule from this Firewall.
func (LookupFirewallResultOutput) ToLookupFirewallResultOutput ¶ added in v1.6.0
func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput
func (LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext ¶ added in v1.6.0
func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput
func (LookupFirewallResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupFirewallResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupFloatingIpArgs ¶
type LookupFloatingIpArgs struct { // ID of the Floating IP. Id *int `pulumi:"id"` // IP address of the Floating IP. IpAddress *string `pulumi:"ipAddress"` // Name of the Floating IP. Name *string `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getFloatingIp.
type LookupFloatingIpOutputArgs ¶ added in v1.6.0
type LookupFloatingIpOutputArgs struct { // ID of the Floating IP. Id pulumi.IntPtrInput `pulumi:"id"` // IP address of the Floating IP. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` // Name of the Floating IP. Name pulumi.StringPtrInput `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector pulumi.StringPtrInput `pulumi:"selector"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getFloatingIp.
func (LookupFloatingIpOutputArgs) ElementType ¶ added in v1.6.0
func (LookupFloatingIpOutputArgs) ElementType() reflect.Type
type LookupFloatingIpResult ¶
type LookupFloatingIpResult struct { // (bool) Whether delete protection is enabled. DeleteProtection bool `pulumi:"deleteProtection"` // (string) Description of the Floating IP. Description string `pulumi:"description"` // (string) Home location. HomeLocation string `pulumi:"homeLocation"` // (int) Unique ID of the Floating IP. Id int `pulumi:"id"` // (string) IP Address of the Floating IP. IpAddress string `pulumi:"ipAddress"` // (string) IPv6 subnet. (Only set if `type` is `ipv6`) IpNetwork string `pulumi:"ipNetwork"` // (map) User-defined labels (key-value pairs). Labels map[string]string `pulumi:"labels"` // (string) Name of the Floating IP. Name *string `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // (int) Server to assign the Floating IP is assigned to. ServerId int `pulumi:"serverId"` // (string) Type of the Floating IP. Type string `pulumi:"type"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getFloatingIp.
func LookupFloatingIp ¶
func LookupFloatingIp(ctx *pulumi.Context, args *LookupFloatingIpArgs, opts ...pulumi.InvokeOption) (*LookupFloatingIpResult, error)
Provides details about a Hetzner Cloud Floating IP.
This resource can be useful when you need to determine a Floating IP ID based on the IP address.
## Example Usage
Data Source: FloatingIp ¶
Provides details about a Hetzner Cloud Floating IP. This resource can be useful when you need to determine a Floating IP ID based on the IP address.
### Additional Examples
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ip1, err := hcloud.LookupFloatingIp(ctx, &hcloud.LookupFloatingIpArgs{ IpAddress: pulumi.StringRef("1.2.3.4"), }, nil) if err != nil { return err } _, err = hcloud.LookupFloatingIp(ctx, &hcloud.LookupFloatingIpArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } var main []*hcloud.FloatingIpAssignment for index := 0; index < counter; index++ { key0 := index _ := index __res, err := hcloud.NewFloatingIpAssignment(ctx, fmt.Sprintf("main-%v", key0), &hcloud.FloatingIpAssignmentArgs{ FloatingIpId: pulumi.Int(ip1.Id), ServerId: pulumi.Any(mainHcloudServer.Id), }) if err != nil { return err } main = append(main, __res) } return nil }) }
```
type LookupFloatingIpResultOutput ¶ added in v1.6.0
type LookupFloatingIpResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFloatingIp.
func LookupFloatingIpOutput ¶ added in v1.6.0
func LookupFloatingIpOutput(ctx *pulumi.Context, args LookupFloatingIpOutputArgs, opts ...pulumi.InvokeOption) LookupFloatingIpResultOutput
func (LookupFloatingIpResultOutput) DeleteProtection ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) DeleteProtection() pulumi.BoolOutput
(bool) Whether delete protection is enabled.
func (LookupFloatingIpResultOutput) Description ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) Description() pulumi.StringOutput
(string) Description of the Floating IP.
func (LookupFloatingIpResultOutput) ElementType ¶ added in v1.6.0
func (LookupFloatingIpResultOutput) ElementType() reflect.Type
func (LookupFloatingIpResultOutput) HomeLocation ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) HomeLocation() pulumi.StringOutput
(string) Home location.
func (LookupFloatingIpResultOutput) Id ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the Floating IP.
func (LookupFloatingIpResultOutput) IpAddress ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) IpAddress() pulumi.StringOutput
(string) IP Address of the Floating IP.
func (LookupFloatingIpResultOutput) IpNetwork ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) IpNetwork() pulumi.StringOutput
(string) IPv6 subnet. (Only set if `type` is `ipv6`)
func (LookupFloatingIpResultOutput) Labels ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs).
func (LookupFloatingIpResultOutput) Name ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) Name() pulumi.StringPtrOutput
(string) Name of the Floating IP.
func (LookupFloatingIpResultOutput) Selector
deprecated
added in
v1.6.0
func (o LookupFloatingIpResultOutput) Selector() pulumi.StringPtrOutput
Deprecated: Please use the withSelector property instead.
func (LookupFloatingIpResultOutput) ServerId ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) ServerId() pulumi.IntOutput
(int) Server to assign the Floating IP is assigned to.
func (LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutput ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutput() LookupFloatingIpResultOutput
func (LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutputWithContext ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutputWithContext(ctx context.Context) LookupFloatingIpResultOutput
func (LookupFloatingIpResultOutput) Type ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) Type() pulumi.StringOutput
(string) Type of the Floating IP.
func (LookupFloatingIpResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupFloatingIpResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupLoadBalancerArgs ¶
type LookupLoadBalancerArgs struct { // ID of the Load Balancer. Id *int `pulumi:"id"` // Name of the Load Balancer. Name *string `pulumi:"name"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getLoadBalancer.
type LookupLoadBalancerOutputArgs ¶ added in v1.6.0
type LookupLoadBalancerOutputArgs struct { // ID of the Load Balancer. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the Load Balancer. Name pulumi.StringPtrInput `pulumi:"name"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getLoadBalancer.
func (LookupLoadBalancerOutputArgs) ElementType ¶ added in v1.6.0
func (LookupLoadBalancerOutputArgs) ElementType() reflect.Type
type LookupLoadBalancerResult ¶
type LookupLoadBalancerResult struct { // (Optional) Configuration of the algorithm the Load Balancer use. Algorithms []GetLoadBalancerAlgorithm `pulumi:"algorithms"` // (bool) Whether delete protection is enabled. DeleteProtection bool `pulumi:"deleteProtection"` // (int) Unique ID of the Load Balancer. Id int `pulumi:"id"` // (string) IPv4 Address of the Load Balancer. Ipv4 string `pulumi:"ipv4"` // (string) IPv4 Address of the Load Balancer. Ipv6 string `pulumi:"ipv6"` // (map) User-defined labels (key-value pairs) . Labels map[string]string `pulumi:"labels"` // (string) Name of the Type of the Load Balancer. LoadBalancerType string `pulumi:"loadBalancerType"` // (string) Name of the location the Load Balancer is in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location string `pulumi:"location"` // (string) Name of the Load Balancer. Name *string `pulumi:"name"` // (int) ID of the first private network that this Load Balancer is connected to. NetworkId int `pulumi:"networkId"` // (string) IP of the Load Balancer in the first private network that it is connected to. NetworkIp string `pulumi:"networkIp"` NetworkZone string `pulumi:"networkZone"` // (list) List of services a Load Balancer provides. Services []GetLoadBalancerServiceType `pulumi:"services"` // (list) List of targets of the Load Balancer. Targets []GetLoadBalancerTargetType `pulumi:"targets"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getLoadBalancer.
func LookupLoadBalancer ¶
func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error)
Provides details about a specific Hetzner Cloud Load Balancer.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupLoadBalancer(ctx, &hcloud.LookupLoadBalancerArgs{ Name: pulumi.StringRef("my-load-balancer"), }, nil) if err != nil { return err } _, err = hcloud.LookupLoadBalancer(ctx, &hcloud.LookupLoadBalancerArgs{ Id: pulumi.IntRef(123), }, nil) if err != nil { return err } _, err = hcloud.LookupLoadBalancer(ctx, &hcloud.LookupLoadBalancerArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type LookupLoadBalancerResultOutput ¶ added in v1.6.0
type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancer.
func LookupLoadBalancerOutput ¶ added in v1.6.0
func LookupLoadBalancerOutput(ctx *pulumi.Context, args LookupLoadBalancerOutputArgs, opts ...pulumi.InvokeOption) LookupLoadBalancerResultOutput
func (LookupLoadBalancerResultOutput) Algorithms ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Algorithms() GetLoadBalancerAlgorithmArrayOutput
(Optional) Configuration of the algorithm the Load Balancer use.
func (LookupLoadBalancerResultOutput) DeleteProtection ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) DeleteProtection() pulumi.BoolOutput
(bool) Whether delete protection is enabled.
func (LookupLoadBalancerResultOutput) ElementType ¶ added in v1.6.0
func (LookupLoadBalancerResultOutput) ElementType() reflect.Type
func (LookupLoadBalancerResultOutput) Id ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the Load Balancer.
func (LookupLoadBalancerResultOutput) Ipv4 ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Ipv4() pulumi.StringOutput
(string) IPv4 Address of the Load Balancer.
func (LookupLoadBalancerResultOutput) Ipv6 ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Ipv6() pulumi.StringOutput
(string) IPv4 Address of the Load Balancer.
func (LookupLoadBalancerResultOutput) Labels ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs) .
func (LookupLoadBalancerResultOutput) LoadBalancerType ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) LoadBalancerType() pulumi.StringOutput
(string) Name of the Type of the Load Balancer.
func (LookupLoadBalancerResultOutput) Location ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Location() pulumi.StringOutput
(string) Name of the location the Load Balancer is in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (LookupLoadBalancerResultOutput) Name ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Name() pulumi.StringPtrOutput
(string) Name of the Load Balancer.
func (LookupLoadBalancerResultOutput) NetworkId ¶ added in v1.10.2
func (o LookupLoadBalancerResultOutput) NetworkId() pulumi.IntOutput
(int) ID of the first private network that this Load Balancer is connected to.
func (LookupLoadBalancerResultOutput) NetworkIp ¶ added in v1.10.2
func (o LookupLoadBalancerResultOutput) NetworkIp() pulumi.StringOutput
(string) IP of the Load Balancer in the first private network that it is connected to.
func (LookupLoadBalancerResultOutput) NetworkZone ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) NetworkZone() pulumi.StringOutput
func (LookupLoadBalancerResultOutput) Services ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Services() GetLoadBalancerServiceTypeArrayOutput
(list) List of services a Load Balancer provides.
func (LookupLoadBalancerResultOutput) Targets ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) Targets() GetLoadBalancerTargetTypeArrayOutput
(list) List of targets of the Load Balancer.
func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput
func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput
func (LookupLoadBalancerResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupLoadBalancerResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupNetworkArgs ¶
type LookupNetworkArgs struct { // ID of the Network. Id *int `pulumi:"id"` // IPv4 prefix of the Network. IpRange *string `pulumi:"ipRange"` Labels map[string]string `pulumi:"labels"` // Deprecated: This attribute has no purpose. MostRecent *bool `pulumi:"mostRecent"` // Name of the Network. Name *string `pulumi:"name"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getNetwork.
type LookupNetworkOutputArgs ¶ added in v1.6.0
type LookupNetworkOutputArgs struct { // ID of the Network. Id pulumi.IntPtrInput `pulumi:"id"` // IPv4 prefix of the Network. IpRange pulumi.StringPtrInput `pulumi:"ipRange"` Labels pulumi.StringMapInput `pulumi:"labels"` // Deprecated: This attribute has no purpose. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Name of the Network. Name pulumi.StringPtrInput `pulumi:"name"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getNetwork.
func (LookupNetworkOutputArgs) ElementType ¶ added in v1.6.0
func (LookupNetworkOutputArgs) ElementType() reflect.Type
type LookupNetworkResult ¶
type LookupNetworkResult struct { // (bool) Whether delete protection is enabled. DeleteProtection bool `pulumi:"deleteProtection"` // (bool) Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active. ExposeRoutesToVswitch bool `pulumi:"exposeRoutesToVswitch"` // Unique ID of the Network. Id int `pulumi:"id"` // IPv4 prefix of the Network. IpRange string `pulumi:"ipRange"` Labels map[string]string `pulumi:"labels"` // Deprecated: This attribute has no purpose. MostRecent *bool `pulumi:"mostRecent"` // Name of the Network. Name string `pulumi:"name"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getNetwork.
func LookupNetwork ¶
func LookupNetwork(ctx *pulumi.Context, args *LookupNetworkArgs, opts ...pulumi.InvokeOption) (*LookupNetworkResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupNetwork(ctx, &hcloud.LookupNetworkArgs{ Id: pulumi.IntRef(1234), }, nil) if err != nil { return err } _, err = hcloud.LookupNetwork(ctx, &hcloud.LookupNetworkArgs{ Name: pulumi.StringRef("my-network"), }, nil) if err != nil { return err } _, err = hcloud.LookupNetwork(ctx, &hcloud.LookupNetworkArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type LookupNetworkResultOutput ¶ added in v1.6.0
type LookupNetworkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetwork.
func LookupNetworkOutput ¶ added in v1.6.0
func LookupNetworkOutput(ctx *pulumi.Context, args LookupNetworkOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkResultOutput
func (LookupNetworkResultOutput) DeleteProtection ¶ added in v1.6.0
func (o LookupNetworkResultOutput) DeleteProtection() pulumi.BoolOutput
(bool) Whether delete protection is enabled.
func (LookupNetworkResultOutput) ElementType ¶ added in v1.6.0
func (LookupNetworkResultOutput) ElementType() reflect.Type
func (LookupNetworkResultOutput) ExposeRoutesToVswitch ¶ added in v1.13.0
func (o LookupNetworkResultOutput) ExposeRoutesToVswitch() pulumi.BoolOutput
(bool) Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
func (LookupNetworkResultOutput) Id ¶ added in v1.6.0
func (o LookupNetworkResultOutput) Id() pulumi.IntOutput
Unique ID of the Network.
func (LookupNetworkResultOutput) IpRange ¶ added in v1.6.0
func (o LookupNetworkResultOutput) IpRange() pulumi.StringOutput
IPv4 prefix of the Network.
func (LookupNetworkResultOutput) Labels ¶ added in v1.6.0
func (o LookupNetworkResultOutput) Labels() pulumi.StringMapOutput
func (LookupNetworkResultOutput) MostRecent
deprecated
added in
v1.6.0
func (o LookupNetworkResultOutput) MostRecent() pulumi.BoolPtrOutput
Deprecated: This attribute has no purpose.
func (LookupNetworkResultOutput) Name ¶ added in v1.6.0
func (o LookupNetworkResultOutput) Name() pulumi.StringOutput
Name of the Network.
func (LookupNetworkResultOutput) ToLookupNetworkResultOutput ¶ added in v1.6.0
func (o LookupNetworkResultOutput) ToLookupNetworkResultOutput() LookupNetworkResultOutput
func (LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext ¶ added in v1.6.0
func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx context.Context) LookupNetworkResultOutput
func (LookupNetworkResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupNetworkResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupPlacementGroupArgs ¶ added in v1.3.0
type LookupPlacementGroupArgs struct { // ID of the placement group. Id *int `pulumi:"id"` // (map) User-defined labels (key-value pairs) Labels map[string]string `pulumi:"labels"` // Return most recent placement group if multiple are found. MostRecent *bool `pulumi:"mostRecent"` // Name of the placement group. Name *string `pulumi:"name"` // (string) Type of the Placement Group. Type *string `pulumi:"type"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getPlacementGroup.
type LookupPlacementGroupOutputArgs ¶ added in v1.6.0
type LookupPlacementGroupOutputArgs struct { // ID of the placement group. Id pulumi.IntPtrInput `pulumi:"id"` // (map) User-defined labels (key-value pairs) Labels pulumi.StringMapInput `pulumi:"labels"` // Return most recent placement group if multiple are found. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Name of the placement group. Name pulumi.StringPtrInput `pulumi:"name"` // (string) Type of the Placement Group. Type pulumi.StringPtrInput `pulumi:"type"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getPlacementGroup.
func (LookupPlacementGroupOutputArgs) ElementType ¶ added in v1.6.0
func (LookupPlacementGroupOutputArgs) ElementType() reflect.Type
type LookupPlacementGroupResult ¶ added in v1.3.0
type LookupPlacementGroupResult struct { // (int) Unique ID of the Placement Group. Id int `pulumi:"id"` // (map) User-defined labels (key-value pairs) Labels map[string]string `pulumi:"labels"` MostRecent *bool `pulumi:"mostRecent"` // (string) Name of the Placement Group. Name string `pulumi:"name"` Servers []int `pulumi:"servers"` // (string) Type of the Placement Group. Type string `pulumi:"type"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getPlacementGroup.
func LookupPlacementGroup ¶ added in v1.3.0
func LookupPlacementGroup(ctx *pulumi.Context, args *LookupPlacementGroupArgs, opts ...pulumi.InvokeOption) (*LookupPlacementGroupResult, error)
Provides details about a specific Hetzner Cloud Placement Group.
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupPlacementGroup(ctx, &hcloud.LookupPlacementGroupArgs{ Name: pulumi.StringRef("sample-placement-group-1"), }, nil) if err != nil { return err } _, err = hcloud.LookupPlacementGroup(ctx, &hcloud.LookupPlacementGroupArgs{ Id: pulumi.IntRef(4711), }, nil) if err != nil { return err } return nil }) }
```
type LookupPlacementGroupResultOutput ¶ added in v1.6.0
type LookupPlacementGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPlacementGroup.
func LookupPlacementGroupOutput ¶ added in v1.6.0
func LookupPlacementGroupOutput(ctx *pulumi.Context, args LookupPlacementGroupOutputArgs, opts ...pulumi.InvokeOption) LookupPlacementGroupResultOutput
func (LookupPlacementGroupResultOutput) ElementType ¶ added in v1.6.0
func (LookupPlacementGroupResultOutput) ElementType() reflect.Type
func (LookupPlacementGroupResultOutput) Id ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the Placement Group.
func (LookupPlacementGroupResultOutput) Labels ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs)
func (LookupPlacementGroupResultOutput) MostRecent ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) MostRecent() pulumi.BoolPtrOutput
func (LookupPlacementGroupResultOutput) Name ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) Name() pulumi.StringOutput
(string) Name of the Placement Group.
func (LookupPlacementGroupResultOutput) Servers ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) Servers() pulumi.IntArrayOutput
func (LookupPlacementGroupResultOutput) ToLookupPlacementGroupResultOutput ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) ToLookupPlacementGroupResultOutput() LookupPlacementGroupResultOutput
func (LookupPlacementGroupResultOutput) ToLookupPlacementGroupResultOutputWithContext ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) ToLookupPlacementGroupResultOutputWithContext(ctx context.Context) LookupPlacementGroupResultOutput
func (LookupPlacementGroupResultOutput) Type ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) Type() pulumi.StringOutput
(string) Type of the Placement Group.
func (LookupPlacementGroupResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupPlacementGroupResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupPrimaryIpArgs ¶ added in v1.9.0
type LookupPrimaryIpArgs struct { // (int) ID of the assigned resource. AssigneeId *int `pulumi:"assigneeId"` // ID of the Primary IP. Id *int `pulumi:"id"` // IP address of the Primary IP. IpAddress *string `pulumi:"ipAddress"` // Name of the Primary IP. Name *string `pulumi:"name"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getPrimaryIp.
type LookupPrimaryIpOutputArgs ¶ added in v1.9.0
type LookupPrimaryIpOutputArgs struct { // (int) ID of the assigned resource. AssigneeId pulumi.IntPtrInput `pulumi:"assigneeId"` // ID of the Primary IP. Id pulumi.IntPtrInput `pulumi:"id"` // IP address of the Primary IP. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` // Name of the Primary IP. Name pulumi.StringPtrInput `pulumi:"name"` // [Label selector](https://docs.hetzner.cloud/#overview-label-selector) WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getPrimaryIp.
func (LookupPrimaryIpOutputArgs) ElementType ¶ added in v1.9.0
func (LookupPrimaryIpOutputArgs) ElementType() reflect.Type
type LookupPrimaryIpResult ¶ added in v1.9.0
type LookupPrimaryIpResult struct { // (int) ID of the assigned resource. AssigneeId int `pulumi:"assigneeId"` // (string) The type of the assigned resource. AssigneeType string `pulumi:"assigneeType"` // (bool) Whether auto delete is enabled. AutoDelete bool `pulumi:"autoDelete"` // (string) The datacenter name of the Primary IP. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter string `pulumi:"datacenter"` // (bool) Whether delete protection is enabled. DeleteProtection bool `pulumi:"deleteProtection"` // (int) Unique ID of the Primary IP. Id int `pulumi:"id"` // (string) IP Address of the Primary IP. IpAddress string `pulumi:"ipAddress"` // (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`) IpNetwork string `pulumi:"ipNetwork"` // (map) User-defined labels (key-value pairs). Labels map[string]string `pulumi:"labels"` // (string) Name of the Primary IP. Name *string `pulumi:"name"` // (string) Type of the Primary IP. Type string `pulumi:"type"` WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getPrimaryIp.
func LookupPrimaryIp ¶ added in v1.9.0
func LookupPrimaryIp(ctx *pulumi.Context, args *LookupPrimaryIpArgs, opts ...pulumi.InvokeOption) (*LookupPrimaryIpResult, error)
Provides details about a Hetzner Cloud Primary IP.
This resource can be useful when you need to determine a Primary IP ID based on the IP address.
Side note:
If a server is getting created, it has to have a primary ip. If a server is getting created without defining primary ips, two of them (one ipv4 and one ipv6) getting created & attached. Currently, Primary IPs can be only attached to servers.
## Example Usage
Data Source: PrimaryIp ¶
Provides details about a Hetzner Cloud Primary IP. This resource can be useful when you need to determine a Primary IP ID based on the IP address.
### Additional Examples
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupPrimaryIp(ctx, &hcloud.LookupPrimaryIpArgs{ IpAddress: pulumi.StringRef("1.2.3.4"), }, nil) if err != nil { return err } _, err = hcloud.LookupPrimaryIp(ctx, &hcloud.LookupPrimaryIpArgs{ Name: pulumi.StringRef("primary_ip_1"), }, nil) if err != nil { return err } _, err = hcloud.LookupPrimaryIp(ctx, &hcloud.LookupPrimaryIpArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } // Link a server to an existing primary IP _, err = hcloud.NewServer(ctx, "server_test", &hcloud.ServerArgs{ Name: pulumi.String("test-server"), Image: pulumi.String("ubuntu-20.04"), ServerType: pulumi.String("cx22"), Datacenter: pulumi.String("fsn1-dc14"), Labels: pulumi.StringMap{ "test": pulumi.String("tessst1"), }, PublicNets: hcloud.ServerPublicNetArray{ &hcloud.ServerPublicNetArgs{ Ipv4: pulumi.Any(ip1HcloudPrimaryIp.Id), }, }, }) if err != nil { return err } return nil }) }
```
type LookupPrimaryIpResultOutput ¶ added in v1.9.0
type LookupPrimaryIpResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPrimaryIp.
func LookupPrimaryIpOutput ¶ added in v1.9.0
func LookupPrimaryIpOutput(ctx *pulumi.Context, args LookupPrimaryIpOutputArgs, opts ...pulumi.InvokeOption) LookupPrimaryIpResultOutput
func (LookupPrimaryIpResultOutput) AssigneeId ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) AssigneeId() pulumi.IntOutput
(int) ID of the assigned resource.
func (LookupPrimaryIpResultOutput) AssigneeType ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) AssigneeType() pulumi.StringOutput
(string) The type of the assigned resource.
func (LookupPrimaryIpResultOutput) AutoDelete ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) AutoDelete() pulumi.BoolOutput
(bool) Whether auto delete is enabled.
func (LookupPrimaryIpResultOutput) Datacenter ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) Datacenter() pulumi.StringOutput
(string) The datacenter name of the Primary IP. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
func (LookupPrimaryIpResultOutput) DeleteProtection ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) DeleteProtection() pulumi.BoolOutput
(bool) Whether delete protection is enabled.
func (LookupPrimaryIpResultOutput) ElementType ¶ added in v1.9.0
func (LookupPrimaryIpResultOutput) ElementType() reflect.Type
func (LookupPrimaryIpResultOutput) Id ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the Primary IP.
func (LookupPrimaryIpResultOutput) IpAddress ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) IpAddress() pulumi.StringOutput
(string) IP Address of the Primary IP.
func (LookupPrimaryIpResultOutput) IpNetwork ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) IpNetwork() pulumi.StringOutput
(string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
func (LookupPrimaryIpResultOutput) Labels ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs).
func (LookupPrimaryIpResultOutput) Name ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) Name() pulumi.StringPtrOutput
(string) Name of the Primary IP.
func (LookupPrimaryIpResultOutput) ToLookupPrimaryIpResultOutput ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) ToLookupPrimaryIpResultOutput() LookupPrimaryIpResultOutput
func (LookupPrimaryIpResultOutput) ToLookupPrimaryIpResultOutputWithContext ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) ToLookupPrimaryIpResultOutputWithContext(ctx context.Context) LookupPrimaryIpResultOutput
func (LookupPrimaryIpResultOutput) Type ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) Type() pulumi.StringOutput
(string) Type of the Primary IP.
func (LookupPrimaryIpResultOutput) WithSelector ¶ added in v1.9.0
func (o LookupPrimaryIpResultOutput) WithSelector() pulumi.StringPtrOutput
type LookupServerArgs ¶
type LookupServerArgs struct { // ID of the server. Id *int `pulumi:"id"` // Name of the server. Name *string `pulumi:"name"` // (Optional, string) Placement Group ID the server is assigned to. PlacementGroupId *int `pulumi:"placementGroupId"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector *string `pulumi:"withSelector"` // List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`. WithStatuses []string `pulumi:"withStatuses"` }
A collection of arguments for invoking getServer.
type LookupServerOutputArgs ¶ added in v1.6.0
type LookupServerOutputArgs struct { // ID of the server. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the server. Name pulumi.StringPtrInput `pulumi:"name"` // (Optional, string) Placement Group ID the server is assigned to. PlacementGroupId pulumi.IntPtrInput `pulumi:"placementGroupId"` // Deprecated: Please use the withSelector property instead. Selector pulumi.StringPtrInput `pulumi:"selector"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` // List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`. WithStatuses pulumi.StringArrayInput `pulumi:"withStatuses"` }
A collection of arguments for invoking getServer.
func (LookupServerOutputArgs) ElementType ¶ added in v1.6.0
func (LookupServerOutputArgs) ElementType() reflect.Type
type LookupServerResult ¶
type LookupServerResult struct { // (string) The backup window of the server, if enabled. BackupWindow string `pulumi:"backupWindow"` // (bool) Whether backups are enabled. Backups bool `pulumi:"backups"` // (string) The datacenter name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter string `pulumi:"datacenter"` // (bool) Whether delete protection is enabled. DeleteProtection bool `pulumi:"deleteProtection"` // (Optional, list) Firewall IDs the server is attached to. FirewallIds []int `pulumi:"firewallIds"` // (int) Unique ID of the server. Id int `pulumi:"id"` // (string) Name or ID of the image the server was created from. Image string `pulumi:"image"` // (string) The IPv4 address. Ipv4Address string `pulumi:"ipv4Address"` // (string) The first IPv6 address of the assigned network. Ipv6Address string `pulumi:"ipv6Address"` // (string) The IPv6 network. Ipv6Network string `pulumi:"ipv6Network"` // (string) ID or Name of the mounted ISO image. Architecture of ISO must equal the server (type) architecture. Iso string `pulumi:"iso"` // (map) User-defined labels (key-value pairs) Labels map[string]string `pulumi:"labels"` // (string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location string `pulumi:"location"` // (string) Name of the server. Name string `pulumi:"name"` // (Optional, string) Placement Group ID the server is assigned to. PlacementGroupId *int `pulumi:"placementGroupId"` // (int) The size of the primary disk in GB. PrimaryDiskSize int `pulumi:"primaryDiskSize"` // (bool) Whether rebuild protection is enabled. RebuildProtection bool `pulumi:"rebuildProtection"` Rescue string `pulumi:"rescue"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // (string) Name of the server type. ServerType string `pulumi:"serverType"` // (string) The status of the server. Status string `pulumi:"status"` WithSelector *string `pulumi:"withSelector"` WithStatuses []string `pulumi:"withStatuses"` }
A collection of values returned by getServer.
func LookupServer ¶
func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupServer(ctx, &hcloud.LookupServerArgs{ Name: pulumi.StringRef("my-server"), }, nil) if err != nil { return err } _, err = hcloud.LookupServer(ctx, &hcloud.LookupServerArgs{ Id: pulumi.IntRef(123), }, nil) if err != nil { return err } _, err = hcloud.LookupServer(ctx, &hcloud.LookupServerArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type LookupServerResultOutput ¶ added in v1.6.0
type LookupServerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServer.
func LookupServerOutput ¶ added in v1.6.0
func LookupServerOutput(ctx *pulumi.Context, args LookupServerOutputArgs, opts ...pulumi.InvokeOption) LookupServerResultOutput
func (LookupServerResultOutput) BackupWindow ¶ added in v1.6.0
func (o LookupServerResultOutput) BackupWindow() pulumi.StringOutput
(string) The backup window of the server, if enabled.
func (LookupServerResultOutput) Backups ¶ added in v1.6.0
func (o LookupServerResultOutput) Backups() pulumi.BoolOutput
(bool) Whether backups are enabled.
func (LookupServerResultOutput) Datacenter ¶ added in v1.6.0
func (o LookupServerResultOutput) Datacenter() pulumi.StringOutput
(string) The datacenter name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
func (LookupServerResultOutput) DeleteProtection ¶ added in v1.6.0
func (o LookupServerResultOutput) DeleteProtection() pulumi.BoolOutput
(bool) Whether delete protection is enabled.
func (LookupServerResultOutput) ElementType ¶ added in v1.6.0
func (LookupServerResultOutput) ElementType() reflect.Type
func (LookupServerResultOutput) FirewallIds ¶ added in v1.6.0
func (o LookupServerResultOutput) FirewallIds() pulumi.IntArrayOutput
(Optional, list) Firewall IDs the server is attached to.
func (LookupServerResultOutput) Id ¶ added in v1.6.0
func (o LookupServerResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the server.
func (LookupServerResultOutput) Image ¶ added in v1.6.0
func (o LookupServerResultOutput) Image() pulumi.StringOutput
(string) Name or ID of the image the server was created from.
func (LookupServerResultOutput) Ipv4Address ¶ added in v1.6.0
func (o LookupServerResultOutput) Ipv4Address() pulumi.StringOutput
(string) The IPv4 address.
func (LookupServerResultOutput) Ipv6Address ¶ added in v1.6.0
func (o LookupServerResultOutput) Ipv6Address() pulumi.StringOutput
(string) The first IPv6 address of the assigned network.
func (LookupServerResultOutput) Ipv6Network ¶ added in v1.6.0
func (o LookupServerResultOutput) Ipv6Network() pulumi.StringOutput
(string) The IPv6 network.
func (LookupServerResultOutput) Iso ¶ added in v1.6.0
func (o LookupServerResultOutput) Iso() pulumi.StringOutput
(string) ID or Name of the mounted ISO image. Architecture of ISO must equal the server (type) architecture.
func (LookupServerResultOutput) Labels ¶ added in v1.6.0
func (o LookupServerResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs)
func (LookupServerResultOutput) Location ¶ added in v1.6.0
func (o LookupServerResultOutput) Location() pulumi.StringOutput
(string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (LookupServerResultOutput) Name ¶ added in v1.6.0
func (o LookupServerResultOutput) Name() pulumi.StringOutput
(string) Name of the server.
func (LookupServerResultOutput) PlacementGroupId ¶ added in v1.6.0
func (o LookupServerResultOutput) PlacementGroupId() pulumi.IntPtrOutput
(Optional, string) Placement Group ID the server is assigned to.
func (LookupServerResultOutput) PrimaryDiskSize ¶ added in v1.17.0
func (o LookupServerResultOutput) PrimaryDiskSize() pulumi.IntOutput
(int) The size of the primary disk in GB.
func (LookupServerResultOutput) RebuildProtection ¶ added in v1.6.0
func (o LookupServerResultOutput) RebuildProtection() pulumi.BoolOutput
(bool) Whether rebuild protection is enabled.
func (LookupServerResultOutput) Rescue ¶ added in v1.6.0
func (o LookupServerResultOutput) Rescue() pulumi.StringOutput
func (LookupServerResultOutput) Selector
deprecated
added in
v1.6.0
func (o LookupServerResultOutput) Selector() pulumi.StringPtrOutput
Deprecated: Please use the withSelector property instead.
func (LookupServerResultOutput) ServerType ¶ added in v1.6.0
func (o LookupServerResultOutput) ServerType() pulumi.StringOutput
(string) Name of the server type.
func (LookupServerResultOutput) Status ¶ added in v1.6.0
func (o LookupServerResultOutput) Status() pulumi.StringOutput
(string) The status of the server.
func (LookupServerResultOutput) ToLookupServerResultOutput ¶ added in v1.6.0
func (o LookupServerResultOutput) ToLookupServerResultOutput() LookupServerResultOutput
func (LookupServerResultOutput) ToLookupServerResultOutputWithContext ¶ added in v1.6.0
func (o LookupServerResultOutput) ToLookupServerResultOutputWithContext(ctx context.Context) LookupServerResultOutput
func (LookupServerResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupServerResultOutput) WithSelector() pulumi.StringPtrOutput
func (LookupServerResultOutput) WithStatuses ¶ added in v1.6.0
func (o LookupServerResultOutput) WithStatuses() pulumi.StringArrayOutput
type LookupSshKeyArgs ¶
type LookupSshKeyArgs struct { // Fingerprint of the SSH Key. Fingerprint *string `pulumi:"fingerprint"` // ID of the SSH Key. Id *int `pulumi:"id"` // Name of the SSH Key. Name *string `pulumi:"name"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector). // // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector). WithSelector *string `pulumi:"withSelector"` }
A collection of arguments for invoking getSshKey.
type LookupSshKeyOutputArgs ¶ added in v1.6.0
type LookupSshKeyOutputArgs struct { // Fingerprint of the SSH Key. Fingerprint pulumi.StringPtrInput `pulumi:"fingerprint"` // ID of the SSH Key. Id pulumi.IntPtrInput `pulumi:"id"` // Name of the SSH Key. Name pulumi.StringPtrInput `pulumi:"name"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector). // // Deprecated: Please use the withSelector property instead. Selector pulumi.StringPtrInput `pulumi:"selector"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector). WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` }
A collection of arguments for invoking getSshKey.
func (LookupSshKeyOutputArgs) ElementType ¶ added in v1.6.0
func (LookupSshKeyOutputArgs) ElementType() reflect.Type
type LookupSshKeyResult ¶
type LookupSshKeyResult struct { // Fingerprint of the SSH Key. Fingerprint *string `pulumi:"fingerprint"` // ID of the SSH Key. Id *int `pulumi:"id"` // User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource. Labels map[string]string `pulumi:"labels"` // Name of the SSH Key. Name *string `pulumi:"name"` // Public key of the SSH Key pair. PublicKey string `pulumi:"publicKey"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector). // // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector). WithSelector *string `pulumi:"withSelector"` }
A collection of values returned by getSshKey.
func LookupSshKey ¶
func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { byId, err := hcloud.LookupSshKey(ctx, &hcloud.LookupSshKeyArgs{ Id: pulumi.IntRef(24332897), }, nil) if err != nil { return err } byName, err := hcloud.LookupSshKey(ctx, &hcloud.LookupSshKeyArgs{ Name: pulumi.StringRef("my-ssh-key"), }, nil) if err != nil { return err } byFingerprint, err := hcloud.LookupSshKey(ctx, &hcloud.LookupSshKeyArgs{ Fingerprint: pulumi.StringRef("55:58:dc:bd:61:6e:7d:24:07:a7:7d:9b:be:99:83:a8"), }, nil) if err != nil { return err } _, err = hcloud.LookupSshKey(ctx, &hcloud.LookupSshKeyArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } _, err = hcloud.NewServer(ctx, "main", &hcloud.ServerArgs{ SshKeys: pulumi.StringArray{ pulumi.Int(byId.Id), pulumi.Int(byName.Id), pulumi.Int(byFingerprint.Id), }, }) if err != nil { return err } return nil }) }
```
type LookupSshKeyResultOutput ¶ added in v1.6.0
type LookupSshKeyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSshKey.
func LookupSshKeyOutput ¶ added in v1.6.0
func LookupSshKeyOutput(ctx *pulumi.Context, args LookupSshKeyOutputArgs, opts ...pulumi.InvokeOption) LookupSshKeyResultOutput
func (LookupSshKeyResultOutput) ElementType ¶ added in v1.6.0
func (LookupSshKeyResultOutput) ElementType() reflect.Type
func (LookupSshKeyResultOutput) Fingerprint ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) Fingerprint() pulumi.StringPtrOutput
Fingerprint of the SSH Key.
func (LookupSshKeyResultOutput) Id ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) Id() pulumi.IntPtrOutput
ID of the SSH Key.
func (LookupSshKeyResultOutput) Labels ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) Labels() pulumi.StringMapOutput
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
func (LookupSshKeyResultOutput) Name ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) Name() pulumi.StringPtrOutput
Name of the SSH Key.
func (LookupSshKeyResultOutput) PublicKey ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) PublicKey() pulumi.StringOutput
Public key of the SSH Key pair.
func (LookupSshKeyResultOutput) Selector
deprecated
added in
v1.6.0
func (o LookupSshKeyResultOutput) Selector() pulumi.StringPtrOutput
Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector).
Deprecated: Please use the withSelector property instead.
func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutput ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput
func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput
func (LookupSshKeyResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupSshKeyResultOutput) WithSelector() pulumi.StringPtrOutput
Filter results using a [Label Selector](https://docs.hetzner.cloud/#label-selector).
type LookupVolumeArgs ¶
type LookupVolumeArgs struct { // ID of the volume. Id *int `pulumi:"id"` // (string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location *string `pulumi:"location"` // Name of the volume. Name *string `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // (Optional, int) Server ID the volume is attached to ServerId *int `pulumi:"serverId"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector *string `pulumi:"withSelector"` // List only volumes with the specified status, could contain `creating` or `available`. WithStatuses []string `pulumi:"withStatuses"` }
A collection of arguments for invoking getVolume.
type LookupVolumeOutputArgs ¶ added in v1.6.0
type LookupVolumeOutputArgs struct { // ID of the volume. Id pulumi.IntPtrInput `pulumi:"id"` // (string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput `pulumi:"location"` // Name of the volume. Name pulumi.StringPtrInput `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector pulumi.StringPtrInput `pulumi:"selector"` // (Optional, int) Server ID the volume is attached to ServerId pulumi.IntPtrInput `pulumi:"serverId"` // Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector). WithSelector pulumi.StringPtrInput `pulumi:"withSelector"` // List only volumes with the specified status, could contain `creating` or `available`. WithStatuses pulumi.StringArrayInput `pulumi:"withStatuses"` }
A collection of arguments for invoking getVolume.
func (LookupVolumeOutputArgs) ElementType ¶ added in v1.6.0
func (LookupVolumeOutputArgs) ElementType() reflect.Type
type LookupVolumeResult ¶
type LookupVolumeResult struct { // (bool) Whether delete protection is enabled. DeleteProtection bool `pulumi:"deleteProtection"` // (int) Unique ID of the volume. Id int `pulumi:"id"` // (map) User-defined labels (key-value pairs). Labels map[string]string `pulumi:"labels"` // (string) Device path on the file system for the Volume. LinuxDevice string `pulumi:"linuxDevice"` // (string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location *string `pulumi:"location"` // (string) Name of the volume. Name string `pulumi:"name"` // Deprecated: Please use the withSelector property instead. Selector *string `pulumi:"selector"` // (Optional, int) Server ID the volume is attached to ServerId *int `pulumi:"serverId"` // (int) Size of the volume. Size int `pulumi:"size"` WithSelector *string `pulumi:"withSelector"` WithStatuses []string `pulumi:"withStatuses"` }
A collection of values returned by getVolume.
func LookupVolume ¶
func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.LookupVolume(ctx, &hcloud.LookupVolumeArgs{ Id: pulumi.IntRef(1234), }, nil) if err != nil { return err } _, err = hcloud.LookupVolume(ctx, &hcloud.LookupVolumeArgs{ Name: pulumi.StringRef("my-volume"), }, nil) if err != nil { return err } _, err = hcloud.LookupVolume(ctx, &hcloud.LookupVolumeArgs{ WithSelector: pulumi.StringRef("key=value"), }, nil) if err != nil { return err } return nil }) }
```
type LookupVolumeResultOutput ¶ added in v1.6.0
type LookupVolumeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVolume.
func LookupVolumeOutput ¶ added in v1.6.0
func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput
func (LookupVolumeResultOutput) DeleteProtection ¶ added in v1.6.0
func (o LookupVolumeResultOutput) DeleteProtection() pulumi.BoolOutput
(bool) Whether delete protection is enabled.
func (LookupVolumeResultOutput) ElementType ¶ added in v1.6.0
func (LookupVolumeResultOutput) ElementType() reflect.Type
func (LookupVolumeResultOutput) Id ¶ added in v1.6.0
func (o LookupVolumeResultOutput) Id() pulumi.IntOutput
(int) Unique ID of the volume.
func (LookupVolumeResultOutput) Labels ¶ added in v1.6.0
func (o LookupVolumeResultOutput) Labels() pulumi.StringMapOutput
(map) User-defined labels (key-value pairs).
func (LookupVolumeResultOutput) LinuxDevice ¶ added in v1.6.0
func (o LookupVolumeResultOutput) LinuxDevice() pulumi.StringOutput
(string) Device path on the file system for the Volume.
func (LookupVolumeResultOutput) Location ¶ added in v1.6.0
func (o LookupVolumeResultOutput) Location() pulumi.StringPtrOutput
(string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (LookupVolumeResultOutput) Name ¶ added in v1.6.0
func (o LookupVolumeResultOutput) Name() pulumi.StringOutput
(string) Name of the volume.
func (LookupVolumeResultOutput) Selector
deprecated
added in
v1.6.0
func (o LookupVolumeResultOutput) Selector() pulumi.StringPtrOutput
Deprecated: Please use the withSelector property instead.
func (LookupVolumeResultOutput) ServerId ¶ added in v1.6.0
func (o LookupVolumeResultOutput) ServerId() pulumi.IntPtrOutput
(Optional, int) Server ID the volume is attached to
func (LookupVolumeResultOutput) Size ¶ added in v1.6.0
func (o LookupVolumeResultOutput) Size() pulumi.IntOutput
(int) Size of the volume.
func (LookupVolumeResultOutput) ToLookupVolumeResultOutput ¶ added in v1.6.0
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext ¶ added in v1.6.0
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
func (LookupVolumeResultOutput) WithSelector ¶ added in v1.6.0
func (o LookupVolumeResultOutput) WithSelector() pulumi.StringPtrOutput
func (LookupVolumeResultOutput) WithStatuses ¶ added in v1.6.0
func (o LookupVolumeResultOutput) WithStatuses() pulumi.StringArrayOutput
type ManagedCertificate ¶ added in v0.8.0
type ManagedCertificate struct { pulumi.CustomResourceState // (string) PEM encoded TLS certificate. Certificate pulumi.StringOutput `pulumi:"certificate"` // (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). Created pulumi.StringOutput `pulumi:"created"` // Domain names for which a certificate // should be obtained. DomainNames pulumi.StringArrayOutput `pulumi:"domainNames"` // (string) Fingerprint of the certificate. Fingerprint pulumi.StringOutput `pulumi:"fingerprint"` // User-defined labels (key-value pairs) the // certificate should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Certificate. Name pulumi.StringOutput `pulumi:"name"` // (string) Point in time when the Certificate stops being valid (in ISO-8601 format). NotValidAfter pulumi.StringOutput `pulumi:"notValidAfter"` // (string) Point in time when the Certificate becomes valid (in ISO-8601 format). NotValidBefore pulumi.StringOutput `pulumi:"notValidBefore"` Type pulumi.StringOutput `pulumi:"type"` }
Obtain a Hetzner Cloud managed TLS certificate.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.NewManagedCertificate(ctx, "managed_cert", &hcloud.ManagedCertificateArgs{ Name: pulumi.String("managed_cert"), DomainNames: pulumi.StringArray{ pulumi.String("*.example.com"), pulumi.String("example.com"), }, Labels: pulumi.StringMap{ "label_1": pulumi.String("value_1"), "label_2": pulumi.String("value_2"), }, }) if err != nil { return err } return nil }) }
```
## Import
Managed certificates can be imported using their `id`:
```sh $ pulumi import hcloud:index/managedCertificate:ManagedCertificate example "$CERTIFICATE_ID" ```
func GetManagedCertificate ¶ added in v0.8.0
func GetManagedCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagedCertificateState, opts ...pulumi.ResourceOption) (*ManagedCertificate, error)
GetManagedCertificate gets an existing ManagedCertificate 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 NewManagedCertificate ¶ added in v0.8.0
func NewManagedCertificate(ctx *pulumi.Context, name string, args *ManagedCertificateArgs, opts ...pulumi.ResourceOption) (*ManagedCertificate, error)
NewManagedCertificate registers a new resource with the given unique name, arguments, and options.
func (*ManagedCertificate) ElementType ¶ added in v0.8.0
func (*ManagedCertificate) ElementType() reflect.Type
func (*ManagedCertificate) ToManagedCertificateOutput ¶ added in v0.8.0
func (i *ManagedCertificate) ToManagedCertificateOutput() ManagedCertificateOutput
func (*ManagedCertificate) ToManagedCertificateOutputWithContext ¶ added in v0.8.0
func (i *ManagedCertificate) ToManagedCertificateOutputWithContext(ctx context.Context) ManagedCertificateOutput
type ManagedCertificateArgs ¶ added in v0.8.0
type ManagedCertificateArgs struct { // Domain names for which a certificate // should be obtained. DomainNames pulumi.StringArrayInput // User-defined labels (key-value pairs) the // certificate should be created with. Labels pulumi.StringMapInput // Name of the Certificate. Name pulumi.StringPtrInput }
The set of arguments for constructing a ManagedCertificate resource.
func (ManagedCertificateArgs) ElementType ¶ added in v0.8.0
func (ManagedCertificateArgs) ElementType() reflect.Type
type ManagedCertificateArray ¶ added in v0.8.0
type ManagedCertificateArray []ManagedCertificateInput
func (ManagedCertificateArray) ElementType ¶ added in v0.8.0
func (ManagedCertificateArray) ElementType() reflect.Type
func (ManagedCertificateArray) ToManagedCertificateArrayOutput ¶ added in v0.8.0
func (i ManagedCertificateArray) ToManagedCertificateArrayOutput() ManagedCertificateArrayOutput
func (ManagedCertificateArray) ToManagedCertificateArrayOutputWithContext ¶ added in v0.8.0
func (i ManagedCertificateArray) ToManagedCertificateArrayOutputWithContext(ctx context.Context) ManagedCertificateArrayOutput
type ManagedCertificateArrayInput ¶ added in v0.8.0
type ManagedCertificateArrayInput interface { pulumi.Input ToManagedCertificateArrayOutput() ManagedCertificateArrayOutput ToManagedCertificateArrayOutputWithContext(context.Context) ManagedCertificateArrayOutput }
ManagedCertificateArrayInput is an input type that accepts ManagedCertificateArray and ManagedCertificateArrayOutput values. You can construct a concrete instance of `ManagedCertificateArrayInput` via:
ManagedCertificateArray{ ManagedCertificateArgs{...} }
type ManagedCertificateArrayOutput ¶ added in v0.8.0
type ManagedCertificateArrayOutput struct{ *pulumi.OutputState }
func (ManagedCertificateArrayOutput) ElementType ¶ added in v0.8.0
func (ManagedCertificateArrayOutput) ElementType() reflect.Type
func (ManagedCertificateArrayOutput) Index ¶ added in v0.8.0
func (o ManagedCertificateArrayOutput) Index(i pulumi.IntInput) ManagedCertificateOutput
func (ManagedCertificateArrayOutput) ToManagedCertificateArrayOutput ¶ added in v0.8.0
func (o ManagedCertificateArrayOutput) ToManagedCertificateArrayOutput() ManagedCertificateArrayOutput
func (ManagedCertificateArrayOutput) ToManagedCertificateArrayOutputWithContext ¶ added in v0.8.0
func (o ManagedCertificateArrayOutput) ToManagedCertificateArrayOutputWithContext(ctx context.Context) ManagedCertificateArrayOutput
type ManagedCertificateInput ¶ added in v0.8.0
type ManagedCertificateInput interface { pulumi.Input ToManagedCertificateOutput() ManagedCertificateOutput ToManagedCertificateOutputWithContext(ctx context.Context) ManagedCertificateOutput }
type ManagedCertificateMap ¶ added in v0.8.0
type ManagedCertificateMap map[string]ManagedCertificateInput
func (ManagedCertificateMap) ElementType ¶ added in v0.8.0
func (ManagedCertificateMap) ElementType() reflect.Type
func (ManagedCertificateMap) ToManagedCertificateMapOutput ¶ added in v0.8.0
func (i ManagedCertificateMap) ToManagedCertificateMapOutput() ManagedCertificateMapOutput
func (ManagedCertificateMap) ToManagedCertificateMapOutputWithContext ¶ added in v0.8.0
func (i ManagedCertificateMap) ToManagedCertificateMapOutputWithContext(ctx context.Context) ManagedCertificateMapOutput
type ManagedCertificateMapInput ¶ added in v0.8.0
type ManagedCertificateMapInput interface { pulumi.Input ToManagedCertificateMapOutput() ManagedCertificateMapOutput ToManagedCertificateMapOutputWithContext(context.Context) ManagedCertificateMapOutput }
ManagedCertificateMapInput is an input type that accepts ManagedCertificateMap and ManagedCertificateMapOutput values. You can construct a concrete instance of `ManagedCertificateMapInput` via:
ManagedCertificateMap{ "key": ManagedCertificateArgs{...} }
type ManagedCertificateMapOutput ¶ added in v0.8.0
type ManagedCertificateMapOutput struct{ *pulumi.OutputState }
func (ManagedCertificateMapOutput) ElementType ¶ added in v0.8.0
func (ManagedCertificateMapOutput) ElementType() reflect.Type
func (ManagedCertificateMapOutput) MapIndex ¶ added in v0.8.0
func (o ManagedCertificateMapOutput) MapIndex(k pulumi.StringInput) ManagedCertificateOutput
func (ManagedCertificateMapOutput) ToManagedCertificateMapOutput ¶ added in v0.8.0
func (o ManagedCertificateMapOutput) ToManagedCertificateMapOutput() ManagedCertificateMapOutput
func (ManagedCertificateMapOutput) ToManagedCertificateMapOutputWithContext ¶ added in v0.8.0
func (o ManagedCertificateMapOutput) ToManagedCertificateMapOutputWithContext(ctx context.Context) ManagedCertificateMapOutput
type ManagedCertificateOutput ¶ added in v0.8.0
type ManagedCertificateOutput struct{ *pulumi.OutputState }
func (ManagedCertificateOutput) Certificate ¶ added in v1.9.0
func (o ManagedCertificateOutput) Certificate() pulumi.StringOutput
(string) PEM encoded TLS certificate.
func (ManagedCertificateOutput) Created ¶ added in v1.9.0
func (o ManagedCertificateOutput) Created() pulumi.StringOutput
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
func (ManagedCertificateOutput) DomainNames ¶ added in v1.9.0
func (o ManagedCertificateOutput) DomainNames() pulumi.StringArrayOutput
Domain names for which a certificate should be obtained.
func (ManagedCertificateOutput) ElementType ¶ added in v0.8.0
func (ManagedCertificateOutput) ElementType() reflect.Type
func (ManagedCertificateOutput) Fingerprint ¶ added in v1.9.0
func (o ManagedCertificateOutput) Fingerprint() pulumi.StringOutput
(string) Fingerprint of the certificate.
func (ManagedCertificateOutput) Labels ¶ added in v1.9.0
func (o ManagedCertificateOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) the certificate should be created with.
func (ManagedCertificateOutput) Name ¶ added in v1.9.0
func (o ManagedCertificateOutput) Name() pulumi.StringOutput
Name of the Certificate.
func (ManagedCertificateOutput) NotValidAfter ¶ added in v1.9.0
func (o ManagedCertificateOutput) NotValidAfter() pulumi.StringOutput
(string) Point in time when the Certificate stops being valid (in ISO-8601 format).
func (ManagedCertificateOutput) NotValidBefore ¶ added in v1.9.0
func (o ManagedCertificateOutput) NotValidBefore() pulumi.StringOutput
(string) Point in time when the Certificate becomes valid (in ISO-8601 format).
func (ManagedCertificateOutput) ToManagedCertificateOutput ¶ added in v0.8.0
func (o ManagedCertificateOutput) ToManagedCertificateOutput() ManagedCertificateOutput
func (ManagedCertificateOutput) ToManagedCertificateOutputWithContext ¶ added in v0.8.0
func (o ManagedCertificateOutput) ToManagedCertificateOutputWithContext(ctx context.Context) ManagedCertificateOutput
func (ManagedCertificateOutput) Type ¶ added in v1.9.0
func (o ManagedCertificateOutput) Type() pulumi.StringOutput
type ManagedCertificateState ¶ added in v0.8.0
type ManagedCertificateState struct { // (string) PEM encoded TLS certificate. Certificate pulumi.StringPtrInput // (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). Created pulumi.StringPtrInput // Domain names for which a certificate // should be obtained. DomainNames pulumi.StringArrayInput // (string) Fingerprint of the certificate. Fingerprint pulumi.StringPtrInput // User-defined labels (key-value pairs) the // certificate should be created with. Labels pulumi.StringMapInput // Name of the Certificate. Name pulumi.StringPtrInput // (string) Point in time when the Certificate stops being valid (in ISO-8601 format). NotValidAfter pulumi.StringPtrInput // (string) Point in time when the Certificate becomes valid (in ISO-8601 format). NotValidBefore pulumi.StringPtrInput Type pulumi.StringPtrInput }
func (ManagedCertificateState) ElementType ¶ added in v0.8.0
func (ManagedCertificateState) ElementType() reflect.Type
type Network ¶
type Network struct { pulumi.CustomResourceState // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active. ExposeRoutesToVswitch pulumi.BoolPtrOutput `pulumi:"exposeRoutesToVswitch"` // IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918. IpRange pulumi.StringOutput `pulumi:"ipRange"` // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Network to create (must be unique per project). Name pulumi.StringOutput `pulumi:"name"` }
Provides a Hetzner Cloud Network to represent a Network in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.NewNetwork(ctx, "privNet", &hcloud.NetworkArgs{ Name: pulumi.String("my-net"), IpRange: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } return nil }) }
```
## Import
Networks can be imported using its `id`:
```sh $ pulumi import hcloud:index/network:Network example "$NETWORK_ID" ```
func GetNetwork ¶
func GetNetwork(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkState, opts ...pulumi.ResourceOption) (*Network, error)
GetNetwork gets an existing Network 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 NewNetwork ¶
func NewNetwork(ctx *pulumi.Context, name string, args *NetworkArgs, opts ...pulumi.ResourceOption) (*Network, error)
NewNetwork registers a new resource with the given unique name, arguments, and options.
func (*Network) ElementType ¶ added in v0.4.1
func (*Network) ToNetworkOutput ¶ added in v0.4.1
func (i *Network) ToNetworkOutput() NetworkOutput
func (*Network) ToNetworkOutputWithContext ¶ added in v0.4.1
func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
type NetworkArgs ¶
type NetworkArgs struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active. ExposeRoutesToVswitch pulumi.BoolPtrInput // IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918. IpRange pulumi.StringInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Network to create (must be unique per project). Name pulumi.StringPtrInput }
The set of arguments for constructing a Network resource.
func (NetworkArgs) ElementType ¶
func (NetworkArgs) ElementType() reflect.Type
type NetworkArray ¶ added in v0.6.2
type NetworkArray []NetworkInput
func (NetworkArray) ElementType ¶ added in v0.6.2
func (NetworkArray) ElementType() reflect.Type
func (NetworkArray) ToNetworkArrayOutput ¶ added in v0.6.2
func (i NetworkArray) ToNetworkArrayOutput() NetworkArrayOutput
func (NetworkArray) ToNetworkArrayOutputWithContext ¶ added in v0.6.2
func (i NetworkArray) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput
type NetworkArrayInput ¶ added in v0.6.2
type NetworkArrayInput interface { pulumi.Input ToNetworkArrayOutput() NetworkArrayOutput ToNetworkArrayOutputWithContext(context.Context) NetworkArrayOutput }
NetworkArrayInput is an input type that accepts NetworkArray and NetworkArrayOutput values. You can construct a concrete instance of `NetworkArrayInput` via:
NetworkArray{ NetworkArgs{...} }
type NetworkArrayOutput ¶ added in v0.6.2
type NetworkArrayOutput struct{ *pulumi.OutputState }
func (NetworkArrayOutput) ElementType ¶ added in v0.6.2
func (NetworkArrayOutput) ElementType() reflect.Type
func (NetworkArrayOutput) Index ¶ added in v0.6.2
func (o NetworkArrayOutput) Index(i pulumi.IntInput) NetworkOutput
func (NetworkArrayOutput) ToNetworkArrayOutput ¶ added in v0.6.2
func (o NetworkArrayOutput) ToNetworkArrayOutput() NetworkArrayOutput
func (NetworkArrayOutput) ToNetworkArrayOutputWithContext ¶ added in v0.6.2
func (o NetworkArrayOutput) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput
type NetworkInput ¶ added in v0.4.1
type NetworkInput interface { pulumi.Input ToNetworkOutput() NetworkOutput ToNetworkOutputWithContext(ctx context.Context) NetworkOutput }
type NetworkMap ¶ added in v0.6.2
type NetworkMap map[string]NetworkInput
func (NetworkMap) ElementType ¶ added in v0.6.2
func (NetworkMap) ElementType() reflect.Type
func (NetworkMap) ToNetworkMapOutput ¶ added in v0.6.2
func (i NetworkMap) ToNetworkMapOutput() NetworkMapOutput
func (NetworkMap) ToNetworkMapOutputWithContext ¶ added in v0.6.2
func (i NetworkMap) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput
type NetworkMapInput ¶ added in v0.6.2
type NetworkMapInput interface { pulumi.Input ToNetworkMapOutput() NetworkMapOutput ToNetworkMapOutputWithContext(context.Context) NetworkMapOutput }
NetworkMapInput is an input type that accepts NetworkMap and NetworkMapOutput values. You can construct a concrete instance of `NetworkMapInput` via:
NetworkMap{ "key": NetworkArgs{...} }
type NetworkMapOutput ¶ added in v0.6.2
type NetworkMapOutput struct{ *pulumi.OutputState }
func (NetworkMapOutput) ElementType ¶ added in v0.6.2
func (NetworkMapOutput) ElementType() reflect.Type
func (NetworkMapOutput) MapIndex ¶ added in v0.6.2
func (o NetworkMapOutput) MapIndex(k pulumi.StringInput) NetworkOutput
func (NetworkMapOutput) ToNetworkMapOutput ¶ added in v0.6.2
func (o NetworkMapOutput) ToNetworkMapOutput() NetworkMapOutput
func (NetworkMapOutput) ToNetworkMapOutputWithContext ¶ added in v0.6.2
func (o NetworkMapOutput) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput
type NetworkOutput ¶ added in v0.4.1
type NetworkOutput struct{ *pulumi.OutputState }
func (NetworkOutput) DeleteProtection ¶ added in v1.9.0
func (o NetworkOutput) DeleteProtection() pulumi.BoolPtrOutput
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
func (NetworkOutput) ElementType ¶ added in v0.4.1
func (NetworkOutput) ElementType() reflect.Type
func (NetworkOutput) ExposeRoutesToVswitch ¶ added in v1.13.0
func (o NetworkOutput) ExposeRoutesToVswitch() pulumi.BoolPtrOutput
Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
func (NetworkOutput) IpRange ¶ added in v1.9.0
func (o NetworkOutput) IpRange() pulumi.StringOutput
IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
func (NetworkOutput) Labels ¶ added in v1.9.0
func (o NetworkOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (NetworkOutput) Name ¶ added in v1.9.0
func (o NetworkOutput) Name() pulumi.StringOutput
Name of the Network to create (must be unique per project).
func (NetworkOutput) ToNetworkOutput ¶ added in v0.4.1
func (o NetworkOutput) ToNetworkOutput() NetworkOutput
func (NetworkOutput) ToNetworkOutputWithContext ¶ added in v0.4.1
func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
type NetworkRoute ¶
type NetworkRoute struct { pulumi.CustomResourceState // Destination network or host of this route. Must be a subnet of the ipRange of the Network. Must not overlap with an existing ipRange in any subnets or with any destinations in other routes or with the first ip of the networks ipRange or with 172.31.1.1. Destination pulumi.StringOutput `pulumi:"destination"` // Gateway for the route. Cannot be the first ip of the networks ipRange and also cannot be 172.31.1.1 as this IP is being used as a gateway for the public network interface of servers. Gateway pulumi.StringOutput `pulumi:"gateway"` // ID of the Network the route should be added to. NetworkId pulumi.IntOutput `pulumi:"networkId"` }
Provides a Hetzner Cloud Network Route to represent a Network route in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { mynet, err := hcloud.NewNetwork(ctx, "mynet", &hcloud.NetworkArgs{ Name: pulumi.String("my-net"), IpRange: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } _, err = hcloud.NewNetworkRoute(ctx, "privNet", &hcloud.NetworkRouteArgs{ NetworkId: mynet.ID(), Destination: pulumi.String("10.100.1.0/24"), Gateway: pulumi.String("10.0.1.1"), }) if err != nil { return err } return nil }) }
```
## Import
Network Route entries can be imported using a compound ID with the following format:
`<network-id>-<destination>`
```sh $ pulumi import hcloud:index/networkRoute:NetworkRoute example "$NETWORK_ID-$DESTINATION" ```
func GetNetworkRoute ¶
func GetNetworkRoute(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkRouteState, opts ...pulumi.ResourceOption) (*NetworkRoute, error)
GetNetworkRoute gets an existing NetworkRoute 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 NewNetworkRoute ¶
func NewNetworkRoute(ctx *pulumi.Context, name string, args *NetworkRouteArgs, opts ...pulumi.ResourceOption) (*NetworkRoute, error)
NewNetworkRoute registers a new resource with the given unique name, arguments, and options.
func (*NetworkRoute) ElementType ¶ added in v0.4.1
func (*NetworkRoute) ElementType() reflect.Type
func (*NetworkRoute) ToNetworkRouteOutput ¶ added in v0.4.1
func (i *NetworkRoute) ToNetworkRouteOutput() NetworkRouteOutput
func (*NetworkRoute) ToNetworkRouteOutputWithContext ¶ added in v0.4.1
func (i *NetworkRoute) ToNetworkRouteOutputWithContext(ctx context.Context) NetworkRouteOutput
type NetworkRouteArgs ¶
type NetworkRouteArgs struct { // Destination network or host of this route. Must be a subnet of the ipRange of the Network. Must not overlap with an existing ipRange in any subnets or with any destinations in other routes or with the first ip of the networks ipRange or with 172.31.1.1. Destination pulumi.StringInput // Gateway for the route. Cannot be the first ip of the networks ipRange and also cannot be 172.31.1.1 as this IP is being used as a gateway for the public network interface of servers. Gateway pulumi.StringInput // ID of the Network the route should be added to. NetworkId pulumi.IntInput }
The set of arguments for constructing a NetworkRoute resource.
func (NetworkRouteArgs) ElementType ¶
func (NetworkRouteArgs) ElementType() reflect.Type
type NetworkRouteArray ¶ added in v0.6.2
type NetworkRouteArray []NetworkRouteInput
func (NetworkRouteArray) ElementType ¶ added in v0.6.2
func (NetworkRouteArray) ElementType() reflect.Type
func (NetworkRouteArray) ToNetworkRouteArrayOutput ¶ added in v0.6.2
func (i NetworkRouteArray) ToNetworkRouteArrayOutput() NetworkRouteArrayOutput
func (NetworkRouteArray) ToNetworkRouteArrayOutputWithContext ¶ added in v0.6.2
func (i NetworkRouteArray) ToNetworkRouteArrayOutputWithContext(ctx context.Context) NetworkRouteArrayOutput
type NetworkRouteArrayInput ¶ added in v0.6.2
type NetworkRouteArrayInput interface { pulumi.Input ToNetworkRouteArrayOutput() NetworkRouteArrayOutput ToNetworkRouteArrayOutputWithContext(context.Context) NetworkRouteArrayOutput }
NetworkRouteArrayInput is an input type that accepts NetworkRouteArray and NetworkRouteArrayOutput values. You can construct a concrete instance of `NetworkRouteArrayInput` via:
NetworkRouteArray{ NetworkRouteArgs{...} }
type NetworkRouteArrayOutput ¶ added in v0.6.2
type NetworkRouteArrayOutput struct{ *pulumi.OutputState }
func (NetworkRouteArrayOutput) ElementType ¶ added in v0.6.2
func (NetworkRouteArrayOutput) ElementType() reflect.Type
func (NetworkRouteArrayOutput) Index ¶ added in v0.6.2
func (o NetworkRouteArrayOutput) Index(i pulumi.IntInput) NetworkRouteOutput
func (NetworkRouteArrayOutput) ToNetworkRouteArrayOutput ¶ added in v0.6.2
func (o NetworkRouteArrayOutput) ToNetworkRouteArrayOutput() NetworkRouteArrayOutput
func (NetworkRouteArrayOutput) ToNetworkRouteArrayOutputWithContext ¶ added in v0.6.2
func (o NetworkRouteArrayOutput) ToNetworkRouteArrayOutputWithContext(ctx context.Context) NetworkRouteArrayOutput
type NetworkRouteInput ¶ added in v0.4.1
type NetworkRouteInput interface { pulumi.Input ToNetworkRouteOutput() NetworkRouteOutput ToNetworkRouteOutputWithContext(ctx context.Context) NetworkRouteOutput }
type NetworkRouteMap ¶ added in v0.6.2
type NetworkRouteMap map[string]NetworkRouteInput
func (NetworkRouteMap) ElementType ¶ added in v0.6.2
func (NetworkRouteMap) ElementType() reflect.Type
func (NetworkRouteMap) ToNetworkRouteMapOutput ¶ added in v0.6.2
func (i NetworkRouteMap) ToNetworkRouteMapOutput() NetworkRouteMapOutput
func (NetworkRouteMap) ToNetworkRouteMapOutputWithContext ¶ added in v0.6.2
func (i NetworkRouteMap) ToNetworkRouteMapOutputWithContext(ctx context.Context) NetworkRouteMapOutput
type NetworkRouteMapInput ¶ added in v0.6.2
type NetworkRouteMapInput interface { pulumi.Input ToNetworkRouteMapOutput() NetworkRouteMapOutput ToNetworkRouteMapOutputWithContext(context.Context) NetworkRouteMapOutput }
NetworkRouteMapInput is an input type that accepts NetworkRouteMap and NetworkRouteMapOutput values. You can construct a concrete instance of `NetworkRouteMapInput` via:
NetworkRouteMap{ "key": NetworkRouteArgs{...} }
type NetworkRouteMapOutput ¶ added in v0.6.2
type NetworkRouteMapOutput struct{ *pulumi.OutputState }
func (NetworkRouteMapOutput) ElementType ¶ added in v0.6.2
func (NetworkRouteMapOutput) ElementType() reflect.Type
func (NetworkRouteMapOutput) MapIndex ¶ added in v0.6.2
func (o NetworkRouteMapOutput) MapIndex(k pulumi.StringInput) NetworkRouteOutput
func (NetworkRouteMapOutput) ToNetworkRouteMapOutput ¶ added in v0.6.2
func (o NetworkRouteMapOutput) ToNetworkRouteMapOutput() NetworkRouteMapOutput
func (NetworkRouteMapOutput) ToNetworkRouteMapOutputWithContext ¶ added in v0.6.2
func (o NetworkRouteMapOutput) ToNetworkRouteMapOutputWithContext(ctx context.Context) NetworkRouteMapOutput
type NetworkRouteOutput ¶ added in v0.4.1
type NetworkRouteOutput struct{ *pulumi.OutputState }
func (NetworkRouteOutput) Destination ¶ added in v1.9.0
func (o NetworkRouteOutput) Destination() pulumi.StringOutput
Destination network or host of this route. Must be a subnet of the ipRange of the Network. Must not overlap with an existing ipRange in any subnets or with any destinations in other routes or with the first ip of the networks ipRange or with 172.31.1.1.
func (NetworkRouteOutput) ElementType ¶ added in v0.4.1
func (NetworkRouteOutput) ElementType() reflect.Type
func (NetworkRouteOutput) Gateway ¶ added in v1.9.0
func (o NetworkRouteOutput) Gateway() pulumi.StringOutput
Gateway for the route. Cannot be the first ip of the networks ipRange and also cannot be 172.31.1.1 as this IP is being used as a gateway for the public network interface of servers.
func (NetworkRouteOutput) NetworkId ¶ added in v1.9.0
func (o NetworkRouteOutput) NetworkId() pulumi.IntOutput
ID of the Network the route should be added to.
func (NetworkRouteOutput) ToNetworkRouteOutput ¶ added in v0.4.1
func (o NetworkRouteOutput) ToNetworkRouteOutput() NetworkRouteOutput
func (NetworkRouteOutput) ToNetworkRouteOutputWithContext ¶ added in v0.4.1
func (o NetworkRouteOutput) ToNetworkRouteOutputWithContext(ctx context.Context) NetworkRouteOutput
type NetworkRouteState ¶
type NetworkRouteState struct { // Destination network or host of this route. Must be a subnet of the ipRange of the Network. Must not overlap with an existing ipRange in any subnets or with any destinations in other routes or with the first ip of the networks ipRange or with 172.31.1.1. Destination pulumi.StringPtrInput // Gateway for the route. Cannot be the first ip of the networks ipRange and also cannot be 172.31.1.1 as this IP is being used as a gateway for the public network interface of servers. Gateway pulumi.StringPtrInput // ID of the Network the route should be added to. NetworkId pulumi.IntPtrInput }
func (NetworkRouteState) ElementType ¶
func (NetworkRouteState) ElementType() reflect.Type
type NetworkState ¶
type NetworkState struct { // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active. ExposeRoutesToVswitch pulumi.BoolPtrInput // IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918. IpRange pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Network to create (must be unique per project). Name pulumi.StringPtrInput }
func (NetworkState) ElementType ¶
func (NetworkState) ElementType() reflect.Type
type NetworkSubnet ¶
type NetworkSubnet struct { pulumi.CustomResourceState Gateway pulumi.StringOutput `pulumi:"gateway"` // Range to allocate IPs from. Must be a subnet of the ipRange of the Network and must not overlap with any other subnets or with any destinations in routes. IpRange pulumi.StringOutput `pulumi:"ipRange"` // ID of the Network the subnet should be added to. NetworkId pulumi.IntOutput `pulumi:"networkId"` // Name of network zone. NetworkZone pulumi.StringOutput `pulumi:"networkZone"` // Type of subnet. `server`, `cloud` or `vswitch` Type pulumi.StringOutput `pulumi:"type"` // ID of the vswitch, Required if type is `vswitch` VswitchId pulumi.IntPtrOutput `pulumi:"vswitchId"` }
Provides a Hetzner Cloud Network Subnet to represent a Subnet in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { mynet, err := hcloud.NewNetwork(ctx, "mynet", &hcloud.NetworkArgs{ Name: pulumi.String("my-net"), IpRange: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } _, err = hcloud.NewNetworkSubnet(ctx, "foonet", &hcloud.NetworkSubnetArgs{ NetworkId: mynet.ID(), Type: pulumi.String("cloud"), NetworkZone: pulumi.String("eu-central"), IpRange: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } return nil }) }
```
## Import
Network Subnet entries can be imported using a compound ID with the following format:
`<network-id>-<ip_range>`
```sh $ pulumi import hcloud:index/networkSubnet:NetworkSubnet example "$NETWORK_ID-$IP_RANGE" ```
func GetNetworkSubnet ¶
func GetNetworkSubnet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkSubnetState, opts ...pulumi.ResourceOption) (*NetworkSubnet, error)
GetNetworkSubnet gets an existing NetworkSubnet 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 NewNetworkSubnet ¶
func NewNetworkSubnet(ctx *pulumi.Context, name string, args *NetworkSubnetArgs, opts ...pulumi.ResourceOption) (*NetworkSubnet, error)
NewNetworkSubnet registers a new resource with the given unique name, arguments, and options.
func (*NetworkSubnet) ElementType ¶ added in v0.4.1
func (*NetworkSubnet) ElementType() reflect.Type
func (*NetworkSubnet) ToNetworkSubnetOutput ¶ added in v0.4.1
func (i *NetworkSubnet) ToNetworkSubnetOutput() NetworkSubnetOutput
func (*NetworkSubnet) ToNetworkSubnetOutputWithContext ¶ added in v0.4.1
func (i *NetworkSubnet) ToNetworkSubnetOutputWithContext(ctx context.Context) NetworkSubnetOutput
type NetworkSubnetArgs ¶
type NetworkSubnetArgs struct { // Range to allocate IPs from. Must be a subnet of the ipRange of the Network and must not overlap with any other subnets or with any destinations in routes. IpRange pulumi.StringInput // ID of the Network the subnet should be added to. NetworkId pulumi.IntInput // Name of network zone. NetworkZone pulumi.StringInput // Type of subnet. `server`, `cloud` or `vswitch` Type pulumi.StringInput // ID of the vswitch, Required if type is `vswitch` VswitchId pulumi.IntPtrInput }
The set of arguments for constructing a NetworkSubnet resource.
func (NetworkSubnetArgs) ElementType ¶
func (NetworkSubnetArgs) ElementType() reflect.Type
type NetworkSubnetArray ¶ added in v0.6.2
type NetworkSubnetArray []NetworkSubnetInput
func (NetworkSubnetArray) ElementType ¶ added in v0.6.2
func (NetworkSubnetArray) ElementType() reflect.Type
func (NetworkSubnetArray) ToNetworkSubnetArrayOutput ¶ added in v0.6.2
func (i NetworkSubnetArray) ToNetworkSubnetArrayOutput() NetworkSubnetArrayOutput
func (NetworkSubnetArray) ToNetworkSubnetArrayOutputWithContext ¶ added in v0.6.2
func (i NetworkSubnetArray) ToNetworkSubnetArrayOutputWithContext(ctx context.Context) NetworkSubnetArrayOutput
type NetworkSubnetArrayInput ¶ added in v0.6.2
type NetworkSubnetArrayInput interface { pulumi.Input ToNetworkSubnetArrayOutput() NetworkSubnetArrayOutput ToNetworkSubnetArrayOutputWithContext(context.Context) NetworkSubnetArrayOutput }
NetworkSubnetArrayInput is an input type that accepts NetworkSubnetArray and NetworkSubnetArrayOutput values. You can construct a concrete instance of `NetworkSubnetArrayInput` via:
NetworkSubnetArray{ NetworkSubnetArgs{...} }
type NetworkSubnetArrayOutput ¶ added in v0.6.2
type NetworkSubnetArrayOutput struct{ *pulumi.OutputState }
func (NetworkSubnetArrayOutput) ElementType ¶ added in v0.6.2
func (NetworkSubnetArrayOutput) ElementType() reflect.Type
func (NetworkSubnetArrayOutput) Index ¶ added in v0.6.2
func (o NetworkSubnetArrayOutput) Index(i pulumi.IntInput) NetworkSubnetOutput
func (NetworkSubnetArrayOutput) ToNetworkSubnetArrayOutput ¶ added in v0.6.2
func (o NetworkSubnetArrayOutput) ToNetworkSubnetArrayOutput() NetworkSubnetArrayOutput
func (NetworkSubnetArrayOutput) ToNetworkSubnetArrayOutputWithContext ¶ added in v0.6.2
func (o NetworkSubnetArrayOutput) ToNetworkSubnetArrayOutputWithContext(ctx context.Context) NetworkSubnetArrayOutput
type NetworkSubnetInput ¶ added in v0.4.1
type NetworkSubnetInput interface { pulumi.Input ToNetworkSubnetOutput() NetworkSubnetOutput ToNetworkSubnetOutputWithContext(ctx context.Context) NetworkSubnetOutput }
type NetworkSubnetMap ¶ added in v0.6.2
type NetworkSubnetMap map[string]NetworkSubnetInput
func (NetworkSubnetMap) ElementType ¶ added in v0.6.2
func (NetworkSubnetMap) ElementType() reflect.Type
func (NetworkSubnetMap) ToNetworkSubnetMapOutput ¶ added in v0.6.2
func (i NetworkSubnetMap) ToNetworkSubnetMapOutput() NetworkSubnetMapOutput
func (NetworkSubnetMap) ToNetworkSubnetMapOutputWithContext ¶ added in v0.6.2
func (i NetworkSubnetMap) ToNetworkSubnetMapOutputWithContext(ctx context.Context) NetworkSubnetMapOutput
type NetworkSubnetMapInput ¶ added in v0.6.2
type NetworkSubnetMapInput interface { pulumi.Input ToNetworkSubnetMapOutput() NetworkSubnetMapOutput ToNetworkSubnetMapOutputWithContext(context.Context) NetworkSubnetMapOutput }
NetworkSubnetMapInput is an input type that accepts NetworkSubnetMap and NetworkSubnetMapOutput values. You can construct a concrete instance of `NetworkSubnetMapInput` via:
NetworkSubnetMap{ "key": NetworkSubnetArgs{...} }
type NetworkSubnetMapOutput ¶ added in v0.6.2
type NetworkSubnetMapOutput struct{ *pulumi.OutputState }
func (NetworkSubnetMapOutput) ElementType ¶ added in v0.6.2
func (NetworkSubnetMapOutput) ElementType() reflect.Type
func (NetworkSubnetMapOutput) MapIndex ¶ added in v0.6.2
func (o NetworkSubnetMapOutput) MapIndex(k pulumi.StringInput) NetworkSubnetOutput
func (NetworkSubnetMapOutput) ToNetworkSubnetMapOutput ¶ added in v0.6.2
func (o NetworkSubnetMapOutput) ToNetworkSubnetMapOutput() NetworkSubnetMapOutput
func (NetworkSubnetMapOutput) ToNetworkSubnetMapOutputWithContext ¶ added in v0.6.2
func (o NetworkSubnetMapOutput) ToNetworkSubnetMapOutputWithContext(ctx context.Context) NetworkSubnetMapOutput
type NetworkSubnetOutput ¶ added in v0.4.1
type NetworkSubnetOutput struct{ *pulumi.OutputState }
func (NetworkSubnetOutput) ElementType ¶ added in v0.4.1
func (NetworkSubnetOutput) ElementType() reflect.Type
func (NetworkSubnetOutput) Gateway ¶ added in v1.9.0
func (o NetworkSubnetOutput) Gateway() pulumi.StringOutput
func (NetworkSubnetOutput) IpRange ¶ added in v1.9.0
func (o NetworkSubnetOutput) IpRange() pulumi.StringOutput
Range to allocate IPs from. Must be a subnet of the ipRange of the Network and must not overlap with any other subnets or with any destinations in routes.
func (NetworkSubnetOutput) NetworkId ¶ added in v1.9.0
func (o NetworkSubnetOutput) NetworkId() pulumi.IntOutput
ID of the Network the subnet should be added to.
func (NetworkSubnetOutput) NetworkZone ¶ added in v1.9.0
func (o NetworkSubnetOutput) NetworkZone() pulumi.StringOutput
Name of network zone.
func (NetworkSubnetOutput) ToNetworkSubnetOutput ¶ added in v0.4.1
func (o NetworkSubnetOutput) ToNetworkSubnetOutput() NetworkSubnetOutput
func (NetworkSubnetOutput) ToNetworkSubnetOutputWithContext ¶ added in v0.4.1
func (o NetworkSubnetOutput) ToNetworkSubnetOutputWithContext(ctx context.Context) NetworkSubnetOutput
func (NetworkSubnetOutput) Type ¶ added in v1.9.0
func (o NetworkSubnetOutput) Type() pulumi.StringOutput
Type of subnet. `server`, `cloud` or `vswitch`
func (NetworkSubnetOutput) VswitchId ¶ added in v1.9.0
func (o NetworkSubnetOutput) VswitchId() pulumi.IntPtrOutput
ID of the vswitch, Required if type is `vswitch`
type NetworkSubnetState ¶
type NetworkSubnetState struct { Gateway pulumi.StringPtrInput // Range to allocate IPs from. Must be a subnet of the ipRange of the Network and must not overlap with any other subnets or with any destinations in routes. IpRange pulumi.StringPtrInput // ID of the Network the subnet should be added to. NetworkId pulumi.IntPtrInput // Name of network zone. NetworkZone pulumi.StringPtrInput // Type of subnet. `server`, `cloud` or `vswitch` Type pulumi.StringPtrInput // ID of the vswitch, Required if type is `vswitch` VswitchId pulumi.IntPtrInput }
func (NetworkSubnetState) ElementType ¶
func (NetworkSubnetState) ElementType() reflect.Type
type PlacementGroup ¶ added in v1.3.0
type PlacementGroup struct { pulumi.CustomResourceState // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Placement Group. Name pulumi.StringOutput `pulumi:"name"` Servers pulumi.IntArrayOutput `pulumi:"servers"` // Type of the Placement Group. Type pulumi.StringOutput `pulumi:"type"` }
Provides a Hetzner Cloud Placement Group to represent a Placement Group in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.NewPlacementGroup(ctx, "my-placement-group", &hcloud.PlacementGroupArgs{ Name: pulumi.String("my-placement-group"), Type: pulumi.String("spread"), Labels: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } _, err = hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), PlacementGroupId: my_placement_group.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Placement Groups can be imported using its `id`:
```sh $ pulumi import hcloud:index/placementGroup:PlacementGroup example "$PLACEMENT_GROUP_ID" ```
func GetPlacementGroup ¶ added in v1.3.0
func GetPlacementGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PlacementGroupState, opts ...pulumi.ResourceOption) (*PlacementGroup, error)
GetPlacementGroup gets an existing PlacementGroup 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 NewPlacementGroup ¶ added in v1.3.0
func NewPlacementGroup(ctx *pulumi.Context, name string, args *PlacementGroupArgs, opts ...pulumi.ResourceOption) (*PlacementGroup, error)
NewPlacementGroup registers a new resource with the given unique name, arguments, and options.
func (*PlacementGroup) ElementType ¶ added in v1.3.0
func (*PlacementGroup) ElementType() reflect.Type
func (*PlacementGroup) ToPlacementGroupOutput ¶ added in v1.3.0
func (i *PlacementGroup) ToPlacementGroupOutput() PlacementGroupOutput
func (*PlacementGroup) ToPlacementGroupOutputWithContext ¶ added in v1.3.0
func (i *PlacementGroup) ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput
type PlacementGroupArgs ¶ added in v1.3.0
type PlacementGroupArgs struct { // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Placement Group. Name pulumi.StringPtrInput // Type of the Placement Group. Type pulumi.StringInput }
The set of arguments for constructing a PlacementGroup resource.
func (PlacementGroupArgs) ElementType ¶ added in v1.3.0
func (PlacementGroupArgs) ElementType() reflect.Type
type PlacementGroupArray ¶ added in v1.3.0
type PlacementGroupArray []PlacementGroupInput
func (PlacementGroupArray) ElementType ¶ added in v1.3.0
func (PlacementGroupArray) ElementType() reflect.Type
func (PlacementGroupArray) ToPlacementGroupArrayOutput ¶ added in v1.3.0
func (i PlacementGroupArray) ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
func (PlacementGroupArray) ToPlacementGroupArrayOutputWithContext ¶ added in v1.3.0
func (i PlacementGroupArray) ToPlacementGroupArrayOutputWithContext(ctx context.Context) PlacementGroupArrayOutput
type PlacementGroupArrayInput ¶ added in v1.3.0
type PlacementGroupArrayInput interface { pulumi.Input ToPlacementGroupArrayOutput() PlacementGroupArrayOutput ToPlacementGroupArrayOutputWithContext(context.Context) PlacementGroupArrayOutput }
PlacementGroupArrayInput is an input type that accepts PlacementGroupArray and PlacementGroupArrayOutput values. You can construct a concrete instance of `PlacementGroupArrayInput` via:
PlacementGroupArray{ PlacementGroupArgs{...} }
type PlacementGroupArrayOutput ¶ added in v1.3.0
type PlacementGroupArrayOutput struct{ *pulumi.OutputState }
func (PlacementGroupArrayOutput) ElementType ¶ added in v1.3.0
func (PlacementGroupArrayOutput) ElementType() reflect.Type
func (PlacementGroupArrayOutput) Index ¶ added in v1.3.0
func (o PlacementGroupArrayOutput) Index(i pulumi.IntInput) PlacementGroupOutput
func (PlacementGroupArrayOutput) ToPlacementGroupArrayOutput ¶ added in v1.3.0
func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutput() PlacementGroupArrayOutput
func (PlacementGroupArrayOutput) ToPlacementGroupArrayOutputWithContext ¶ added in v1.3.0
func (o PlacementGroupArrayOutput) ToPlacementGroupArrayOutputWithContext(ctx context.Context) PlacementGroupArrayOutput
type PlacementGroupInput ¶ added in v1.3.0
type PlacementGroupInput interface { pulumi.Input ToPlacementGroupOutput() PlacementGroupOutput ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput }
type PlacementGroupMap ¶ added in v1.3.0
type PlacementGroupMap map[string]PlacementGroupInput
func (PlacementGroupMap) ElementType ¶ added in v1.3.0
func (PlacementGroupMap) ElementType() reflect.Type
func (PlacementGroupMap) ToPlacementGroupMapOutput ¶ added in v1.3.0
func (i PlacementGroupMap) ToPlacementGroupMapOutput() PlacementGroupMapOutput
func (PlacementGroupMap) ToPlacementGroupMapOutputWithContext ¶ added in v1.3.0
func (i PlacementGroupMap) ToPlacementGroupMapOutputWithContext(ctx context.Context) PlacementGroupMapOutput
type PlacementGroupMapInput ¶ added in v1.3.0
type PlacementGroupMapInput interface { pulumi.Input ToPlacementGroupMapOutput() PlacementGroupMapOutput ToPlacementGroupMapOutputWithContext(context.Context) PlacementGroupMapOutput }
PlacementGroupMapInput is an input type that accepts PlacementGroupMap and PlacementGroupMapOutput values. You can construct a concrete instance of `PlacementGroupMapInput` via:
PlacementGroupMap{ "key": PlacementGroupArgs{...} }
type PlacementGroupMapOutput ¶ added in v1.3.0
type PlacementGroupMapOutput struct{ *pulumi.OutputState }
func (PlacementGroupMapOutput) ElementType ¶ added in v1.3.0
func (PlacementGroupMapOutput) ElementType() reflect.Type
func (PlacementGroupMapOutput) MapIndex ¶ added in v1.3.0
func (o PlacementGroupMapOutput) MapIndex(k pulumi.StringInput) PlacementGroupOutput
func (PlacementGroupMapOutput) ToPlacementGroupMapOutput ¶ added in v1.3.0
func (o PlacementGroupMapOutput) ToPlacementGroupMapOutput() PlacementGroupMapOutput
func (PlacementGroupMapOutput) ToPlacementGroupMapOutputWithContext ¶ added in v1.3.0
func (o PlacementGroupMapOutput) ToPlacementGroupMapOutputWithContext(ctx context.Context) PlacementGroupMapOutput
type PlacementGroupOutput ¶ added in v1.3.0
type PlacementGroupOutput struct{ *pulumi.OutputState }
func (PlacementGroupOutput) ElementType ¶ added in v1.3.0
func (PlacementGroupOutput) ElementType() reflect.Type
func (PlacementGroupOutput) Labels ¶ added in v1.9.0
func (o PlacementGroupOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (PlacementGroupOutput) Name ¶ added in v1.9.0
func (o PlacementGroupOutput) Name() pulumi.StringOutput
Name of the Placement Group.
func (PlacementGroupOutput) Servers ¶ added in v1.9.0
func (o PlacementGroupOutput) Servers() pulumi.IntArrayOutput
func (PlacementGroupOutput) ToPlacementGroupOutput ¶ added in v1.3.0
func (o PlacementGroupOutput) ToPlacementGroupOutput() PlacementGroupOutput
func (PlacementGroupOutput) ToPlacementGroupOutputWithContext ¶ added in v1.3.0
func (o PlacementGroupOutput) ToPlacementGroupOutputWithContext(ctx context.Context) PlacementGroupOutput
func (PlacementGroupOutput) Type ¶ added in v1.9.0
func (o PlacementGroupOutput) Type() pulumi.StringOutput
Type of the Placement Group.
type PlacementGroupState ¶ added in v1.3.0
type PlacementGroupState struct { // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Name of the Placement Group. Name pulumi.StringPtrInput Servers pulumi.IntArrayInput // Type of the Placement Group. Type pulumi.StringPtrInput }
func (PlacementGroupState) ElementType ¶ added in v1.3.0
func (PlacementGroupState) ElementType() reflect.Type
type PrimaryIp ¶ added in v1.9.0
type PrimaryIp struct { pulumi.CustomResourceState // ID of the assigned resource. AssigneeId pulumi.IntOutput `pulumi:"assigneeId"` // The type of the assigned resource. Currently supported: `server` AssigneeType pulumi.StringOutput `pulumi:"assigneeType"` // Whether auto delete is enabled. // `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state. AutoDelete pulumi.BoolOutput `pulumi:"autoDelete"` // The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter pulumi.StringOutput `pulumi:"datacenter"` // Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details. // // Note: At least one of `datacenter` or `assigneeId` is required. DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // (string) IP Address of the Primary IP. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`) IpNetwork pulumi.StringOutput `pulumi:"ipNetwork"` // User-defined labels (key-value pairs). Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Primary IP. Name pulumi.StringOutput `pulumi:"name"` // Type of the Primary IP. `ipv4` or `ipv6` Type pulumi.StringOutput `pulumi:"type"` }
Provides a Hetzner Cloud Primary IP to represent a publicly-accessible static IP address that can be mapped to one of your servers.
If a server is getting created, it has to have a primary ip. If a server is getting created without defining primary ips, two of them (one ipv4 and one ipv6) getting created & attached. Currently, Primary IPs can be only attached to servers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := hcloud.NewPrimaryIp(ctx, "main", &hcloud.PrimaryIpArgs{ Name: pulumi.String("primary_ip_test"), Datacenter: pulumi.String("fsn1-dc14"), Type: pulumi.String("ipv4"), AssigneeType: pulumi.String("server"), AutoDelete: pulumi.Bool(true), Labels: pulumi.StringMap{ "hallo": pulumi.String("welt"), }, }) if err != nil { return err } // Link a server to a primary IP _, err = hcloud.NewServer(ctx, "server_test", &hcloud.ServerArgs{ Name: pulumi.String("test-server"), Image: pulumi.String("ubuntu-20.04"), ServerType: pulumi.String("cx22"), Datacenter: pulumi.String("fsn1-dc14"), Labels: pulumi.StringMap{ "test": pulumi.String("tessst1"), }, PublicNets: hcloud.ServerPublicNetArray{ &hcloud.ServerPublicNetArgs{ Ipv4: main.ID(), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Primary IPs can be imported using its `id`:
```sh $ pulumi import hcloud:index/primaryIp:PrimaryIp example "$PRIMARY_IP_ID" ```
func GetPrimaryIp ¶ added in v1.9.0
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 ¶ added in v1.9.0
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 ¶ added in v1.9.0
func (*PrimaryIp) ToPrimaryIpOutput ¶ added in v1.9.0
func (i *PrimaryIp) ToPrimaryIpOutput() PrimaryIpOutput
func (*PrimaryIp) ToPrimaryIpOutputWithContext ¶ added in v1.9.0
func (i *PrimaryIp) ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
type PrimaryIpArgs ¶ added in v1.9.0
type PrimaryIpArgs struct { // ID of the assigned resource. AssigneeId pulumi.IntPtrInput // The type of the assigned resource. Currently supported: `server` AssigneeType pulumi.StringInput // Whether auto delete is enabled. // `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state. AutoDelete pulumi.BoolInput // The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter pulumi.StringPtrInput // Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details. // // Note: At least one of `datacenter` or `assigneeId` is required. DeleteProtection pulumi.BoolPtrInput // User-defined labels (key-value pairs). Labels pulumi.StringMapInput // Name of the Primary IP. Name pulumi.StringPtrInput // Type of the Primary IP. `ipv4` or `ipv6` Type pulumi.StringInput }
The set of arguments for constructing a PrimaryIp resource.
func (PrimaryIpArgs) ElementType ¶ added in v1.9.0
func (PrimaryIpArgs) ElementType() reflect.Type
type PrimaryIpArray ¶ added in v1.9.0
type PrimaryIpArray []PrimaryIpInput
func (PrimaryIpArray) ElementType ¶ added in v1.9.0
func (PrimaryIpArray) ElementType() reflect.Type
func (PrimaryIpArray) ToPrimaryIpArrayOutput ¶ added in v1.9.0
func (i PrimaryIpArray) ToPrimaryIpArrayOutput() PrimaryIpArrayOutput
func (PrimaryIpArray) ToPrimaryIpArrayOutputWithContext ¶ added in v1.9.0
func (i PrimaryIpArray) ToPrimaryIpArrayOutputWithContext(ctx context.Context) PrimaryIpArrayOutput
type PrimaryIpArrayInput ¶ added in v1.9.0
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 ¶ added in v1.9.0
type PrimaryIpArrayOutput struct{ *pulumi.OutputState }
func (PrimaryIpArrayOutput) ElementType ¶ added in v1.9.0
func (PrimaryIpArrayOutput) ElementType() reflect.Type
func (PrimaryIpArrayOutput) Index ¶ added in v1.9.0
func (o PrimaryIpArrayOutput) Index(i pulumi.IntInput) PrimaryIpOutput
func (PrimaryIpArrayOutput) ToPrimaryIpArrayOutput ¶ added in v1.9.0
func (o PrimaryIpArrayOutput) ToPrimaryIpArrayOutput() PrimaryIpArrayOutput
func (PrimaryIpArrayOutput) ToPrimaryIpArrayOutputWithContext ¶ added in v1.9.0
func (o PrimaryIpArrayOutput) ToPrimaryIpArrayOutputWithContext(ctx context.Context) PrimaryIpArrayOutput
type PrimaryIpInput ¶ added in v1.9.0
type PrimaryIpInput interface { pulumi.Input ToPrimaryIpOutput() PrimaryIpOutput ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput }
type PrimaryIpMap ¶ added in v1.9.0
type PrimaryIpMap map[string]PrimaryIpInput
func (PrimaryIpMap) ElementType ¶ added in v1.9.0
func (PrimaryIpMap) ElementType() reflect.Type
func (PrimaryIpMap) ToPrimaryIpMapOutput ¶ added in v1.9.0
func (i PrimaryIpMap) ToPrimaryIpMapOutput() PrimaryIpMapOutput
func (PrimaryIpMap) ToPrimaryIpMapOutputWithContext ¶ added in v1.9.0
func (i PrimaryIpMap) ToPrimaryIpMapOutputWithContext(ctx context.Context) PrimaryIpMapOutput
type PrimaryIpMapInput ¶ added in v1.9.0
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 ¶ added in v1.9.0
type PrimaryIpMapOutput struct{ *pulumi.OutputState }
func (PrimaryIpMapOutput) ElementType ¶ added in v1.9.0
func (PrimaryIpMapOutput) ElementType() reflect.Type
func (PrimaryIpMapOutput) MapIndex ¶ added in v1.9.0
func (o PrimaryIpMapOutput) MapIndex(k pulumi.StringInput) PrimaryIpOutput
func (PrimaryIpMapOutput) ToPrimaryIpMapOutput ¶ added in v1.9.0
func (o PrimaryIpMapOutput) ToPrimaryIpMapOutput() PrimaryIpMapOutput
func (PrimaryIpMapOutput) ToPrimaryIpMapOutputWithContext ¶ added in v1.9.0
func (o PrimaryIpMapOutput) ToPrimaryIpMapOutputWithContext(ctx context.Context) PrimaryIpMapOutput
type PrimaryIpOutput ¶ added in v1.9.0
type PrimaryIpOutput struct{ *pulumi.OutputState }
func (PrimaryIpOutput) AssigneeId ¶ added in v1.9.0
func (o PrimaryIpOutput) AssigneeId() pulumi.IntOutput
ID of the assigned resource.
func (PrimaryIpOutput) AssigneeType ¶ added in v1.9.0
func (o PrimaryIpOutput) AssigneeType() pulumi.StringOutput
The type of the assigned resource. Currently supported: `server`
func (PrimaryIpOutput) AutoDelete ¶ added in v1.9.0
func (o PrimaryIpOutput) AutoDelete() pulumi.BoolOutput
Whether auto delete is enabled. `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
func (PrimaryIpOutput) Datacenter ¶ added in v1.9.0
func (o PrimaryIpOutput) Datacenter() pulumi.StringOutput
The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
func (PrimaryIpOutput) DeleteProtection ¶ added in v1.9.0
func (o PrimaryIpOutput) DeleteProtection() pulumi.BoolPtrOutput
Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
Note: At least one of `datacenter` or `assigneeId` is required.
func (PrimaryIpOutput) ElementType ¶ added in v1.9.0
func (PrimaryIpOutput) ElementType() reflect.Type
func (PrimaryIpOutput) IpAddress ¶ added in v1.9.0
func (o PrimaryIpOutput) IpAddress() pulumi.StringOutput
(string) IP Address of the Primary IP.
func (PrimaryIpOutput) IpNetwork ¶ added in v1.9.0
func (o PrimaryIpOutput) IpNetwork() pulumi.StringOutput
(string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
func (PrimaryIpOutput) Labels ¶ added in v1.9.0
func (o PrimaryIpOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs).
func (PrimaryIpOutput) Name ¶ added in v1.9.0
func (o PrimaryIpOutput) Name() pulumi.StringOutput
Name of the Primary IP.
func (PrimaryIpOutput) ToPrimaryIpOutput ¶ added in v1.9.0
func (o PrimaryIpOutput) ToPrimaryIpOutput() PrimaryIpOutput
func (PrimaryIpOutput) ToPrimaryIpOutputWithContext ¶ added in v1.9.0
func (o PrimaryIpOutput) ToPrimaryIpOutputWithContext(ctx context.Context) PrimaryIpOutput
func (PrimaryIpOutput) Type ¶ added in v1.9.0
func (o PrimaryIpOutput) Type() pulumi.StringOutput
Type of the Primary IP. `ipv4` or `ipv6`
type PrimaryIpState ¶ added in v1.9.0
type PrimaryIpState struct { // ID of the assigned resource. AssigneeId pulumi.IntPtrInput // The type of the assigned resource. Currently supported: `server` AssigneeType pulumi.StringPtrInput // Whether auto delete is enabled. // `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state. AutoDelete pulumi.BoolPtrInput // The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter pulumi.StringPtrInput // Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details. // // Note: At least one of `datacenter` or `assigneeId` is required. DeleteProtection pulumi.BoolPtrInput // (string) IP Address of the Primary IP. IpAddress pulumi.StringPtrInput // (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`) IpNetwork pulumi.StringPtrInput // User-defined labels (key-value pairs). Labels pulumi.StringMapInput // Name of the Primary IP. Name pulumi.StringPtrInput // Type of the Primary IP. `ipv4` or `ipv6` Type pulumi.StringPtrInput }
func (PrimaryIpState) ElementType ¶ added in v1.9.0
func (PrimaryIpState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1. Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"` // The type of function to be used during the polling. PollFunction pulumi.StringPtrOutput `pulumi:"pollFunction"` // The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate // limiting errors. PollInterval pulumi.StringPtrOutput `pulumi:"pollInterval"` // The Hetzner Cloud API token, can also be specified with the HCLOUD_TOKEN environment variable. Token pulumi.StringPtrOutput `pulumi:"token"` }
The provider type for the hcloud package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶ added in v0.4.1
func (*Provider) ToProviderOutput ¶ added in v0.4.1
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶ added in v0.4.1
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1. Endpoint pulumi.StringPtrInput // The type of function to be used during the polling. PollFunction pulumi.StringPtrInput // The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate // limiting errors. PollInterval pulumi.StringPtrInput // The Hetzner Cloud API token, can also be specified with the HCLOUD_TOKEN environment variable. Token pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶ added in v0.4.1
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶ added in v0.4.1
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶ added in v0.4.1
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Endpoint ¶ added in v1.9.0
func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput
The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1.
func (ProviderOutput) PollFunction ¶ added in v1.17.0
func (o ProviderOutput) PollFunction() pulumi.StringPtrOutput
The type of function to be used during the polling.
func (ProviderOutput) PollInterval ¶ added in v1.9.0
func (o ProviderOutput) PollInterval() pulumi.StringPtrOutput
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
func (ProviderOutput) ToProviderOutput ¶ added in v0.4.1
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶ added in v0.4.1
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶ added in v1.9.0
func (o ProviderOutput) Token() pulumi.StringPtrOutput
The Hetzner Cloud API token, can also be specified with the HCLOUD_TOKEN environment variable.
type Rdns ¶
type Rdns struct { pulumi.CustomResourceState // The DNS address the `ipAddress` should resolve to. DnsPtr pulumi.StringOutput `pulumi:"dnsPtr"` // The Floating IP the `ipAddress` belongs to. FloatingIpId pulumi.IntPtrOutput `pulumi:"floatingIpId"` // The IP address that should point to `dnsPtr`. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // The Load Balancer the `ipAddress` belongs to. LoadBalancerId pulumi.IntPtrOutput `pulumi:"loadBalancerId"` // The Primary IP the `ipAddress` belongs to. PrimaryIpId pulumi.IntPtrOutput `pulumi:"primaryIpId"` // The server the `ipAddress` belongs to. ServerId pulumi.IntPtrOutput `pulumi:"serverId"` }
Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Primary IPs, Floating IPs or Load Balancers.
## Example Usage
For servers:
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), }) if err != nil { return err } _, err = hcloud.NewRdns(ctx, "master", &hcloud.RdnsArgs{ ServerId: node1.ID(), IpAddress: node1.Ipv4Address, DnsPtr: pulumi.String("example.com"), }) if err != nil { return err } return nil }) }
```
For Primary IPs:
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary1, err := hcloud.NewPrimaryIp(ctx, "primary1", &hcloud.PrimaryIpArgs{ Datacenter: pulumi.String("nbg1-dc3"), Type: pulumi.String("ipv4"), }) if err != nil { return err } _, err = hcloud.NewRdns(ctx, "primary1", &hcloud.RdnsArgs{ PrimaryIpId: primary1.ID(), IpAddress: primary1.IpAddress, DnsPtr: pulumi.String("example.com"), }) if err != nil { return err } return nil }) }
```
For Floating IPs:
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { floating1, err := hcloud.NewFloatingIp(ctx, "floating1", &hcloud.FloatingIpArgs{ HomeLocation: pulumi.String("nbg1"), Type: pulumi.String("ipv4"), }) if err != nil { return err } _, err = hcloud.NewRdns(ctx, "floating_master", &hcloud.RdnsArgs{ FloatingIpId: floating1.ID(), IpAddress: floating1.IpAddress, DnsPtr: pulumi.String("example.com"), }) if err != nil { return err } return nil }) }
```
For Load Balancers:
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { loadBalancer1, err := hcloud.NewLoadBalancer(ctx, "load_balancer1", &hcloud.LoadBalancerArgs{ Name: pulumi.String("load_balancer1"), LoadBalancerType: pulumi.String("lb11"), Location: pulumi.String("fsn1"), }) if err != nil { return err } _, err = hcloud.NewRdns(ctx, "load_balancer_master", &hcloud.RdnsArgs{ LoadBalancerId: loadBalancer1.ID(), IpAddress: loadBalancer1.Ipv4, DnsPtr: pulumi.String("example.com"), }) if err != nil { return err } return nil }) }
```
## Import
Reverse DNS entries can be imported using a compound ID with the following format:
`<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>`
```sh $ pulumi import hcloud:index/rdns:Rdns example "$PREFIX-$ID-$IP" ```
import reverse dns entry on server with id 123, ip 192.168.100.1
```sh $ pulumi import hcloud:index/rdns:Rdns myrdns s-123-192.168.100.1 ```
import reverse dns entry on primary ip with id 123, ip 2001:db8::1
```sh $ pulumi import hcloud:index/rdns:Rdns myrdns p-123-2001:db8::1 ```
import reverse dns entry on floating ip with id 123, ip 2001:db8::1
```sh $ pulumi import hcloud:index/rdns:Rdns myrdns f-123-2001:db8::1 ```
import reverse dns entry on load balancer with id 123, ip 2001:db8::1
```sh $ pulumi import hcloud:index/rdns:Rdns myrdns l-123-2001:db8::1 ```
func GetRdns ¶
func GetRdns(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RdnsState, opts ...pulumi.ResourceOption) (*Rdns, error)
GetRdns gets an existing Rdns 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 NewRdns ¶
func NewRdns(ctx *pulumi.Context, name string, args *RdnsArgs, opts ...pulumi.ResourceOption) (*Rdns, error)
NewRdns registers a new resource with the given unique name, arguments, and options.
func (*Rdns) ElementType ¶ added in v0.4.1
func (*Rdns) ToRdnsOutput ¶ added in v0.4.1
func (i *Rdns) ToRdnsOutput() RdnsOutput
func (*Rdns) ToRdnsOutputWithContext ¶ added in v0.4.1
func (i *Rdns) ToRdnsOutputWithContext(ctx context.Context) RdnsOutput
type RdnsArgs ¶
type RdnsArgs struct { // The DNS address the `ipAddress` should resolve to. DnsPtr pulumi.StringInput // The Floating IP the `ipAddress` belongs to. FloatingIpId pulumi.IntPtrInput // The IP address that should point to `dnsPtr`. IpAddress pulumi.StringInput // The Load Balancer the `ipAddress` belongs to. LoadBalancerId pulumi.IntPtrInput // The Primary IP the `ipAddress` belongs to. PrimaryIpId pulumi.IntPtrInput // The server the `ipAddress` belongs to. ServerId pulumi.IntPtrInput }
The set of arguments for constructing a Rdns resource.
func (RdnsArgs) ElementType ¶
type RdnsArray ¶ added in v0.6.2
type RdnsArray []RdnsInput
func (RdnsArray) ElementType ¶ added in v0.6.2
func (RdnsArray) ToRdnsArrayOutput ¶ added in v0.6.2
func (i RdnsArray) ToRdnsArrayOutput() RdnsArrayOutput
func (RdnsArray) ToRdnsArrayOutputWithContext ¶ added in v0.6.2
func (i RdnsArray) ToRdnsArrayOutputWithContext(ctx context.Context) RdnsArrayOutput
type RdnsArrayInput ¶ added in v0.6.2
type RdnsArrayInput interface { pulumi.Input ToRdnsArrayOutput() RdnsArrayOutput ToRdnsArrayOutputWithContext(context.Context) RdnsArrayOutput }
RdnsArrayInput is an input type that accepts RdnsArray and RdnsArrayOutput values. You can construct a concrete instance of `RdnsArrayInput` via:
RdnsArray{ RdnsArgs{...} }
type RdnsArrayOutput ¶ added in v0.6.2
type RdnsArrayOutput struct{ *pulumi.OutputState }
func (RdnsArrayOutput) ElementType ¶ added in v0.6.2
func (RdnsArrayOutput) ElementType() reflect.Type
func (RdnsArrayOutput) Index ¶ added in v0.6.2
func (o RdnsArrayOutput) Index(i pulumi.IntInput) RdnsOutput
func (RdnsArrayOutput) ToRdnsArrayOutput ¶ added in v0.6.2
func (o RdnsArrayOutput) ToRdnsArrayOutput() RdnsArrayOutput
func (RdnsArrayOutput) ToRdnsArrayOutputWithContext ¶ added in v0.6.2
func (o RdnsArrayOutput) ToRdnsArrayOutputWithContext(ctx context.Context) RdnsArrayOutput
type RdnsInput ¶ added in v0.4.1
type RdnsInput interface { pulumi.Input ToRdnsOutput() RdnsOutput ToRdnsOutputWithContext(ctx context.Context) RdnsOutput }
type RdnsMap ¶ added in v0.6.2
func (RdnsMap) ElementType ¶ added in v0.6.2
func (RdnsMap) ToRdnsMapOutput ¶ added in v0.6.2
func (i RdnsMap) ToRdnsMapOutput() RdnsMapOutput
func (RdnsMap) ToRdnsMapOutputWithContext ¶ added in v0.6.2
func (i RdnsMap) ToRdnsMapOutputWithContext(ctx context.Context) RdnsMapOutput
type RdnsMapInput ¶ added in v0.6.2
type RdnsMapInput interface { pulumi.Input ToRdnsMapOutput() RdnsMapOutput ToRdnsMapOutputWithContext(context.Context) RdnsMapOutput }
RdnsMapInput is an input type that accepts RdnsMap and RdnsMapOutput values. You can construct a concrete instance of `RdnsMapInput` via:
RdnsMap{ "key": RdnsArgs{...} }
type RdnsMapOutput ¶ added in v0.6.2
type RdnsMapOutput struct{ *pulumi.OutputState }
func (RdnsMapOutput) ElementType ¶ added in v0.6.2
func (RdnsMapOutput) ElementType() reflect.Type
func (RdnsMapOutput) MapIndex ¶ added in v0.6.2
func (o RdnsMapOutput) MapIndex(k pulumi.StringInput) RdnsOutput
func (RdnsMapOutput) ToRdnsMapOutput ¶ added in v0.6.2
func (o RdnsMapOutput) ToRdnsMapOutput() RdnsMapOutput
func (RdnsMapOutput) ToRdnsMapOutputWithContext ¶ added in v0.6.2
func (o RdnsMapOutput) ToRdnsMapOutputWithContext(ctx context.Context) RdnsMapOutput
type RdnsOutput ¶ added in v0.4.1
type RdnsOutput struct{ *pulumi.OutputState }
func (RdnsOutput) DnsPtr ¶ added in v1.9.0
func (o RdnsOutput) DnsPtr() pulumi.StringOutput
The DNS address the `ipAddress` should resolve to.
func (RdnsOutput) ElementType ¶ added in v0.4.1
func (RdnsOutput) ElementType() reflect.Type
func (RdnsOutput) FloatingIpId ¶ added in v1.9.0
func (o RdnsOutput) FloatingIpId() pulumi.IntPtrOutput
The Floating IP the `ipAddress` belongs to.
func (RdnsOutput) IpAddress ¶ added in v1.9.0
func (o RdnsOutput) IpAddress() pulumi.StringOutput
The IP address that should point to `dnsPtr`.
func (RdnsOutput) LoadBalancerId ¶ added in v1.9.0
func (o RdnsOutput) LoadBalancerId() pulumi.IntPtrOutput
The Load Balancer the `ipAddress` belongs to.
func (RdnsOutput) PrimaryIpId ¶ added in v1.12.0
func (o RdnsOutput) PrimaryIpId() pulumi.IntPtrOutput
The Primary IP the `ipAddress` belongs to.
func (RdnsOutput) ServerId ¶ added in v1.9.0
func (o RdnsOutput) ServerId() pulumi.IntPtrOutput
The server the `ipAddress` belongs to.
func (RdnsOutput) ToRdnsOutput ¶ added in v0.4.1
func (o RdnsOutput) ToRdnsOutput() RdnsOutput
func (RdnsOutput) ToRdnsOutputWithContext ¶ added in v0.4.1
func (o RdnsOutput) ToRdnsOutputWithContext(ctx context.Context) RdnsOutput
type RdnsState ¶
type RdnsState struct { // The DNS address the `ipAddress` should resolve to. DnsPtr pulumi.StringPtrInput // The Floating IP the `ipAddress` belongs to. FloatingIpId pulumi.IntPtrInput // The IP address that should point to `dnsPtr`. IpAddress pulumi.StringPtrInput // The Load Balancer the `ipAddress` belongs to. LoadBalancerId pulumi.IntPtrInput // The Primary IP the `ipAddress` belongs to. PrimaryIpId pulumi.IntPtrInput // The server the `ipAddress` belongs to. ServerId pulumi.IntPtrInput }
func (RdnsState) ElementType ¶
type Server ¶
type Server struct { pulumi.CustomResourceState // Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible. AllowDeprecatedImages pulumi.BoolPtrOutput `pulumi:"allowDeprecatedImages"` // (string) The backup window of the server, if enabled. // // Deprecated: You should remove this property from your terraform configuration. BackupWindow pulumi.StringOutput `pulumi:"backupWindow"` // Enable or disable backups. Backups pulumi.BoolPtrOutput `pulumi:"backups"` // The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter pulumi.StringOutput `pulumi:"datacenter"` // Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // Firewall IDs the server should be attached to on creation. FirewallIds pulumi.IntArrayOutput `pulumi:"firewallIds"` // Ignores any updates // to the `firewallIds` argument which were received from the server. // This should not be used in normal cases. See the documentation of the // `FirewallAttachment` resource for a reason to use this // argument. IgnoreRemoteFirewallIds pulumi.BoolPtrOutput `pulumi:"ignoreRemoteFirewallIds"` Image pulumi.StringPtrOutput `pulumi:"image"` // (string) The IPv4 address. Ipv4Address pulumi.StringOutput `pulumi:"ipv4Address"` // (string) The first IPv6 address of the assigned network. Ipv6Address pulumi.StringOutput `pulumi:"ipv6Address"` // (string) The IPv6 network. Ipv6Network pulumi.StringOutput `pulumi:"ipv6Network"` // ID or Name of an ISO image to mount. Iso pulumi.StringPtrOutput `pulumi:"iso"` // If true, do not upgrade the disk. This allows downgrading the server type later. KeepDisk pulumi.BoolPtrOutput `pulumi:"keepDisk"` // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringOutput `pulumi:"location"` // Name of the server to create (must be unique per project and a valid hostname as per RFC 1123). Name pulumi.StringOutput `pulumi:"name"` // Network the server should be attached to on creation. (Can be specified multiple times) Networks ServerNetworkTypeArrayOutput `pulumi:"networks"` // Placement Group ID the server added to on creation. PlacementGroupId pulumi.IntPtrOutput `pulumi:"placementGroupId"` // (int) The size of the primary disk in GB. PrimaryDiskSize pulumi.IntOutput `pulumi:"primaryDiskSize"` // In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples). // If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated. PublicNets ServerPublicNetArrayOutput `pulumi:"publicNets"` // Enable or disable rebuild protection (Needs to be the same as `deleteProtection`). RebuildProtection pulumi.BoolPtrOutput `pulumi:"rebuildProtection"` // Enable and boot in to the specified rescue system. This enables simple installation of custom operating systems. `linux64` or `linux32` Rescue pulumi.StringPtrOutput `pulumi:"rescue"` // Name of the server type this server should be created with. ServerType pulumi.StringOutput `pulumi:"serverType"` // Whether to try shutting the server down gracefully before deleting it. ShutdownBeforeDeletion pulumi.BoolPtrOutput `pulumi:"shutdownBeforeDeletion"` // SSH key IDs or names which should be injected into the server at creation time. Once the server is created, you can not update the list of SSH Keys. If you do change this, you will be prompted to destroy and recreate the server. You can avoid this by setting lifecycle.ignore_changes to `[ sshKeys ]`. SshKeys pulumi.StringArrayOutput `pulumi:"sshKeys"` // (string) The status of the server. Status pulumi.StringOutput `pulumi:"status"` // Cloud-Init user data to use during server creation UserData pulumi.StringPtrOutput `pulumi:"userData"` }
Provides an Hetzner Cloud server resource. This can be used to create, modify, and delete servers. Servers also support provisioning.
## Example Usage
### Basic server creation
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Create a new server running debian _, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), PublicNets: hcloud.ServerPublicNetArray{ &hcloud.ServerPublicNetArgs{ Ipv4Enabled: pulumi.Bool(true), Ipv6Enabled: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // ## Server creation with one linked primary ip (ipv4) primaryIp1, err := hcloud.NewPrimaryIp(ctx, "primary_ip_1", &hcloud.PrimaryIpArgs{ Name: pulumi.String("primary_ip_test"), Datacenter: pulumi.String("fsn1-dc14"), Type: pulumi.String("ipv4"), AssigneeType: pulumi.String("server"), AutoDelete: pulumi.Bool(true), Labels: pulumi.StringMap{ "hallo": pulumi.String("welt"), }, }) if err != nil { return err } _, err = hcloud.NewServer(ctx, "server_test", &hcloud.ServerArgs{ Name: pulumi.String("test-server"), Image: pulumi.String("ubuntu-20.04"), ServerType: pulumi.String("cx22"), Datacenter: pulumi.String("fsn1-dc14"), Labels: pulumi.StringMap{ "test": pulumi.String("tessst1"), }, PublicNets: hcloud.ServerPublicNetArray{ &hcloud.ServerPublicNetArgs{ Ipv4Enabled: pulumi.Bool(true), Ipv4: primaryIp1.ID(), Ipv6Enabled: pulumi.Bool(false), }, }, }) if err != nil { return err } return nil }) }
```
### Server creation with network
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { network, err := hcloud.NewNetwork(ctx, "network", &hcloud.NetworkArgs{ Name: pulumi.String("network"), IpRange: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } _, err = hcloud.NewNetworkSubnet(ctx, "network-subnet", &hcloud.NetworkSubnetArgs{ Type: pulumi.String("cloud"), NetworkId: network.ID(), NetworkZone: pulumi.String("eu-central"), IpRange: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } _, err = hcloud.NewServer(ctx, "server", &hcloud.ServerArgs{ Name: pulumi.String("server"), ServerType: pulumi.String("cx22"), Image: pulumi.String("ubuntu-20.04"), Location: pulumi.String("nbg1"), Networks: hcloud.ServerNetworkTypeArray{ &hcloud.ServerNetworkTypeArgs{ NetworkId: network.ID(), Ip: pulumi.String("10.0.1.5"), AliasIps: pulumi.StringArray{ pulumi.String("10.0.1.6"), pulumi.String("10.0.1.7"), }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ network_subnet, })) if err != nil { return err } return nil }) }
```
### Server creation from snapshot
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Get image infos because we need the ID packerSnapshot, err := hcloud.GetImage(ctx, &hcloud.GetImageArgs{ WithSelector: pulumi.StringRef("app=foobar"), MostRecent: pulumi.BoolRef(true), }, nil) if err != nil { return err } // Create a new server from the snapshot _, err = hcloud.NewServer(ctx, "from_snapshot", &hcloud.ServerArgs{ Name: pulumi.String("from-snapshot"), Image: pulumi.Int(packerSnapshot.Id), ServerType: pulumi.String("cx22"), PublicNets: hcloud.ServerPublicNetArray{ &hcloud.ServerPublicNetArgs{ Ipv4Enabled: pulumi.Bool(true), Ipv6Enabled: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
```
## Primary IPs
When creating a server without linking at least one ´primary_ip´, it automatically creates & assigns two (ipv4 & ipv6). With the publicNet block, you can enable or link primary ips. If you don't define this block, two primary ips (ipv4, ipv6) will be created and assigned to the server automatically.
## Import
Servers can be imported using the server `id`:
```sh $ pulumi import hcloud:index/server:Server example "$SERVER_ID" ```
func GetServer ¶
func GetServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)
GetServer gets an existing Server 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 NewServer ¶
func NewServer(ctx *pulumi.Context, name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)
NewServer registers a new resource with the given unique name, arguments, and options.
func (*Server) ElementType ¶ added in v0.4.1
func (*Server) ToServerOutput ¶ added in v0.4.1
func (i *Server) ToServerOutput() ServerOutput
func (*Server) ToServerOutputWithContext ¶ added in v0.4.1
func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
type ServerArgs ¶
type ServerArgs struct { // Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible. AllowDeprecatedImages pulumi.BoolPtrInput // Enable or disable backups. Backups pulumi.BoolPtrInput // The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter pulumi.StringPtrInput // Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // Firewall IDs the server should be attached to on creation. FirewallIds pulumi.IntArrayInput // Ignores any updates // to the `firewallIds` argument which were received from the server. // This should not be used in normal cases. See the documentation of the // `FirewallAttachment` resource for a reason to use this // argument. IgnoreRemoteFirewallIds pulumi.BoolPtrInput Image pulumi.StringPtrInput // ID or Name of an ISO image to mount. Iso pulumi.StringPtrInput // If true, do not upgrade the disk. This allows downgrading the server type later. KeepDisk pulumi.BoolPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput // Name of the server to create (must be unique per project and a valid hostname as per RFC 1123). Name pulumi.StringPtrInput // Network the server should be attached to on creation. (Can be specified multiple times) Networks ServerNetworkTypeArrayInput // Placement Group ID the server added to on creation. PlacementGroupId pulumi.IntPtrInput // In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples). // If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated. PublicNets ServerPublicNetArrayInput // Enable or disable rebuild protection (Needs to be the same as `deleteProtection`). RebuildProtection pulumi.BoolPtrInput // Enable and boot in to the specified rescue system. This enables simple installation of custom operating systems. `linux64` or `linux32` Rescue pulumi.StringPtrInput // Name of the server type this server should be created with. ServerType pulumi.StringInput // Whether to try shutting the server down gracefully before deleting it. ShutdownBeforeDeletion pulumi.BoolPtrInput // SSH key IDs or names which should be injected into the server at creation time. Once the server is created, you can not update the list of SSH Keys. If you do change this, you will be prompted to destroy and recreate the server. You can avoid this by setting lifecycle.ignore_changes to `[ sshKeys ]`. SshKeys pulumi.StringArrayInput // Cloud-Init user data to use during server creation UserData pulumi.StringPtrInput }
The set of arguments for constructing a Server resource.
func (ServerArgs) ElementType ¶
func (ServerArgs) ElementType() reflect.Type
type ServerArray ¶ added in v0.6.2
type ServerArray []ServerInput
func (ServerArray) ElementType ¶ added in v0.6.2
func (ServerArray) ElementType() reflect.Type
func (ServerArray) ToServerArrayOutput ¶ added in v0.6.2
func (i ServerArray) ToServerArrayOutput() ServerArrayOutput
func (ServerArray) ToServerArrayOutputWithContext ¶ added in v0.6.2
func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerArrayInput ¶ added in v0.6.2
type ServerArrayInput interface { pulumi.Input ToServerArrayOutput() ServerArrayOutput ToServerArrayOutputWithContext(context.Context) ServerArrayOutput }
ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values. You can construct a concrete instance of `ServerArrayInput` via:
ServerArray{ ServerArgs{...} }
type ServerArrayOutput ¶ added in v0.6.2
type ServerArrayOutput struct{ *pulumi.OutputState }
func (ServerArrayOutput) ElementType ¶ added in v0.6.2
func (ServerArrayOutput) ElementType() reflect.Type
func (ServerArrayOutput) Index ¶ added in v0.6.2
func (o ServerArrayOutput) Index(i pulumi.IntInput) ServerOutput
func (ServerArrayOutput) ToServerArrayOutput ¶ added in v0.6.2
func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput
func (ServerArrayOutput) ToServerArrayOutputWithContext ¶ added in v0.6.2
func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerInput ¶ added in v0.4.1
type ServerInput interface { pulumi.Input ToServerOutput() ServerOutput ToServerOutputWithContext(ctx context.Context) ServerOutput }
type ServerMap ¶ added in v0.6.2
type ServerMap map[string]ServerInput
func (ServerMap) ElementType ¶ added in v0.6.2
func (ServerMap) ToServerMapOutput ¶ added in v0.6.2
func (i ServerMap) ToServerMapOutput() ServerMapOutput
func (ServerMap) ToServerMapOutputWithContext ¶ added in v0.6.2
func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerMapInput ¶ added in v0.6.2
type ServerMapInput interface { pulumi.Input ToServerMapOutput() ServerMapOutput ToServerMapOutputWithContext(context.Context) ServerMapOutput }
ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values. You can construct a concrete instance of `ServerMapInput` via:
ServerMap{ "key": ServerArgs{...} }
type ServerMapOutput ¶ added in v0.6.2
type ServerMapOutput struct{ *pulumi.OutputState }
func (ServerMapOutput) ElementType ¶ added in v0.6.2
func (ServerMapOutput) ElementType() reflect.Type
func (ServerMapOutput) MapIndex ¶ added in v0.6.2
func (o ServerMapOutput) MapIndex(k pulumi.StringInput) ServerOutput
func (ServerMapOutput) ToServerMapOutput ¶ added in v0.6.2
func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput
func (ServerMapOutput) ToServerMapOutputWithContext ¶ added in v0.6.2
func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerNetwork ¶
type ServerNetwork struct { pulumi.CustomResourceState // Additional IPs to be assigned // to this server. AliasIps pulumi.StringArrayOutput `pulumi:"aliasIps"` // IP to request to be assigned to this server. // If you do not provide this then you will be auto assigned an IP // address. Ip pulumi.StringOutput `pulumi:"ip"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // ID of the network which should be added // to the server. Required if `subnetId` is not set. Successful creation // of the resource depends on the existence of a subnet in the Hetzner // Cloud Backend. Using `networkId` will not create an explicit // dependency between server and subnet. Therefore `dependsOn` may need // to be used. Alternatively the `subnetId` property can be used, which // will create an explicit dependency between `ServerNetwork` and // the existence of a subnet. NetworkId pulumi.IntPtrOutput `pulumi:"networkId"` // ID of the server. ServerId pulumi.IntOutput `pulumi:"serverId"` // ID of the sub-network which should be // added to the Server. Required if `networkId` is not set. // _Note_: if the `ip` property is missing, the Server is currently added // to the last created subnet. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` }
Provides a Hetzner Cloud Server Network to represent a private network on a server in the Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), }) if err != nil { return err } mynet, err := hcloud.NewNetwork(ctx, "mynet", &hcloud.NetworkArgs{ Name: pulumi.String("my-net"), IpRange: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } _, err = hcloud.NewNetworkSubnet(ctx, "foonet", &hcloud.NetworkSubnetArgs{ NetworkId: mynet.ID(), Type: pulumi.String("cloud"), NetworkZone: pulumi.String("eu-central"), IpRange: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } _, err = hcloud.NewServerNetwork(ctx, "srvnetwork", &hcloud.ServerNetworkArgs{ ServerId: node1.ID(), NetworkId: mynet.ID(), Ip: pulumi.String("10.0.1.5"), }) if err != nil { return err } return nil }) }
```
## Import
Server Network entries can be imported using a compound ID with the following format:
`<server-id>-<network-id>`
```sh $ pulumi import hcloud:index/serverNetwork:ServerNetwork example "$SERVER_ID-$NETWORK_ID" ```
func GetServerNetwork ¶
func GetServerNetwork(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerNetworkState, opts ...pulumi.ResourceOption) (*ServerNetwork, error)
GetServerNetwork gets an existing ServerNetwork 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 NewServerNetwork ¶
func NewServerNetwork(ctx *pulumi.Context, name string, args *ServerNetworkArgs, opts ...pulumi.ResourceOption) (*ServerNetwork, error)
NewServerNetwork registers a new resource with the given unique name, arguments, and options.
func (*ServerNetwork) ElementType ¶ added in v0.4.1
func (*ServerNetwork) ElementType() reflect.Type
func (*ServerNetwork) ToServerNetworkOutput ¶ added in v0.4.1
func (i *ServerNetwork) ToServerNetworkOutput() ServerNetworkOutput
func (*ServerNetwork) ToServerNetworkOutputWithContext ¶ added in v0.4.1
func (i *ServerNetwork) ToServerNetworkOutputWithContext(ctx context.Context) ServerNetworkOutput
type ServerNetworkArgs ¶
type ServerNetworkArgs struct { // Additional IPs to be assigned // to this server. AliasIps pulumi.StringArrayInput // IP to request to be assigned to this server. // If you do not provide this then you will be auto assigned an IP // address. Ip pulumi.StringPtrInput // ID of the network which should be added // to the server. Required if `subnetId` is not set. Successful creation // of the resource depends on the existence of a subnet in the Hetzner // Cloud Backend. Using `networkId` will not create an explicit // dependency between server and subnet. Therefore `dependsOn` may need // to be used. Alternatively the `subnetId` property can be used, which // will create an explicit dependency between `ServerNetwork` and // the existence of a subnet. NetworkId pulumi.IntPtrInput // ID of the server. ServerId pulumi.IntInput // ID of the sub-network which should be // added to the Server. Required if `networkId` is not set. // _Note_: if the `ip` property is missing, the Server is currently added // to the last created subnet. SubnetId pulumi.StringPtrInput }
The set of arguments for constructing a ServerNetwork resource.
func (ServerNetworkArgs) ElementType ¶
func (ServerNetworkArgs) ElementType() reflect.Type
type ServerNetworkArray ¶ added in v0.6.2
type ServerNetworkArray []ServerNetworkInput
func (ServerNetworkArray) ElementType ¶ added in v0.6.2
func (ServerNetworkArray) ElementType() reflect.Type
func (ServerNetworkArray) ToServerNetworkArrayOutput ¶ added in v0.6.2
func (i ServerNetworkArray) ToServerNetworkArrayOutput() ServerNetworkArrayOutput
func (ServerNetworkArray) ToServerNetworkArrayOutputWithContext ¶ added in v0.6.2
func (i ServerNetworkArray) ToServerNetworkArrayOutputWithContext(ctx context.Context) ServerNetworkArrayOutput
type ServerNetworkArrayInput ¶ added in v0.6.2
type ServerNetworkArrayInput interface { pulumi.Input ToServerNetworkArrayOutput() ServerNetworkArrayOutput ToServerNetworkArrayOutputWithContext(context.Context) ServerNetworkArrayOutput }
ServerNetworkArrayInput is an input type that accepts ServerNetworkArray and ServerNetworkArrayOutput values. You can construct a concrete instance of `ServerNetworkArrayInput` via:
ServerNetworkArray{ ServerNetworkArgs{...} }
type ServerNetworkArrayOutput ¶ added in v0.6.2
type ServerNetworkArrayOutput struct{ *pulumi.OutputState }
func (ServerNetworkArrayOutput) ElementType ¶ added in v0.6.2
func (ServerNetworkArrayOutput) ElementType() reflect.Type
func (ServerNetworkArrayOutput) Index ¶ added in v0.6.2
func (o ServerNetworkArrayOutput) Index(i pulumi.IntInput) ServerNetworkOutput
func (ServerNetworkArrayOutput) ToServerNetworkArrayOutput ¶ added in v0.6.2
func (o ServerNetworkArrayOutput) ToServerNetworkArrayOutput() ServerNetworkArrayOutput
func (ServerNetworkArrayOutput) ToServerNetworkArrayOutputWithContext ¶ added in v0.6.2
func (o ServerNetworkArrayOutput) ToServerNetworkArrayOutputWithContext(ctx context.Context) ServerNetworkArrayOutput
type ServerNetworkInput ¶ added in v0.4.1
type ServerNetworkInput interface { pulumi.Input ToServerNetworkOutput() ServerNetworkOutput ToServerNetworkOutputWithContext(ctx context.Context) ServerNetworkOutput }
type ServerNetworkMap ¶ added in v0.6.2
type ServerNetworkMap map[string]ServerNetworkInput
func (ServerNetworkMap) ElementType ¶ added in v0.6.2
func (ServerNetworkMap) ElementType() reflect.Type
func (ServerNetworkMap) ToServerNetworkMapOutput ¶ added in v0.6.2
func (i ServerNetworkMap) ToServerNetworkMapOutput() ServerNetworkMapOutput
func (ServerNetworkMap) ToServerNetworkMapOutputWithContext ¶ added in v0.6.2
func (i ServerNetworkMap) ToServerNetworkMapOutputWithContext(ctx context.Context) ServerNetworkMapOutput
type ServerNetworkMapInput ¶ added in v0.6.2
type ServerNetworkMapInput interface { pulumi.Input ToServerNetworkMapOutput() ServerNetworkMapOutput ToServerNetworkMapOutputWithContext(context.Context) ServerNetworkMapOutput }
ServerNetworkMapInput is an input type that accepts ServerNetworkMap and ServerNetworkMapOutput values. You can construct a concrete instance of `ServerNetworkMapInput` via:
ServerNetworkMap{ "key": ServerNetworkArgs{...} }
type ServerNetworkMapOutput ¶ added in v0.6.2
type ServerNetworkMapOutput struct{ *pulumi.OutputState }
func (ServerNetworkMapOutput) ElementType ¶ added in v0.6.2
func (ServerNetworkMapOutput) ElementType() reflect.Type
func (ServerNetworkMapOutput) MapIndex ¶ added in v0.6.2
func (o ServerNetworkMapOutput) MapIndex(k pulumi.StringInput) ServerNetworkOutput
func (ServerNetworkMapOutput) ToServerNetworkMapOutput ¶ added in v0.6.2
func (o ServerNetworkMapOutput) ToServerNetworkMapOutput() ServerNetworkMapOutput
func (ServerNetworkMapOutput) ToServerNetworkMapOutputWithContext ¶ added in v0.6.2
func (o ServerNetworkMapOutput) ToServerNetworkMapOutputWithContext(ctx context.Context) ServerNetworkMapOutput
type ServerNetworkOutput ¶ added in v0.4.1
type ServerNetworkOutput struct{ *pulumi.OutputState }
func (ServerNetworkOutput) AliasIps ¶ added in v1.9.0
func (o ServerNetworkOutput) AliasIps() pulumi.StringArrayOutput
Additional IPs to be assigned to this server.
func (ServerNetworkOutput) ElementType ¶ added in v0.4.1
func (ServerNetworkOutput) ElementType() reflect.Type
func (ServerNetworkOutput) Ip ¶ added in v1.9.0
func (o ServerNetworkOutput) Ip() pulumi.StringOutput
IP to request to be assigned to this server. If you do not provide this then you will be auto assigned an IP address.
func (ServerNetworkOutput) MacAddress ¶ added in v1.9.0
func (o ServerNetworkOutput) MacAddress() pulumi.StringOutput
func (ServerNetworkOutput) NetworkId ¶ added in v1.9.0
func (o ServerNetworkOutput) NetworkId() pulumi.IntPtrOutput
ID of the network which should be added to the server. Required if `subnetId` is not set. Successful creation of the resource depends on the existence of a subnet in the Hetzner Cloud Backend. Using `networkId` will not create an explicit dependency between server and subnet. Therefore `dependsOn` may need to be used. Alternatively the `subnetId` property can be used, which will create an explicit dependency between `ServerNetwork` and the existence of a subnet.
func (ServerNetworkOutput) ServerId ¶ added in v1.9.0
func (o ServerNetworkOutput) ServerId() pulumi.IntOutput
ID of the server.
func (ServerNetworkOutput) SubnetId ¶ added in v1.9.0
func (o ServerNetworkOutput) SubnetId() pulumi.StringPtrOutput
ID of the sub-network which should be added to the Server. Required if `networkId` is not set. _Note_: if the `ip` property is missing, the Server is currently added to the last created subnet.
func (ServerNetworkOutput) ToServerNetworkOutput ¶ added in v0.4.1
func (o ServerNetworkOutput) ToServerNetworkOutput() ServerNetworkOutput
func (ServerNetworkOutput) ToServerNetworkOutputWithContext ¶ added in v0.4.1
func (o ServerNetworkOutput) ToServerNetworkOutputWithContext(ctx context.Context) ServerNetworkOutput
type ServerNetworkState ¶
type ServerNetworkState struct { // Additional IPs to be assigned // to this server. AliasIps pulumi.StringArrayInput // IP to request to be assigned to this server. // If you do not provide this then you will be auto assigned an IP // address. Ip pulumi.StringPtrInput MacAddress pulumi.StringPtrInput // ID of the network which should be added // to the server. Required if `subnetId` is not set. Successful creation // of the resource depends on the existence of a subnet in the Hetzner // Cloud Backend. Using `networkId` will not create an explicit // dependency between server and subnet. Therefore `dependsOn` may need // to be used. Alternatively the `subnetId` property can be used, which // will create an explicit dependency between `ServerNetwork` and // the existence of a subnet. NetworkId pulumi.IntPtrInput // ID of the server. ServerId pulumi.IntPtrInput // ID of the sub-network which should be // added to the Server. Required if `networkId` is not set. // _Note_: if the `ip` property is missing, the Server is currently added // to the last created subnet. SubnetId pulumi.StringPtrInput }
func (ServerNetworkState) ElementType ¶
func (ServerNetworkState) ElementType() reflect.Type
type ServerNetworkType ¶ added in v0.5.0
type ServerNetworkType struct { AliasIps []string `pulumi:"aliasIps"` // Specify the IP the server should get in the network Ip *string `pulumi:"ip"` // (Optional, string) The MAC address the private interface of the server has MacAddress *string `pulumi:"macAddress"` // ID of the network NetworkId int `pulumi:"networkId"` }
type ServerNetworkTypeArgs ¶ added in v0.5.0
type ServerNetworkTypeArgs struct { AliasIps pulumi.StringArrayInput `pulumi:"aliasIps"` // Specify the IP the server should get in the network Ip pulumi.StringPtrInput `pulumi:"ip"` // (Optional, string) The MAC address the private interface of the server has MacAddress pulumi.StringPtrInput `pulumi:"macAddress"` // ID of the network NetworkId pulumi.IntInput `pulumi:"networkId"` }
func (ServerNetworkTypeArgs) ElementType ¶ added in v0.5.0
func (ServerNetworkTypeArgs) ElementType() reflect.Type
func (ServerNetworkTypeArgs) ToServerNetworkTypeOutput ¶ added in v0.5.0
func (i ServerNetworkTypeArgs) ToServerNetworkTypeOutput() ServerNetworkTypeOutput
func (ServerNetworkTypeArgs) ToServerNetworkTypeOutputWithContext ¶ added in v0.5.0
func (i ServerNetworkTypeArgs) ToServerNetworkTypeOutputWithContext(ctx context.Context) ServerNetworkTypeOutput
type ServerNetworkTypeArray ¶ added in v0.5.0
type ServerNetworkTypeArray []ServerNetworkTypeInput
func (ServerNetworkTypeArray) ElementType ¶ added in v0.5.0
func (ServerNetworkTypeArray) ElementType() reflect.Type
func (ServerNetworkTypeArray) ToServerNetworkTypeArrayOutput ¶ added in v0.5.0
func (i ServerNetworkTypeArray) ToServerNetworkTypeArrayOutput() ServerNetworkTypeArrayOutput
func (ServerNetworkTypeArray) ToServerNetworkTypeArrayOutputWithContext ¶ added in v0.5.0
func (i ServerNetworkTypeArray) ToServerNetworkTypeArrayOutputWithContext(ctx context.Context) ServerNetworkTypeArrayOutput
type ServerNetworkTypeArrayInput ¶ added in v0.5.0
type ServerNetworkTypeArrayInput interface { pulumi.Input ToServerNetworkTypeArrayOutput() ServerNetworkTypeArrayOutput ToServerNetworkTypeArrayOutputWithContext(context.Context) ServerNetworkTypeArrayOutput }
ServerNetworkTypeArrayInput is an input type that accepts ServerNetworkTypeArray and ServerNetworkTypeArrayOutput values. You can construct a concrete instance of `ServerNetworkTypeArrayInput` via:
ServerNetworkTypeArray{ ServerNetworkTypeArgs{...} }
type ServerNetworkTypeArrayOutput ¶ added in v0.5.0
type ServerNetworkTypeArrayOutput struct{ *pulumi.OutputState }
func (ServerNetworkTypeArrayOutput) ElementType ¶ added in v0.5.0
func (ServerNetworkTypeArrayOutput) ElementType() reflect.Type
func (ServerNetworkTypeArrayOutput) Index ¶ added in v0.5.0
func (o ServerNetworkTypeArrayOutput) Index(i pulumi.IntInput) ServerNetworkTypeOutput
func (ServerNetworkTypeArrayOutput) ToServerNetworkTypeArrayOutput ¶ added in v0.5.0
func (o ServerNetworkTypeArrayOutput) ToServerNetworkTypeArrayOutput() ServerNetworkTypeArrayOutput
func (ServerNetworkTypeArrayOutput) ToServerNetworkTypeArrayOutputWithContext ¶ added in v0.5.0
func (o ServerNetworkTypeArrayOutput) ToServerNetworkTypeArrayOutputWithContext(ctx context.Context) ServerNetworkTypeArrayOutput
type ServerNetworkTypeInput ¶ added in v0.5.0
type ServerNetworkTypeInput interface { pulumi.Input ToServerNetworkTypeOutput() ServerNetworkTypeOutput ToServerNetworkTypeOutputWithContext(context.Context) ServerNetworkTypeOutput }
ServerNetworkTypeInput is an input type that accepts ServerNetworkTypeArgs and ServerNetworkTypeOutput values. You can construct a concrete instance of `ServerNetworkTypeInput` via:
ServerNetworkTypeArgs{...}
type ServerNetworkTypeOutput ¶ added in v0.5.0
type ServerNetworkTypeOutput struct{ *pulumi.OutputState }
func (ServerNetworkTypeOutput) AliasIps ¶ added in v0.5.0
func (o ServerNetworkTypeOutput) AliasIps() pulumi.StringArrayOutput
func (ServerNetworkTypeOutput) ElementType ¶ added in v0.5.0
func (ServerNetworkTypeOutput) ElementType() reflect.Type
func (ServerNetworkTypeOutput) Ip ¶ added in v0.5.0
func (o ServerNetworkTypeOutput) Ip() pulumi.StringPtrOutput
Specify the IP the server should get in the network
func (ServerNetworkTypeOutput) MacAddress ¶ added in v0.5.0
func (o ServerNetworkTypeOutput) MacAddress() pulumi.StringPtrOutput
(Optional, string) The MAC address the private interface of the server has
func (ServerNetworkTypeOutput) NetworkId ¶ added in v0.5.0
func (o ServerNetworkTypeOutput) NetworkId() pulumi.IntOutput
ID of the network
func (ServerNetworkTypeOutput) ToServerNetworkTypeOutput ¶ added in v0.5.0
func (o ServerNetworkTypeOutput) ToServerNetworkTypeOutput() ServerNetworkTypeOutput
func (ServerNetworkTypeOutput) ToServerNetworkTypeOutputWithContext ¶ added in v0.5.0
func (o ServerNetworkTypeOutput) ToServerNetworkTypeOutputWithContext(ctx context.Context) ServerNetworkTypeOutput
type ServerOutput ¶ added in v0.4.1
type ServerOutput struct{ *pulumi.OutputState }
func (ServerOutput) AllowDeprecatedImages ¶ added in v1.10.0
func (o ServerOutput) AllowDeprecatedImages() pulumi.BoolPtrOutput
Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
func (ServerOutput) BackupWindow
deprecated
added in
v1.9.0
func (o ServerOutput) BackupWindow() pulumi.StringOutput
(string) The backup window of the server, if enabled.
Deprecated: You should remove this property from your terraform configuration.
func (ServerOutput) Backups ¶ added in v1.9.0
func (o ServerOutput) Backups() pulumi.BoolPtrOutput
Enable or disable backups.
func (ServerOutput) Datacenter ¶ added in v1.9.0
func (o ServerOutput) Datacenter() pulumi.StringOutput
The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
func (ServerOutput) DeleteProtection ¶ added in v1.9.0
func (o ServerOutput) DeleteProtection() pulumi.BoolPtrOutput
Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details.
func (ServerOutput) ElementType ¶ added in v0.4.1
func (ServerOutput) ElementType() reflect.Type
func (ServerOutput) FirewallIds ¶ added in v1.9.0
func (o ServerOutput) FirewallIds() pulumi.IntArrayOutput
Firewall IDs the server should be attached to on creation.
func (ServerOutput) IgnoreRemoteFirewallIds ¶ added in v1.9.0
func (o ServerOutput) IgnoreRemoteFirewallIds() pulumi.BoolPtrOutput
Ignores any updates to the `firewallIds` argument which were received from the server. This should not be used in normal cases. See the documentation of the `FirewallAttachment` resource for a reason to use this argument.
func (ServerOutput) Image ¶ added in v1.9.0
func (o ServerOutput) Image() pulumi.StringPtrOutput
func (ServerOutput) Ipv4Address ¶ added in v1.9.0
func (o ServerOutput) Ipv4Address() pulumi.StringOutput
(string) The IPv4 address.
func (ServerOutput) Ipv6Address ¶ added in v1.9.0
func (o ServerOutput) Ipv6Address() pulumi.StringOutput
(string) The first IPv6 address of the assigned network.
func (ServerOutput) Ipv6Network ¶ added in v1.9.0
func (o ServerOutput) Ipv6Network() pulumi.StringOutput
(string) The IPv6 network.
func (ServerOutput) Iso ¶ added in v1.9.0
func (o ServerOutput) Iso() pulumi.StringPtrOutput
ID or Name of an ISO image to mount.
func (ServerOutput) KeepDisk ¶ added in v1.9.0
func (o ServerOutput) KeepDisk() pulumi.BoolPtrOutput
If true, do not upgrade the disk. This allows downgrading the server type later.
func (ServerOutput) Labels ¶ added in v1.9.0
func (o ServerOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (ServerOutput) Location ¶ added in v1.9.0
func (o ServerOutput) Location() pulumi.StringOutput
The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (ServerOutput) Name ¶ added in v1.9.0
func (o ServerOutput) Name() pulumi.StringOutput
Name of the server to create (must be unique per project and a valid hostname as per RFC 1123).
func (ServerOutput) Networks ¶ added in v1.9.0
func (o ServerOutput) Networks() ServerNetworkTypeArrayOutput
Network the server should be attached to on creation. (Can be specified multiple times)
func (ServerOutput) PlacementGroupId ¶ added in v1.9.0
func (o ServerOutput) PlacementGroupId() pulumi.IntPtrOutput
Placement Group ID the server added to on creation.
func (ServerOutput) PrimaryDiskSize ¶ added in v1.17.0
func (o ServerOutput) PrimaryDiskSize() pulumi.IntOutput
(int) The size of the primary disk in GB.
func (ServerOutput) PublicNets ¶ added in v1.9.0
func (o ServerOutput) PublicNets() ServerPublicNetArrayOutput
In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples). If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
func (ServerOutput) RebuildProtection ¶ added in v1.9.0
func (o ServerOutput) RebuildProtection() pulumi.BoolPtrOutput
Enable or disable rebuild protection (Needs to be the same as `deleteProtection`).
func (ServerOutput) Rescue ¶ added in v1.9.0
func (o ServerOutput) Rescue() pulumi.StringPtrOutput
Enable and boot in to the specified rescue system. This enables simple installation of custom operating systems. `linux64` or `linux32`
func (ServerOutput) ServerType ¶ added in v1.9.0
func (o ServerOutput) ServerType() pulumi.StringOutput
Name of the server type this server should be created with.
func (ServerOutput) ShutdownBeforeDeletion ¶ added in v1.15.0
func (o ServerOutput) ShutdownBeforeDeletion() pulumi.BoolPtrOutput
Whether to try shutting the server down gracefully before deleting it.
func (ServerOutput) SshKeys ¶ added in v1.9.0
func (o ServerOutput) SshKeys() pulumi.StringArrayOutput
SSH key IDs or names which should be injected into the server at creation time. Once the server is created, you can not update the list of SSH Keys. If you do change this, you will be prompted to destroy and recreate the server. You can avoid this by setting lifecycle.ignore_changes to `[ sshKeys ]`.
func (ServerOutput) Status ¶ added in v1.9.0
func (o ServerOutput) Status() pulumi.StringOutput
(string) The status of the server.
func (ServerOutput) ToServerOutput ¶ added in v0.4.1
func (o ServerOutput) ToServerOutput() ServerOutput
func (ServerOutput) ToServerOutputWithContext ¶ added in v0.4.1
func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (ServerOutput) UserData ¶ added in v1.9.0
func (o ServerOutput) UserData() pulumi.StringPtrOutput
Cloud-Init user data to use during server creation
type ServerPublicNet ¶ added in v1.9.0
type ServerPublicNetArgs ¶ added in v1.9.0
type ServerPublicNetArgs struct { Ipv4 pulumi.IntPtrInput `pulumi:"ipv4"` Ipv4Enabled pulumi.BoolPtrInput `pulumi:"ipv4Enabled"` Ipv6 pulumi.IntPtrInput `pulumi:"ipv6"` Ipv6Enabled pulumi.BoolPtrInput `pulumi:"ipv6Enabled"` }
func (ServerPublicNetArgs) ElementType ¶ added in v1.9.0
func (ServerPublicNetArgs) ElementType() reflect.Type
func (ServerPublicNetArgs) ToServerPublicNetOutput ¶ added in v1.9.0
func (i ServerPublicNetArgs) ToServerPublicNetOutput() ServerPublicNetOutput
func (ServerPublicNetArgs) ToServerPublicNetOutputWithContext ¶ added in v1.9.0
func (i ServerPublicNetArgs) ToServerPublicNetOutputWithContext(ctx context.Context) ServerPublicNetOutput
type ServerPublicNetArray ¶ added in v1.9.0
type ServerPublicNetArray []ServerPublicNetInput
func (ServerPublicNetArray) ElementType ¶ added in v1.9.0
func (ServerPublicNetArray) ElementType() reflect.Type
func (ServerPublicNetArray) ToServerPublicNetArrayOutput ¶ added in v1.9.0
func (i ServerPublicNetArray) ToServerPublicNetArrayOutput() ServerPublicNetArrayOutput
func (ServerPublicNetArray) ToServerPublicNetArrayOutputWithContext ¶ added in v1.9.0
func (i ServerPublicNetArray) ToServerPublicNetArrayOutputWithContext(ctx context.Context) ServerPublicNetArrayOutput
type ServerPublicNetArrayInput ¶ added in v1.9.0
type ServerPublicNetArrayInput interface { pulumi.Input ToServerPublicNetArrayOutput() ServerPublicNetArrayOutput ToServerPublicNetArrayOutputWithContext(context.Context) ServerPublicNetArrayOutput }
ServerPublicNetArrayInput is an input type that accepts ServerPublicNetArray and ServerPublicNetArrayOutput values. You can construct a concrete instance of `ServerPublicNetArrayInput` via:
ServerPublicNetArray{ ServerPublicNetArgs{...} }
type ServerPublicNetArrayOutput ¶ added in v1.9.0
type ServerPublicNetArrayOutput struct{ *pulumi.OutputState }
func (ServerPublicNetArrayOutput) ElementType ¶ added in v1.9.0
func (ServerPublicNetArrayOutput) ElementType() reflect.Type
func (ServerPublicNetArrayOutput) Index ¶ added in v1.9.0
func (o ServerPublicNetArrayOutput) Index(i pulumi.IntInput) ServerPublicNetOutput
func (ServerPublicNetArrayOutput) ToServerPublicNetArrayOutput ¶ added in v1.9.0
func (o ServerPublicNetArrayOutput) ToServerPublicNetArrayOutput() ServerPublicNetArrayOutput
func (ServerPublicNetArrayOutput) ToServerPublicNetArrayOutputWithContext ¶ added in v1.9.0
func (o ServerPublicNetArrayOutput) ToServerPublicNetArrayOutputWithContext(ctx context.Context) ServerPublicNetArrayOutput
type ServerPublicNetInput ¶ added in v1.9.0
type ServerPublicNetInput interface { pulumi.Input ToServerPublicNetOutput() ServerPublicNetOutput ToServerPublicNetOutputWithContext(context.Context) ServerPublicNetOutput }
ServerPublicNetInput is an input type that accepts ServerPublicNetArgs and ServerPublicNetOutput values. You can construct a concrete instance of `ServerPublicNetInput` via:
ServerPublicNetArgs{...}
type ServerPublicNetOutput ¶ added in v1.9.0
type ServerPublicNetOutput struct{ *pulumi.OutputState }
func (ServerPublicNetOutput) ElementType ¶ added in v1.9.0
func (ServerPublicNetOutput) ElementType() reflect.Type
func (ServerPublicNetOutput) Ipv4 ¶ added in v1.9.0
func (o ServerPublicNetOutput) Ipv4() pulumi.IntPtrOutput
func (ServerPublicNetOutput) Ipv4Enabled ¶ added in v1.9.0
func (o ServerPublicNetOutput) Ipv4Enabled() pulumi.BoolPtrOutput
func (ServerPublicNetOutput) Ipv6 ¶ added in v1.9.0
func (o ServerPublicNetOutput) Ipv6() pulumi.IntPtrOutput
func (ServerPublicNetOutput) Ipv6Enabled ¶ added in v1.9.0
func (o ServerPublicNetOutput) Ipv6Enabled() pulumi.BoolPtrOutput
func (ServerPublicNetOutput) ToServerPublicNetOutput ¶ added in v1.9.0
func (o ServerPublicNetOutput) ToServerPublicNetOutput() ServerPublicNetOutput
func (ServerPublicNetOutput) ToServerPublicNetOutputWithContext ¶ added in v1.9.0
func (o ServerPublicNetOutput) ToServerPublicNetOutputWithContext(ctx context.Context) ServerPublicNetOutput
type ServerState ¶
type ServerState struct { // Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible. AllowDeprecatedImages pulumi.BoolPtrInput // (string) The backup window of the server, if enabled. // // Deprecated: You should remove this property from your terraform configuration. BackupWindow pulumi.StringPtrInput // Enable or disable backups. Backups pulumi.BoolPtrInput // The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters. Datacenter pulumi.StringPtrInput // Enable or disable delete protection (Needs to be the same as `rebuildProtection`). See "Delete Protection" in the Provider Docs for details. DeleteProtection pulumi.BoolPtrInput // Firewall IDs the server should be attached to on creation. FirewallIds pulumi.IntArrayInput // Ignores any updates // to the `firewallIds` argument which were received from the server. // This should not be used in normal cases. See the documentation of the // `FirewallAttachment` resource for a reason to use this // argument. IgnoreRemoteFirewallIds pulumi.BoolPtrInput Image pulumi.StringPtrInput // (string) The IPv4 address. Ipv4Address pulumi.StringPtrInput // (string) The first IPv6 address of the assigned network. Ipv6Address pulumi.StringPtrInput // (string) The IPv6 network. Ipv6Network pulumi.StringPtrInput // ID or Name of an ISO image to mount. Iso pulumi.StringPtrInput // If true, do not upgrade the disk. This allows downgrading the server type later. KeepDisk pulumi.BoolPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput // Name of the server to create (must be unique per project and a valid hostname as per RFC 1123). Name pulumi.StringPtrInput // Network the server should be attached to on creation. (Can be specified multiple times) Networks ServerNetworkTypeArrayInput // Placement Group ID the server added to on creation. PlacementGroupId pulumi.IntPtrInput // (int) The size of the primary disk in GB. PrimaryDiskSize pulumi.IntPtrInput // In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples). // If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated. PublicNets ServerPublicNetArrayInput // Enable or disable rebuild protection (Needs to be the same as `deleteProtection`). RebuildProtection pulumi.BoolPtrInput // Enable and boot in to the specified rescue system. This enables simple installation of custom operating systems. `linux64` or `linux32` Rescue pulumi.StringPtrInput // Name of the server type this server should be created with. ServerType pulumi.StringPtrInput // Whether to try shutting the server down gracefully before deleting it. ShutdownBeforeDeletion pulumi.BoolPtrInput // SSH key IDs or names which should be injected into the server at creation time. Once the server is created, you can not update the list of SSH Keys. If you do change this, you will be prompted to destroy and recreate the server. You can avoid this by setting lifecycle.ignore_changes to `[ sshKeys ]`. SshKeys pulumi.StringArrayInput // (string) The status of the server. Status pulumi.StringPtrInput // Cloud-Init user data to use during server creation UserData pulumi.StringPtrInput }
func (ServerState) ElementType ¶
func (ServerState) ElementType() reflect.Type
type Snapshot ¶ added in v0.7.0
type Snapshot struct { pulumi.CustomResourceState // Description of the snapshot. Description pulumi.StringPtrOutput `pulumi:"description"` // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Server to the snapshot should be created from. ServerId pulumi.IntOutput `pulumi:"serverId"` }
Provides a Hetzner Cloud snapshot to represent an image with type snapshot in the Hetzner Cloud. This resource makes it easy to create a snapshot of your server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), }) if err != nil { return err } _, err = hcloud.NewSnapshot(ctx, "my-snapshot", &hcloud.SnapshotArgs{ ServerId: node1.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Snapshots can be imported using its image `id`:
```sh $ pulumi import hcloud:index/snapshot:Snapshot example "$IMAGE_ID" ```
func GetSnapshot ¶ added in v0.7.0
func GetSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)
GetSnapshot gets an existing Snapshot 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 NewSnapshot ¶ added in v0.7.0
func NewSnapshot(ctx *pulumi.Context, name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)
NewSnapshot registers a new resource with the given unique name, arguments, and options.
func (*Snapshot) ElementType ¶ added in v0.7.0
func (*Snapshot) ToSnapshotOutput ¶ added in v0.7.0
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶ added in v0.7.0
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶ added in v0.7.0
type SnapshotArgs struct { // Description of the snapshot. Description pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Server to the snapshot should be created from. ServerId pulumi.IntInput }
The set of arguments for constructing a Snapshot resource.
func (SnapshotArgs) ElementType ¶ added in v0.7.0
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶ added in v0.7.0
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶ added in v0.7.0
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶ added in v0.7.0
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶ added in v0.7.0
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶ added in v0.7.0
type SnapshotArrayInput interface { pulumi.Input ToSnapshotArrayOutput() SnapshotArrayOutput ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput }
SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:
SnapshotArray{ SnapshotArgs{...} }
type SnapshotArrayOutput ¶ added in v0.7.0
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶ added in v0.7.0
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶ added in v0.7.0
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶ added in v0.7.0
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶ added in v0.7.0
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotInput ¶ added in v0.7.0
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶ added in v0.7.0
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶ added in v0.7.0
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶ added in v0.7.0
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶ added in v0.7.0
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶ added in v0.7.0
type SnapshotMapInput interface { pulumi.Input ToSnapshotMapOutput() SnapshotMapOutput ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput }
SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:
SnapshotMap{ "key": SnapshotArgs{...} }
type SnapshotMapOutput ¶ added in v0.7.0
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶ added in v0.7.0
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶ added in v0.7.0
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶ added in v0.7.0
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶ added in v0.7.0
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶ added in v0.7.0
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) Description ¶ added in v1.9.0
func (o SnapshotOutput) Description() pulumi.StringPtrOutput
Description of the snapshot.
func (SnapshotOutput) ElementType ¶ added in v0.7.0
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) Labels ¶ added in v1.9.0
func (o SnapshotOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) should be created with.
func (SnapshotOutput) ServerId ¶ added in v1.9.0
func (o SnapshotOutput) ServerId() pulumi.IntOutput
Server to the snapshot should be created from.
func (SnapshotOutput) ToSnapshotOutput ¶ added in v0.7.0
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶ added in v0.7.0
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotState ¶ added in v0.7.0
type SnapshotState struct { // Description of the snapshot. Description pulumi.StringPtrInput // User-defined labels (key-value pairs) should be created with. Labels pulumi.StringMapInput // Server to the snapshot should be created from. ServerId pulumi.IntPtrInput }
func (SnapshotState) ElementType ¶ added in v0.7.0
func (SnapshotState) ElementType() reflect.Type
type SshKey ¶
type SshKey struct { pulumi.CustomResourceState // Fingerprint of the SSH public key. Fingerprint pulumi.StringOutput `pulumi:"fingerprint"` // User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the SSH Key. Name pulumi.StringOutput `pulumi:"name"` // Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function. PublicKey pulumi.StringOutput `pulumi:"publicKey"` }
Provides a Hetzner Cloud SSH Key resource to manage SSH Keys for server access.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "~/.ssh/id_ed25519.pub", }, nil) if err != nil { return err } _, err = hcloud.NewSshKey(ctx, "main", &hcloud.SshKeyArgs{ Name: pulumi.String("my-ssh-key"), PublicKey: pulumi.String(invokeFile.Result), }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import hcloud:index/sshKey:SshKey example "$SSH_KEY_ID" ```
func GetSshKey ¶
func GetSshKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SshKeyState, opts ...pulumi.ResourceOption) (*SshKey, error)
GetSshKey gets an existing SshKey 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 NewSshKey ¶
func NewSshKey(ctx *pulumi.Context, name string, args *SshKeyArgs, opts ...pulumi.ResourceOption) (*SshKey, error)
NewSshKey registers a new resource with the given unique name, arguments, and options.
func (*SshKey) ElementType ¶ added in v0.4.1
func (*SshKey) ToSshKeyOutput ¶ added in v0.4.1
func (i *SshKey) ToSshKeyOutput() SshKeyOutput
func (*SshKey) ToSshKeyOutputWithContext ¶ added in v0.4.1
func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
type SshKeyArgs ¶
type SshKeyArgs struct { // User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource. Labels pulumi.StringMapInput // Name of the SSH Key. Name pulumi.StringPtrInput // Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function. PublicKey pulumi.StringInput }
The set of arguments for constructing a SshKey resource.
func (SshKeyArgs) ElementType ¶
func (SshKeyArgs) ElementType() reflect.Type
type SshKeyArray ¶ added in v0.6.2
type SshKeyArray []SshKeyInput
func (SshKeyArray) ElementType ¶ added in v0.6.2
func (SshKeyArray) ElementType() reflect.Type
func (SshKeyArray) ToSshKeyArrayOutput ¶ added in v0.6.2
func (i SshKeyArray) ToSshKeyArrayOutput() SshKeyArrayOutput
func (SshKeyArray) ToSshKeyArrayOutputWithContext ¶ added in v0.6.2
func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput
type SshKeyArrayInput ¶ added in v0.6.2
type SshKeyArrayInput interface { pulumi.Input ToSshKeyArrayOutput() SshKeyArrayOutput ToSshKeyArrayOutputWithContext(context.Context) SshKeyArrayOutput }
SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. You can construct a concrete instance of `SshKeyArrayInput` via:
SshKeyArray{ SshKeyArgs{...} }
type SshKeyArrayOutput ¶ added in v0.6.2
type SshKeyArrayOutput struct{ *pulumi.OutputState }
func (SshKeyArrayOutput) ElementType ¶ added in v0.6.2
func (SshKeyArrayOutput) ElementType() reflect.Type
func (SshKeyArrayOutput) Index ¶ added in v0.6.2
func (o SshKeyArrayOutput) Index(i pulumi.IntInput) SshKeyOutput
func (SshKeyArrayOutput) ToSshKeyArrayOutput ¶ added in v0.6.2
func (o SshKeyArrayOutput) ToSshKeyArrayOutput() SshKeyArrayOutput
func (SshKeyArrayOutput) ToSshKeyArrayOutputWithContext ¶ added in v0.6.2
func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput
type SshKeyInput ¶ added in v0.4.1
type SshKeyInput interface { pulumi.Input ToSshKeyOutput() SshKeyOutput ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput }
type SshKeyMap ¶ added in v0.6.2
type SshKeyMap map[string]SshKeyInput
func (SshKeyMap) ElementType ¶ added in v0.6.2
func (SshKeyMap) ToSshKeyMapOutput ¶ added in v0.6.2
func (i SshKeyMap) ToSshKeyMapOutput() SshKeyMapOutput
func (SshKeyMap) ToSshKeyMapOutputWithContext ¶ added in v0.6.2
func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput
type SshKeyMapInput ¶ added in v0.6.2
type SshKeyMapInput interface { pulumi.Input ToSshKeyMapOutput() SshKeyMapOutput ToSshKeyMapOutputWithContext(context.Context) SshKeyMapOutput }
SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. You can construct a concrete instance of `SshKeyMapInput` via:
SshKeyMap{ "key": SshKeyArgs{...} }
type SshKeyMapOutput ¶ added in v0.6.2
type SshKeyMapOutput struct{ *pulumi.OutputState }
func (SshKeyMapOutput) ElementType ¶ added in v0.6.2
func (SshKeyMapOutput) ElementType() reflect.Type
func (SshKeyMapOutput) MapIndex ¶ added in v0.6.2
func (o SshKeyMapOutput) MapIndex(k pulumi.StringInput) SshKeyOutput
func (SshKeyMapOutput) ToSshKeyMapOutput ¶ added in v0.6.2
func (o SshKeyMapOutput) ToSshKeyMapOutput() SshKeyMapOutput
func (SshKeyMapOutput) ToSshKeyMapOutputWithContext ¶ added in v0.6.2
func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput
type SshKeyOutput ¶ added in v0.4.1
type SshKeyOutput struct{ *pulumi.OutputState }
func (SshKeyOutput) ElementType ¶ added in v0.4.1
func (SshKeyOutput) ElementType() reflect.Type
func (SshKeyOutput) Fingerprint ¶ added in v1.9.0
func (o SshKeyOutput) Fingerprint() pulumi.StringOutput
Fingerprint of the SSH public key.
func (SshKeyOutput) Labels ¶ added in v1.9.0
func (o SshKeyOutput) Labels() pulumi.StringMapOutput
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
func (SshKeyOutput) Name ¶ added in v1.9.0
func (o SshKeyOutput) Name() pulumi.StringOutput
Name of the SSH Key.
func (SshKeyOutput) PublicKey ¶ added in v1.9.0
func (o SshKeyOutput) PublicKey() pulumi.StringOutput
Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
func (SshKeyOutput) ToSshKeyOutput ¶ added in v0.4.1
func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput
func (SshKeyOutput) ToSshKeyOutputWithContext ¶ added in v0.4.1
func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
type SshKeyState ¶
type SshKeyState struct { // Fingerprint of the SSH public key. Fingerprint pulumi.StringPtrInput // User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource. Labels pulumi.StringMapInput // Name of the SSH Key. Name pulumi.StringPtrInput // Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function. PublicKey pulumi.StringPtrInput }
func (SshKeyState) ElementType ¶
func (SshKeyState) ElementType() reflect.Type
type UploadedCertificate ¶ added in v0.8.0
type UploadedCertificate struct { pulumi.CustomResourceState // PEM encoded TLS certificate. Certificate pulumi.StringOutput `pulumi:"certificate"` // (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). Created pulumi.StringOutput `pulumi:"created"` // (list) Domains and subdomains covered by the certificate. DomainNames pulumi.StringArrayOutput `pulumi:"domainNames"` // (string) Fingerprint of the certificate. Fingerprint pulumi.StringOutput `pulumi:"fingerprint"` // User-defined labels (key-value pairs) the // certificate should be created with. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the Certificate. Name pulumi.StringOutput `pulumi:"name"` // (string) Point in time when the Certificate stops being valid (in ISO-8601 format). NotValidAfter pulumi.StringOutput `pulumi:"notValidAfter"` // (string) Point in time when the Certificate becomes valid (in ISO-8601 format). NotValidBefore pulumi.StringOutput `pulumi:"notValidBefore"` // PEM encoded private key belonging to the certificate. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` Type pulumi.StringOutput `pulumi:"type"` }
Upload a TLS certificate to Hetzner Cloud.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hcloud.NewUploadedCertificate(ctx, "sample_certificate", &hcloud.UploadedCertificateArgs{ Name: pulumi.String("test-certificate-%d"), PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAorPccsHibgGLJIub5Sb1yvDvARifoKzg7MIhyAYLnJkGn9B1 ... AHcjLFCNvobInLHTTmCoAxYBmEv2eakas0+n4g/LM2Ukaw1Bz+3VrVo= -----END RSA PRIVATE KEY----- `),
Certificate: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIDMDCCAhigAwIBAgIIJgROscP8RRUwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UE ... TKS8gQ== -----END CERTIFICATE----- `),
Labels: pulumi.StringMap{ "label_1": pulumi.String("value_1"), "label_2": pulumi.String("value_2"), }, }) if err != nil { return err } return nil }) }
```
## Import
Uploaded certificates can be imported using their `id`:
```sh $ pulumi import hcloud:index/uploadedCertificate:UploadedCertificate example "$CERTIFICATE_ID" ```
func GetUploadedCertificate ¶ added in v0.8.0
func GetUploadedCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UploadedCertificateState, opts ...pulumi.ResourceOption) (*UploadedCertificate, error)
GetUploadedCertificate gets an existing UploadedCertificate 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 NewUploadedCertificate ¶ added in v0.8.0
func NewUploadedCertificate(ctx *pulumi.Context, name string, args *UploadedCertificateArgs, opts ...pulumi.ResourceOption) (*UploadedCertificate, error)
NewUploadedCertificate registers a new resource with the given unique name, arguments, and options.
func (*UploadedCertificate) ElementType ¶ added in v0.8.0
func (*UploadedCertificate) ElementType() reflect.Type
func (*UploadedCertificate) ToUploadedCertificateOutput ¶ added in v0.8.0
func (i *UploadedCertificate) ToUploadedCertificateOutput() UploadedCertificateOutput
func (*UploadedCertificate) ToUploadedCertificateOutputWithContext ¶ added in v0.8.0
func (i *UploadedCertificate) ToUploadedCertificateOutputWithContext(ctx context.Context) UploadedCertificateOutput
type UploadedCertificateArgs ¶ added in v0.8.0
type UploadedCertificateArgs struct { // PEM encoded TLS certificate. Certificate pulumi.StringInput // User-defined labels (key-value pairs) the // certificate should be created with. Labels pulumi.StringMapInput // Name of the Certificate. Name pulumi.StringPtrInput // PEM encoded private key belonging to the certificate. PrivateKey pulumi.StringInput }
The set of arguments for constructing a UploadedCertificate resource.
func (UploadedCertificateArgs) ElementType ¶ added in v0.8.0
func (UploadedCertificateArgs) ElementType() reflect.Type
type UploadedCertificateArray ¶ added in v0.8.0
type UploadedCertificateArray []UploadedCertificateInput
func (UploadedCertificateArray) ElementType ¶ added in v0.8.0
func (UploadedCertificateArray) ElementType() reflect.Type
func (UploadedCertificateArray) ToUploadedCertificateArrayOutput ¶ added in v0.8.0
func (i UploadedCertificateArray) ToUploadedCertificateArrayOutput() UploadedCertificateArrayOutput
func (UploadedCertificateArray) ToUploadedCertificateArrayOutputWithContext ¶ added in v0.8.0
func (i UploadedCertificateArray) ToUploadedCertificateArrayOutputWithContext(ctx context.Context) UploadedCertificateArrayOutput
type UploadedCertificateArrayInput ¶ added in v0.8.0
type UploadedCertificateArrayInput interface { pulumi.Input ToUploadedCertificateArrayOutput() UploadedCertificateArrayOutput ToUploadedCertificateArrayOutputWithContext(context.Context) UploadedCertificateArrayOutput }
UploadedCertificateArrayInput is an input type that accepts UploadedCertificateArray and UploadedCertificateArrayOutput values. You can construct a concrete instance of `UploadedCertificateArrayInput` via:
UploadedCertificateArray{ UploadedCertificateArgs{...} }
type UploadedCertificateArrayOutput ¶ added in v0.8.0
type UploadedCertificateArrayOutput struct{ *pulumi.OutputState }
func (UploadedCertificateArrayOutput) ElementType ¶ added in v0.8.0
func (UploadedCertificateArrayOutput) ElementType() reflect.Type
func (UploadedCertificateArrayOutput) Index ¶ added in v0.8.0
func (o UploadedCertificateArrayOutput) Index(i pulumi.IntInput) UploadedCertificateOutput
func (UploadedCertificateArrayOutput) ToUploadedCertificateArrayOutput ¶ added in v0.8.0
func (o UploadedCertificateArrayOutput) ToUploadedCertificateArrayOutput() UploadedCertificateArrayOutput
func (UploadedCertificateArrayOutput) ToUploadedCertificateArrayOutputWithContext ¶ added in v0.8.0
func (o UploadedCertificateArrayOutput) ToUploadedCertificateArrayOutputWithContext(ctx context.Context) UploadedCertificateArrayOutput
type UploadedCertificateInput ¶ added in v0.8.0
type UploadedCertificateInput interface { pulumi.Input ToUploadedCertificateOutput() UploadedCertificateOutput ToUploadedCertificateOutputWithContext(ctx context.Context) UploadedCertificateOutput }
type UploadedCertificateMap ¶ added in v0.8.0
type UploadedCertificateMap map[string]UploadedCertificateInput
func (UploadedCertificateMap) ElementType ¶ added in v0.8.0
func (UploadedCertificateMap) ElementType() reflect.Type
func (UploadedCertificateMap) ToUploadedCertificateMapOutput ¶ added in v0.8.0
func (i UploadedCertificateMap) ToUploadedCertificateMapOutput() UploadedCertificateMapOutput
func (UploadedCertificateMap) ToUploadedCertificateMapOutputWithContext ¶ added in v0.8.0
func (i UploadedCertificateMap) ToUploadedCertificateMapOutputWithContext(ctx context.Context) UploadedCertificateMapOutput
type UploadedCertificateMapInput ¶ added in v0.8.0
type UploadedCertificateMapInput interface { pulumi.Input ToUploadedCertificateMapOutput() UploadedCertificateMapOutput ToUploadedCertificateMapOutputWithContext(context.Context) UploadedCertificateMapOutput }
UploadedCertificateMapInput is an input type that accepts UploadedCertificateMap and UploadedCertificateMapOutput values. You can construct a concrete instance of `UploadedCertificateMapInput` via:
UploadedCertificateMap{ "key": UploadedCertificateArgs{...} }
type UploadedCertificateMapOutput ¶ added in v0.8.0
type UploadedCertificateMapOutput struct{ *pulumi.OutputState }
func (UploadedCertificateMapOutput) ElementType ¶ added in v0.8.0
func (UploadedCertificateMapOutput) ElementType() reflect.Type
func (UploadedCertificateMapOutput) MapIndex ¶ added in v0.8.0
func (o UploadedCertificateMapOutput) MapIndex(k pulumi.StringInput) UploadedCertificateOutput
func (UploadedCertificateMapOutput) ToUploadedCertificateMapOutput ¶ added in v0.8.0
func (o UploadedCertificateMapOutput) ToUploadedCertificateMapOutput() UploadedCertificateMapOutput
func (UploadedCertificateMapOutput) ToUploadedCertificateMapOutputWithContext ¶ added in v0.8.0
func (o UploadedCertificateMapOutput) ToUploadedCertificateMapOutputWithContext(ctx context.Context) UploadedCertificateMapOutput
type UploadedCertificateOutput ¶ added in v0.8.0
type UploadedCertificateOutput struct{ *pulumi.OutputState }
func (UploadedCertificateOutput) Certificate ¶ added in v1.9.0
func (o UploadedCertificateOutput) Certificate() pulumi.StringOutput
PEM encoded TLS certificate.
func (UploadedCertificateOutput) Created ¶ added in v1.9.0
func (o UploadedCertificateOutput) Created() pulumi.StringOutput
(string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format).
func (UploadedCertificateOutput) DomainNames ¶ added in v1.9.0
func (o UploadedCertificateOutput) DomainNames() pulumi.StringArrayOutput
(list) Domains and subdomains covered by the certificate.
func (UploadedCertificateOutput) ElementType ¶ added in v0.8.0
func (UploadedCertificateOutput) ElementType() reflect.Type
func (UploadedCertificateOutput) Fingerprint ¶ added in v1.9.0
func (o UploadedCertificateOutput) Fingerprint() pulumi.StringOutput
(string) Fingerprint of the certificate.
func (UploadedCertificateOutput) Labels ¶ added in v1.9.0
func (o UploadedCertificateOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs) the certificate should be created with.
func (UploadedCertificateOutput) Name ¶ added in v1.9.0
func (o UploadedCertificateOutput) Name() pulumi.StringOutput
Name of the Certificate.
func (UploadedCertificateOutput) NotValidAfter ¶ added in v1.9.0
func (o UploadedCertificateOutput) NotValidAfter() pulumi.StringOutput
(string) Point in time when the Certificate stops being valid (in ISO-8601 format).
func (UploadedCertificateOutput) NotValidBefore ¶ added in v1.9.0
func (o UploadedCertificateOutput) NotValidBefore() pulumi.StringOutput
(string) Point in time when the Certificate becomes valid (in ISO-8601 format).
func (UploadedCertificateOutput) PrivateKey ¶ added in v1.9.0
func (o UploadedCertificateOutput) PrivateKey() pulumi.StringOutput
PEM encoded private key belonging to the certificate.
func (UploadedCertificateOutput) ToUploadedCertificateOutput ¶ added in v0.8.0
func (o UploadedCertificateOutput) ToUploadedCertificateOutput() UploadedCertificateOutput
func (UploadedCertificateOutput) ToUploadedCertificateOutputWithContext ¶ added in v0.8.0
func (o UploadedCertificateOutput) ToUploadedCertificateOutputWithContext(ctx context.Context) UploadedCertificateOutput
func (UploadedCertificateOutput) Type ¶ added in v1.9.0
func (o UploadedCertificateOutput) Type() pulumi.StringOutput
type UploadedCertificateState ¶ added in v0.8.0
type UploadedCertificateState struct { // PEM encoded TLS certificate. Certificate pulumi.StringPtrInput // (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). Created pulumi.StringPtrInput // (list) Domains and subdomains covered by the certificate. DomainNames pulumi.StringArrayInput // (string) Fingerprint of the certificate. Fingerprint pulumi.StringPtrInput // User-defined labels (key-value pairs) the // certificate should be created with. Labels pulumi.StringMapInput // Name of the Certificate. Name pulumi.StringPtrInput // (string) Point in time when the Certificate stops being valid (in ISO-8601 format). NotValidAfter pulumi.StringPtrInput // (string) Point in time when the Certificate becomes valid (in ISO-8601 format). NotValidBefore pulumi.StringPtrInput // PEM encoded private key belonging to the certificate. PrivateKey pulumi.StringPtrInput Type pulumi.StringPtrInput }
func (UploadedCertificateState) ElementType ¶ added in v0.8.0
func (UploadedCertificateState) ElementType() reflect.Type
type Volume ¶
type Volume struct { pulumi.CustomResourceState // Automount the volume upon attaching it (server_id must be provided). Automount pulumi.BoolPtrOutput `pulumi:"automount"` // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. // // **Note:** When you want to attach multiple volumes to a server, please use the `VolumeAttachment` resource and the `location` argument instead of the `serverId` argument. DeleteProtection pulumi.BoolPtrOutput `pulumi:"deleteProtection"` // Format volume after creation. `xfs` or `ext4` Format pulumi.StringPtrOutput `pulumi:"format"` // User-defined labels (key-value pairs). Labels pulumi.StringMapOutput `pulumi:"labels"` // (string) Device path on the file system for the Volume. LinuxDevice pulumi.StringOutput `pulumi:"linuxDevice"` // The location name of the volume to create, not allowed if serverId argument is passed. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringOutput `pulumi:"location"` // Name of the volume to create (must be unique per project). Name pulumi.StringOutput `pulumi:"name"` // Server to attach the Volume to, not allowed if location argument is passed. ServerId pulumi.IntOutput `pulumi:"serverId"` // Size of the volume (in GB). Size pulumi.IntOutput `pulumi:"size"` }
Provides a Hetzner Cloud volume resource to manage volumes.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), }) if err != nil { return err } _, err = hcloud.NewVolume(ctx, "master", &hcloud.VolumeArgs{ Name: pulumi.String("volume1"), Size: pulumi.Int(50), ServerId: node1.ID(), Automount: pulumi.Bool(true), Format: pulumi.String("ext4"), }) if err != nil { return err } return nil }) }
```
## Import
Volumes can be imported using their `id`:
```sh $ pulumi import hcloud:index/volume:Volume example "$VOLUME_ID" ```
func GetVolume ¶
func GetVolume(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)
GetVolume gets an existing Volume 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 NewVolume ¶
func NewVolume(ctx *pulumi.Context, name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)
NewVolume registers a new resource with the given unique name, arguments, and options.
func (*Volume) ElementType ¶ added in v0.4.1
func (*Volume) ToVolumeOutput ¶ added in v0.4.1
func (i *Volume) ToVolumeOutput() VolumeOutput
func (*Volume) ToVolumeOutputWithContext ¶ added in v0.4.1
func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeArgs ¶
type VolumeArgs struct { // Automount the volume upon attaching it (server_id must be provided). Automount pulumi.BoolPtrInput // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. // // **Note:** When you want to attach multiple volumes to a server, please use the `VolumeAttachment` resource and the `location` argument instead of the `serverId` argument. DeleteProtection pulumi.BoolPtrInput // Format volume after creation. `xfs` or `ext4` Format pulumi.StringPtrInput // User-defined labels (key-value pairs). Labels pulumi.StringMapInput // The location name of the volume to create, not allowed if serverId argument is passed. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput // Name of the volume to create (must be unique per project). Name pulumi.StringPtrInput // Server to attach the Volume to, not allowed if location argument is passed. ServerId pulumi.IntPtrInput // Size of the volume (in GB). Size pulumi.IntInput }
The set of arguments for constructing a Volume resource.
func (VolumeArgs) ElementType ¶
func (VolumeArgs) ElementType() reflect.Type
type VolumeArray ¶ added in v0.6.2
type VolumeArray []VolumeInput
func (VolumeArray) ElementType ¶ added in v0.6.2
func (VolumeArray) ElementType() reflect.Type
func (VolumeArray) ToVolumeArrayOutput ¶ added in v0.6.2
func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArray) ToVolumeArrayOutputWithContext ¶ added in v0.6.2
func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeArrayInput ¶ added in v0.6.2
type VolumeArrayInput interface { pulumi.Input ToVolumeArrayOutput() VolumeArrayOutput ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput }
VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:
VolumeArray{ VolumeArgs{...} }
type VolumeArrayOutput ¶ added in v0.6.2
type VolumeArrayOutput struct{ *pulumi.OutputState }
func (VolumeArrayOutput) ElementType ¶ added in v0.6.2
func (VolumeArrayOutput) ElementType() reflect.Type
func (VolumeArrayOutput) Index ¶ added in v0.6.2
func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput
func (VolumeArrayOutput) ToVolumeArrayOutput ¶ added in v0.6.2
func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArrayOutput) ToVolumeArrayOutputWithContext ¶ added in v0.6.2
func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeAttachment ¶
type VolumeAttachment struct { pulumi.CustomResourceState // Automount the volume upon attaching it. Automount pulumi.BoolOutput `pulumi:"automount"` // Server to attach the Volume to. ServerId pulumi.IntOutput `pulumi:"serverId"` // ID of the Volume. VolumeId pulumi.IntOutput `pulumi:"volumeId"` }
Provides a Hetzner Cloud Volume attachment to attach a Volume to a Hetzner Cloud Server. Deleting a Volume Attachment will detach the Volume from the Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { node1, err := hcloud.NewServer(ctx, "node1", &hcloud.ServerArgs{ Name: pulumi.String("node1"), Image: pulumi.String("debian-11"), ServerType: pulumi.String("cx22"), Datacenter: pulumi.String("nbg1-dc3"), }) if err != nil { return err } master, err := hcloud.NewVolume(ctx, "master", &hcloud.VolumeArgs{ Location: pulumi.String("nbg1"), Size: pulumi.Int(10), }) if err != nil { return err } _, err = hcloud.NewVolumeAttachment(ctx, "main", &hcloud.VolumeAttachmentArgs{ VolumeId: master.ID(), ServerId: node1.ID(), Automount: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Volume Attachments can be imported using the `volume_id`:
```sh $ pulumi import hcloud:index/volumeAttachment:VolumeAttachment example "$VOLUME_ID" ```
func GetVolumeAttachment ¶
func GetVolumeAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VolumeAttachmentState, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)
GetVolumeAttachment gets an existing VolumeAttachment 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 NewVolumeAttachment ¶
func NewVolumeAttachment(ctx *pulumi.Context, name string, args *VolumeAttachmentArgs, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)
NewVolumeAttachment registers a new resource with the given unique name, arguments, and options.
func (*VolumeAttachment) ElementType ¶ added in v0.4.1
func (*VolumeAttachment) ElementType() reflect.Type
func (*VolumeAttachment) ToVolumeAttachmentOutput ¶ added in v0.4.1
func (i *VolumeAttachment) ToVolumeAttachmentOutput() VolumeAttachmentOutput
func (*VolumeAttachment) ToVolumeAttachmentOutputWithContext ¶ added in v0.4.1
func (i *VolumeAttachment) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
type VolumeAttachmentArgs ¶
type VolumeAttachmentArgs struct { // Automount the volume upon attaching it. Automount pulumi.BoolPtrInput // Server to attach the Volume to. ServerId pulumi.IntInput // ID of the Volume. VolumeId pulumi.IntInput }
The set of arguments for constructing a VolumeAttachment resource.
func (VolumeAttachmentArgs) ElementType ¶
func (VolumeAttachmentArgs) ElementType() reflect.Type
type VolumeAttachmentArray ¶ added in v0.6.2
type VolumeAttachmentArray []VolumeAttachmentInput
func (VolumeAttachmentArray) ElementType ¶ added in v0.6.2
func (VolumeAttachmentArray) ElementType() reflect.Type
func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutput ¶ added in v0.6.2
func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext ¶ added in v0.6.2
func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
type VolumeAttachmentArrayInput ¶ added in v0.6.2
type VolumeAttachmentArrayInput interface { pulumi.Input ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput ToVolumeAttachmentArrayOutputWithContext(context.Context) VolumeAttachmentArrayOutput }
VolumeAttachmentArrayInput is an input type that accepts VolumeAttachmentArray and VolumeAttachmentArrayOutput values. You can construct a concrete instance of `VolumeAttachmentArrayInput` via:
VolumeAttachmentArray{ VolumeAttachmentArgs{...} }
type VolumeAttachmentArrayOutput ¶ added in v0.6.2
type VolumeAttachmentArrayOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentArrayOutput) ElementType ¶ added in v0.6.2
func (VolumeAttachmentArrayOutput) ElementType() reflect.Type
func (VolumeAttachmentArrayOutput) Index ¶ added in v0.6.2
func (o VolumeAttachmentArrayOutput) Index(i pulumi.IntInput) VolumeAttachmentOutput
func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput ¶ added in v0.6.2
func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext ¶ added in v0.6.2
func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
type VolumeAttachmentInput ¶ added in v0.4.1
type VolumeAttachmentInput interface { pulumi.Input ToVolumeAttachmentOutput() VolumeAttachmentOutput ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput }
type VolumeAttachmentMap ¶ added in v0.6.2
type VolumeAttachmentMap map[string]VolumeAttachmentInput
func (VolumeAttachmentMap) ElementType ¶ added in v0.6.2
func (VolumeAttachmentMap) ElementType() reflect.Type
func (VolumeAttachmentMap) ToVolumeAttachmentMapOutput ¶ added in v0.6.2
func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
func (VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext ¶ added in v0.6.2
func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
type VolumeAttachmentMapInput ¶ added in v0.6.2
type VolumeAttachmentMapInput interface { pulumi.Input ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput ToVolumeAttachmentMapOutputWithContext(context.Context) VolumeAttachmentMapOutput }
VolumeAttachmentMapInput is an input type that accepts VolumeAttachmentMap and VolumeAttachmentMapOutput values. You can construct a concrete instance of `VolumeAttachmentMapInput` via:
VolumeAttachmentMap{ "key": VolumeAttachmentArgs{...} }
type VolumeAttachmentMapOutput ¶ added in v0.6.2
type VolumeAttachmentMapOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentMapOutput) ElementType ¶ added in v0.6.2
func (VolumeAttachmentMapOutput) ElementType() reflect.Type
func (VolumeAttachmentMapOutput) MapIndex ¶ added in v0.6.2
func (o VolumeAttachmentMapOutput) MapIndex(k pulumi.StringInput) VolumeAttachmentOutput
func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput ¶ added in v0.6.2
func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext ¶ added in v0.6.2
func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
type VolumeAttachmentOutput ¶ added in v0.4.1
type VolumeAttachmentOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentOutput) Automount ¶ added in v1.9.0
func (o VolumeAttachmentOutput) Automount() pulumi.BoolOutput
Automount the volume upon attaching it.
func (VolumeAttachmentOutput) ElementType ¶ added in v0.4.1
func (VolumeAttachmentOutput) ElementType() reflect.Type
func (VolumeAttachmentOutput) ServerId ¶ added in v1.9.0
func (o VolumeAttachmentOutput) ServerId() pulumi.IntOutput
Server to attach the Volume to.
func (VolumeAttachmentOutput) ToVolumeAttachmentOutput ¶ added in v0.4.1
func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput
func (VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext ¶ added in v0.4.1
func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
func (VolumeAttachmentOutput) VolumeId ¶ added in v1.9.0
func (o VolumeAttachmentOutput) VolumeId() pulumi.IntOutput
ID of the Volume.
type VolumeAttachmentState ¶
type VolumeAttachmentState struct { // Automount the volume upon attaching it. Automount pulumi.BoolPtrInput // Server to attach the Volume to. ServerId pulumi.IntPtrInput // ID of the Volume. VolumeId pulumi.IntPtrInput }
func (VolumeAttachmentState) ElementType ¶
func (VolumeAttachmentState) ElementType() reflect.Type
type VolumeInput ¶ added in v0.4.1
type VolumeInput interface { pulumi.Input ToVolumeOutput() VolumeOutput ToVolumeOutputWithContext(ctx context.Context) VolumeOutput }
type VolumeMap ¶ added in v0.6.2
type VolumeMap map[string]VolumeInput
func (VolumeMap) ElementType ¶ added in v0.6.2
func (VolumeMap) ToVolumeMapOutput ¶ added in v0.6.2
func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMap) ToVolumeMapOutputWithContext ¶ added in v0.6.2
func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeMapInput ¶ added in v0.6.2
type VolumeMapInput interface { pulumi.Input ToVolumeMapOutput() VolumeMapOutput ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput }
VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:
VolumeMap{ "key": VolumeArgs{...} }
type VolumeMapOutput ¶ added in v0.6.2
type VolumeMapOutput struct{ *pulumi.OutputState }
func (VolumeMapOutput) ElementType ¶ added in v0.6.2
func (VolumeMapOutput) ElementType() reflect.Type
func (VolumeMapOutput) MapIndex ¶ added in v0.6.2
func (o VolumeMapOutput) MapIndex(k pulumi.StringInput) VolumeOutput
func (VolumeMapOutput) ToVolumeMapOutput ¶ added in v0.6.2
func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMapOutput) ToVolumeMapOutputWithContext ¶ added in v0.6.2
func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeOutput ¶ added in v0.4.1
type VolumeOutput struct{ *pulumi.OutputState }
func (VolumeOutput) Automount ¶ added in v1.9.0
func (o VolumeOutput) Automount() pulumi.BoolPtrOutput
Automount the volume upon attaching it (server_id must be provided).
func (VolumeOutput) DeleteProtection ¶ added in v1.9.0
func (o VolumeOutput) DeleteProtection() pulumi.BoolPtrOutput
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
**Note:** When you want to attach multiple volumes to a server, please use the `VolumeAttachment` resource and the `location` argument instead of the `serverId` argument.
func (VolumeOutput) ElementType ¶ added in v0.4.1
func (VolumeOutput) ElementType() reflect.Type
func (VolumeOutput) Format ¶ added in v1.9.0
func (o VolumeOutput) Format() pulumi.StringPtrOutput
Format volume after creation. `xfs` or `ext4`
func (VolumeOutput) Labels ¶ added in v1.9.0
func (o VolumeOutput) Labels() pulumi.StringMapOutput
User-defined labels (key-value pairs).
func (VolumeOutput) LinuxDevice ¶ added in v1.9.0
func (o VolumeOutput) LinuxDevice() pulumi.StringOutput
(string) Device path on the file system for the Volume.
func (VolumeOutput) Location ¶ added in v1.9.0
func (o VolumeOutput) Location() pulumi.StringOutput
The location name of the volume to create, not allowed if serverId argument is passed. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
func (VolumeOutput) Name ¶ added in v1.9.0
func (o VolumeOutput) Name() pulumi.StringOutput
Name of the volume to create (must be unique per project).
func (VolumeOutput) ServerId ¶ added in v1.9.0
func (o VolumeOutput) ServerId() pulumi.IntOutput
Server to attach the Volume to, not allowed if location argument is passed.
func (VolumeOutput) Size ¶ added in v1.9.0
func (o VolumeOutput) Size() pulumi.IntOutput
Size of the volume (in GB).
func (VolumeOutput) ToVolumeOutput ¶ added in v0.4.1
func (o VolumeOutput) ToVolumeOutput() VolumeOutput
func (VolumeOutput) ToVolumeOutputWithContext ¶ added in v0.4.1
func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeState ¶
type VolumeState struct { // Automount the volume upon attaching it (server_id must be provided). Automount pulumi.BoolPtrInput // Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details. // // **Note:** When you want to attach multiple volumes to a server, please use the `VolumeAttachment` resource and the `location` argument instead of the `serverId` argument. DeleteProtection pulumi.BoolPtrInput // Format volume after creation. `xfs` or `ext4` Format pulumi.StringPtrInput // User-defined labels (key-value pairs). Labels pulumi.StringMapInput // (string) Device path on the file system for the Volume. LinuxDevice pulumi.StringPtrInput // The location name of the volume to create, not allowed if serverId argument is passed. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations. Location pulumi.StringPtrInput // Name of the volume to create (must be unique per project). Name pulumi.StringPtrInput // Server to attach the Volume to, not allowed if location argument is passed. ServerId pulumi.IntPtrInput // Size of the volume (in GB). Size pulumi.IntPtrInput }
func (VolumeState) ElementType ¶
func (VolumeState) ElementType() reflect.Type
Source Files ¶
- certificate.go
- doc.go
- firewall.go
- firewallAttachment.go
- floatingIp.go
- floatingIpAssignment.go
- getCertificate.go
- getCertificates.go
- getDatacenter.go
- getDatacenters.go
- getFirewall.go
- getFirewalls.go
- getFloatingIp.go
- getFloatingIps.go
- getImage.go
- getImages.go
- getLoadBalancer.go
- getLoadBalancerType.go
- getLoadBalancerTypes.go
- getLoadBalancers.go
- getLocation.go
- getLocations.go
- getNetwork.go
- getNetworks.go
- getPlacementGroup.go
- getPlacementGroups.go
- getPrimaryIp.go
- getPrimaryIps.go
- getServer.go
- getServerType.go
- getServerTypes.go
- getServers.go
- getSshKey.go
- getSshKeys.go
- getVolume.go
- getVolumes.go
- init.go
- loadBalancer.go
- loadBalancerNetwork.go
- loadBalancerService.go
- loadBalancerTarget.go
- managedCertificate.go
- network.go
- networkRoute.go
- networkSubnet.go
- placementGroup.go
- primaryIp.go
- provider.go
- pulumiTypes.go
- rdns.go
- server.go
- serverNetwork.go
- snapshot.go
- sshKey.go
- uploadedCertificate.go
- volume.go
- volumeAttachment.go