Documentation
¶
Index ¶
- type Acl
- type AclArgs
- type AclArray
- type AclArrayInput
- type AclArrayOutput
- type AclEntryAttachment
- type AclEntryAttachmentArgs
- type AclEntryAttachmentArray
- type AclEntryAttachmentArrayInput
- type AclEntryAttachmentArrayOutput
- func (AclEntryAttachmentArrayOutput) ElementType() reflect.Type
- func (o AclEntryAttachmentArrayOutput) Index(i pulumi.IntInput) AclEntryAttachmentOutput
- func (o AclEntryAttachmentArrayOutput) ToAclEntryAttachmentArrayOutput() AclEntryAttachmentArrayOutput
- func (o AclEntryAttachmentArrayOutput) ToAclEntryAttachmentArrayOutputWithContext(ctx context.Context) AclEntryAttachmentArrayOutput
- type AclEntryAttachmentInput
- type AclEntryAttachmentMap
- type AclEntryAttachmentMapInput
- type AclEntryAttachmentMapOutput
- func (AclEntryAttachmentMapOutput) ElementType() reflect.Type
- func (o AclEntryAttachmentMapOutput) MapIndex(k pulumi.StringInput) AclEntryAttachmentOutput
- func (o AclEntryAttachmentMapOutput) ToAclEntryAttachmentMapOutput() AclEntryAttachmentMapOutput
- func (o AclEntryAttachmentMapOutput) ToAclEntryAttachmentMapOutputWithContext(ctx context.Context) AclEntryAttachmentMapOutput
- type AclEntryAttachmentOutput
- func (o AclEntryAttachmentOutput) AclId() pulumi.StringOutput
- func (o AclEntryAttachmentOutput) Comment() pulumi.StringPtrOutput
- func (AclEntryAttachmentOutput) ElementType() reflect.Type
- func (o AclEntryAttachmentOutput) Entry() pulumi.StringOutput
- func (o AclEntryAttachmentOutput) ToAclEntryAttachmentOutput() AclEntryAttachmentOutput
- func (o AclEntryAttachmentOutput) ToAclEntryAttachmentOutputWithContext(ctx context.Context) AclEntryAttachmentOutput
- type AclEntryAttachmentState
- type AclEntryList
- type AclEntryListArgs
- type AclEntryListArray
- type AclEntryListArrayInput
- type AclEntryListArrayOutput
- func (AclEntryListArrayOutput) ElementType() reflect.Type
- func (o AclEntryListArrayOutput) Index(i pulumi.IntInput) AclEntryListOutput
- func (o AclEntryListArrayOutput) ToAclEntryListArrayOutput() AclEntryListArrayOutput
- func (o AclEntryListArrayOutput) ToAclEntryListArrayOutputWithContext(ctx context.Context) AclEntryListArrayOutput
- type AclEntryListInput
- type AclEntryListOutput
- func (o AclEntryListOutput) Comment() pulumi.StringPtrOutput
- func (AclEntryListOutput) ElementType() reflect.Type
- func (o AclEntryListOutput) Entry() pulumi.StringPtrOutput
- func (o AclEntryListOutput) ToAclEntryListOutput() AclEntryListOutput
- func (o AclEntryListOutput) ToAclEntryListOutputWithContext(ctx context.Context) AclEntryListOutput
- type AclInput
- type AclMap
- type AclMapInput
- type AclMapOutput
- type AclOutput
- func (AclOutput) ElementType() reflect.Type
- func (o AclOutput) EntryLists() AclEntryListArrayOutputdeprecated
- func (o AclOutput) IpVersion() pulumi.StringPtrOutput
- func (o AclOutput) Name() pulumi.StringOutput
- func (o AclOutput) ResourceGroupId() pulumi.StringOutput
- func (o AclOutput) Tags() pulumi.MapOutput
- func (o AclOutput) ToAclOutput() AclOutput
- func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput
- type AclState
- type ApplicationLoadBalancer
- type ApplicationLoadBalancerArgs
- type ApplicationLoadBalancerArray
- func (ApplicationLoadBalancerArray) ElementType() reflect.Type
- func (i ApplicationLoadBalancerArray) ToApplicationLoadBalancerArrayOutput() ApplicationLoadBalancerArrayOutput
- func (i ApplicationLoadBalancerArray) ToApplicationLoadBalancerArrayOutputWithContext(ctx context.Context) ApplicationLoadBalancerArrayOutput
- type ApplicationLoadBalancerArrayInput
- type ApplicationLoadBalancerArrayOutput
- func (ApplicationLoadBalancerArrayOutput) ElementType() reflect.Type
- func (o ApplicationLoadBalancerArrayOutput) Index(i pulumi.IntInput) ApplicationLoadBalancerOutput
- func (o ApplicationLoadBalancerArrayOutput) ToApplicationLoadBalancerArrayOutput() ApplicationLoadBalancerArrayOutput
- func (o ApplicationLoadBalancerArrayOutput) ToApplicationLoadBalancerArrayOutputWithContext(ctx context.Context) ApplicationLoadBalancerArrayOutput
- type ApplicationLoadBalancerInput
- type ApplicationLoadBalancerMap
- func (ApplicationLoadBalancerMap) ElementType() reflect.Type
- func (i ApplicationLoadBalancerMap) ToApplicationLoadBalancerMapOutput() ApplicationLoadBalancerMapOutput
- func (i ApplicationLoadBalancerMap) ToApplicationLoadBalancerMapOutputWithContext(ctx context.Context) ApplicationLoadBalancerMapOutput
- type ApplicationLoadBalancerMapInput
- type ApplicationLoadBalancerMapOutput
- func (ApplicationLoadBalancerMapOutput) ElementType() reflect.Type
- func (o ApplicationLoadBalancerMapOutput) MapIndex(k pulumi.StringInput) ApplicationLoadBalancerOutput
- func (o ApplicationLoadBalancerMapOutput) ToApplicationLoadBalancerMapOutput() ApplicationLoadBalancerMapOutput
- func (o ApplicationLoadBalancerMapOutput) ToApplicationLoadBalancerMapOutputWithContext(ctx context.Context) ApplicationLoadBalancerMapOutput
- type ApplicationLoadBalancerOutput
- func (o ApplicationLoadBalancerOutput) Address() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) AddressIpVersion() pulumi.StringPtrOutput
- func (o ApplicationLoadBalancerOutput) AddressType() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) Bandwidth() pulumi.IntPtrOutput
- func (o ApplicationLoadBalancerOutput) DeleteProtection() pulumi.StringPtrOutput
- func (ApplicationLoadBalancerOutput) ElementType() reflect.Type
- func (o ApplicationLoadBalancerOutput) InstanceChargeType() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o ApplicationLoadBalancerOutput) LoadBalancerName() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) MasterZoneId() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) ModificationProtectionReason() pulumi.StringPtrOutput
- func (o ApplicationLoadBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) Name() pulumi.StringOutputdeprecated
- func (o ApplicationLoadBalancerOutput) PaymentType() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) Period() pulumi.IntPtrOutput
- func (o ApplicationLoadBalancerOutput) ResourceGroupId() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) SlaveZoneId() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) Specification() pulumi.StringOutputdeprecated
- func (o ApplicationLoadBalancerOutput) Status() pulumi.StringOutput
- func (o ApplicationLoadBalancerOutput) Tags() pulumi.MapOutput
- func (o ApplicationLoadBalancerOutput) ToApplicationLoadBalancerOutput() ApplicationLoadBalancerOutput
- func (o ApplicationLoadBalancerOutput) ToApplicationLoadBalancerOutputWithContext(ctx context.Context) ApplicationLoadBalancerOutput
- func (o ApplicationLoadBalancerOutput) VswitchId() pulumi.StringPtrOutput
- type ApplicationLoadBalancerState
- type Attachment
- type AttachmentArgs
- type AttachmentArray
- type AttachmentArrayInput
- type AttachmentArrayOutput
- func (AttachmentArrayOutput) ElementType() reflect.Type
- func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
- type AttachmentInput
- type AttachmentMap
- type AttachmentMapInput
- type AttachmentMapOutput
- func (AttachmentMapOutput) ElementType() reflect.Type
- func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
- type AttachmentOutput
- func (o AttachmentOutput) BackendServers() pulumi.StringOutput
- func (o AttachmentOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (AttachmentOutput) ElementType() reflect.Type
- func (o AttachmentOutput) InstanceIds() pulumi.StringArrayOutput
- func (o AttachmentOutput) LoadBalancerId() pulumi.StringOutput
- func (o AttachmentOutput) ServerType() pulumi.StringPtrOutput
- func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput
- func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
- func (o AttachmentOutput) Weight() pulumi.IntPtrOutput
- type AttachmentState
- type BackendServer
- type BackendServerArgs
- type BackendServerArray
- type BackendServerArrayInput
- type BackendServerArrayOutput
- func (BackendServerArrayOutput) ElementType() reflect.Type
- func (o BackendServerArrayOutput) Index(i pulumi.IntInput) BackendServerOutput
- func (o BackendServerArrayOutput) ToBackendServerArrayOutput() BackendServerArrayOutput
- func (o BackendServerArrayOutput) ToBackendServerArrayOutputWithContext(ctx context.Context) BackendServerArrayOutput
- type BackendServerBackendServer
- type BackendServerBackendServerArgs
- func (BackendServerBackendServerArgs) ElementType() reflect.Type
- func (i BackendServerBackendServerArgs) ToBackendServerBackendServerOutput() BackendServerBackendServerOutput
- func (i BackendServerBackendServerArgs) ToBackendServerBackendServerOutputWithContext(ctx context.Context) BackendServerBackendServerOutput
- type BackendServerBackendServerArray
- func (BackendServerBackendServerArray) ElementType() reflect.Type
- func (i BackendServerBackendServerArray) ToBackendServerBackendServerArrayOutput() BackendServerBackendServerArrayOutput
- func (i BackendServerBackendServerArray) ToBackendServerBackendServerArrayOutputWithContext(ctx context.Context) BackendServerBackendServerArrayOutput
- type BackendServerBackendServerArrayInput
- type BackendServerBackendServerArrayOutput
- func (BackendServerBackendServerArrayOutput) ElementType() reflect.Type
- func (o BackendServerBackendServerArrayOutput) Index(i pulumi.IntInput) BackendServerBackendServerOutput
- func (o BackendServerBackendServerArrayOutput) ToBackendServerBackendServerArrayOutput() BackendServerBackendServerArrayOutput
- func (o BackendServerBackendServerArrayOutput) ToBackendServerBackendServerArrayOutputWithContext(ctx context.Context) BackendServerBackendServerArrayOutput
- type BackendServerBackendServerInput
- type BackendServerBackendServerOutput
- func (BackendServerBackendServerOutput) ElementType() reflect.Type
- func (o BackendServerBackendServerOutput) ServerId() pulumi.StringOutput
- func (o BackendServerBackendServerOutput) ServerIp() pulumi.StringPtrOutput
- func (o BackendServerBackendServerOutput) ToBackendServerBackendServerOutput() BackendServerBackendServerOutput
- func (o BackendServerBackendServerOutput) ToBackendServerBackendServerOutputWithContext(ctx context.Context) BackendServerBackendServerOutput
- func (o BackendServerBackendServerOutput) Type() pulumi.StringPtrOutput
- func (o BackendServerBackendServerOutput) Weight() pulumi.IntOutput
- type BackendServerInput
- type BackendServerMap
- type BackendServerMapInput
- type BackendServerMapOutput
- func (BackendServerMapOutput) ElementType() reflect.Type
- func (o BackendServerMapOutput) MapIndex(k pulumi.StringInput) BackendServerOutput
- func (o BackendServerMapOutput) ToBackendServerMapOutput() BackendServerMapOutput
- func (o BackendServerMapOutput) ToBackendServerMapOutputWithContext(ctx context.Context) BackendServerMapOutput
- type BackendServerOutput
- func (o BackendServerOutput) BackendServers() BackendServerBackendServerArrayOutput
- func (o BackendServerOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (BackendServerOutput) ElementType() reflect.Type
- func (o BackendServerOutput) LoadBalancerId() pulumi.StringOutput
- func (o BackendServerOutput) ToBackendServerOutput() BackendServerOutput
- func (o BackendServerOutput) ToBackendServerOutputWithContext(ctx context.Context) BackendServerOutput
- type BackendServerState
- type CaCertificate
- type CaCertificateArgs
- type CaCertificateArray
- type CaCertificateArrayInput
- type CaCertificateArrayOutput
- func (CaCertificateArrayOutput) ElementType() reflect.Type
- func (o CaCertificateArrayOutput) Index(i pulumi.IntInput) CaCertificateOutput
- func (o CaCertificateArrayOutput) ToCaCertificateArrayOutput() CaCertificateArrayOutput
- func (o CaCertificateArrayOutput) ToCaCertificateArrayOutputWithContext(ctx context.Context) CaCertificateArrayOutput
- type CaCertificateInput
- type CaCertificateMap
- type CaCertificateMapInput
- type CaCertificateMapOutput
- func (CaCertificateMapOutput) ElementType() reflect.Type
- func (o CaCertificateMapOutput) MapIndex(k pulumi.StringInput) CaCertificateOutput
- func (o CaCertificateMapOutput) ToCaCertificateMapOutput() CaCertificateMapOutput
- func (o CaCertificateMapOutput) ToCaCertificateMapOutputWithContext(ctx context.Context) CaCertificateMapOutput
- type CaCertificateOutput
- func (o CaCertificateOutput) CaCertificate() pulumi.StringOutput
- func (o CaCertificateOutput) CaCertificateName() pulumi.StringOutput
- func (CaCertificateOutput) ElementType() reflect.Type
- func (o CaCertificateOutput) Name() pulumi.StringOutputdeprecated
- func (o CaCertificateOutput) ResourceGroupId() pulumi.StringOutput
- func (o CaCertificateOutput) Tags() pulumi.MapOutput
- func (o CaCertificateOutput) ToCaCertificateOutput() CaCertificateOutput
- func (o CaCertificateOutput) ToCaCertificateOutputWithContext(ctx context.Context) CaCertificateOutput
- type CaCertificateState
- type DomainExtension
- type DomainExtensionArgs
- type DomainExtensionArray
- type DomainExtensionArrayInput
- type DomainExtensionArrayOutput
- func (DomainExtensionArrayOutput) ElementType() reflect.Type
- func (o DomainExtensionArrayOutput) Index(i pulumi.IntInput) DomainExtensionOutput
- func (o DomainExtensionArrayOutput) ToDomainExtensionArrayOutput() DomainExtensionArrayOutput
- func (o DomainExtensionArrayOutput) ToDomainExtensionArrayOutputWithContext(ctx context.Context) DomainExtensionArrayOutput
- type DomainExtensionInput
- type DomainExtensionMap
- type DomainExtensionMapInput
- type DomainExtensionMapOutput
- func (DomainExtensionMapOutput) ElementType() reflect.Type
- func (o DomainExtensionMapOutput) MapIndex(k pulumi.StringInput) DomainExtensionOutput
- func (o DomainExtensionMapOutput) ToDomainExtensionMapOutput() DomainExtensionMapOutput
- func (o DomainExtensionMapOutput) ToDomainExtensionMapOutputWithContext(ctx context.Context) DomainExtensionMapOutput
- type DomainExtensionOutput
- func (o DomainExtensionOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (o DomainExtensionOutput) Domain() pulumi.StringOutput
- func (DomainExtensionOutput) ElementType() reflect.Type
- func (o DomainExtensionOutput) FrontendPort() pulumi.IntOutput
- func (o DomainExtensionOutput) LoadBalancerId() pulumi.StringOutput
- func (o DomainExtensionOutput) ServerCertificateId() pulumi.StringOutput
- func (o DomainExtensionOutput) ToDomainExtensionOutput() DomainExtensionOutput
- func (o DomainExtensionOutput) ToDomainExtensionOutputWithContext(ctx context.Context) DomainExtensionOutput
- type DomainExtensionState
- type GetAclsAcl
- type GetAclsAclArgs
- type GetAclsAclArray
- type GetAclsAclArrayInput
- type GetAclsAclArrayOutput
- func (GetAclsAclArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclArrayOutput) Index(i pulumi.IntInput) GetAclsAclOutput
- func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
- func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
- type GetAclsAclEntryList
- type GetAclsAclEntryListArgs
- type GetAclsAclEntryListArray
- type GetAclsAclEntryListArrayInput
- type GetAclsAclEntryListArrayOutput
- func (GetAclsAclEntryListArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclEntryListArrayOutput) Index(i pulumi.IntInput) GetAclsAclEntryListOutput
- func (o GetAclsAclEntryListArrayOutput) ToGetAclsAclEntryListArrayOutput() GetAclsAclEntryListArrayOutput
- func (o GetAclsAclEntryListArrayOutput) ToGetAclsAclEntryListArrayOutputWithContext(ctx context.Context) GetAclsAclEntryListArrayOutput
- type GetAclsAclEntryListInput
- type GetAclsAclEntryListOutput
- func (o GetAclsAclEntryListOutput) Comment() pulumi.StringOutput
- func (GetAclsAclEntryListOutput) ElementType() reflect.Type
- func (o GetAclsAclEntryListOutput) Entry() pulumi.StringOutput
- func (o GetAclsAclEntryListOutput) ToGetAclsAclEntryListOutput() GetAclsAclEntryListOutput
- func (o GetAclsAclEntryListOutput) ToGetAclsAclEntryListOutputWithContext(ctx context.Context) GetAclsAclEntryListOutput
- type GetAclsAclInput
- type GetAclsAclOutput
- func (GetAclsAclOutput) ElementType() reflect.Type
- func (o GetAclsAclOutput) EntryLists() GetAclsAclEntryListArrayOutput
- func (o GetAclsAclOutput) Id() pulumi.StringOutput
- func (o GetAclsAclOutput) IpVersion() pulumi.StringOutput
- func (o GetAclsAclOutput) Name() pulumi.StringOutput
- func (o GetAclsAclOutput) RelatedListeners() GetAclsAclRelatedListenerArrayOutput
- func (o GetAclsAclOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetAclsAclOutput) Tags() pulumi.MapOutput
- func (o GetAclsAclOutput) ToGetAclsAclOutput() GetAclsAclOutput
- func (o GetAclsAclOutput) ToGetAclsAclOutputWithContext(ctx context.Context) GetAclsAclOutput
- type GetAclsAclRelatedListener
- type GetAclsAclRelatedListenerArgs
- func (GetAclsAclRelatedListenerArgs) ElementType() reflect.Type
- func (i GetAclsAclRelatedListenerArgs) ToGetAclsAclRelatedListenerOutput() GetAclsAclRelatedListenerOutput
- func (i GetAclsAclRelatedListenerArgs) ToGetAclsAclRelatedListenerOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerOutput
- type GetAclsAclRelatedListenerArray
- func (GetAclsAclRelatedListenerArray) ElementType() reflect.Type
- func (i GetAclsAclRelatedListenerArray) ToGetAclsAclRelatedListenerArrayOutput() GetAclsAclRelatedListenerArrayOutput
- func (i GetAclsAclRelatedListenerArray) ToGetAclsAclRelatedListenerArrayOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerArrayOutput
- type GetAclsAclRelatedListenerArrayInput
- type GetAclsAclRelatedListenerArrayOutput
- func (GetAclsAclRelatedListenerArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclRelatedListenerArrayOutput) Index(i pulumi.IntInput) GetAclsAclRelatedListenerOutput
- func (o GetAclsAclRelatedListenerArrayOutput) ToGetAclsAclRelatedListenerArrayOutput() GetAclsAclRelatedListenerArrayOutput
- func (o GetAclsAclRelatedListenerArrayOutput) ToGetAclsAclRelatedListenerArrayOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerArrayOutput
- type GetAclsAclRelatedListenerInput
- type GetAclsAclRelatedListenerOutput
- func (o GetAclsAclRelatedListenerOutput) AclType() pulumi.StringOutput
- func (GetAclsAclRelatedListenerOutput) ElementType() reflect.Type
- func (o GetAclsAclRelatedListenerOutput) FrontendPort() pulumi.IntOutput
- func (o GetAclsAclRelatedListenerOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetAclsAclRelatedListenerOutput) Protocol() pulumi.StringOutput
- func (o GetAclsAclRelatedListenerOutput) ToGetAclsAclRelatedListenerOutput() GetAclsAclRelatedListenerOutput
- func (o GetAclsAclRelatedListenerOutput) ToGetAclsAclRelatedListenerOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerOutput
- type GetAclsArgs
- type GetAclsOutputArgs
- type GetAclsResult
- type GetAclsResultOutput
- func (o GetAclsResultOutput) Acls() GetAclsAclArrayOutput
- func (GetAclsResultOutput) ElementType() reflect.Type
- func (o GetAclsResultOutput) Id() pulumi.StringOutput
- func (o GetAclsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAclsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAclsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) Tags() pulumi.MapOutput
- func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput
- func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput
- type GetApplicationLoadBalancersArgs
- type GetApplicationLoadBalancersBalancer
- type GetApplicationLoadBalancersBalancerArgs
- func (GetApplicationLoadBalancersBalancerArgs) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerArgs) ToGetApplicationLoadBalancersBalancerOutput() GetApplicationLoadBalancersBalancerOutput
- func (i GetApplicationLoadBalancersBalancerArgs) ToGetApplicationLoadBalancersBalancerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerOutput
- type GetApplicationLoadBalancersBalancerArray
- func (GetApplicationLoadBalancersBalancerArray) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerArray) ToGetApplicationLoadBalancersBalancerArrayOutput() GetApplicationLoadBalancersBalancerArrayOutput
- func (i GetApplicationLoadBalancersBalancerArray) ToGetApplicationLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerArrayOutput
- type GetApplicationLoadBalancersBalancerArrayInput
- type GetApplicationLoadBalancersBalancerArrayOutput
- func (GetApplicationLoadBalancersBalancerArrayOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerArrayOutput) Index(i pulumi.IntInput) GetApplicationLoadBalancersBalancerOutput
- func (o GetApplicationLoadBalancersBalancerArrayOutput) ToGetApplicationLoadBalancersBalancerArrayOutput() GetApplicationLoadBalancersBalancerArrayOutput
- func (o GetApplicationLoadBalancersBalancerArrayOutput) ToGetApplicationLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerArrayOutput
- type GetApplicationLoadBalancersBalancerBackendServer
- type GetApplicationLoadBalancersBalancerBackendServerArgs
- func (GetApplicationLoadBalancersBalancerBackendServerArgs) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerBackendServerArgs) ToGetApplicationLoadBalancersBalancerBackendServerOutput() GetApplicationLoadBalancersBalancerBackendServerOutput
- func (i GetApplicationLoadBalancersBalancerBackendServerArgs) ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerOutput
- type GetApplicationLoadBalancersBalancerBackendServerArray
- func (GetApplicationLoadBalancersBalancerBackendServerArray) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerBackendServerArray) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput() GetApplicationLoadBalancersBalancerBackendServerArrayOutput
- func (i GetApplicationLoadBalancersBalancerBackendServerArray) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerArrayOutput
- type GetApplicationLoadBalancersBalancerBackendServerArrayInput
- type GetApplicationLoadBalancersBalancerBackendServerArrayOutput
- func (GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerBackendServerArrayOutput) Index(i pulumi.IntInput) GetApplicationLoadBalancersBalancerBackendServerOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput() GetApplicationLoadBalancersBalancerBackendServerArrayOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerArrayOutput
- type GetApplicationLoadBalancersBalancerBackendServerInput
- type GetApplicationLoadBalancersBalancerBackendServerOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerOutput) Description() pulumi.StringOutput
- func (GetApplicationLoadBalancersBalancerBackendServerOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerBackendServerOutput) ServerId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerOutput) ToGetApplicationLoadBalancersBalancerBackendServerOutput() GetApplicationLoadBalancersBalancerBackendServerOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerOutput) ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerOutput) Type() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerBackendServerOutput) Weight() pulumi.IntOutput
- type GetApplicationLoadBalancersBalancerInput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocal
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayInput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) Index(i pulumi.IntInput) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalInput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerPort() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerProtocal() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocol
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayInput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) Index(i pulumi.IntInput) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolInput
- type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) Description() pulumi.StringOutput
- func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ForwardPort() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerForward() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerPort() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerProtocol() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
- type GetApplicationLoadBalancersBalancerOutput
- func (o GetApplicationLoadBalancersBalancerOutput) Address() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) AddressIpVersion() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) AddressType() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) AutoReleaseTime() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerOutput) BackendServers() GetApplicationLoadBalancersBalancerBackendServerArrayOutput
- func (o GetApplicationLoadBalancersBalancerOutput) Bandwidth() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerOutput) CreateTimeStamp() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerOutput) DeleteProtection() pulumi.StringOutput
- func (GetApplicationLoadBalancersBalancerOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersBalancerOutput) EndTime() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) EndTimeStamp() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerOutput) Id() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) InternetChargeType() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ListenerPortsAndProtocals() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ListenerPortsAndProtocols() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (o GetApplicationLoadBalancersBalancerOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) LoadBalancerName() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) MasterZoneId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ModificationProtectionReason() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) NetworkType() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) PaymentType() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) RegionIdAlias() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) RenewalCycUnit() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) RenewalDuration() pulumi.IntOutput
- func (o GetApplicationLoadBalancersBalancerOutput) RenewalStatus() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) SlaveZoneId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) Status() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) Tags() pulumi.MapOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ToGetApplicationLoadBalancersBalancerOutput() GetApplicationLoadBalancersBalancerOutput
- func (o GetApplicationLoadBalancersBalancerOutput) ToGetApplicationLoadBalancersBalancerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerOutput
- func (o GetApplicationLoadBalancersBalancerOutput) VpcId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersBalancerOutput) VswitchId() pulumi.StringOutput
- type GetApplicationLoadBalancersOutputArgs
- type GetApplicationLoadBalancersResult
- type GetApplicationLoadBalancersResultOutput
- func (o GetApplicationLoadBalancersResultOutput) Address() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) AddressIpVersion() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) AddressType() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) Balancers() GetApplicationLoadBalancersBalancerArrayOutput
- func (GetApplicationLoadBalancersResultOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) Id() pulumi.StringOutput
- func (o GetApplicationLoadBalancersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetApplicationLoadBalancersResultOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) LoadBalancerName() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) MasterZoneId() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetApplicationLoadBalancersResultOutput) NetworkType() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) PaymentType() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) ServerId() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) ServerIntranetAddress() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) SlaveZoneId() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) Slbs() GetApplicationLoadBalancersSlbArrayOutputdeprecated
- func (o GetApplicationLoadBalancersResultOutput) Status() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) Tags() pulumi.MapOutput
- func (o GetApplicationLoadBalancersResultOutput) ToGetApplicationLoadBalancersResultOutput() GetApplicationLoadBalancersResultOutput
- func (o GetApplicationLoadBalancersResultOutput) ToGetApplicationLoadBalancersResultOutputWithContext(ctx context.Context) GetApplicationLoadBalancersResultOutput
- func (o GetApplicationLoadBalancersResultOutput) TotalCount() pulumi.IntOutput
- func (o GetApplicationLoadBalancersResultOutput) VpcId() pulumi.StringPtrOutput
- func (o GetApplicationLoadBalancersResultOutput) VswitchId() pulumi.StringPtrOutput
- type GetApplicationLoadBalancersSlb
- type GetApplicationLoadBalancersSlbArgs
- func (GetApplicationLoadBalancersSlbArgs) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersSlbArgs) ToGetApplicationLoadBalancersSlbOutput() GetApplicationLoadBalancersSlbOutput
- func (i GetApplicationLoadBalancersSlbArgs) ToGetApplicationLoadBalancersSlbOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbOutput
- type GetApplicationLoadBalancersSlbArray
- func (GetApplicationLoadBalancersSlbArray) ElementType() reflect.Type
- func (i GetApplicationLoadBalancersSlbArray) ToGetApplicationLoadBalancersSlbArrayOutput() GetApplicationLoadBalancersSlbArrayOutput
- func (i GetApplicationLoadBalancersSlbArray) ToGetApplicationLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbArrayOutput
- type GetApplicationLoadBalancersSlbArrayInput
- type GetApplicationLoadBalancersSlbArrayOutput
- func (GetApplicationLoadBalancersSlbArrayOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersSlbArrayOutput) Index(i pulumi.IntInput) GetApplicationLoadBalancersSlbOutput
- func (o GetApplicationLoadBalancersSlbArrayOutput) ToGetApplicationLoadBalancersSlbArrayOutput() GetApplicationLoadBalancersSlbArrayOutput
- func (o GetApplicationLoadBalancersSlbArrayOutput) ToGetApplicationLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbArrayOutput
- type GetApplicationLoadBalancersSlbInput
- type GetApplicationLoadBalancersSlbOutput
- func (o GetApplicationLoadBalancersSlbOutput) Address() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) CreationTime() pulumi.StringOutput
- func (GetApplicationLoadBalancersSlbOutput) ElementType() reflect.Type
- func (o GetApplicationLoadBalancersSlbOutput) Id() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) Internet() pulumi.BoolOutput
- func (o GetApplicationLoadBalancersSlbOutput) MasterAvailabilityZone() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) Name() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) NetworkType() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) RegionId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) SlaveAvailabilityZone() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) Status() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) Tags() pulumi.MapOutput
- func (o GetApplicationLoadBalancersSlbOutput) ToGetApplicationLoadBalancersSlbOutput() GetApplicationLoadBalancersSlbOutput
- func (o GetApplicationLoadBalancersSlbOutput) ToGetApplicationLoadBalancersSlbOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbOutput
- func (o GetApplicationLoadBalancersSlbOutput) VpcId() pulumi.StringOutput
- func (o GetApplicationLoadBalancersSlbOutput) VswitchId() pulumi.StringOutput
- type GetAttachmentsArgs
- type GetAttachmentsOutputArgs
- type GetAttachmentsResult
- type GetAttachmentsResultOutput
- func (GetAttachmentsResultOutput) ElementType() reflect.Type
- func (o GetAttachmentsResultOutput) Id() pulumi.StringOutput
- func (o GetAttachmentsResultOutput) InstanceIds() pulumi.StringArrayOutput
- func (o GetAttachmentsResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAttachmentsResultOutput) SlbAttachments() GetAttachmentsSlbAttachmentArrayOutput
- func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutput() GetAttachmentsResultOutput
- func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutputWithContext(ctx context.Context) GetAttachmentsResultOutput
- type GetAttachmentsSlbAttachment
- type GetAttachmentsSlbAttachmentArgs
- func (GetAttachmentsSlbAttachmentArgs) ElementType() reflect.Type
- func (i GetAttachmentsSlbAttachmentArgs) ToGetAttachmentsSlbAttachmentOutput() GetAttachmentsSlbAttachmentOutput
- func (i GetAttachmentsSlbAttachmentArgs) ToGetAttachmentsSlbAttachmentOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentOutput
- type GetAttachmentsSlbAttachmentArray
- func (GetAttachmentsSlbAttachmentArray) ElementType() reflect.Type
- func (i GetAttachmentsSlbAttachmentArray) ToGetAttachmentsSlbAttachmentArrayOutput() GetAttachmentsSlbAttachmentArrayOutput
- func (i GetAttachmentsSlbAttachmentArray) ToGetAttachmentsSlbAttachmentArrayOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentArrayOutput
- type GetAttachmentsSlbAttachmentArrayInput
- type GetAttachmentsSlbAttachmentArrayOutput
- func (GetAttachmentsSlbAttachmentArrayOutput) ElementType() reflect.Type
- func (o GetAttachmentsSlbAttachmentArrayOutput) Index(i pulumi.IntInput) GetAttachmentsSlbAttachmentOutput
- func (o GetAttachmentsSlbAttachmentArrayOutput) ToGetAttachmentsSlbAttachmentArrayOutput() GetAttachmentsSlbAttachmentArrayOutput
- func (o GetAttachmentsSlbAttachmentArrayOutput) ToGetAttachmentsSlbAttachmentArrayOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentArrayOutput
- type GetAttachmentsSlbAttachmentInput
- type GetAttachmentsSlbAttachmentOutput
- func (GetAttachmentsSlbAttachmentOutput) ElementType() reflect.Type
- func (o GetAttachmentsSlbAttachmentOutput) InstanceId() pulumi.StringOutput
- func (o GetAttachmentsSlbAttachmentOutput) ToGetAttachmentsSlbAttachmentOutput() GetAttachmentsSlbAttachmentOutput
- func (o GetAttachmentsSlbAttachmentOutput) ToGetAttachmentsSlbAttachmentOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentOutput
- func (o GetAttachmentsSlbAttachmentOutput) Weight() pulumi.IntOutput
- type GetBackendServersArgs
- type GetBackendServersBackendServer
- type GetBackendServersBackendServerArgs
- func (GetBackendServersBackendServerArgs) ElementType() reflect.Type
- func (i GetBackendServersBackendServerArgs) ToGetBackendServersBackendServerOutput() GetBackendServersBackendServerOutput
- func (i GetBackendServersBackendServerArgs) ToGetBackendServersBackendServerOutputWithContext(ctx context.Context) GetBackendServersBackendServerOutput
- type GetBackendServersBackendServerArray
- func (GetBackendServersBackendServerArray) ElementType() reflect.Type
- func (i GetBackendServersBackendServerArray) ToGetBackendServersBackendServerArrayOutput() GetBackendServersBackendServerArrayOutput
- func (i GetBackendServersBackendServerArray) ToGetBackendServersBackendServerArrayOutputWithContext(ctx context.Context) GetBackendServersBackendServerArrayOutput
- type GetBackendServersBackendServerArrayInput
- type GetBackendServersBackendServerArrayOutput
- func (GetBackendServersBackendServerArrayOutput) ElementType() reflect.Type
- func (o GetBackendServersBackendServerArrayOutput) Index(i pulumi.IntInput) GetBackendServersBackendServerOutput
- func (o GetBackendServersBackendServerArrayOutput) ToGetBackendServersBackendServerArrayOutput() GetBackendServersBackendServerArrayOutput
- func (o GetBackendServersBackendServerArrayOutput) ToGetBackendServersBackendServerArrayOutputWithContext(ctx context.Context) GetBackendServersBackendServerArrayOutput
- type GetBackendServersBackendServerInput
- type GetBackendServersBackendServerOutput
- func (GetBackendServersBackendServerOutput) ElementType() reflect.Type
- func (o GetBackendServersBackendServerOutput) Id() pulumi.StringOutput
- func (o GetBackendServersBackendServerOutput) ServerType() pulumi.StringOutput
- func (o GetBackendServersBackendServerOutput) ToGetBackendServersBackendServerOutput() GetBackendServersBackendServerOutput
- func (o GetBackendServersBackendServerOutput) ToGetBackendServersBackendServerOutputWithContext(ctx context.Context) GetBackendServersBackendServerOutput
- func (o GetBackendServersBackendServerOutput) Weight() pulumi.IntOutput
- type GetBackendServersOutputArgs
- type GetBackendServersResult
- type GetBackendServersResultOutput
- func (o GetBackendServersResultOutput) BackendServers() GetBackendServersBackendServerArrayOutput
- func (GetBackendServersResultOutput) ElementType() reflect.Type
- func (o GetBackendServersResultOutput) Id() pulumi.StringOutput
- func (o GetBackendServersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetBackendServersResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetBackendServersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetBackendServersResultOutput) ToGetBackendServersResultOutput() GetBackendServersResultOutput
- func (o GetBackendServersResultOutput) ToGetBackendServersResultOutputWithContext(ctx context.Context) GetBackendServersResultOutput
- type GetCaCertificatesArgs
- type GetCaCertificatesCertificate
- type GetCaCertificatesCertificateArgs
- func (GetCaCertificatesCertificateArgs) ElementType() reflect.Type
- func (i GetCaCertificatesCertificateArgs) ToGetCaCertificatesCertificateOutput() GetCaCertificatesCertificateOutput
- func (i GetCaCertificatesCertificateArgs) ToGetCaCertificatesCertificateOutputWithContext(ctx context.Context) GetCaCertificatesCertificateOutput
- type GetCaCertificatesCertificateArray
- func (GetCaCertificatesCertificateArray) ElementType() reflect.Type
- func (i GetCaCertificatesCertificateArray) ToGetCaCertificatesCertificateArrayOutput() GetCaCertificatesCertificateArrayOutput
- func (i GetCaCertificatesCertificateArray) ToGetCaCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCaCertificatesCertificateArrayOutput
- type GetCaCertificatesCertificateArrayInput
- type GetCaCertificatesCertificateArrayOutput
- func (GetCaCertificatesCertificateArrayOutput) ElementType() reflect.Type
- func (o GetCaCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCaCertificatesCertificateOutput
- func (o GetCaCertificatesCertificateArrayOutput) ToGetCaCertificatesCertificateArrayOutput() GetCaCertificatesCertificateArrayOutput
- func (o GetCaCertificatesCertificateArrayOutput) ToGetCaCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCaCertificatesCertificateArrayOutput
- type GetCaCertificatesCertificateInput
- type GetCaCertificatesCertificateOutput
- func (o GetCaCertificatesCertificateOutput) CaCertificateId() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) CaCertificateName() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) CommonName() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) CreatedTimestamp() pulumi.IntOutput
- func (GetCaCertificatesCertificateOutput) ElementType() reflect.Type
- func (o GetCaCertificatesCertificateOutput) ExpiredTime() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) ExpiredTimestamp() pulumi.IntOutput
- func (o GetCaCertificatesCertificateOutput) Fingerprint() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) Id() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) Name() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetCaCertificatesCertificateOutput) Tags() pulumi.MapOutput
- func (o GetCaCertificatesCertificateOutput) ToGetCaCertificatesCertificateOutput() GetCaCertificatesCertificateOutput
- func (o GetCaCertificatesCertificateOutput) ToGetCaCertificatesCertificateOutputWithContext(ctx context.Context) GetCaCertificatesCertificateOutput
- type GetCaCertificatesOutputArgs
- type GetCaCertificatesResult
- type GetCaCertificatesResultOutput
- func (o GetCaCertificatesResultOutput) Certificates() GetCaCertificatesCertificateArrayOutput
- func (GetCaCertificatesResultOutput) ElementType() reflect.Type
- func (o GetCaCertificatesResultOutput) Id() pulumi.StringOutput
- func (o GetCaCertificatesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetCaCertificatesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetCaCertificatesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetCaCertificatesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetCaCertificatesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetCaCertificatesResultOutput) Tags() pulumi.MapOutput
- func (o GetCaCertificatesResultOutput) ToGetCaCertificatesResultOutput() GetCaCertificatesResultOutput
- func (o GetCaCertificatesResultOutput) ToGetCaCertificatesResultOutputWithContext(ctx context.Context) GetCaCertificatesResultOutput
- type GetDomainExtensionsArgs
- type GetDomainExtensionsExtension
- type GetDomainExtensionsExtensionArgs
- func (GetDomainExtensionsExtensionArgs) ElementType() reflect.Type
- func (i GetDomainExtensionsExtensionArgs) ToGetDomainExtensionsExtensionOutput() GetDomainExtensionsExtensionOutput
- func (i GetDomainExtensionsExtensionArgs) ToGetDomainExtensionsExtensionOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionOutput
- type GetDomainExtensionsExtensionArray
- func (GetDomainExtensionsExtensionArray) ElementType() reflect.Type
- func (i GetDomainExtensionsExtensionArray) ToGetDomainExtensionsExtensionArrayOutput() GetDomainExtensionsExtensionArrayOutput
- func (i GetDomainExtensionsExtensionArray) ToGetDomainExtensionsExtensionArrayOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionArrayOutput
- type GetDomainExtensionsExtensionArrayInput
- type GetDomainExtensionsExtensionArrayOutput
- func (GetDomainExtensionsExtensionArrayOutput) ElementType() reflect.Type
- func (o GetDomainExtensionsExtensionArrayOutput) Index(i pulumi.IntInput) GetDomainExtensionsExtensionOutput
- func (o GetDomainExtensionsExtensionArrayOutput) ToGetDomainExtensionsExtensionArrayOutput() GetDomainExtensionsExtensionArrayOutput
- func (o GetDomainExtensionsExtensionArrayOutput) ToGetDomainExtensionsExtensionArrayOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionArrayOutput
- type GetDomainExtensionsExtensionInput
- type GetDomainExtensionsExtensionOutput
- func (o GetDomainExtensionsExtensionOutput) Domain() pulumi.StringOutput
- func (GetDomainExtensionsExtensionOutput) ElementType() reflect.Type
- func (o GetDomainExtensionsExtensionOutput) Id() pulumi.StringOutput
- func (o GetDomainExtensionsExtensionOutput) ServerCertificateId() pulumi.StringOutput
- func (o GetDomainExtensionsExtensionOutput) ToGetDomainExtensionsExtensionOutput() GetDomainExtensionsExtensionOutput
- func (o GetDomainExtensionsExtensionOutput) ToGetDomainExtensionsExtensionOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionOutput
- type GetDomainExtensionsOutputArgs
- type GetDomainExtensionsResult
- type GetDomainExtensionsResultOutput
- func (GetDomainExtensionsResultOutput) ElementType() reflect.Type
- func (o GetDomainExtensionsResultOutput) Extensions() GetDomainExtensionsExtensionArrayOutput
- func (o GetDomainExtensionsResultOutput) FrontendPort() pulumi.IntOutput
- func (o GetDomainExtensionsResultOutput) Id() pulumi.StringOutput
- func (o GetDomainExtensionsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDomainExtensionsResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetDomainExtensionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDomainExtensionsResultOutput) ToGetDomainExtensionsResultOutput() GetDomainExtensionsResultOutput
- func (o GetDomainExtensionsResultOutput) ToGetDomainExtensionsResultOutputWithContext(ctx context.Context) GetDomainExtensionsResultOutput
- type GetListenersArgs
- type GetListenersOutputArgs
- type GetListenersResult
- type GetListenersResultOutput
- func (o GetListenersResultOutput) DescriptionRegex() pulumi.StringPtrOutput
- func (GetListenersResultOutput) ElementType() reflect.Type
- func (o GetListenersResultOutput) FrontendPort() pulumi.IntPtrOutput
- func (o GetListenersResultOutput) Id() pulumi.StringOutput
- func (o GetListenersResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetListenersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetListenersResultOutput) Protocol() pulumi.StringPtrOutput
- func (o GetListenersResultOutput) SlbListeners() GetListenersSlbListenerArrayOutput
- func (o GetListenersResultOutput) ToGetListenersResultOutput() GetListenersResultOutput
- func (o GetListenersResultOutput) ToGetListenersResultOutputWithContext(ctx context.Context) GetListenersResultOutput
- type GetListenersSlbListener
- type GetListenersSlbListenerArgs
- type GetListenersSlbListenerArray
- func (GetListenersSlbListenerArray) ElementType() reflect.Type
- func (i GetListenersSlbListenerArray) ToGetListenersSlbListenerArrayOutput() GetListenersSlbListenerArrayOutput
- func (i GetListenersSlbListenerArray) ToGetListenersSlbListenerArrayOutputWithContext(ctx context.Context) GetListenersSlbListenerArrayOutput
- type GetListenersSlbListenerArrayInput
- type GetListenersSlbListenerArrayOutput
- func (GetListenersSlbListenerArrayOutput) ElementType() reflect.Type
- func (o GetListenersSlbListenerArrayOutput) Index(i pulumi.IntInput) GetListenersSlbListenerOutput
- func (o GetListenersSlbListenerArrayOutput) ToGetListenersSlbListenerArrayOutput() GetListenersSlbListenerArrayOutput
- func (o GetListenersSlbListenerArrayOutput) ToGetListenersSlbListenerArrayOutputWithContext(ctx context.Context) GetListenersSlbListenerArrayOutput
- type GetListenersSlbListenerInput
- type GetListenersSlbListenerOutput
- func (o GetListenersSlbListenerOutput) BackendPort() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) Bandwidth() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) CaCertificateId() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) Cookie() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) CookieTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) Description() pulumi.StringOutput
- func (GetListenersSlbListenerOutput) ElementType() reflect.Type
- func (o GetListenersSlbListenerOutput) EnableHttp2() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) EstablishedTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) FrontendPort() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) Gzip() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) HealthCheck() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) HealthCheckConnectPort() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) HealthCheckConnectTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) HealthCheckDomain() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) HealthCheckHttpCode() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) HealthCheckInterval() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) HealthCheckTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) HealthCheckType() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) HealthCheckUri() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) HealthyThreshold() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) IdleTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) MasterSlaveServerGroupId() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) PersistenceTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) Protocol() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) ProxyProtocolV2Enabled() pulumi.BoolOutput
- func (o GetListenersSlbListenerOutput) RequestTimeout() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) Scheduler() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) SecurityStatus() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) ServerCertificateId() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) ServerGroupId() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) SslCertificateId() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) Status() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) StickySession() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) StickySessionType() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) TlsCipherPolicy() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) ToGetListenersSlbListenerOutput() GetListenersSlbListenerOutput
- func (o GetListenersSlbListenerOutput) ToGetListenersSlbListenerOutputWithContext(ctx context.Context) GetListenersSlbListenerOutput
- func (o GetListenersSlbListenerOutput) UnhealthyThreshold() pulumi.IntOutput
- func (o GetListenersSlbListenerOutput) XForwardedFor() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) XForwardedForSlbId() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) XForwardedForSlbIp() pulumi.StringOutput
- func (o GetListenersSlbListenerOutput) XForwardedForSlbProto() pulumi.StringOutput
- type GetLoadBalancersArgs
- type GetLoadBalancersBalancer
- type GetLoadBalancersBalancerArgs
- func (GetLoadBalancersBalancerArgs) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerArgs) ToGetLoadBalancersBalancerOutput() GetLoadBalancersBalancerOutput
- func (i GetLoadBalancersBalancerArgs) ToGetLoadBalancersBalancerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerOutput
- type GetLoadBalancersBalancerArray
- func (GetLoadBalancersBalancerArray) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerArray) ToGetLoadBalancersBalancerArrayOutput() GetLoadBalancersBalancerArrayOutput
- func (i GetLoadBalancersBalancerArray) ToGetLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerArrayOutput
- type GetLoadBalancersBalancerArrayInput
- type GetLoadBalancersBalancerArrayOutput
- func (GetLoadBalancersBalancerArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersBalancerOutput
- func (o GetLoadBalancersBalancerArrayOutput) ToGetLoadBalancersBalancerArrayOutput() GetLoadBalancersBalancerArrayOutput
- func (o GetLoadBalancersBalancerArrayOutput) ToGetLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerArrayOutput
- type GetLoadBalancersBalancerBackendServer
- type GetLoadBalancersBalancerBackendServerArgs
- func (GetLoadBalancersBalancerBackendServerArgs) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerBackendServerArgs) ToGetLoadBalancersBalancerBackendServerOutput() GetLoadBalancersBalancerBackendServerOutput
- func (i GetLoadBalancersBalancerBackendServerArgs) ToGetLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerOutput
- type GetLoadBalancersBalancerBackendServerArray
- func (GetLoadBalancersBalancerBackendServerArray) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerBackendServerArray) ToGetLoadBalancersBalancerBackendServerArrayOutput() GetLoadBalancersBalancerBackendServerArrayOutput
- func (i GetLoadBalancersBalancerBackendServerArray) ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerArrayOutput
- type GetLoadBalancersBalancerBackendServerArrayInput
- type GetLoadBalancersBalancerBackendServerArrayOutput
- func (GetLoadBalancersBalancerBackendServerArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerBackendServerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersBalancerBackendServerOutput
- func (o GetLoadBalancersBalancerBackendServerArrayOutput) ToGetLoadBalancersBalancerBackendServerArrayOutput() GetLoadBalancersBalancerBackendServerArrayOutput
- func (o GetLoadBalancersBalancerBackendServerArrayOutput) ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerArrayOutput
- type GetLoadBalancersBalancerBackendServerInput
- type GetLoadBalancersBalancerBackendServerOutput
- func (o GetLoadBalancersBalancerBackendServerOutput) Description() pulumi.StringOutput
- func (GetLoadBalancersBalancerBackendServerOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerBackendServerOutput) ServerId() pulumi.StringOutput
- func (o GetLoadBalancersBalancerBackendServerOutput) ToGetLoadBalancersBalancerBackendServerOutput() GetLoadBalancersBalancerBackendServerOutput
- func (o GetLoadBalancersBalancerBackendServerOutput) ToGetLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerOutput
- func (o GetLoadBalancersBalancerBackendServerOutput) Type() pulumi.StringOutput
- func (o GetLoadBalancersBalancerBackendServerOutput) Weight() pulumi.IntOutput
- type GetLoadBalancersBalancerInput
- type GetLoadBalancersBalancerListenerPortsAndProtocal
- type GetLoadBalancersBalancerListenerPortsAndProtocalArgs
- func (GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput() GetLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (i GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocalArray
- func (GetLoadBalancersBalancerListenerPortsAndProtocalArray) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (i GetLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocalArrayInput
- type GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocalInput
- type GetLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerPort() pulumi.IntOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerProtocal() pulumi.StringOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput() GetLoadBalancersBalancerListenerPortsAndProtocalOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocol
- type GetLoadBalancersBalancerListenerPortsAndProtocolArgs
- func (GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput() GetLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (i GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocolArray
- func (GetLoadBalancersBalancerListenerPortsAndProtocolArray) ElementType() reflect.Type
- func (i GetLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (i GetLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocolArrayInput
- type GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- type GetLoadBalancersBalancerListenerPortsAndProtocolInput
- type GetLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) Description() pulumi.StringOutput
- func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ForwardPort() pulumi.IntOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerForward() pulumi.StringOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerPort() pulumi.IntOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerProtocol() pulumi.StringOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput() GetLoadBalancersBalancerListenerPortsAndProtocolOutput
- func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolOutput
- type GetLoadBalancersBalancerOutput
- func (o GetLoadBalancersBalancerOutput) Address() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) AddressIpVersion() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) AddressType() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) AutoReleaseTime() pulumi.IntOutput
- func (o GetLoadBalancersBalancerOutput) BackendServers() GetLoadBalancersBalancerBackendServerArrayOutput
- func (o GetLoadBalancersBalancerOutput) Bandwidth() pulumi.IntOutput
- func (o GetLoadBalancersBalancerOutput) CreateTimeStamp() pulumi.IntOutput
- func (o GetLoadBalancersBalancerOutput) DeleteProtection() pulumi.StringOutput
- func (GetLoadBalancersBalancerOutput) ElementType() reflect.Type
- func (o GetLoadBalancersBalancerOutput) EndTime() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) EndTimeStamp() pulumi.IntOutput
- func (o GetLoadBalancersBalancerOutput) Id() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) InternetChargeType() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) ListenerPortsAndProtocals() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
- func (o GetLoadBalancersBalancerOutput) ListenerPortsAndProtocols() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
- func (o GetLoadBalancersBalancerOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) LoadBalancerName() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) MasterZoneId() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) ModificationProtectionReason() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) NetworkType() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) PaymentType() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) RegionIdAlias() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) RenewalCycUnit() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) RenewalDuration() pulumi.IntOutput
- func (o GetLoadBalancersBalancerOutput) RenewalStatus() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) SlaveZoneId() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) Status() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) Tags() pulumi.MapOutput
- func (o GetLoadBalancersBalancerOutput) ToGetLoadBalancersBalancerOutput() GetLoadBalancersBalancerOutput
- func (o GetLoadBalancersBalancerOutput) ToGetLoadBalancersBalancerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerOutput
- func (o GetLoadBalancersBalancerOutput) VpcId() pulumi.StringOutput
- func (o GetLoadBalancersBalancerOutput) VswitchId() pulumi.StringOutput
- type GetLoadBalancersOutputArgs
- type GetLoadBalancersResult
- type GetLoadBalancersResultOutput
- func (o GetLoadBalancersResultOutput) Address() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) AddressIpVersion() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) AddressType() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) Balancers() GetLoadBalancersBalancerArrayOutput
- func (GetLoadBalancersResultOutput) ElementType() reflect.Type
- func (o GetLoadBalancersResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetLoadBalancersResultOutput) Id() pulumi.StringOutput
- func (o GetLoadBalancersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetLoadBalancersResultOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) LoadBalancerName() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) MasterZoneId() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetLoadBalancersResultOutput) NetworkType() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetLoadBalancersResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetLoadBalancersResultOutput) PaymentType() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) ServerId() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) ServerIntranetAddress() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) SlaveZoneId() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) Slbs() GetLoadBalancersSlbArrayOutputdeprecated
- func (o GetLoadBalancersResultOutput) Status() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) Tags() pulumi.MapOutput
- func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput() GetLoadBalancersResultOutput
- func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext(ctx context.Context) GetLoadBalancersResultOutput
- func (o GetLoadBalancersResultOutput) TotalCount() pulumi.IntOutput
- func (o GetLoadBalancersResultOutput) VpcId() pulumi.StringPtrOutput
- func (o GetLoadBalancersResultOutput) VswitchId() pulumi.StringPtrOutput
- type GetLoadBalancersSlb
- type GetLoadBalancersSlbArgs
- type GetLoadBalancersSlbArray
- type GetLoadBalancersSlbArrayInput
- type GetLoadBalancersSlbArrayOutput
- func (GetLoadBalancersSlbArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancersSlbArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersSlbOutput
- func (o GetLoadBalancersSlbArrayOutput) ToGetLoadBalancersSlbArrayOutput() GetLoadBalancersSlbArrayOutput
- func (o GetLoadBalancersSlbArrayOutput) ToGetLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetLoadBalancersSlbArrayOutput
- type GetLoadBalancersSlbInput
- type GetLoadBalancersSlbOutput
- func (o GetLoadBalancersSlbOutput) Address() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) CreationTime() pulumi.StringOutput
- func (GetLoadBalancersSlbOutput) ElementType() reflect.Type
- func (o GetLoadBalancersSlbOutput) Id() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) Internet() pulumi.BoolOutput
- func (o GetLoadBalancersSlbOutput) MasterAvailabilityZone() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) Name() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) NetworkType() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) RegionId() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) SlaveAvailabilityZone() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) Status() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) Tags() pulumi.MapOutput
- func (o GetLoadBalancersSlbOutput) ToGetLoadBalancersSlbOutput() GetLoadBalancersSlbOutput
- func (o GetLoadBalancersSlbOutput) ToGetLoadBalancersSlbOutputWithContext(ctx context.Context) GetLoadBalancersSlbOutput
- func (o GetLoadBalancersSlbOutput) VpcId() pulumi.StringOutput
- func (o GetLoadBalancersSlbOutput) VswitchId() pulumi.StringOutput
- type GetMasterSlaveServerGroupsArgs
- type GetMasterSlaveServerGroupsGroup
- type GetMasterSlaveServerGroupsGroupArgs
- func (GetMasterSlaveServerGroupsGroupArgs) ElementType() reflect.Type
- func (i GetMasterSlaveServerGroupsGroupArgs) ToGetMasterSlaveServerGroupsGroupOutput() GetMasterSlaveServerGroupsGroupOutput
- func (i GetMasterSlaveServerGroupsGroupArgs) ToGetMasterSlaveServerGroupsGroupOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupOutput
- type GetMasterSlaveServerGroupsGroupArray
- func (GetMasterSlaveServerGroupsGroupArray) ElementType() reflect.Type
- func (i GetMasterSlaveServerGroupsGroupArray) ToGetMasterSlaveServerGroupsGroupArrayOutput() GetMasterSlaveServerGroupsGroupArrayOutput
- func (i GetMasterSlaveServerGroupsGroupArray) ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupArrayOutput
- type GetMasterSlaveServerGroupsGroupArrayInput
- type GetMasterSlaveServerGroupsGroupArrayOutput
- func (GetMasterSlaveServerGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetMasterSlaveServerGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetMasterSlaveServerGroupsGroupOutput
- func (o GetMasterSlaveServerGroupsGroupArrayOutput) ToGetMasterSlaveServerGroupsGroupArrayOutput() GetMasterSlaveServerGroupsGroupArrayOutput
- func (o GetMasterSlaveServerGroupsGroupArrayOutput) ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupArrayOutput
- type GetMasterSlaveServerGroupsGroupInput
- type GetMasterSlaveServerGroupsGroupOutput
- func (GetMasterSlaveServerGroupsGroupOutput) ElementType() reflect.Type
- func (o GetMasterSlaveServerGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetMasterSlaveServerGroupsGroupOutput) Name() pulumi.StringOutput
- func (o GetMasterSlaveServerGroupsGroupOutput) Servers() GetMasterSlaveServerGroupsGroupServerArrayOutput
- func (o GetMasterSlaveServerGroupsGroupOutput) ToGetMasterSlaveServerGroupsGroupOutput() GetMasterSlaveServerGroupsGroupOutput
- func (o GetMasterSlaveServerGroupsGroupOutput) ToGetMasterSlaveServerGroupsGroupOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupOutput
- type GetMasterSlaveServerGroupsGroupServer
- type GetMasterSlaveServerGroupsGroupServerArgs
- func (GetMasterSlaveServerGroupsGroupServerArgs) ElementType() reflect.Type
- func (i GetMasterSlaveServerGroupsGroupServerArgs) ToGetMasterSlaveServerGroupsGroupServerOutput() GetMasterSlaveServerGroupsGroupServerOutput
- func (i GetMasterSlaveServerGroupsGroupServerArgs) ToGetMasterSlaveServerGroupsGroupServerOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerOutput
- type GetMasterSlaveServerGroupsGroupServerArray
- func (GetMasterSlaveServerGroupsGroupServerArray) ElementType() reflect.Type
- func (i GetMasterSlaveServerGroupsGroupServerArray) ToGetMasterSlaveServerGroupsGroupServerArrayOutput() GetMasterSlaveServerGroupsGroupServerArrayOutput
- func (i GetMasterSlaveServerGroupsGroupServerArray) ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerArrayOutput
- type GetMasterSlaveServerGroupsGroupServerArrayInput
- type GetMasterSlaveServerGroupsGroupServerArrayOutput
- func (GetMasterSlaveServerGroupsGroupServerArrayOutput) ElementType() reflect.Type
- func (o GetMasterSlaveServerGroupsGroupServerArrayOutput) Index(i pulumi.IntInput) GetMasterSlaveServerGroupsGroupServerOutput
- func (o GetMasterSlaveServerGroupsGroupServerArrayOutput) ToGetMasterSlaveServerGroupsGroupServerArrayOutput() GetMasterSlaveServerGroupsGroupServerArrayOutput
- func (o GetMasterSlaveServerGroupsGroupServerArrayOutput) ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerArrayOutput
- type GetMasterSlaveServerGroupsGroupServerInput
- type GetMasterSlaveServerGroupsGroupServerOutput
- func (GetMasterSlaveServerGroupsGroupServerOutput) ElementType() reflect.Type
- func (o GetMasterSlaveServerGroupsGroupServerOutput) InstanceId() pulumi.StringOutput
- func (o GetMasterSlaveServerGroupsGroupServerOutput) IsBackup() pulumi.IntOutput
- func (o GetMasterSlaveServerGroupsGroupServerOutput) Port() pulumi.IntOutput
- func (o GetMasterSlaveServerGroupsGroupServerOutput) ServerType() pulumi.StringOutput
- func (o GetMasterSlaveServerGroupsGroupServerOutput) ToGetMasterSlaveServerGroupsGroupServerOutput() GetMasterSlaveServerGroupsGroupServerOutput
- func (o GetMasterSlaveServerGroupsGroupServerOutput) ToGetMasterSlaveServerGroupsGroupServerOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerOutput
- func (o GetMasterSlaveServerGroupsGroupServerOutput) Weight() pulumi.IntOutput
- type GetMasterSlaveServerGroupsOutputArgs
- type GetMasterSlaveServerGroupsResult
- type GetMasterSlaveServerGroupsResultOutput
- func (GetMasterSlaveServerGroupsResultOutput) ElementType() reflect.Type
- func (o GetMasterSlaveServerGroupsResultOutput) Groups() GetMasterSlaveServerGroupsGroupArrayOutput
- func (o GetMasterSlaveServerGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetMasterSlaveServerGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetMasterSlaveServerGroupsResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetMasterSlaveServerGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetMasterSlaveServerGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetMasterSlaveServerGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetMasterSlaveServerGroupsResultOutput) ToGetMasterSlaveServerGroupsResultOutput() GetMasterSlaveServerGroupsResultOutput
- func (o GetMasterSlaveServerGroupsResultOutput) ToGetMasterSlaveServerGroupsResultOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsResultOutput
- type GetRulesArgs
- type GetRulesOutputArgs
- type GetRulesResult
- type GetRulesResultOutput
- func (GetRulesResultOutput) ElementType() reflect.Type
- func (o GetRulesResultOutput) FrontendPort() pulumi.IntOutput
- func (o GetRulesResultOutput) Id() pulumi.StringOutput
- func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) SlbRules() GetRulesSlbRuleArrayOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
- type GetRulesSlbRule
- type GetRulesSlbRuleArgs
- type GetRulesSlbRuleArray
- type GetRulesSlbRuleArrayInput
- type GetRulesSlbRuleArrayOutput
- func (GetRulesSlbRuleArrayOutput) ElementType() reflect.Type
- func (o GetRulesSlbRuleArrayOutput) Index(i pulumi.IntInput) GetRulesSlbRuleOutput
- func (o GetRulesSlbRuleArrayOutput) ToGetRulesSlbRuleArrayOutput() GetRulesSlbRuleArrayOutput
- func (o GetRulesSlbRuleArrayOutput) ToGetRulesSlbRuleArrayOutputWithContext(ctx context.Context) GetRulesSlbRuleArrayOutput
- type GetRulesSlbRuleInput
- type GetRulesSlbRuleOutput
- func (o GetRulesSlbRuleOutput) Domain() pulumi.StringOutput
- func (GetRulesSlbRuleOutput) ElementType() reflect.Type
- func (o GetRulesSlbRuleOutput) Id() pulumi.StringOutput
- func (o GetRulesSlbRuleOutput) Name() pulumi.StringOutput
- func (o GetRulesSlbRuleOutput) ServerGroupId() pulumi.StringOutput
- func (o GetRulesSlbRuleOutput) ToGetRulesSlbRuleOutput() GetRulesSlbRuleOutput
- func (o GetRulesSlbRuleOutput) ToGetRulesSlbRuleOutputWithContext(ctx context.Context) GetRulesSlbRuleOutput
- func (o GetRulesSlbRuleOutput) Url() pulumi.StringOutput
- type GetServerCertificatesArgs
- type GetServerCertificatesCertificate
- type GetServerCertificatesCertificateArgs
- func (GetServerCertificatesCertificateArgs) ElementType() reflect.Type
- func (i GetServerCertificatesCertificateArgs) ToGetServerCertificatesCertificateOutput() GetServerCertificatesCertificateOutput
- func (i GetServerCertificatesCertificateArgs) ToGetServerCertificatesCertificateOutputWithContext(ctx context.Context) GetServerCertificatesCertificateOutput
- type GetServerCertificatesCertificateArray
- func (GetServerCertificatesCertificateArray) ElementType() reflect.Type
- func (i GetServerCertificatesCertificateArray) ToGetServerCertificatesCertificateArrayOutput() GetServerCertificatesCertificateArrayOutput
- func (i GetServerCertificatesCertificateArray) ToGetServerCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetServerCertificatesCertificateArrayOutput
- type GetServerCertificatesCertificateArrayInput
- type GetServerCertificatesCertificateArrayOutput
- func (GetServerCertificatesCertificateArrayOutput) ElementType() reflect.Type
- func (o GetServerCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetServerCertificatesCertificateOutput
- func (o GetServerCertificatesCertificateArrayOutput) ToGetServerCertificatesCertificateArrayOutput() GetServerCertificatesCertificateArrayOutput
- func (o GetServerCertificatesCertificateArrayOutput) ToGetServerCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetServerCertificatesCertificateArrayOutput
- type GetServerCertificatesCertificateInput
- type GetServerCertificatesCertificateOutput
- func (o GetServerCertificatesCertificateOutput) AlicloudCertificateId() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) AlicloudCertificateName() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) CommonName() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) CreatedTime() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) CreatedTimestamp() pulumi.IntOutput
- func (GetServerCertificatesCertificateOutput) ElementType() reflect.Type
- func (o GetServerCertificatesCertificateOutput) ExpiredTime() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) ExpiredTimestamp() pulumi.IntOutput
- func (o GetServerCertificatesCertificateOutput) Fingerprint() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) Id() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) IsAlicloudCertificate() pulumi.BoolOutput
- func (o GetServerCertificatesCertificateOutput) Name() pulumi.StringOutput
- func (o GetServerCertificatesCertificateOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetServerCertificatesCertificateOutput) SubjectAlternativeNames() pulumi.StringArrayOutput
- func (o GetServerCertificatesCertificateOutput) Tags() pulumi.MapOutput
- func (o GetServerCertificatesCertificateOutput) ToGetServerCertificatesCertificateOutput() GetServerCertificatesCertificateOutput
- func (o GetServerCertificatesCertificateOutput) ToGetServerCertificatesCertificateOutputWithContext(ctx context.Context) GetServerCertificatesCertificateOutput
- type GetServerCertificatesOutputArgs
- type GetServerCertificatesResult
- type GetServerCertificatesResultOutput
- func (o GetServerCertificatesResultOutput) Certificates() GetServerCertificatesCertificateArrayOutput
- func (GetServerCertificatesResultOutput) ElementType() reflect.Type
- func (o GetServerCertificatesResultOutput) Id() pulumi.StringOutput
- func (o GetServerCertificatesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerCertificatesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetServerCertificatesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetServerCertificatesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerCertificatesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetServerCertificatesResultOutput) Tags() pulumi.MapOutput
- func (o GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutput() GetServerCertificatesResultOutput
- func (o GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutputWithContext(ctx context.Context) GetServerCertificatesResultOutput
- type GetServerGroupsArgs
- type GetServerGroupsOutputArgs
- type GetServerGroupsResult
- type GetServerGroupsResultOutput
- func (GetServerGroupsResultOutput) ElementType() reflect.Type
- func (o GetServerGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetServerGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerGroupsResultOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetServerGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetServerGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetServerGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerGroupsResultOutput) SlbServerGroups() GetServerGroupsSlbServerGroupArrayOutput
- func (o GetServerGroupsResultOutput) ToGetServerGroupsResultOutput() GetServerGroupsResultOutput
- func (o GetServerGroupsResultOutput) ToGetServerGroupsResultOutputWithContext(ctx context.Context) GetServerGroupsResultOutput
- type GetServerGroupsSlbServerGroup
- type GetServerGroupsSlbServerGroupArgs
- func (GetServerGroupsSlbServerGroupArgs) ElementType() reflect.Type
- func (i GetServerGroupsSlbServerGroupArgs) ToGetServerGroupsSlbServerGroupOutput() GetServerGroupsSlbServerGroupOutput
- func (i GetServerGroupsSlbServerGroupArgs) ToGetServerGroupsSlbServerGroupOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupOutput
- type GetServerGroupsSlbServerGroupArray
- func (GetServerGroupsSlbServerGroupArray) ElementType() reflect.Type
- func (i GetServerGroupsSlbServerGroupArray) ToGetServerGroupsSlbServerGroupArrayOutput() GetServerGroupsSlbServerGroupArrayOutput
- func (i GetServerGroupsSlbServerGroupArray) ToGetServerGroupsSlbServerGroupArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupArrayOutput
- type GetServerGroupsSlbServerGroupArrayInput
- type GetServerGroupsSlbServerGroupArrayOutput
- func (GetServerGroupsSlbServerGroupArrayOutput) ElementType() reflect.Type
- func (o GetServerGroupsSlbServerGroupArrayOutput) Index(i pulumi.IntInput) GetServerGroupsSlbServerGroupOutput
- func (o GetServerGroupsSlbServerGroupArrayOutput) ToGetServerGroupsSlbServerGroupArrayOutput() GetServerGroupsSlbServerGroupArrayOutput
- func (o GetServerGroupsSlbServerGroupArrayOutput) ToGetServerGroupsSlbServerGroupArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupArrayOutput
- type GetServerGroupsSlbServerGroupInput
- type GetServerGroupsSlbServerGroupOutput
- func (GetServerGroupsSlbServerGroupOutput) ElementType() reflect.Type
- func (o GetServerGroupsSlbServerGroupOutput) Id() pulumi.StringOutput
- func (o GetServerGroupsSlbServerGroupOutput) Name() pulumi.StringOutput
- func (o GetServerGroupsSlbServerGroupOutput) Servers() GetServerGroupsSlbServerGroupServerArrayOutput
- func (o GetServerGroupsSlbServerGroupOutput) ToGetServerGroupsSlbServerGroupOutput() GetServerGroupsSlbServerGroupOutput
- func (o GetServerGroupsSlbServerGroupOutput) ToGetServerGroupsSlbServerGroupOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupOutput
- type GetServerGroupsSlbServerGroupServer
- type GetServerGroupsSlbServerGroupServerArgs
- func (GetServerGroupsSlbServerGroupServerArgs) ElementType() reflect.Type
- func (i GetServerGroupsSlbServerGroupServerArgs) ToGetServerGroupsSlbServerGroupServerOutput() GetServerGroupsSlbServerGroupServerOutput
- func (i GetServerGroupsSlbServerGroupServerArgs) ToGetServerGroupsSlbServerGroupServerOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerOutput
- type GetServerGroupsSlbServerGroupServerArray
- func (GetServerGroupsSlbServerGroupServerArray) ElementType() reflect.Type
- func (i GetServerGroupsSlbServerGroupServerArray) ToGetServerGroupsSlbServerGroupServerArrayOutput() GetServerGroupsSlbServerGroupServerArrayOutput
- func (i GetServerGroupsSlbServerGroupServerArray) ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerArrayOutput
- type GetServerGroupsSlbServerGroupServerArrayInput
- type GetServerGroupsSlbServerGroupServerArrayOutput
- func (GetServerGroupsSlbServerGroupServerArrayOutput) ElementType() reflect.Type
- func (o GetServerGroupsSlbServerGroupServerArrayOutput) Index(i pulumi.IntInput) GetServerGroupsSlbServerGroupServerOutput
- func (o GetServerGroupsSlbServerGroupServerArrayOutput) ToGetServerGroupsSlbServerGroupServerArrayOutput() GetServerGroupsSlbServerGroupServerArrayOutput
- func (o GetServerGroupsSlbServerGroupServerArrayOutput) ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerArrayOutput
- type GetServerGroupsSlbServerGroupServerInput
- type GetServerGroupsSlbServerGroupServerOutput
- func (GetServerGroupsSlbServerGroupServerOutput) ElementType() reflect.Type
- func (o GetServerGroupsSlbServerGroupServerOutput) InstanceId() pulumi.StringOutput
- func (o GetServerGroupsSlbServerGroupServerOutput) ToGetServerGroupsSlbServerGroupServerOutput() GetServerGroupsSlbServerGroupServerOutput
- func (o GetServerGroupsSlbServerGroupServerOutput) ToGetServerGroupsSlbServerGroupServerOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerOutput
- func (o GetServerGroupsSlbServerGroupServerOutput) Weight() pulumi.IntOutput
- type GetTlsCipherPoliciesArgs
- type GetTlsCipherPoliciesOutputArgs
- type GetTlsCipherPoliciesPolicy
- type GetTlsCipherPoliciesPolicyArgs
- func (GetTlsCipherPoliciesPolicyArgs) ElementType() reflect.Type
- func (i GetTlsCipherPoliciesPolicyArgs) ToGetTlsCipherPoliciesPolicyOutput() GetTlsCipherPoliciesPolicyOutput
- func (i GetTlsCipherPoliciesPolicyArgs) ToGetTlsCipherPoliciesPolicyOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyOutput
- type GetTlsCipherPoliciesPolicyArray
- func (GetTlsCipherPoliciesPolicyArray) ElementType() reflect.Type
- func (i GetTlsCipherPoliciesPolicyArray) ToGetTlsCipherPoliciesPolicyArrayOutput() GetTlsCipherPoliciesPolicyArrayOutput
- func (i GetTlsCipherPoliciesPolicyArray) ToGetTlsCipherPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyArrayOutput
- type GetTlsCipherPoliciesPolicyArrayInput
- type GetTlsCipherPoliciesPolicyArrayOutput
- func (GetTlsCipherPoliciesPolicyArrayOutput) ElementType() reflect.Type
- func (o GetTlsCipherPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetTlsCipherPoliciesPolicyOutput
- func (o GetTlsCipherPoliciesPolicyArrayOutput) ToGetTlsCipherPoliciesPolicyArrayOutput() GetTlsCipherPoliciesPolicyArrayOutput
- func (o GetTlsCipherPoliciesPolicyArrayOutput) ToGetTlsCipherPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyArrayOutput
- type GetTlsCipherPoliciesPolicyInput
- type GetTlsCipherPoliciesPolicyOutput
- func (o GetTlsCipherPoliciesPolicyOutput) Ciphers() pulumi.StringArrayOutput
- func (o GetTlsCipherPoliciesPolicyOutput) CreateTime() pulumi.StringOutput
- func (GetTlsCipherPoliciesPolicyOutput) ElementType() reflect.Type
- func (o GetTlsCipherPoliciesPolicyOutput) Id() pulumi.StringOutput
- func (o GetTlsCipherPoliciesPolicyOutput) RelateListeners() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
- func (o GetTlsCipherPoliciesPolicyOutput) Status() pulumi.StringOutput
- func (o GetTlsCipherPoliciesPolicyOutput) TlsCipherPolicyId() pulumi.StringOutput
- func (o GetTlsCipherPoliciesPolicyOutput) TlsCipherPolicyName() pulumi.StringOutput
- func (o GetTlsCipherPoliciesPolicyOutput) TlsVersions() pulumi.StringArrayOutput
- func (o GetTlsCipherPoliciesPolicyOutput) ToGetTlsCipherPoliciesPolicyOutput() GetTlsCipherPoliciesPolicyOutput
- func (o GetTlsCipherPoliciesPolicyOutput) ToGetTlsCipherPoliciesPolicyOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyOutput
- type GetTlsCipherPoliciesPolicyRelateListener
- type GetTlsCipherPoliciesPolicyRelateListenerArgs
- func (GetTlsCipherPoliciesPolicyRelateListenerArgs) ElementType() reflect.Type
- func (i GetTlsCipherPoliciesPolicyRelateListenerArgs) ToGetTlsCipherPoliciesPolicyRelateListenerOutput() GetTlsCipherPoliciesPolicyRelateListenerOutput
- func (i GetTlsCipherPoliciesPolicyRelateListenerArgs) ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerOutput
- type GetTlsCipherPoliciesPolicyRelateListenerArray
- func (GetTlsCipherPoliciesPolicyRelateListenerArray) ElementType() reflect.Type
- func (i GetTlsCipherPoliciesPolicyRelateListenerArray) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
- func (i GetTlsCipherPoliciesPolicyRelateListenerArray) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
- type GetTlsCipherPoliciesPolicyRelateListenerArrayInput
- type GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
- func (GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ElementType() reflect.Type
- func (o GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) Index(i pulumi.IntInput) GetTlsCipherPoliciesPolicyRelateListenerOutput
- func (o GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
- func (o GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
- type GetTlsCipherPoliciesPolicyRelateListenerInput
- type GetTlsCipherPoliciesPolicyRelateListenerOutput
- func (GetTlsCipherPoliciesPolicyRelateListenerOutput) ElementType() reflect.Type
- func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) LoadBalancerId() pulumi.StringOutput
- func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) Port() pulumi.IntOutput
- func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) Protocol() pulumi.StringOutput
- func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) ToGetTlsCipherPoliciesPolicyRelateListenerOutput() GetTlsCipherPoliciesPolicyRelateListenerOutput
- func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerOutput
- type GetTlsCipherPoliciesResult
- type GetTlsCipherPoliciesResultOutput
- func (GetTlsCipherPoliciesResultOutput) ElementType() reflect.Type
- func (o GetTlsCipherPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetTlsCipherPoliciesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetTlsCipherPoliciesResultOutput) IncludeListener() pulumi.BoolPtrOutput
- func (o GetTlsCipherPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetTlsCipherPoliciesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetTlsCipherPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetTlsCipherPoliciesResultOutput) Policies() GetTlsCipherPoliciesPolicyArrayOutput
- func (o GetTlsCipherPoliciesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetTlsCipherPoliciesResultOutput) TlsCipherPolicyName() pulumi.StringPtrOutput
- func (o GetTlsCipherPoliciesResultOutput) ToGetTlsCipherPoliciesResultOutput() GetTlsCipherPoliciesResultOutput
- func (o GetTlsCipherPoliciesResultOutput) ToGetTlsCipherPoliciesResultOutputWithContext(ctx context.Context) GetTlsCipherPoliciesResultOutput
- type GetZonesArgs
- type GetZonesOutputArgs
- type GetZonesResult
- type GetZonesResultOutput
- func (o GetZonesResultOutput) AvailableSlbAddressIpVersion() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) AvailableSlbAddressType() pulumi.StringPtrOutput
- func (GetZonesResultOutput) ElementType() reflect.Type
- func (o GetZonesResultOutput) EnableDetails() pulumi.BoolPtrOutputdeprecated
- func (o GetZonesResultOutput) Id() pulumi.StringOutput
- func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetZonesResultOutput) MasterZoneId() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) SlaveZoneId() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
- func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
- type GetZonesZone
- type GetZonesZoneArgs
- type GetZonesZoneArray
- type GetZonesZoneArrayInput
- type GetZonesZoneArrayOutput
- func (GetZonesZoneArrayOutput) ElementType() reflect.Type
- func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
- type GetZonesZoneInput
- type GetZonesZoneOutput
- func (GetZonesZoneOutput) ElementType() reflect.Type
- func (o GetZonesZoneOutput) Id() pulumi.StringOutput
- func (o GetZonesZoneOutput) MasterZoneId() pulumi.StringOutput
- func (o GetZonesZoneOutput) SlaveZoneId() pulumi.StringOutput
- func (o GetZonesZoneOutput) SlbSlaveZoneIds() pulumi.StringArrayOutputdeprecated
- func (o GetZonesZoneOutput) SupportedResources() GetZonesZoneSupportedResourceArrayOutput
- func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
- func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
- type GetZonesZoneSupportedResource
- type GetZonesZoneSupportedResourceArgs
- func (GetZonesZoneSupportedResourceArgs) ElementType() reflect.Type
- func (i GetZonesZoneSupportedResourceArgs) ToGetZonesZoneSupportedResourceOutput() GetZonesZoneSupportedResourceOutput
- func (i GetZonesZoneSupportedResourceArgs) ToGetZonesZoneSupportedResourceOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceOutput
- type GetZonesZoneSupportedResourceArray
- func (GetZonesZoneSupportedResourceArray) ElementType() reflect.Type
- func (i GetZonesZoneSupportedResourceArray) ToGetZonesZoneSupportedResourceArrayOutput() GetZonesZoneSupportedResourceArrayOutput
- func (i GetZonesZoneSupportedResourceArray) ToGetZonesZoneSupportedResourceArrayOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceArrayOutput
- type GetZonesZoneSupportedResourceArrayInput
- type GetZonesZoneSupportedResourceArrayOutput
- func (GetZonesZoneSupportedResourceArrayOutput) ElementType() reflect.Type
- func (o GetZonesZoneSupportedResourceArrayOutput) Index(i pulumi.IntInput) GetZonesZoneSupportedResourceOutput
- func (o GetZonesZoneSupportedResourceArrayOutput) ToGetZonesZoneSupportedResourceArrayOutput() GetZonesZoneSupportedResourceArrayOutput
- func (o GetZonesZoneSupportedResourceArrayOutput) ToGetZonesZoneSupportedResourceArrayOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceArrayOutput
- type GetZonesZoneSupportedResourceInput
- type GetZonesZoneSupportedResourceOutput
- func (o GetZonesZoneSupportedResourceOutput) AddressIpVersion() pulumi.StringOutput
- func (o GetZonesZoneSupportedResourceOutput) AddressType() pulumi.StringOutput
- func (GetZonesZoneSupportedResourceOutput) ElementType() reflect.Type
- func (o GetZonesZoneSupportedResourceOutput) ToGetZonesZoneSupportedResourceOutput() GetZonesZoneSupportedResourceOutput
- func (o GetZonesZoneSupportedResourceOutput) ToGetZonesZoneSupportedResourceOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceOutput
- type Listener
- type ListenerArgs
- type ListenerArray
- type ListenerArrayInput
- type ListenerArrayOutput
- type ListenerInput
- type ListenerMap
- type ListenerMapInput
- type ListenerMapOutput
- type ListenerOutput
- func (o ListenerOutput) AclId() pulumi.StringPtrOutput
- func (o ListenerOutput) AclStatus() pulumi.StringPtrOutput
- func (o ListenerOutput) AclType() pulumi.StringPtrOutput
- func (o ListenerOutput) BackendPort() pulumi.IntPtrOutput
- func (o ListenerOutput) Bandwidth() pulumi.IntOutput
- func (o ListenerOutput) CaCertificateId() pulumi.StringPtrOutput
- func (o ListenerOutput) Cookie() pulumi.StringPtrOutput
- func (o ListenerOutput) CookieTimeout() pulumi.IntPtrOutput
- func (o ListenerOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (o ListenerOutput) Description() pulumi.StringPtrOutput
- func (ListenerOutput) ElementType() reflect.Type
- func (o ListenerOutput) EnableHttp2() pulumi.StringPtrOutput
- func (o ListenerOutput) EstablishedTimeout() pulumi.IntPtrOutput
- func (o ListenerOutput) ForwardPort() pulumi.IntPtrOutput
- func (o ListenerOutput) FrontendPort() pulumi.IntOutput
- func (o ListenerOutput) Gzip() pulumi.BoolPtrOutput
- func (o ListenerOutput) HealthCheck() pulumi.StringPtrOutput
- func (o ListenerOutput) HealthCheckConnectPort() pulumi.IntOutput
- func (o ListenerOutput) HealthCheckDomain() pulumi.StringPtrOutput
- func (o ListenerOutput) HealthCheckHttpCode() pulumi.StringOutput
- func (o ListenerOutput) HealthCheckInterval() pulumi.IntPtrOutput
- func (o ListenerOutput) HealthCheckMethod() pulumi.StringOutput
- func (o ListenerOutput) HealthCheckTimeout() pulumi.IntPtrOutput
- func (o ListenerOutput) HealthCheckType() pulumi.StringPtrOutput
- func (o ListenerOutput) HealthCheckUri() pulumi.StringPtrOutput
- func (o ListenerOutput) HealthyThreshold() pulumi.IntPtrOutput
- func (o ListenerOutput) IdleTimeout() pulumi.IntPtrOutput
- func (o ListenerOutput) LbPort() pulumi.IntPtrOutputdeprecated
- func (o ListenerOutput) LbProtocol() pulumi.StringPtrOutputdeprecated
- func (o ListenerOutput) ListenerForward() pulumi.StringOutput
- func (o ListenerOutput) LoadBalancerId() pulumi.StringOutput
- func (o ListenerOutput) MasterSlaveServerGroupId() pulumi.StringPtrOutput
- func (o ListenerOutput) PersistenceTimeout() pulumi.IntPtrOutput
- func (o ListenerOutput) Protocol() pulumi.StringOutput
- func (o ListenerOutput) ProxyProtocolV2Enabled() pulumi.BoolOutput
- func (o ListenerOutput) RequestTimeout() pulumi.IntPtrOutput
- func (o ListenerOutput) Scheduler() pulumi.StringPtrOutput
- func (o ListenerOutput) ServerCertificateId() pulumi.StringOutput
- func (o ListenerOutput) ServerGroupId() pulumi.StringPtrOutput
- func (o ListenerOutput) SslCertificateId() pulumi.StringOutputdeprecated
- func (o ListenerOutput) StickySession() pulumi.StringPtrOutput
- func (o ListenerOutput) StickySessionType() pulumi.StringPtrOutput
- func (o ListenerOutput) TlsCipherPolicy() pulumi.StringPtrOutput
- func (o ListenerOutput) ToListenerOutput() ListenerOutput
- func (o ListenerOutput) ToListenerOutputWithContext(ctx context.Context) ListenerOutput
- func (o ListenerOutput) UnhealthyThreshold() pulumi.IntPtrOutput
- func (o ListenerOutput) XForwardedFor() ListenerXForwardedForOutput
- type ListenerState
- type ListenerXForwardedFor
- type ListenerXForwardedForArgs
- func (ListenerXForwardedForArgs) ElementType() reflect.Type
- func (i ListenerXForwardedForArgs) ToListenerXForwardedForOutput() ListenerXForwardedForOutput
- func (i ListenerXForwardedForArgs) ToListenerXForwardedForOutputWithContext(ctx context.Context) ListenerXForwardedForOutput
- func (i ListenerXForwardedForArgs) ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput
- func (i ListenerXForwardedForArgs) ToListenerXForwardedForPtrOutputWithContext(ctx context.Context) ListenerXForwardedForPtrOutput
- type ListenerXForwardedForInput
- type ListenerXForwardedForOutput
- func (ListenerXForwardedForOutput) ElementType() reflect.Type
- func (o ListenerXForwardedForOutput) RetriveClientIp() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForOutput) RetriveSlbId() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForOutput) RetriveSlbIp() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForOutput) RetriveSlbProto() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForOutput) ToListenerXForwardedForOutput() ListenerXForwardedForOutput
- func (o ListenerXForwardedForOutput) ToListenerXForwardedForOutputWithContext(ctx context.Context) ListenerXForwardedForOutput
- func (o ListenerXForwardedForOutput) ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput
- func (o ListenerXForwardedForOutput) ToListenerXForwardedForPtrOutputWithContext(ctx context.Context) ListenerXForwardedForPtrOutput
- type ListenerXForwardedForPtrInput
- type ListenerXForwardedForPtrOutput
- func (o ListenerXForwardedForPtrOutput) Elem() ListenerXForwardedForOutput
- func (ListenerXForwardedForPtrOutput) ElementType() reflect.Type
- func (o ListenerXForwardedForPtrOutput) RetriveClientIp() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForPtrOutput) RetriveSlbId() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForPtrOutput) RetriveSlbIp() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForPtrOutput) RetriveSlbProto() pulumi.BoolPtrOutput
- func (o ListenerXForwardedForPtrOutput) ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput
- func (o ListenerXForwardedForPtrOutput) ToListenerXForwardedForPtrOutputWithContext(ctx context.Context) ListenerXForwardedForPtrOutput
- type LoadBalancerdeprecated
- 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 LoadBalancerOutput
- func (o LoadBalancerOutput) Address() pulumi.StringOutput
- func (o LoadBalancerOutput) AddressIpVersion() pulumi.StringPtrOutput
- func (o LoadBalancerOutput) AddressType() pulumi.StringOutput
- func (o LoadBalancerOutput) Bandwidth() pulumi.IntPtrOutput
- func (o LoadBalancerOutput) DeleteProtection() pulumi.StringPtrOutput
- func (LoadBalancerOutput) ElementType() reflect.Type
- func (o LoadBalancerOutput) InstanceChargeType() pulumi.StringOutput
- func (o LoadBalancerOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o LoadBalancerOutput) LoadBalancerName() pulumi.StringOutput
- func (o LoadBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
- func (o LoadBalancerOutput) MasterZoneId() pulumi.StringOutput
- func (o LoadBalancerOutput) ModificationProtectionReason() pulumi.StringPtrOutput
- func (o LoadBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
- func (o LoadBalancerOutput) Name() pulumi.StringOutputdeprecated
- func (o LoadBalancerOutput) PaymentType() pulumi.StringOutput
- func (o LoadBalancerOutput) Period() pulumi.IntPtrOutput
- func (o LoadBalancerOutput) ResourceGroupId() pulumi.StringOutput
- func (o LoadBalancerOutput) SlaveZoneId() pulumi.StringOutput
- func (o LoadBalancerOutput) Specification() pulumi.StringOutputdeprecated
- func (o LoadBalancerOutput) Status() pulumi.StringOutput
- func (o LoadBalancerOutput) Tags() pulumi.MapOutput
- func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput
- func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
- func (o LoadBalancerOutput) VswitchId() pulumi.StringPtrOutput
- type LoadBalancerState
- type MasterSlaveServerGroup
- type MasterSlaveServerGroupArgs
- type MasterSlaveServerGroupArray
- func (MasterSlaveServerGroupArray) ElementType() reflect.Type
- func (i MasterSlaveServerGroupArray) ToMasterSlaveServerGroupArrayOutput() MasterSlaveServerGroupArrayOutput
- func (i MasterSlaveServerGroupArray) ToMasterSlaveServerGroupArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupArrayOutput
- type MasterSlaveServerGroupArrayInput
- type MasterSlaveServerGroupArrayOutput
- func (MasterSlaveServerGroupArrayOutput) ElementType() reflect.Type
- func (o MasterSlaveServerGroupArrayOutput) Index(i pulumi.IntInput) MasterSlaveServerGroupOutput
- func (o MasterSlaveServerGroupArrayOutput) ToMasterSlaveServerGroupArrayOutput() MasterSlaveServerGroupArrayOutput
- func (o MasterSlaveServerGroupArrayOutput) ToMasterSlaveServerGroupArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupArrayOutput
- type MasterSlaveServerGroupInput
- type MasterSlaveServerGroupMap
- type MasterSlaveServerGroupMapInput
- type MasterSlaveServerGroupMapOutput
- func (MasterSlaveServerGroupMapOutput) ElementType() reflect.Type
- func (o MasterSlaveServerGroupMapOutput) MapIndex(k pulumi.StringInput) MasterSlaveServerGroupOutput
- func (o MasterSlaveServerGroupMapOutput) ToMasterSlaveServerGroupMapOutput() MasterSlaveServerGroupMapOutput
- func (o MasterSlaveServerGroupMapOutput) ToMasterSlaveServerGroupMapOutputWithContext(ctx context.Context) MasterSlaveServerGroupMapOutput
- type MasterSlaveServerGroupOutput
- func (o MasterSlaveServerGroupOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (MasterSlaveServerGroupOutput) ElementType() reflect.Type
- func (o MasterSlaveServerGroupOutput) LoadBalancerId() pulumi.StringOutput
- func (o MasterSlaveServerGroupOutput) Name() pulumi.StringOutput
- func (o MasterSlaveServerGroupOutput) Servers() MasterSlaveServerGroupServerArrayOutput
- func (o MasterSlaveServerGroupOutput) ToMasterSlaveServerGroupOutput() MasterSlaveServerGroupOutput
- func (o MasterSlaveServerGroupOutput) ToMasterSlaveServerGroupOutputWithContext(ctx context.Context) MasterSlaveServerGroupOutput
- type MasterSlaveServerGroupServer
- type MasterSlaveServerGroupServerArgs
- func (MasterSlaveServerGroupServerArgs) ElementType() reflect.Type
- func (i MasterSlaveServerGroupServerArgs) ToMasterSlaveServerGroupServerOutput() MasterSlaveServerGroupServerOutput
- func (i MasterSlaveServerGroupServerArgs) ToMasterSlaveServerGroupServerOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerOutput
- type MasterSlaveServerGroupServerArray
- func (MasterSlaveServerGroupServerArray) ElementType() reflect.Type
- func (i MasterSlaveServerGroupServerArray) ToMasterSlaveServerGroupServerArrayOutput() MasterSlaveServerGroupServerArrayOutput
- func (i MasterSlaveServerGroupServerArray) ToMasterSlaveServerGroupServerArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerArrayOutput
- type MasterSlaveServerGroupServerArrayInput
- type MasterSlaveServerGroupServerArrayOutput
- func (MasterSlaveServerGroupServerArrayOutput) ElementType() reflect.Type
- func (o MasterSlaveServerGroupServerArrayOutput) Index(i pulumi.IntInput) MasterSlaveServerGroupServerOutput
- func (o MasterSlaveServerGroupServerArrayOutput) ToMasterSlaveServerGroupServerArrayOutput() MasterSlaveServerGroupServerArrayOutput
- func (o MasterSlaveServerGroupServerArrayOutput) ToMasterSlaveServerGroupServerArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerArrayOutput
- type MasterSlaveServerGroupServerInput
- type MasterSlaveServerGroupServerOutput
- func (MasterSlaveServerGroupServerOutput) ElementType() reflect.Type
- func (o MasterSlaveServerGroupServerOutput) IsBackup() pulumi.IntPtrOutput
- func (o MasterSlaveServerGroupServerOutput) Port() pulumi.IntOutput
- func (o MasterSlaveServerGroupServerOutput) ServerId() pulumi.StringOutput
- func (o MasterSlaveServerGroupServerOutput) ServerType() pulumi.StringPtrOutput
- func (o MasterSlaveServerGroupServerOutput) ToMasterSlaveServerGroupServerOutput() MasterSlaveServerGroupServerOutput
- func (o MasterSlaveServerGroupServerOutput) ToMasterSlaveServerGroupServerOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerOutput
- func (o MasterSlaveServerGroupServerOutput) Type() pulumi.StringPtrOutput
- func (o MasterSlaveServerGroupServerOutput) Weight() pulumi.IntPtrOutput
- type MasterSlaveServerGroupState
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (o RuleOutput) Cookie() pulumi.StringPtrOutput
- func (o RuleOutput) CookieTimeout() pulumi.IntPtrOutput
- func (o RuleOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (o RuleOutput) Domain() pulumi.StringPtrOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) FrontendPort() pulumi.IntOutput
- func (o RuleOutput) HealthCheck() pulumi.StringPtrOutput
- func (o RuleOutput) HealthCheckConnectPort() pulumi.IntOutput
- func (o RuleOutput) HealthCheckDomain() pulumi.StringPtrOutput
- func (o RuleOutput) HealthCheckHttpCode() pulumi.StringPtrOutput
- func (o RuleOutput) HealthCheckInterval() pulumi.IntPtrOutput
- func (o RuleOutput) HealthCheckTimeout() pulumi.IntPtrOutput
- func (o RuleOutput) HealthCheckUri() pulumi.StringPtrOutput
- func (o RuleOutput) HealthyThreshold() pulumi.IntPtrOutput
- func (o RuleOutput) ListenerSync() pulumi.StringPtrOutput
- func (o RuleOutput) LoadBalancerId() pulumi.StringOutput
- func (o RuleOutput) Name() pulumi.StringOutput
- func (o RuleOutput) Scheduler() pulumi.StringPtrOutput
- func (o RuleOutput) ServerGroupId() pulumi.StringOutput
- func (o RuleOutput) StickySession() pulumi.StringPtrOutput
- func (o RuleOutput) StickySessionType() pulumi.StringPtrOutput
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- func (o RuleOutput) UnhealthyThreshold() pulumi.IntPtrOutput
- func (o RuleOutput) Url() pulumi.StringPtrOutput
- type RuleState
- type ServerCertificate
- type ServerCertificateArgs
- type ServerCertificateArray
- type ServerCertificateArrayInput
- type ServerCertificateArrayOutput
- func (ServerCertificateArrayOutput) ElementType() reflect.Type
- func (o ServerCertificateArrayOutput) Index(i pulumi.IntInput) ServerCertificateOutput
- func (o ServerCertificateArrayOutput) ToServerCertificateArrayOutput() ServerCertificateArrayOutput
- func (o ServerCertificateArrayOutput) ToServerCertificateArrayOutputWithContext(ctx context.Context) ServerCertificateArrayOutput
- type ServerCertificateInput
- type ServerCertificateMap
- type ServerCertificateMapInput
- type ServerCertificateMapOutput
- func (ServerCertificateMapOutput) ElementType() reflect.Type
- func (o ServerCertificateMapOutput) MapIndex(k pulumi.StringInput) ServerCertificateOutput
- func (o ServerCertificateMapOutput) ToServerCertificateMapOutput() ServerCertificateMapOutput
- func (o ServerCertificateMapOutput) ToServerCertificateMapOutputWithContext(ctx context.Context) ServerCertificateMapOutput
- type ServerCertificateOutput
- func (o ServerCertificateOutput) AlicloudCertifacteId() pulumi.StringPtrOutputdeprecated
- func (o ServerCertificateOutput) AlicloudCertifacteName() pulumi.StringPtrOutputdeprecated
- func (o ServerCertificateOutput) AlicloudCertificateId() pulumi.StringPtrOutput
- func (o ServerCertificateOutput) AlicloudCertificateName() pulumi.StringPtrOutput
- func (o ServerCertificateOutput) AlicloudCertificateRegionId() pulumi.StringPtrOutput
- func (ServerCertificateOutput) ElementType() reflect.Type
- func (o ServerCertificateOutput) Name() pulumi.StringOutput
- func (o ServerCertificateOutput) PrivateKey() pulumi.StringPtrOutput
- func (o ServerCertificateOutput) ResourceGroupId() pulumi.StringOutput
- func (o ServerCertificateOutput) ServerCertificate() pulumi.StringPtrOutput
- func (o ServerCertificateOutput) Tags() pulumi.MapOutput
- func (o ServerCertificateOutput) ToServerCertificateOutput() ServerCertificateOutput
- func (o ServerCertificateOutput) ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput
- type ServerCertificateState
- type ServerGroup
- type ServerGroupArgs
- type ServerGroupArray
- type ServerGroupArrayInput
- type ServerGroupArrayOutput
- func (ServerGroupArrayOutput) ElementType() reflect.Type
- func (o ServerGroupArrayOutput) Index(i pulumi.IntInput) ServerGroupOutput
- func (o ServerGroupArrayOutput) ToServerGroupArrayOutput() ServerGroupArrayOutput
- func (o ServerGroupArrayOutput) ToServerGroupArrayOutputWithContext(ctx context.Context) ServerGroupArrayOutput
- type ServerGroupInput
- type ServerGroupMap
- type ServerGroupMapInput
- type ServerGroupMapOutput
- func (ServerGroupMapOutput) ElementType() reflect.Type
- func (o ServerGroupMapOutput) MapIndex(k pulumi.StringInput) ServerGroupOutput
- func (o ServerGroupMapOutput) ToServerGroupMapOutput() ServerGroupMapOutput
- func (o ServerGroupMapOutput) ToServerGroupMapOutputWithContext(ctx context.Context) ServerGroupMapOutput
- type ServerGroupOutput
- func (o ServerGroupOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
- func (ServerGroupOutput) ElementType() reflect.Type
- func (o ServerGroupOutput) LoadBalancerId() pulumi.StringOutput
- func (o ServerGroupOutput) Name() pulumi.StringOutput
- func (o ServerGroupOutput) Servers() ServerGroupServerArrayOutputdeprecated
- func (o ServerGroupOutput) ToServerGroupOutput() ServerGroupOutput
- func (o ServerGroupOutput) ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput
- type ServerGroupServer
- type ServerGroupServerArgs
- type ServerGroupServerArray
- type ServerGroupServerArrayInput
- type ServerGroupServerArrayOutput
- func (ServerGroupServerArrayOutput) ElementType() reflect.Type
- func (o ServerGroupServerArrayOutput) Index(i pulumi.IntInput) ServerGroupServerOutput
- func (o ServerGroupServerArrayOutput) ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput
- func (o ServerGroupServerArrayOutput) ToServerGroupServerArrayOutputWithContext(ctx context.Context) ServerGroupServerArrayOutput
- type ServerGroupServerAttachment
- func (*ServerGroupServerAttachment) ElementType() reflect.Type
- func (i *ServerGroupServerAttachment) ToServerGroupServerAttachmentOutput() ServerGroupServerAttachmentOutput
- func (i *ServerGroupServerAttachment) ToServerGroupServerAttachmentOutputWithContext(ctx context.Context) ServerGroupServerAttachmentOutput
- type ServerGroupServerAttachmentArgs
- type ServerGroupServerAttachmentArray
- func (ServerGroupServerAttachmentArray) ElementType() reflect.Type
- func (i ServerGroupServerAttachmentArray) ToServerGroupServerAttachmentArrayOutput() ServerGroupServerAttachmentArrayOutput
- func (i ServerGroupServerAttachmentArray) ToServerGroupServerAttachmentArrayOutputWithContext(ctx context.Context) ServerGroupServerAttachmentArrayOutput
- type ServerGroupServerAttachmentArrayInput
- type ServerGroupServerAttachmentArrayOutput
- func (ServerGroupServerAttachmentArrayOutput) ElementType() reflect.Type
- func (o ServerGroupServerAttachmentArrayOutput) Index(i pulumi.IntInput) ServerGroupServerAttachmentOutput
- func (o ServerGroupServerAttachmentArrayOutput) ToServerGroupServerAttachmentArrayOutput() ServerGroupServerAttachmentArrayOutput
- func (o ServerGroupServerAttachmentArrayOutput) ToServerGroupServerAttachmentArrayOutputWithContext(ctx context.Context) ServerGroupServerAttachmentArrayOutput
- type ServerGroupServerAttachmentInput
- type ServerGroupServerAttachmentMap
- func (ServerGroupServerAttachmentMap) ElementType() reflect.Type
- func (i ServerGroupServerAttachmentMap) ToServerGroupServerAttachmentMapOutput() ServerGroupServerAttachmentMapOutput
- func (i ServerGroupServerAttachmentMap) ToServerGroupServerAttachmentMapOutputWithContext(ctx context.Context) ServerGroupServerAttachmentMapOutput
- type ServerGroupServerAttachmentMapInput
- type ServerGroupServerAttachmentMapOutput
- func (ServerGroupServerAttachmentMapOutput) ElementType() reflect.Type
- func (o ServerGroupServerAttachmentMapOutput) MapIndex(k pulumi.StringInput) ServerGroupServerAttachmentOutput
- func (o ServerGroupServerAttachmentMapOutput) ToServerGroupServerAttachmentMapOutput() ServerGroupServerAttachmentMapOutput
- func (o ServerGroupServerAttachmentMapOutput) ToServerGroupServerAttachmentMapOutputWithContext(ctx context.Context) ServerGroupServerAttachmentMapOutput
- type ServerGroupServerAttachmentOutput
- func (o ServerGroupServerAttachmentOutput) Description() pulumi.StringOutput
- func (ServerGroupServerAttachmentOutput) ElementType() reflect.Type
- func (o ServerGroupServerAttachmentOutput) Port() pulumi.IntOutput
- func (o ServerGroupServerAttachmentOutput) ServerGroupId() pulumi.StringOutput
- func (o ServerGroupServerAttachmentOutput) ServerId() pulumi.StringOutput
- func (o ServerGroupServerAttachmentOutput) ToServerGroupServerAttachmentOutput() ServerGroupServerAttachmentOutput
- func (o ServerGroupServerAttachmentOutput) ToServerGroupServerAttachmentOutputWithContext(ctx context.Context) ServerGroupServerAttachmentOutput
- func (o ServerGroupServerAttachmentOutput) Type() pulumi.StringOutput
- func (o ServerGroupServerAttachmentOutput) Weight() pulumi.IntOutput
- type ServerGroupServerAttachmentState
- type ServerGroupServerInput
- type ServerGroupServerOutput
- func (ServerGroupServerOutput) ElementType() reflect.Type
- func (o ServerGroupServerOutput) Port() pulumi.IntOutput
- func (o ServerGroupServerOutput) ServerIds() pulumi.StringArrayOutput
- func (o ServerGroupServerOutput) ToServerGroupServerOutput() ServerGroupServerOutput
- func (o ServerGroupServerOutput) ToServerGroupServerOutputWithContext(ctx context.Context) ServerGroupServerOutput
- func (o ServerGroupServerOutput) Type() pulumi.StringPtrOutput
- func (o ServerGroupServerOutput) Weight() pulumi.IntPtrOutput
- type ServerGroupState
- type TlsCipherPolicy
- type TlsCipherPolicyArgs
- type TlsCipherPolicyArray
- type TlsCipherPolicyArrayInput
- type TlsCipherPolicyArrayOutput
- func (TlsCipherPolicyArrayOutput) ElementType() reflect.Type
- func (o TlsCipherPolicyArrayOutput) Index(i pulumi.IntInput) TlsCipherPolicyOutput
- func (o TlsCipherPolicyArrayOutput) ToTlsCipherPolicyArrayOutput() TlsCipherPolicyArrayOutput
- func (o TlsCipherPolicyArrayOutput) ToTlsCipherPolicyArrayOutputWithContext(ctx context.Context) TlsCipherPolicyArrayOutput
- type TlsCipherPolicyInput
- type TlsCipherPolicyMap
- type TlsCipherPolicyMapInput
- type TlsCipherPolicyMapOutput
- func (TlsCipherPolicyMapOutput) ElementType() reflect.Type
- func (o TlsCipherPolicyMapOutput) MapIndex(k pulumi.StringInput) TlsCipherPolicyOutput
- func (o TlsCipherPolicyMapOutput) ToTlsCipherPolicyMapOutput() TlsCipherPolicyMapOutput
- func (o TlsCipherPolicyMapOutput) ToTlsCipherPolicyMapOutputWithContext(ctx context.Context) TlsCipherPolicyMapOutput
- type TlsCipherPolicyOutput
- func (o TlsCipherPolicyOutput) Ciphers() pulumi.StringArrayOutput
- func (TlsCipherPolicyOutput) ElementType() reflect.Type
- func (o TlsCipherPolicyOutput) Status() pulumi.StringOutput
- func (o TlsCipherPolicyOutput) TlsCipherPolicyName() pulumi.StringOutput
- func (o TlsCipherPolicyOutput) TlsVersions() pulumi.StringArrayOutput
- func (o TlsCipherPolicyOutput) ToTlsCipherPolicyOutput() TlsCipherPolicyOutput
- func (o TlsCipherPolicyOutput) ToTlsCipherPolicyOutputWithContext(ctx context.Context) TlsCipherPolicyOutput
- type TlsCipherPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct { pulumi.CustomResourceState // A list of entry (CIDR blocks) to be added. It contains two sub-fields as `Entry Block` follows. **NOTE:** "Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'.", // // Deprecated: Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'. EntryLists AclEntryListArrayOutput `pulumi:"entryLists"` // The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: "ipv4". IpVersion pulumi.StringPtrOutput `pulumi:"ipVersion"` // Name of the access control list. Name pulumi.StringOutput `pulumi:"name"` // Resource group ID. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
An access control list contains multiple IP addresses or CIDR blocks. The access control list can help you to define multiple instance listening dimension, and to meet the multiple usage for single access control list.
Server Load Balancer allows you to configure access control for listeners. You can configure different whitelists or blacklists for different listeners.
You can configure access control when you create a listener or change access control configuration after a listener is created.
> **NOTE:** One access control list can be attached to many Listeners in different load balancer as whitelists or blacklists.
> **NOTE:** The maximum number of access control lists per region is 50.
> **NOTE:** The maximum number of IP addresses added each time is 50.
> **NOTE:** The maximum number of entries per access control list is 300.
> **NOTE:** The maximum number of listeners that an access control list can be added to is 50.
For information about slb and how to use it, see [What is Server Load Balancer](https://www.alibabacloud.com/help/doc-detail/27539.htm).
For information about acl and how to use it, see [Configure an access control list](https://www.alibabacloud.com/help/doc-detail/70015.htm).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewAcl(ctx, "acl", &slb.AclArgs{ IpVersion: pulumi.String("ipv4"), }) if err != nil { return err } return nil }) }
``` ## Entry Block
The entry mapping supports the following:
* `entry` - (Optional, Computed) The CIDR blocks. * `comment` - (Optional, Computed) The comment of the entry.
## Import
Server Load balancer access control list can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/acl:Acl example acl-abc123456
```
func GetAcl ¶
func GetAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)
GetAcl gets an existing Acl 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 NewAcl ¶
func NewAcl(ctx *pulumi.Context, name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)
NewAcl registers a new resource with the given unique name, arguments, and options.
func (*Acl) ElementType ¶
func (*Acl) ToAclOutput ¶
type AclArgs ¶
type AclArgs struct { // A list of entry (CIDR blocks) to be added. It contains two sub-fields as `Entry Block` follows. **NOTE:** "Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'.", // // Deprecated: Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'. EntryLists AclEntryListArrayInput // The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: "ipv4". IpVersion pulumi.StringPtrInput // Name of the access control list. Name pulumi.StringPtrInput // Resource group ID. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a Acl resource.
func (AclArgs) ElementType ¶
type AclArray ¶
type AclArray []AclInput
func (AclArray) ElementType ¶
func (AclArray) ToAclArrayOutput ¶
func (i AclArray) ToAclArrayOutput() AclArrayOutput
func (AclArray) ToAclArrayOutputWithContext ¶
func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclArrayInput ¶
type AclArrayInput interface { pulumi.Input ToAclArrayOutput() AclArrayOutput ToAclArrayOutputWithContext(context.Context) AclArrayOutput }
AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:
AclArray{ AclArgs{...} }
type AclArrayOutput ¶
type AclArrayOutput struct{ *pulumi.OutputState }
func (AclArrayOutput) ElementType ¶
func (AclArrayOutput) ElementType() reflect.Type
func (AclArrayOutput) ToAclArrayOutput ¶
func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput
func (AclArrayOutput) ToAclArrayOutputWithContext ¶
func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclEntryAttachment ¶ added in v3.20.0
type AclEntryAttachment struct { pulumi.CustomResourceState // The ID of the Acl. AclId pulumi.StringOutput `pulumi:"aclId"` // The comment of the entry. Comment pulumi.StringPtrOutput `pulumi:"comment"` // The CIDR blocks. Entry pulumi.StringOutput `pulumi:"entry"` }
> **NOTE:** Available in v1.162.0+.
> **NOTE:** The maximum number of entries per acl is 300.
For information about acl entry attachment and how to use it, see [Configure an acl entry](https://www.alibabacloud.com/help/en/doc-detail/70023.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { attachmentAcl, err := slb.NewAcl(ctx, "attachmentAcl", &slb.AclArgs{ IpVersion: pulumi.String("ipv4"), }) if err != nil { return err } _, err = slb.NewAclEntryAttachment(ctx, "attachmentAclEntryAttachment", &slb.AclEntryAttachmentArgs{ AclId: attachmentAcl.ID(), Entry: pulumi.String("168.10.10.0/24"), Comment: pulumi.String("second"), }) if err != nil { return err } return nil }) }
```
## Import
Acl entry attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/aclEntryAttachment:AclEntryAttachment example <acl_id>:<entry>
```
func GetAclEntryAttachment ¶ added in v3.20.0
func GetAclEntryAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclEntryAttachmentState, opts ...pulumi.ResourceOption) (*AclEntryAttachment, error)
GetAclEntryAttachment gets an existing AclEntryAttachment 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 NewAclEntryAttachment ¶ added in v3.20.0
func NewAclEntryAttachment(ctx *pulumi.Context, name string, args *AclEntryAttachmentArgs, opts ...pulumi.ResourceOption) (*AclEntryAttachment, error)
NewAclEntryAttachment registers a new resource with the given unique name, arguments, and options.
func (*AclEntryAttachment) ElementType ¶ added in v3.20.0
func (*AclEntryAttachment) ElementType() reflect.Type
func (*AclEntryAttachment) ToAclEntryAttachmentOutput ¶ added in v3.20.0
func (i *AclEntryAttachment) ToAclEntryAttachmentOutput() AclEntryAttachmentOutput
func (*AclEntryAttachment) ToAclEntryAttachmentOutputWithContext ¶ added in v3.20.0
func (i *AclEntryAttachment) ToAclEntryAttachmentOutputWithContext(ctx context.Context) AclEntryAttachmentOutput
type AclEntryAttachmentArgs ¶ added in v3.20.0
type AclEntryAttachmentArgs struct { // The ID of the Acl. AclId pulumi.StringInput // The comment of the entry. Comment pulumi.StringPtrInput // The CIDR blocks. Entry pulumi.StringInput }
The set of arguments for constructing a AclEntryAttachment resource.
func (AclEntryAttachmentArgs) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentArgs) ElementType() reflect.Type
type AclEntryAttachmentArray ¶ added in v3.20.0
type AclEntryAttachmentArray []AclEntryAttachmentInput
func (AclEntryAttachmentArray) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentArray) ElementType() reflect.Type
func (AclEntryAttachmentArray) ToAclEntryAttachmentArrayOutput ¶ added in v3.20.0
func (i AclEntryAttachmentArray) ToAclEntryAttachmentArrayOutput() AclEntryAttachmentArrayOutput
func (AclEntryAttachmentArray) ToAclEntryAttachmentArrayOutputWithContext ¶ added in v3.20.0
func (i AclEntryAttachmentArray) ToAclEntryAttachmentArrayOutputWithContext(ctx context.Context) AclEntryAttachmentArrayOutput
type AclEntryAttachmentArrayInput ¶ added in v3.20.0
type AclEntryAttachmentArrayInput interface { pulumi.Input ToAclEntryAttachmentArrayOutput() AclEntryAttachmentArrayOutput ToAclEntryAttachmentArrayOutputWithContext(context.Context) AclEntryAttachmentArrayOutput }
AclEntryAttachmentArrayInput is an input type that accepts AclEntryAttachmentArray and AclEntryAttachmentArrayOutput values. You can construct a concrete instance of `AclEntryAttachmentArrayInput` via:
AclEntryAttachmentArray{ AclEntryAttachmentArgs{...} }
type AclEntryAttachmentArrayOutput ¶ added in v3.20.0
type AclEntryAttachmentArrayOutput struct{ *pulumi.OutputState }
func (AclEntryAttachmentArrayOutput) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentArrayOutput) ElementType() reflect.Type
func (AclEntryAttachmentArrayOutput) Index ¶ added in v3.20.0
func (o AclEntryAttachmentArrayOutput) Index(i pulumi.IntInput) AclEntryAttachmentOutput
func (AclEntryAttachmentArrayOutput) ToAclEntryAttachmentArrayOutput ¶ added in v3.20.0
func (o AclEntryAttachmentArrayOutput) ToAclEntryAttachmentArrayOutput() AclEntryAttachmentArrayOutput
func (AclEntryAttachmentArrayOutput) ToAclEntryAttachmentArrayOutputWithContext ¶ added in v3.20.0
func (o AclEntryAttachmentArrayOutput) ToAclEntryAttachmentArrayOutputWithContext(ctx context.Context) AclEntryAttachmentArrayOutput
type AclEntryAttachmentInput ¶ added in v3.20.0
type AclEntryAttachmentInput interface { pulumi.Input ToAclEntryAttachmentOutput() AclEntryAttachmentOutput ToAclEntryAttachmentOutputWithContext(ctx context.Context) AclEntryAttachmentOutput }
type AclEntryAttachmentMap ¶ added in v3.20.0
type AclEntryAttachmentMap map[string]AclEntryAttachmentInput
func (AclEntryAttachmentMap) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentMap) ElementType() reflect.Type
func (AclEntryAttachmentMap) ToAclEntryAttachmentMapOutput ¶ added in v3.20.0
func (i AclEntryAttachmentMap) ToAclEntryAttachmentMapOutput() AclEntryAttachmentMapOutput
func (AclEntryAttachmentMap) ToAclEntryAttachmentMapOutputWithContext ¶ added in v3.20.0
func (i AclEntryAttachmentMap) ToAclEntryAttachmentMapOutputWithContext(ctx context.Context) AclEntryAttachmentMapOutput
type AclEntryAttachmentMapInput ¶ added in v3.20.0
type AclEntryAttachmentMapInput interface { pulumi.Input ToAclEntryAttachmentMapOutput() AclEntryAttachmentMapOutput ToAclEntryAttachmentMapOutputWithContext(context.Context) AclEntryAttachmentMapOutput }
AclEntryAttachmentMapInput is an input type that accepts AclEntryAttachmentMap and AclEntryAttachmentMapOutput values. You can construct a concrete instance of `AclEntryAttachmentMapInput` via:
AclEntryAttachmentMap{ "key": AclEntryAttachmentArgs{...} }
type AclEntryAttachmentMapOutput ¶ added in v3.20.0
type AclEntryAttachmentMapOutput struct{ *pulumi.OutputState }
func (AclEntryAttachmentMapOutput) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentMapOutput) ElementType() reflect.Type
func (AclEntryAttachmentMapOutput) MapIndex ¶ added in v3.20.0
func (o AclEntryAttachmentMapOutput) MapIndex(k pulumi.StringInput) AclEntryAttachmentOutput
func (AclEntryAttachmentMapOutput) ToAclEntryAttachmentMapOutput ¶ added in v3.20.0
func (o AclEntryAttachmentMapOutput) ToAclEntryAttachmentMapOutput() AclEntryAttachmentMapOutput
func (AclEntryAttachmentMapOutput) ToAclEntryAttachmentMapOutputWithContext ¶ added in v3.20.0
func (o AclEntryAttachmentMapOutput) ToAclEntryAttachmentMapOutputWithContext(ctx context.Context) AclEntryAttachmentMapOutput
type AclEntryAttachmentOutput ¶ added in v3.20.0
type AclEntryAttachmentOutput struct{ *pulumi.OutputState }
func (AclEntryAttachmentOutput) AclId ¶ added in v3.27.0
func (o AclEntryAttachmentOutput) AclId() pulumi.StringOutput
The ID of the Acl.
func (AclEntryAttachmentOutput) Comment ¶ added in v3.27.0
func (o AclEntryAttachmentOutput) Comment() pulumi.StringPtrOutput
The comment of the entry.
func (AclEntryAttachmentOutput) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentOutput) ElementType() reflect.Type
func (AclEntryAttachmentOutput) Entry ¶ added in v3.27.0
func (o AclEntryAttachmentOutput) Entry() pulumi.StringOutput
The CIDR blocks.
func (AclEntryAttachmentOutput) ToAclEntryAttachmentOutput ¶ added in v3.20.0
func (o AclEntryAttachmentOutput) ToAclEntryAttachmentOutput() AclEntryAttachmentOutput
func (AclEntryAttachmentOutput) ToAclEntryAttachmentOutputWithContext ¶ added in v3.20.0
func (o AclEntryAttachmentOutput) ToAclEntryAttachmentOutputWithContext(ctx context.Context) AclEntryAttachmentOutput
type AclEntryAttachmentState ¶ added in v3.20.0
type AclEntryAttachmentState struct { // The ID of the Acl. AclId pulumi.StringPtrInput // The comment of the entry. Comment pulumi.StringPtrInput // The CIDR blocks. Entry pulumi.StringPtrInput }
func (AclEntryAttachmentState) ElementType ¶ added in v3.20.0
func (AclEntryAttachmentState) ElementType() reflect.Type
type AclEntryList ¶
type AclEntryListArgs ¶
type AclEntryListArgs struct { Comment pulumi.StringPtrInput `pulumi:"comment"` Entry pulumi.StringPtrInput `pulumi:"entry"` }
func (AclEntryListArgs) ElementType ¶
func (AclEntryListArgs) ElementType() reflect.Type
func (AclEntryListArgs) ToAclEntryListOutput ¶
func (i AclEntryListArgs) ToAclEntryListOutput() AclEntryListOutput
func (AclEntryListArgs) ToAclEntryListOutputWithContext ¶
func (i AclEntryListArgs) ToAclEntryListOutputWithContext(ctx context.Context) AclEntryListOutput
type AclEntryListArray ¶
type AclEntryListArray []AclEntryListInput
func (AclEntryListArray) ElementType ¶
func (AclEntryListArray) ElementType() reflect.Type
func (AclEntryListArray) ToAclEntryListArrayOutput ¶
func (i AclEntryListArray) ToAclEntryListArrayOutput() AclEntryListArrayOutput
func (AclEntryListArray) ToAclEntryListArrayOutputWithContext ¶
func (i AclEntryListArray) ToAclEntryListArrayOutputWithContext(ctx context.Context) AclEntryListArrayOutput
type AclEntryListArrayInput ¶
type AclEntryListArrayInput interface { pulumi.Input ToAclEntryListArrayOutput() AclEntryListArrayOutput ToAclEntryListArrayOutputWithContext(context.Context) AclEntryListArrayOutput }
AclEntryListArrayInput is an input type that accepts AclEntryListArray and AclEntryListArrayOutput values. You can construct a concrete instance of `AclEntryListArrayInput` via:
AclEntryListArray{ AclEntryListArgs{...} }
type AclEntryListArrayOutput ¶
type AclEntryListArrayOutput struct{ *pulumi.OutputState }
func (AclEntryListArrayOutput) ElementType ¶
func (AclEntryListArrayOutput) ElementType() reflect.Type
func (AclEntryListArrayOutput) Index ¶
func (o AclEntryListArrayOutput) Index(i pulumi.IntInput) AclEntryListOutput
func (AclEntryListArrayOutput) ToAclEntryListArrayOutput ¶
func (o AclEntryListArrayOutput) ToAclEntryListArrayOutput() AclEntryListArrayOutput
func (AclEntryListArrayOutput) ToAclEntryListArrayOutputWithContext ¶
func (o AclEntryListArrayOutput) ToAclEntryListArrayOutputWithContext(ctx context.Context) AclEntryListArrayOutput
type AclEntryListInput ¶
type AclEntryListInput interface { pulumi.Input ToAclEntryListOutput() AclEntryListOutput ToAclEntryListOutputWithContext(context.Context) AclEntryListOutput }
AclEntryListInput is an input type that accepts AclEntryListArgs and AclEntryListOutput values. You can construct a concrete instance of `AclEntryListInput` via:
AclEntryListArgs{...}
type AclEntryListOutput ¶
type AclEntryListOutput struct{ *pulumi.OutputState }
func (AclEntryListOutput) Comment ¶
func (o AclEntryListOutput) Comment() pulumi.StringPtrOutput
func (AclEntryListOutput) ElementType ¶
func (AclEntryListOutput) ElementType() reflect.Type
func (AclEntryListOutput) Entry ¶
func (o AclEntryListOutput) Entry() pulumi.StringPtrOutput
func (AclEntryListOutput) ToAclEntryListOutput ¶
func (o AclEntryListOutput) ToAclEntryListOutput() AclEntryListOutput
func (AclEntryListOutput) ToAclEntryListOutputWithContext ¶
func (o AclEntryListOutput) ToAclEntryListOutputWithContext(ctx context.Context) AclEntryListOutput
type AclMap ¶
func (AclMap) ElementType ¶
func (AclMap) ToAclMapOutput ¶
func (i AclMap) ToAclMapOutput() AclMapOutput
func (AclMap) ToAclMapOutputWithContext ¶
func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclMapInput ¶
type AclMapInput interface { pulumi.Input ToAclMapOutput() AclMapOutput ToAclMapOutputWithContext(context.Context) AclMapOutput }
AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:
AclMap{ "key": AclArgs{...} }
type AclMapOutput ¶
type AclMapOutput struct{ *pulumi.OutputState }
func (AclMapOutput) ElementType ¶
func (AclMapOutput) ElementType() reflect.Type
func (AclMapOutput) MapIndex ¶
func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput
func (AclMapOutput) ToAclMapOutput ¶
func (o AclMapOutput) ToAclMapOutput() AclMapOutput
func (AclMapOutput) ToAclMapOutputWithContext ¶
func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclOutput ¶
type AclOutput struct{ *pulumi.OutputState }
func (AclOutput) ElementType ¶
func (AclOutput) EntryLists
deprecated
added in
v3.27.0
func (o AclOutput) EntryLists() AclEntryListArrayOutput
A list of entry (CIDR blocks) to be added. It contains two sub-fields as `Entry Block` follows. **NOTE:** "Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'.",
Deprecated: Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'.
func (AclOutput) IpVersion ¶ added in v3.27.0
func (o AclOutput) IpVersion() pulumi.StringPtrOutput
The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: "ipv4".
func (AclOutput) Name ¶ added in v3.27.0
func (o AclOutput) Name() pulumi.StringOutput
Name of the access control list.
func (AclOutput) ResourceGroupId ¶ added in v3.27.0
func (o AclOutput) ResourceGroupId() pulumi.StringOutput
Resource group ID.
func (AclOutput) ToAclOutput ¶
type AclState ¶
type AclState struct { // A list of entry (CIDR blocks) to be added. It contains two sub-fields as `Entry Block` follows. **NOTE:** "Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'.", // // Deprecated: Field 'entry_list' has been deprecated from provider version 1.162.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_acl_entry_attachment'. EntryLists AclEntryListArrayInput // The IP Version of access control list is the type of its entry (IP addresses or CIDR blocks). It values ipv4/ipv6. Our plugin provides a default ip_version: "ipv4". IpVersion pulumi.StringPtrInput // Name of the access control list. Name pulumi.StringPtrInput // Resource group ID. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (AclState) ElementType ¶
type ApplicationLoadBalancer ¶ added in v3.3.0
type ApplicationLoadBalancer struct { pulumi.CustomResourceState // Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the corresponding switch. Address pulumi.StringOutput `pulumi:"address"` // The IP version of the SLB instance to be created, which can be set to `ipv4` or `ipv6` . Default to `ipv4`. Now, only internet instance support `ipv6` address. AddressIpVersion pulumi.StringPtrOutput `pulumi:"addressIpVersion"` // The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be `intranet`. // - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. // - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests. AddressType pulumi.StringOutput `pulumi:"addressType"` // Valid value is between 1 and 5120, If argument `internetChargeType` is `PayByTraffic`, then this value will be ignored. Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"` // Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function. DeleteProtection pulumi.StringPtrOutput `pulumi:"deleteProtection"` // Support `PayBySpec` (default) and `PayByCLCU`, This parameter takes effect when the value of **payment_type** (instance payment mode) is **PayAsYouGo** (pay-as-you-go). InstanceChargeType pulumi.StringOutput `pulumi:"instanceChargeType"` // Valid values are `PayByBandwidth`, `PayByTraffic`. If this value is `PayByBandwidth`, then argument `addressType` must be `internet`. Default is `PayByTraffic`. If load balancer launched in VPC, this value must be `PayByTraffic`. Before version 1.10.1, the valid values are `paybybandwidth` and `paybytraffic`. InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"` LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. // Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, // `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`. LoadBalancerSpec pulumi.StringOutput `pulumi:"loadBalancerSpec"` // The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the [DescribeZone](https://help.aliyun.com/document_detail/27585.htm) API. MasterZoneId pulumi.StringOutput `pulumi:"masterZoneId"` // The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`. ModificationProtectionReason pulumi.StringPtrOutput `pulumi:"modificationProtectionReason"` // The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value is `NonProtection`. ModificationProtectionStatus pulumi.StringOutput `pulumi:"modificationProtectionStatus"` // Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead Name pulumi.StringOutput `pulumi:"name"` // The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The duration that you will buy the resource, in month. It is valid when `PaymentType` is `Subscription`. Default to 1. Valid values: [1-9, 12, 24, 36]. This attribute is only used to create `Subscription` instance or modify the `PayAsYouGo` instance to `Subscription`. Once effect, it will not be modified that means running `pulumi up` will not affect the resource. Period pulumi.IntPtrOutput `pulumi:"period"` // The id of resource group which the SLB belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. SlaveZoneId pulumi.StringOutput `pulumi:"slaveZoneId"` // Field `specification` has been deprecated from provider version 1.123.1 New field `loadBalancerSpec` instead. // // Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead Specification pulumi.StringOutput `pulumi:"specification"` // The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance. Tags pulumi.MapOutput `pulumi:"tags"` // The VSwitch ID to launch in. **Note:** Required for a VPC SLB. If `addressType` is internet, it will be ignored. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` }
## Import
Load balancer can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/applicationLoadBalancer:ApplicationLoadBalancer example lb-abc123456
```
func GetApplicationLoadBalancer ¶ added in v3.3.0
func GetApplicationLoadBalancer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApplicationLoadBalancerState, opts ...pulumi.ResourceOption) (*ApplicationLoadBalancer, error)
GetApplicationLoadBalancer gets an existing ApplicationLoadBalancer 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 NewApplicationLoadBalancer ¶ added in v3.3.0
func NewApplicationLoadBalancer(ctx *pulumi.Context, name string, args *ApplicationLoadBalancerArgs, opts ...pulumi.ResourceOption) (*ApplicationLoadBalancer, error)
NewApplicationLoadBalancer registers a new resource with the given unique name, arguments, and options.
func (*ApplicationLoadBalancer) ElementType ¶ added in v3.3.0
func (*ApplicationLoadBalancer) ElementType() reflect.Type
func (*ApplicationLoadBalancer) ToApplicationLoadBalancerOutput ¶ added in v3.3.0
func (i *ApplicationLoadBalancer) ToApplicationLoadBalancerOutput() ApplicationLoadBalancerOutput
func (*ApplicationLoadBalancer) ToApplicationLoadBalancerOutputWithContext ¶ added in v3.3.0
func (i *ApplicationLoadBalancer) ToApplicationLoadBalancerOutputWithContext(ctx context.Context) ApplicationLoadBalancerOutput
type ApplicationLoadBalancerArgs ¶ added in v3.3.0
type ApplicationLoadBalancerArgs struct { // Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the corresponding switch. Address pulumi.StringPtrInput // The IP version of the SLB instance to be created, which can be set to `ipv4` or `ipv6` . Default to `ipv4`. Now, only internet instance support `ipv6` address. AddressIpVersion pulumi.StringPtrInput // The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be `intranet`. // - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. // - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests. AddressType pulumi.StringPtrInput // Valid value is between 1 and 5120, If argument `internetChargeType` is `PayByTraffic`, then this value will be ignored. Bandwidth pulumi.IntPtrInput // Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function. DeleteProtection pulumi.StringPtrInput // Support `PayBySpec` (default) and `PayByCLCU`, This parameter takes effect when the value of **payment_type** (instance payment mode) is **PayAsYouGo** (pay-as-you-go). InstanceChargeType pulumi.StringPtrInput // Valid values are `PayByBandwidth`, `PayByTraffic`. If this value is `PayByBandwidth`, then argument `addressType` must be `internet`. Default is `PayByTraffic`. If load balancer launched in VPC, this value must be `PayByTraffic`. Before version 1.10.1, the valid values are `paybybandwidth` and `paybytraffic`. InternetChargeType pulumi.StringPtrInput LoadBalancerName pulumi.StringPtrInput // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. // Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, // `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`. LoadBalancerSpec pulumi.StringPtrInput // The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the [DescribeZone](https://help.aliyun.com/document_detail/27585.htm) API. MasterZoneId pulumi.StringPtrInput // The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`. ModificationProtectionReason pulumi.StringPtrInput // The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value is `NonProtection`. ModificationProtectionStatus pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead Name pulumi.StringPtrInput // The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`. PaymentType pulumi.StringPtrInput // The duration that you will buy the resource, in month. It is valid when `PaymentType` is `Subscription`. Default to 1. Valid values: [1-9, 12, 24, 36]. This attribute is only used to create `Subscription` instance or modify the `PayAsYouGo` instance to `Subscription`. Once effect, it will not be modified that means running `pulumi up` will not affect the resource. Period pulumi.IntPtrInput // The id of resource group which the SLB belongs. ResourceGroupId pulumi.StringPtrInput // The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. SlaveZoneId pulumi.StringPtrInput // Field `specification` has been deprecated from provider version 1.123.1 New field `loadBalancerSpec` instead. // // Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead Specification pulumi.StringPtrInput // The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance. Tags pulumi.MapInput // The VSwitch ID to launch in. **Note:** Required for a VPC SLB. If `addressType` is internet, it will be ignored. VswitchId pulumi.StringPtrInput }
The set of arguments for constructing a ApplicationLoadBalancer resource.
func (ApplicationLoadBalancerArgs) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerArgs) ElementType() reflect.Type
type ApplicationLoadBalancerArray ¶ added in v3.3.0
type ApplicationLoadBalancerArray []ApplicationLoadBalancerInput
func (ApplicationLoadBalancerArray) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerArray) ElementType() reflect.Type
func (ApplicationLoadBalancerArray) ToApplicationLoadBalancerArrayOutput ¶ added in v3.3.0
func (i ApplicationLoadBalancerArray) ToApplicationLoadBalancerArrayOutput() ApplicationLoadBalancerArrayOutput
func (ApplicationLoadBalancerArray) ToApplicationLoadBalancerArrayOutputWithContext ¶ added in v3.3.0
func (i ApplicationLoadBalancerArray) ToApplicationLoadBalancerArrayOutputWithContext(ctx context.Context) ApplicationLoadBalancerArrayOutput
type ApplicationLoadBalancerArrayInput ¶ added in v3.3.0
type ApplicationLoadBalancerArrayInput interface { pulumi.Input ToApplicationLoadBalancerArrayOutput() ApplicationLoadBalancerArrayOutput ToApplicationLoadBalancerArrayOutputWithContext(context.Context) ApplicationLoadBalancerArrayOutput }
ApplicationLoadBalancerArrayInput is an input type that accepts ApplicationLoadBalancerArray and ApplicationLoadBalancerArrayOutput values. You can construct a concrete instance of `ApplicationLoadBalancerArrayInput` via:
ApplicationLoadBalancerArray{ ApplicationLoadBalancerArgs{...} }
type ApplicationLoadBalancerArrayOutput ¶ added in v3.3.0
type ApplicationLoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (ApplicationLoadBalancerArrayOutput) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerArrayOutput) ElementType() reflect.Type
func (ApplicationLoadBalancerArrayOutput) Index ¶ added in v3.3.0
func (o ApplicationLoadBalancerArrayOutput) Index(i pulumi.IntInput) ApplicationLoadBalancerOutput
func (ApplicationLoadBalancerArrayOutput) ToApplicationLoadBalancerArrayOutput ¶ added in v3.3.0
func (o ApplicationLoadBalancerArrayOutput) ToApplicationLoadBalancerArrayOutput() ApplicationLoadBalancerArrayOutput
func (ApplicationLoadBalancerArrayOutput) ToApplicationLoadBalancerArrayOutputWithContext ¶ added in v3.3.0
func (o ApplicationLoadBalancerArrayOutput) ToApplicationLoadBalancerArrayOutputWithContext(ctx context.Context) ApplicationLoadBalancerArrayOutput
type ApplicationLoadBalancerInput ¶ added in v3.3.0
type ApplicationLoadBalancerInput interface { pulumi.Input ToApplicationLoadBalancerOutput() ApplicationLoadBalancerOutput ToApplicationLoadBalancerOutputWithContext(ctx context.Context) ApplicationLoadBalancerOutput }
type ApplicationLoadBalancerMap ¶ added in v3.3.0
type ApplicationLoadBalancerMap map[string]ApplicationLoadBalancerInput
func (ApplicationLoadBalancerMap) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerMap) ElementType() reflect.Type
func (ApplicationLoadBalancerMap) ToApplicationLoadBalancerMapOutput ¶ added in v3.3.0
func (i ApplicationLoadBalancerMap) ToApplicationLoadBalancerMapOutput() ApplicationLoadBalancerMapOutput
func (ApplicationLoadBalancerMap) ToApplicationLoadBalancerMapOutputWithContext ¶ added in v3.3.0
func (i ApplicationLoadBalancerMap) ToApplicationLoadBalancerMapOutputWithContext(ctx context.Context) ApplicationLoadBalancerMapOutput
type ApplicationLoadBalancerMapInput ¶ added in v3.3.0
type ApplicationLoadBalancerMapInput interface { pulumi.Input ToApplicationLoadBalancerMapOutput() ApplicationLoadBalancerMapOutput ToApplicationLoadBalancerMapOutputWithContext(context.Context) ApplicationLoadBalancerMapOutput }
ApplicationLoadBalancerMapInput is an input type that accepts ApplicationLoadBalancerMap and ApplicationLoadBalancerMapOutput values. You can construct a concrete instance of `ApplicationLoadBalancerMapInput` via:
ApplicationLoadBalancerMap{ "key": ApplicationLoadBalancerArgs{...} }
type ApplicationLoadBalancerMapOutput ¶ added in v3.3.0
type ApplicationLoadBalancerMapOutput struct{ *pulumi.OutputState }
func (ApplicationLoadBalancerMapOutput) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerMapOutput) ElementType() reflect.Type
func (ApplicationLoadBalancerMapOutput) MapIndex ¶ added in v3.3.0
func (o ApplicationLoadBalancerMapOutput) MapIndex(k pulumi.StringInput) ApplicationLoadBalancerOutput
func (ApplicationLoadBalancerMapOutput) ToApplicationLoadBalancerMapOutput ¶ added in v3.3.0
func (o ApplicationLoadBalancerMapOutput) ToApplicationLoadBalancerMapOutput() ApplicationLoadBalancerMapOutput
func (ApplicationLoadBalancerMapOutput) ToApplicationLoadBalancerMapOutputWithContext ¶ added in v3.3.0
func (o ApplicationLoadBalancerMapOutput) ToApplicationLoadBalancerMapOutputWithContext(ctx context.Context) ApplicationLoadBalancerMapOutput
type ApplicationLoadBalancerOutput ¶ added in v3.3.0
type ApplicationLoadBalancerOutput struct{ *pulumi.OutputState }
func (ApplicationLoadBalancerOutput) Address ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) Address() pulumi.StringOutput
Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the corresponding switch.
func (ApplicationLoadBalancerOutput) AddressIpVersion ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) AddressIpVersion() pulumi.StringPtrOutput
The IP version of the SLB instance to be created, which can be set to `ipv4` or `ipv6` . Default to `ipv4`. Now, only internet instance support `ipv6` address.
func (ApplicationLoadBalancerOutput) AddressType ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) AddressType() pulumi.StringOutput
The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be `intranet`. - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests.
func (ApplicationLoadBalancerOutput) Bandwidth ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) Bandwidth() pulumi.IntPtrOutput
Valid value is between 1 and 5120, If argument `internetChargeType` is `PayByTraffic`, then this value will be ignored.
func (ApplicationLoadBalancerOutput) DeleteProtection ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) DeleteProtection() pulumi.StringPtrOutput
Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function.
func (ApplicationLoadBalancerOutput) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerOutput) ElementType() reflect.Type
func (ApplicationLoadBalancerOutput) InstanceChargeType ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) InstanceChargeType() pulumi.StringOutput
Support `PayBySpec` (default) and `PayByCLCU`, This parameter takes effect when the value of **payment_type** (instance payment mode) is **PayAsYouGo** (pay-as-you-go).
func (ApplicationLoadBalancerOutput) InternetChargeType ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) InternetChargeType() pulumi.StringPtrOutput
Valid values are `PayByBandwidth`, `PayByTraffic`. If this value is `PayByBandwidth`, then argument `addressType` must be `internet`. Default is `PayByTraffic`. If load balancer launched in VPC, this value must be `PayByTraffic`. Before version 1.10.1, the valid values are `paybybandwidth` and `paybytraffic`.
func (ApplicationLoadBalancerOutput) LoadBalancerName ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) LoadBalancerName() pulumi.StringOutput
func (ApplicationLoadBalancerOutput) LoadBalancerSpec ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`.
func (ApplicationLoadBalancerOutput) MasterZoneId ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) MasterZoneId() pulumi.StringOutput
The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the [DescribeZone](https://help.aliyun.com/document_detail/27585.htm) API.
func (ApplicationLoadBalancerOutput) ModificationProtectionReason ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) ModificationProtectionReason() pulumi.StringPtrOutput
The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`.
func (ApplicationLoadBalancerOutput) ModificationProtectionStatus ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value is `NonProtection`.
func (ApplicationLoadBalancerOutput) Name
deprecated
added in
v3.27.0
func (o ApplicationLoadBalancerOutput) Name() pulumi.StringOutput
Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead.
Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead
func (ApplicationLoadBalancerOutput) PaymentType ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) PaymentType() pulumi.StringOutput
The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
func (ApplicationLoadBalancerOutput) Period ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) Period() pulumi.IntPtrOutput
The duration that you will buy the resource, in month. It is valid when `PaymentType` is `Subscription`. Default to 1. Valid values: [1-9, 12, 24, 36]. This attribute is only used to create `Subscription` instance or modify the `PayAsYouGo` instance to `Subscription`. Once effect, it will not be modified that means running `pulumi up` will not affect the resource.
func (ApplicationLoadBalancerOutput) ResourceGroupId ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) ResourceGroupId() pulumi.StringOutput
The id of resource group which the SLB belongs.
func (ApplicationLoadBalancerOutput) SlaveZoneId ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) SlaveZoneId() pulumi.StringOutput
The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.
func (ApplicationLoadBalancerOutput) Specification
deprecated
added in
v3.27.0
func (o ApplicationLoadBalancerOutput) Specification() pulumi.StringOutput
Field `specification` has been deprecated from provider version 1.123.1 New field `loadBalancerSpec` instead.
Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead
func (ApplicationLoadBalancerOutput) Status ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) Status() pulumi.StringOutput
The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`.
func (ApplicationLoadBalancerOutput) Tags ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance.
func (ApplicationLoadBalancerOutput) ToApplicationLoadBalancerOutput ¶ added in v3.3.0
func (o ApplicationLoadBalancerOutput) ToApplicationLoadBalancerOutput() ApplicationLoadBalancerOutput
func (ApplicationLoadBalancerOutput) ToApplicationLoadBalancerOutputWithContext ¶ added in v3.3.0
func (o ApplicationLoadBalancerOutput) ToApplicationLoadBalancerOutputWithContext(ctx context.Context) ApplicationLoadBalancerOutput
func (ApplicationLoadBalancerOutput) VswitchId ¶ added in v3.27.0
func (o ApplicationLoadBalancerOutput) VswitchId() pulumi.StringPtrOutput
The VSwitch ID to launch in. **Note:** Required for a VPC SLB. If `addressType` is internet, it will be ignored.
type ApplicationLoadBalancerState ¶ added in v3.3.0
type ApplicationLoadBalancerState struct { // Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the corresponding switch. Address pulumi.StringPtrInput // The IP version of the SLB instance to be created, which can be set to `ipv4` or `ipv6` . Default to `ipv4`. Now, only internet instance support `ipv6` address. AddressIpVersion pulumi.StringPtrInput // The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be `intranet`. // - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. // - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests. AddressType pulumi.StringPtrInput // Valid value is between 1 and 5120, If argument `internetChargeType` is `PayByTraffic`, then this value will be ignored. Bandwidth pulumi.IntPtrInput // Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function. DeleteProtection pulumi.StringPtrInput // Support `PayBySpec` (default) and `PayByCLCU`, This parameter takes effect when the value of **payment_type** (instance payment mode) is **PayAsYouGo** (pay-as-you-go). InstanceChargeType pulumi.StringPtrInput // Valid values are `PayByBandwidth`, `PayByTraffic`. If this value is `PayByBandwidth`, then argument `addressType` must be `internet`. Default is `PayByTraffic`. If load balancer launched in VPC, this value must be `PayByTraffic`. Before version 1.10.1, the valid values are `paybybandwidth` and `paybytraffic`. InternetChargeType pulumi.StringPtrInput LoadBalancerName pulumi.StringPtrInput // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. // Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, // `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`. LoadBalancerSpec pulumi.StringPtrInput // The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the [DescribeZone](https://help.aliyun.com/document_detail/27585.htm) API. MasterZoneId pulumi.StringPtrInput // The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`. ModificationProtectionReason pulumi.StringPtrInput // The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value is `NonProtection`. ModificationProtectionStatus pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead Name pulumi.StringPtrInput // The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`. PaymentType pulumi.StringPtrInput // The duration that you will buy the resource, in month. It is valid when `PaymentType` is `Subscription`. Default to 1. Valid values: [1-9, 12, 24, 36]. This attribute is only used to create `Subscription` instance or modify the `PayAsYouGo` instance to `Subscription`. Once effect, it will not be modified that means running `pulumi up` will not affect the resource. Period pulumi.IntPtrInput // The id of resource group which the SLB belongs. ResourceGroupId pulumi.StringPtrInput // The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. SlaveZoneId pulumi.StringPtrInput // Field `specification` has been deprecated from provider version 1.123.1 New field `loadBalancerSpec` instead. // // Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead Specification pulumi.StringPtrInput // The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance. Tags pulumi.MapInput // The VSwitch ID to launch in. **Note:** Required for a VPC SLB. If `addressType` is internet, it will be ignored. VswitchId pulumi.StringPtrInput }
func (ApplicationLoadBalancerState) ElementType ¶ added in v3.3.0
func (ApplicationLoadBalancerState) ElementType() reflect.Type
type Attachment ¶
type Attachment struct { pulumi.CustomResourceState // The backend servers of the load balancer. BackendServers pulumi.StringOutput `pulumi:"backendServers"` // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // A list of instance ids to added backend server in the SLB. InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"` // ID of the load balancer. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // Type of the instances. Valid value ecs, eni. Default to ecs. ServerType pulumi.StringPtrOutput `pulumi:"serverType"` // Weight of the instances. Valid value range: [0-100]. Default to 100. Weight pulumi.IntPtrOutput `pulumi:"weight"` }
> **DEPRECATED:** This resource has been deprecated from v1.153.0 and using alicloudBackendServer instead.
Add a group of backend servers (ECS instance) to the Server Load Balancer or remove them from it.
> **NOTE:** Deprecated since v1.153.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "slb-attachment-example" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id), CpuCoreCount: pulumi.IntRef(1), MemorySize: pulumi.Float64Ref(2), }, nil) if err != nil { return err } defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_18.*64"), MostRecent: pulumi.BoolRef(true), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/16"), ZoneId: *pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: defaultNetwork.ID(), }) if err != nil { return err } defaultInstance, err := ecs.NewInstance(ctx, "defaultInstance", &ecs.InstanceArgs{ ImageId: *pulumi.String(defaultImages.Images[0].Id), InstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id), InternetChargeType: pulumi.String("PayByTraffic"), InternetMaxBandwidthOut: pulumi.Int(5), SystemDiskCategory: pulumi.String("cloud_efficiency"), SecurityGroups: pulumi.StringArray{ defaultSecurityGroup.ID(), }, InstanceName: pulumi.String(name), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } defaultApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "defaultApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(name), VswitchId: defaultSwitch.ID(), LoadBalancerSpec: pulumi.String("slb.s1.small"), }) if err != nil { return err } _, err = slb.NewAttachment(ctx, "defaultAttachment", &slb.AttachmentArgs{ LoadBalancerId: defaultApplicationLoadBalancer.ID(), InstanceIds: pulumi.StringArray{ defaultInstance.ID(), }, Weight: pulumi.Int(90), }) if err != nil { return err } return nil }) }
```
## Import
Load balancer attachment can be imported using the id or load balancer id, e.g.
```sh
$ pulumi import alicloud:slb/attachment:Attachment example lb-abc123456
```
func GetAttachment ¶
func GetAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AttachmentState, opts ...pulumi.ResourceOption) (*Attachment, error)
GetAttachment gets an existing Attachment 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 NewAttachment ¶
func NewAttachment(ctx *pulumi.Context, name string, args *AttachmentArgs, opts ...pulumi.ResourceOption) (*Attachment, error)
NewAttachment registers a new resource with the given unique name, arguments, and options.
func (*Attachment) ElementType ¶
func (*Attachment) ElementType() reflect.Type
func (*Attachment) ToAttachmentOutput ¶
func (i *Attachment) ToAttachmentOutput() AttachmentOutput
func (*Attachment) ToAttachmentOutputWithContext ¶
func (i *Attachment) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentArgs ¶
type AttachmentArgs struct { // The backend servers of the load balancer. BackendServers pulumi.StringPtrInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // A list of instance ids to added backend server in the SLB. InstanceIds pulumi.StringArrayInput // ID of the load balancer. LoadBalancerId pulumi.StringInput // Type of the instances. Valid value ecs, eni. Default to ecs. ServerType pulumi.StringPtrInput // Weight of the instances. Valid value range: [0-100]. Default to 100. Weight pulumi.IntPtrInput }
The set of arguments for constructing a Attachment resource.
func (AttachmentArgs) ElementType ¶
func (AttachmentArgs) ElementType() reflect.Type
type AttachmentArray ¶
type AttachmentArray []AttachmentInput
func (AttachmentArray) ElementType ¶
func (AttachmentArray) ElementType() reflect.Type
func (AttachmentArray) ToAttachmentArrayOutput ¶
func (i AttachmentArray) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArray) ToAttachmentArrayOutputWithContext ¶
func (i AttachmentArray) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentArrayInput ¶
type AttachmentArrayInput interface { pulumi.Input ToAttachmentArrayOutput() AttachmentArrayOutput ToAttachmentArrayOutputWithContext(context.Context) AttachmentArrayOutput }
AttachmentArrayInput is an input type that accepts AttachmentArray and AttachmentArrayOutput values. You can construct a concrete instance of `AttachmentArrayInput` via:
AttachmentArray{ AttachmentArgs{...} }
type AttachmentArrayOutput ¶
type AttachmentArrayOutput struct{ *pulumi.OutputState }
func (AttachmentArrayOutput) ElementType ¶
func (AttachmentArrayOutput) ElementType() reflect.Type
func (AttachmentArrayOutput) Index ¶
func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutput ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutputWithContext ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentInput ¶
type AttachmentInput interface { pulumi.Input ToAttachmentOutput() AttachmentOutput ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput }
type AttachmentMap ¶
type AttachmentMap map[string]AttachmentInput
func (AttachmentMap) ElementType ¶
func (AttachmentMap) ElementType() reflect.Type
func (AttachmentMap) ToAttachmentMapOutput ¶
func (i AttachmentMap) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMap) ToAttachmentMapOutputWithContext ¶
func (i AttachmentMap) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentMapInput ¶
type AttachmentMapInput interface { pulumi.Input ToAttachmentMapOutput() AttachmentMapOutput ToAttachmentMapOutputWithContext(context.Context) AttachmentMapOutput }
AttachmentMapInput is an input type that accepts AttachmentMap and AttachmentMapOutput values. You can construct a concrete instance of `AttachmentMapInput` via:
AttachmentMap{ "key": AttachmentArgs{...} }
type AttachmentMapOutput ¶
type AttachmentMapOutput struct{ *pulumi.OutputState }
func (AttachmentMapOutput) ElementType ¶
func (AttachmentMapOutput) ElementType() reflect.Type
func (AttachmentMapOutput) MapIndex ¶
func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
func (AttachmentMapOutput) ToAttachmentMapOutput ¶
func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMapOutput) ToAttachmentMapOutputWithContext ¶
func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentOutput ¶
type AttachmentOutput struct{ *pulumi.OutputState }
func (AttachmentOutput) BackendServers ¶ added in v3.27.0
func (o AttachmentOutput) BackendServers() pulumi.StringOutput
The backend servers of the load balancer.
func (AttachmentOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o AttachmentOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (AttachmentOutput) ElementType ¶
func (AttachmentOutput) ElementType() reflect.Type
func (AttachmentOutput) InstanceIds ¶ added in v3.27.0
func (o AttachmentOutput) InstanceIds() pulumi.StringArrayOutput
A list of instance ids to added backend server in the SLB.
func (AttachmentOutput) LoadBalancerId ¶ added in v3.27.0
func (o AttachmentOutput) LoadBalancerId() pulumi.StringOutput
ID of the load balancer.
func (AttachmentOutput) ServerType ¶ added in v3.27.0
func (o AttachmentOutput) ServerType() pulumi.StringPtrOutput
Type of the instances. Valid value ecs, eni. Default to ecs.
func (AttachmentOutput) ToAttachmentOutput ¶
func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput
func (AttachmentOutput) ToAttachmentOutputWithContext ¶
func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
func (AttachmentOutput) Weight ¶ added in v3.27.0
func (o AttachmentOutput) Weight() pulumi.IntPtrOutput
Weight of the instances. Valid value range: [0-100]. Default to 100.
type AttachmentState ¶
type AttachmentState struct { // The backend servers of the load balancer. BackendServers pulumi.StringPtrInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // A list of instance ids to added backend server in the SLB. InstanceIds pulumi.StringArrayInput // ID of the load balancer. LoadBalancerId pulumi.StringPtrInput // Type of the instances. Valid value ecs, eni. Default to ecs. ServerType pulumi.StringPtrInput // Weight of the instances. Valid value range: [0-100]. Default to 100. Weight pulumi.IntPtrInput }
func (AttachmentState) ElementType ¶
func (AttachmentState) ElementType() reflect.Type
type BackendServer ¶
type BackendServer struct { pulumi.CustomResourceState // A list of instances to added backend server in the SLB. It contains three sub-fields as `Block server` follows. BackendServers BackendServerBackendServerArrayOutput `pulumi:"backendServers"` // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // ID of the load balancer. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` }
Add a group of backend servers (ECS or ENI instance) to the Server Load Balancer or remove them from it.
> **NOTE:** Available in 1.53.0+
## Block servers
The servers mapping supports the following:
* `serverId` - (Required) A list backend server ID (ECS instance ID). * `weight` - (Optional) Weight of the backend server. Valid value range: [0-100]. * `type` - (Optional) Type of the backend server. Valid value `ecs`, `eni`, `eci`. Default to `ecs`. **NOTE:** From 1.170.0+, The `eci` is valid. * `serverIp` - (Optional, Computed, Available in 1.93.0+) ServerIp of the backend server. This parameter can be specified when the type is `eni`. `ecs` type currently does not support adding `serverIp` parameter.
## Import
Load balancer backend server can be imported using the load balancer id.
```sh
$ pulumi import alicloud:slb/backendServer:BackendServer example <load_balancer_id>
```
func GetBackendServer ¶
func GetBackendServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackendServerState, opts ...pulumi.ResourceOption) (*BackendServer, error)
GetBackendServer gets an existing BackendServer 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 NewBackendServer ¶
func NewBackendServer(ctx *pulumi.Context, name string, args *BackendServerArgs, opts ...pulumi.ResourceOption) (*BackendServer, error)
NewBackendServer registers a new resource with the given unique name, arguments, and options.
func (*BackendServer) ElementType ¶
func (*BackendServer) ElementType() reflect.Type
func (*BackendServer) ToBackendServerOutput ¶
func (i *BackendServer) ToBackendServerOutput() BackendServerOutput
func (*BackendServer) ToBackendServerOutputWithContext ¶
func (i *BackendServer) ToBackendServerOutputWithContext(ctx context.Context) BackendServerOutput
type BackendServerArgs ¶
type BackendServerArgs struct { // A list of instances to added backend server in the SLB. It contains three sub-fields as `Block server` follows. BackendServers BackendServerBackendServerArrayInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // ID of the load balancer. LoadBalancerId pulumi.StringInput }
The set of arguments for constructing a BackendServer resource.
func (BackendServerArgs) ElementType ¶
func (BackendServerArgs) ElementType() reflect.Type
type BackendServerArray ¶
type BackendServerArray []BackendServerInput
func (BackendServerArray) ElementType ¶
func (BackendServerArray) ElementType() reflect.Type
func (BackendServerArray) ToBackendServerArrayOutput ¶
func (i BackendServerArray) ToBackendServerArrayOutput() BackendServerArrayOutput
func (BackendServerArray) ToBackendServerArrayOutputWithContext ¶
func (i BackendServerArray) ToBackendServerArrayOutputWithContext(ctx context.Context) BackendServerArrayOutput
type BackendServerArrayInput ¶
type BackendServerArrayInput interface { pulumi.Input ToBackendServerArrayOutput() BackendServerArrayOutput ToBackendServerArrayOutputWithContext(context.Context) BackendServerArrayOutput }
BackendServerArrayInput is an input type that accepts BackendServerArray and BackendServerArrayOutput values. You can construct a concrete instance of `BackendServerArrayInput` via:
BackendServerArray{ BackendServerArgs{...} }
type BackendServerArrayOutput ¶
type BackendServerArrayOutput struct{ *pulumi.OutputState }
func (BackendServerArrayOutput) ElementType ¶
func (BackendServerArrayOutput) ElementType() reflect.Type
func (BackendServerArrayOutput) Index ¶
func (o BackendServerArrayOutput) Index(i pulumi.IntInput) BackendServerOutput
func (BackendServerArrayOutput) ToBackendServerArrayOutput ¶
func (o BackendServerArrayOutput) ToBackendServerArrayOutput() BackendServerArrayOutput
func (BackendServerArrayOutput) ToBackendServerArrayOutputWithContext ¶
func (o BackendServerArrayOutput) ToBackendServerArrayOutputWithContext(ctx context.Context) BackendServerArrayOutput
type BackendServerBackendServerArgs ¶
type BackendServerBackendServerArgs struct { ServerId pulumi.StringInput `pulumi:"serverId"` ServerIp pulumi.StringPtrInput `pulumi:"serverIp"` Type pulumi.StringPtrInput `pulumi:"type"` Weight pulumi.IntInput `pulumi:"weight"` }
func (BackendServerBackendServerArgs) ElementType ¶
func (BackendServerBackendServerArgs) ElementType() reflect.Type
func (BackendServerBackendServerArgs) ToBackendServerBackendServerOutput ¶
func (i BackendServerBackendServerArgs) ToBackendServerBackendServerOutput() BackendServerBackendServerOutput
func (BackendServerBackendServerArgs) ToBackendServerBackendServerOutputWithContext ¶
func (i BackendServerBackendServerArgs) ToBackendServerBackendServerOutputWithContext(ctx context.Context) BackendServerBackendServerOutput
type BackendServerBackendServerArray ¶
type BackendServerBackendServerArray []BackendServerBackendServerInput
func (BackendServerBackendServerArray) ElementType ¶
func (BackendServerBackendServerArray) ElementType() reflect.Type
func (BackendServerBackendServerArray) ToBackendServerBackendServerArrayOutput ¶
func (i BackendServerBackendServerArray) ToBackendServerBackendServerArrayOutput() BackendServerBackendServerArrayOutput
func (BackendServerBackendServerArray) ToBackendServerBackendServerArrayOutputWithContext ¶
func (i BackendServerBackendServerArray) ToBackendServerBackendServerArrayOutputWithContext(ctx context.Context) BackendServerBackendServerArrayOutput
type BackendServerBackendServerArrayInput ¶
type BackendServerBackendServerArrayInput interface { pulumi.Input ToBackendServerBackendServerArrayOutput() BackendServerBackendServerArrayOutput ToBackendServerBackendServerArrayOutputWithContext(context.Context) BackendServerBackendServerArrayOutput }
BackendServerBackendServerArrayInput is an input type that accepts BackendServerBackendServerArray and BackendServerBackendServerArrayOutput values. You can construct a concrete instance of `BackendServerBackendServerArrayInput` via:
BackendServerBackendServerArray{ BackendServerBackendServerArgs{...} }
type BackendServerBackendServerArrayOutput ¶
type BackendServerBackendServerArrayOutput struct{ *pulumi.OutputState }
func (BackendServerBackendServerArrayOutput) ElementType ¶
func (BackendServerBackendServerArrayOutput) ElementType() reflect.Type
func (BackendServerBackendServerArrayOutput) Index ¶
func (o BackendServerBackendServerArrayOutput) Index(i pulumi.IntInput) BackendServerBackendServerOutput
func (BackendServerBackendServerArrayOutput) ToBackendServerBackendServerArrayOutput ¶
func (o BackendServerBackendServerArrayOutput) ToBackendServerBackendServerArrayOutput() BackendServerBackendServerArrayOutput
func (BackendServerBackendServerArrayOutput) ToBackendServerBackendServerArrayOutputWithContext ¶
func (o BackendServerBackendServerArrayOutput) ToBackendServerBackendServerArrayOutputWithContext(ctx context.Context) BackendServerBackendServerArrayOutput
type BackendServerBackendServerInput ¶
type BackendServerBackendServerInput interface { pulumi.Input ToBackendServerBackendServerOutput() BackendServerBackendServerOutput ToBackendServerBackendServerOutputWithContext(context.Context) BackendServerBackendServerOutput }
BackendServerBackendServerInput is an input type that accepts BackendServerBackendServerArgs and BackendServerBackendServerOutput values. You can construct a concrete instance of `BackendServerBackendServerInput` via:
BackendServerBackendServerArgs{...}
type BackendServerBackendServerOutput ¶
type BackendServerBackendServerOutput struct{ *pulumi.OutputState }
func (BackendServerBackendServerOutput) ElementType ¶
func (BackendServerBackendServerOutput) ElementType() reflect.Type
func (BackendServerBackendServerOutput) ServerId ¶
func (o BackendServerBackendServerOutput) ServerId() pulumi.StringOutput
func (BackendServerBackendServerOutput) ServerIp ¶
func (o BackendServerBackendServerOutput) ServerIp() pulumi.StringPtrOutput
func (BackendServerBackendServerOutput) ToBackendServerBackendServerOutput ¶
func (o BackendServerBackendServerOutput) ToBackendServerBackendServerOutput() BackendServerBackendServerOutput
func (BackendServerBackendServerOutput) ToBackendServerBackendServerOutputWithContext ¶
func (o BackendServerBackendServerOutput) ToBackendServerBackendServerOutputWithContext(ctx context.Context) BackendServerBackendServerOutput
func (BackendServerBackendServerOutput) Type ¶
func (o BackendServerBackendServerOutput) Type() pulumi.StringPtrOutput
func (BackendServerBackendServerOutput) Weight ¶
func (o BackendServerBackendServerOutput) Weight() pulumi.IntOutput
type BackendServerInput ¶
type BackendServerInput interface { pulumi.Input ToBackendServerOutput() BackendServerOutput ToBackendServerOutputWithContext(ctx context.Context) BackendServerOutput }
type BackendServerMap ¶
type BackendServerMap map[string]BackendServerInput
func (BackendServerMap) ElementType ¶
func (BackendServerMap) ElementType() reflect.Type
func (BackendServerMap) ToBackendServerMapOutput ¶
func (i BackendServerMap) ToBackendServerMapOutput() BackendServerMapOutput
func (BackendServerMap) ToBackendServerMapOutputWithContext ¶
func (i BackendServerMap) ToBackendServerMapOutputWithContext(ctx context.Context) BackendServerMapOutput
type BackendServerMapInput ¶
type BackendServerMapInput interface { pulumi.Input ToBackendServerMapOutput() BackendServerMapOutput ToBackendServerMapOutputWithContext(context.Context) BackendServerMapOutput }
BackendServerMapInput is an input type that accepts BackendServerMap and BackendServerMapOutput values. You can construct a concrete instance of `BackendServerMapInput` via:
BackendServerMap{ "key": BackendServerArgs{...} }
type BackendServerMapOutput ¶
type BackendServerMapOutput struct{ *pulumi.OutputState }
func (BackendServerMapOutput) ElementType ¶
func (BackendServerMapOutput) ElementType() reflect.Type
func (BackendServerMapOutput) MapIndex ¶
func (o BackendServerMapOutput) MapIndex(k pulumi.StringInput) BackendServerOutput
func (BackendServerMapOutput) ToBackendServerMapOutput ¶
func (o BackendServerMapOutput) ToBackendServerMapOutput() BackendServerMapOutput
func (BackendServerMapOutput) ToBackendServerMapOutputWithContext ¶
func (o BackendServerMapOutput) ToBackendServerMapOutputWithContext(ctx context.Context) BackendServerMapOutput
type BackendServerOutput ¶
type BackendServerOutput struct{ *pulumi.OutputState }
func (BackendServerOutput) BackendServers ¶ added in v3.27.0
func (o BackendServerOutput) BackendServers() BackendServerBackendServerArrayOutput
A list of instances to added backend server in the SLB. It contains three sub-fields as `Block server` follows.
func (BackendServerOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o BackendServerOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (BackendServerOutput) ElementType ¶
func (BackendServerOutput) ElementType() reflect.Type
func (BackendServerOutput) LoadBalancerId ¶ added in v3.27.0
func (o BackendServerOutput) LoadBalancerId() pulumi.StringOutput
ID of the load balancer.
func (BackendServerOutput) ToBackendServerOutput ¶
func (o BackendServerOutput) ToBackendServerOutput() BackendServerOutput
func (BackendServerOutput) ToBackendServerOutputWithContext ¶
func (o BackendServerOutput) ToBackendServerOutputWithContext(ctx context.Context) BackendServerOutput
type BackendServerState ¶
type BackendServerState struct { // A list of instances to added backend server in the SLB. It contains three sub-fields as `Block server` follows. BackendServers BackendServerBackendServerArrayInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // ID of the load balancer. LoadBalancerId pulumi.StringPtrInput }
func (BackendServerState) ElementType ¶
func (BackendServerState) ElementType() reflect.Type
type CaCertificate ¶
type CaCertificate struct { pulumi.CustomResourceState // the content of the CA certificate. CaCertificate pulumi.StringOutput `pulumi:"caCertificate"` // Name of the CA Certificate. CaCertificateName pulumi.StringOutput `pulumi:"caCertificateName"` // Field `name` has been deprecated from provider version 1.123.1. New field `caCertificateName` instead // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'ca_certificate_name' instead Name pulumi.StringOutput `pulumi:"name"` // The Id of resource group which the slbCa certificate belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
A Load Balancer CA Certificate is used by the listener of the protocol https.
For information about slb and how to use it, see [What is Server Load Balancer](https://www.alibabacloud.com/help/doc-detail/27539.htm).
For information about CA Certificate and how to use it, see [Configure CA Certificate](https://www.alibabacloud.com/help/doc-detail/85968.htm).
## Example Usage
* using CA certificate content
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewCaCertificate(ctx, "foo", &slb.CaCertificateArgs{ CaCertificate: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIDRjCCAq+gAwIBAgIJAJn3ox4K13PoMA0GCSqGSIb3DQEBBQUAMHYxCzAJBgNV BAYTAkNOMQswCQYDVQQIEwJCSjELMAkGA1UEBxMCQkoxDDAKBgNVBAoTA0FMSTEP MA0GA1UECxMGQUxJWVVOMQ0wCwYDVQQDEwR0ZXN0MR8wHQYJKoZIhvcNAQkBFhB0 ZXN0QGhvdG1haWwuY29tMB4XDTE0MTEyNDA2MDQyNVoXDTI0MTEyMTA2MDQyNVow djELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkJKMQswCQYDVQQHEwJCSjEMMAoGA1UE ChMDQUxJMQ8wDQYDVQQLEwZBTElZVU4xDTALBgNVBAMTBHRlc3QxHzAdBgkqhkiG 9w0BCQEWEHRlc3RAaG90bWFpbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ AoGBAM7SS3e9+Nj0HKAsRuIDNSsS3UK6b+62YQb2uuhKrp1HMrOx61WSDR2qkAnB coG00Uz38EE+9DLYNUVQBK7aSgLP5M1Ak4wr4GqGyCgjejzzh3DshUzLCCy2rook KOyRTlPX+Q5l7rE1fcSNzgepcae5i2sE1XXXzLRIDIvQxcspAgMBAAGjgdswgdgw HQYDVR0OBBYEFBdy+OuMsvbkV7R14f0OyoLoh2z4MIGoBgNVHSMEgaAwgZ2AFBdy +OuMsvbkV7R14f0OyoLoh2z4oXqkeDB2MQswCQYDVQQGEwJDTjELMAkGA1UECBMC QkoxCzAJBgNVBAcTAkJKMQwwCgYDVQQKEwNBTEkxDzANBgNVBAsTBkFMSVlVTjEN MAsGA1UEAxMEdGVzdDEfMB0GCSqGSIb3DQEJARYQdGVzdEBob3RtYWlsLmNvbYIJ AJn3ox4K13PoMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAY7KOsnyT cQzfhiiG7ASjiPakw5wXoycHt5GCvLG5htp2TKVzgv9QTliA3gtfv6oV4zRZx7X1 Ofi6hVgErtHaXJheuPVeW6eAW8mHBoEfvDAfU3y9waYrtUevSl07643bzKL6v+Qd DUBTxOAvSYfXTtI90EAxEG/bJJyOm5LqoiA= -----END CERTIFICATE----- `),
CaCertificateName: pulumi.String("tf-testAccSlbCACertificate"), }) if err != nil { return err } return nil }) }
```
* using CA certificate file
```go package main
import (
"fmt" "os" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewCaCertificate(ctx, "foo-file", &slb.CaCertificateArgs{ CaCertificateName: pulumi.String("tf-testAccSlbCACertificate"), CaCertificate: readFileOrPanic(fmt.Sprintf("%v/ca_certificate.pem", path.Module)), }) if err != nil { return err } return nil }) }
```
## Import
Server Load balancer CA Certificate can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/caCertificate:CaCertificate example abc123456
```
func GetCaCertificate ¶
func GetCaCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CaCertificateState, opts ...pulumi.ResourceOption) (*CaCertificate, error)
GetCaCertificate gets an existing CaCertificate 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 NewCaCertificate ¶
func NewCaCertificate(ctx *pulumi.Context, name string, args *CaCertificateArgs, opts ...pulumi.ResourceOption) (*CaCertificate, error)
NewCaCertificate registers a new resource with the given unique name, arguments, and options.
func (*CaCertificate) ElementType ¶
func (*CaCertificate) ElementType() reflect.Type
func (*CaCertificate) ToCaCertificateOutput ¶
func (i *CaCertificate) ToCaCertificateOutput() CaCertificateOutput
func (*CaCertificate) ToCaCertificateOutputWithContext ¶
func (i *CaCertificate) ToCaCertificateOutputWithContext(ctx context.Context) CaCertificateOutput
type CaCertificateArgs ¶
type CaCertificateArgs struct { // the content of the CA certificate. CaCertificate pulumi.StringInput // Name of the CA Certificate. CaCertificateName pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1. New field `caCertificateName` instead // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'ca_certificate_name' instead Name pulumi.StringPtrInput // The Id of resource group which the slbCa certificate belongs. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a CaCertificate resource.
func (CaCertificateArgs) ElementType ¶
func (CaCertificateArgs) ElementType() reflect.Type
type CaCertificateArray ¶
type CaCertificateArray []CaCertificateInput
func (CaCertificateArray) ElementType ¶
func (CaCertificateArray) ElementType() reflect.Type
func (CaCertificateArray) ToCaCertificateArrayOutput ¶
func (i CaCertificateArray) ToCaCertificateArrayOutput() CaCertificateArrayOutput
func (CaCertificateArray) ToCaCertificateArrayOutputWithContext ¶
func (i CaCertificateArray) ToCaCertificateArrayOutputWithContext(ctx context.Context) CaCertificateArrayOutput
type CaCertificateArrayInput ¶
type CaCertificateArrayInput interface { pulumi.Input ToCaCertificateArrayOutput() CaCertificateArrayOutput ToCaCertificateArrayOutputWithContext(context.Context) CaCertificateArrayOutput }
CaCertificateArrayInput is an input type that accepts CaCertificateArray and CaCertificateArrayOutput values. You can construct a concrete instance of `CaCertificateArrayInput` via:
CaCertificateArray{ CaCertificateArgs{...} }
type CaCertificateArrayOutput ¶
type CaCertificateArrayOutput struct{ *pulumi.OutputState }
func (CaCertificateArrayOutput) ElementType ¶
func (CaCertificateArrayOutput) ElementType() reflect.Type
func (CaCertificateArrayOutput) Index ¶
func (o CaCertificateArrayOutput) Index(i pulumi.IntInput) CaCertificateOutput
func (CaCertificateArrayOutput) ToCaCertificateArrayOutput ¶
func (o CaCertificateArrayOutput) ToCaCertificateArrayOutput() CaCertificateArrayOutput
func (CaCertificateArrayOutput) ToCaCertificateArrayOutputWithContext ¶
func (o CaCertificateArrayOutput) ToCaCertificateArrayOutputWithContext(ctx context.Context) CaCertificateArrayOutput
type CaCertificateInput ¶
type CaCertificateInput interface { pulumi.Input ToCaCertificateOutput() CaCertificateOutput ToCaCertificateOutputWithContext(ctx context.Context) CaCertificateOutput }
type CaCertificateMap ¶
type CaCertificateMap map[string]CaCertificateInput
func (CaCertificateMap) ElementType ¶
func (CaCertificateMap) ElementType() reflect.Type
func (CaCertificateMap) ToCaCertificateMapOutput ¶
func (i CaCertificateMap) ToCaCertificateMapOutput() CaCertificateMapOutput
func (CaCertificateMap) ToCaCertificateMapOutputWithContext ¶
func (i CaCertificateMap) ToCaCertificateMapOutputWithContext(ctx context.Context) CaCertificateMapOutput
type CaCertificateMapInput ¶
type CaCertificateMapInput interface { pulumi.Input ToCaCertificateMapOutput() CaCertificateMapOutput ToCaCertificateMapOutputWithContext(context.Context) CaCertificateMapOutput }
CaCertificateMapInput is an input type that accepts CaCertificateMap and CaCertificateMapOutput values. You can construct a concrete instance of `CaCertificateMapInput` via:
CaCertificateMap{ "key": CaCertificateArgs{...} }
type CaCertificateMapOutput ¶
type CaCertificateMapOutput struct{ *pulumi.OutputState }
func (CaCertificateMapOutput) ElementType ¶
func (CaCertificateMapOutput) ElementType() reflect.Type
func (CaCertificateMapOutput) MapIndex ¶
func (o CaCertificateMapOutput) MapIndex(k pulumi.StringInput) CaCertificateOutput
func (CaCertificateMapOutput) ToCaCertificateMapOutput ¶
func (o CaCertificateMapOutput) ToCaCertificateMapOutput() CaCertificateMapOutput
func (CaCertificateMapOutput) ToCaCertificateMapOutputWithContext ¶
func (o CaCertificateMapOutput) ToCaCertificateMapOutputWithContext(ctx context.Context) CaCertificateMapOutput
type CaCertificateOutput ¶
type CaCertificateOutput struct{ *pulumi.OutputState }
func (CaCertificateOutput) CaCertificate ¶ added in v3.27.0
func (o CaCertificateOutput) CaCertificate() pulumi.StringOutput
the content of the CA certificate.
func (CaCertificateOutput) CaCertificateName ¶ added in v3.27.0
func (o CaCertificateOutput) CaCertificateName() pulumi.StringOutput
Name of the CA Certificate.
func (CaCertificateOutput) ElementType ¶
func (CaCertificateOutput) ElementType() reflect.Type
func (CaCertificateOutput) Name
deprecated
added in
v3.27.0
func (o CaCertificateOutput) Name() pulumi.StringOutput
Field `name` has been deprecated from provider version 1.123.1. New field `caCertificateName` instead
Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'ca_certificate_name' instead
func (CaCertificateOutput) ResourceGroupId ¶ added in v3.27.0
func (o CaCertificateOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the slbCa certificate belongs.
func (CaCertificateOutput) Tags ¶ added in v3.27.0
func (o CaCertificateOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (CaCertificateOutput) ToCaCertificateOutput ¶
func (o CaCertificateOutput) ToCaCertificateOutput() CaCertificateOutput
func (CaCertificateOutput) ToCaCertificateOutputWithContext ¶
func (o CaCertificateOutput) ToCaCertificateOutputWithContext(ctx context.Context) CaCertificateOutput
type CaCertificateState ¶
type CaCertificateState struct { // the content of the CA certificate. CaCertificate pulumi.StringPtrInput // Name of the CA Certificate. CaCertificateName pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1. New field `caCertificateName` instead // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'ca_certificate_name' instead Name pulumi.StringPtrInput // The Id of resource group which the slbCa certificate belongs. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (CaCertificateState) ElementType ¶
func (CaCertificateState) ElementType() reflect.Type
type DomainExtension ¶
type DomainExtension struct { pulumi.CustomResourceState // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // The domain name. Domain pulumi.StringOutput `pulumi:"domain"` // The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535. FrontendPort pulumi.IntOutput `pulumi:"frontendPort"` // The ID of the SLB instance. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // The ID of the certificate used by the domain name. ServerCertificateId pulumi.StringOutput `pulumi:"serverCertificateId"` }
HTTPS listeners of guaranteed-performance SLB support configuring multiple certificates, allowing you to forward requests with different domain names to different backend servers. Please refer to the [documentation](https://www.alibabacloud.com/help/doc-detail/85956.htm?spm=a2c63.p38356.b99.40.1c881563Co8p6w) for details.
> **NOTE:** Available in 1.60.0+
> **NOTE:** The instance with shared loadBalancerSpec doesn't support domainExtension.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") slbDomainExtensionName := "forDomainExtension" if param := cfg.Get("slbDomainExtensionName"); param != "" { slbDomainExtensionName = param } domainExtensionZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } domainExtensionNetwork, err := vpc.NewNetwork(ctx, "domainExtensionNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(slbDomainExtensionName), }) if err != nil { return err } domainExtensionSwitch, err := vpc.NewSwitch(ctx, "domainExtensionSwitch", &vpc.SwitchArgs{ VpcId: domainExtensionNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: *pulumi.String(domainExtensionZones.Zones[0].Id), VswitchName: pulumi.String(slbDomainExtensionName), }) if err != nil { return err } instance, err := slb.NewApplicationLoadBalancer(ctx, "instance", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(slbDomainExtensionName), AddressType: pulumi.String("intranet"), LoadBalancerSpec: pulumi.String("slb.s2.small"), VswitchId: domainExtensionSwitch.ID(), }) if err != nil { return err } domainExtensionServerCertificate, err := slb.NewServerCertificate(ctx, "domainExtensionServerCertificate", &slb.ServerCertificateArgs{ ServerCertificate: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIDdjCCAl4CCQCcm+erkcKN7DANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJj bjELMAkGA1UECAwCYmoxEDAOBgNVBAcMB2JlaWppbmcxDzANBgNVBAoMBmFsaXl1 bjELMAkGA1UECwwCc2MxFTATBgNVBAMMDHd3dy50ZXN0LmNvbTEaMBgGCSqGSIb3 DQEJARYLMTIzQDEyMy5jb20wHhcNMTkwNDI2MDM0ODAxWhcNMjQwNDI1MDM0ODAx WjB9MQswCQYDVQQGEwJjbjELMAkGA1UECAwCYmoxEDAOBgNVBAcMB2JlaWppbmcx DzANBgNVBAoMBmFsaXl1bjELMAkGA1UECwwCc2MxFTATBgNVBAMMDHd3dy50ZXN0 LmNvbTEaMBgGCSqGSIb3DQEJARYLMTIzQDEyMy5jb20wggEiMA0GCSqGSIb3DQEB AQUAA4IBDwAwggEKAoIBAQDKMKF5qmN/uoMjdH3D8aPRcUOA0s8rZpYhG8zbkF1j 8gHYoB/FDvM7G7dfVsyjbMwLOxKvAhWvHHSpEz/t7gB+QdwrAMiMJwGmtCnXrh2E WiXgalMe1y4a/T5R7q+m4T1zFATf+kbnHWfkSGF4W7b6UBoaH+9StQ95CnqzNf/2 p/Of7+S0XzCxFXw8GIVzZk0xFe6lHJzaq06f3mvzrD+4rpO56tTUvrgTY/n61gsF ZP7f0CJ2JQh6eNRFOEUSfxKu/Dy/+IsQxorCJY2Q59ZAf3rXrqDN104jw9PlwnLl qfZz3RMODN6BWjxE8rvRtT0qMfuAfv1gjBdWZN0hUYBRAgMBAAEwDQYJKoZIhvcN AQELBQADggEBAABzo82TxGp5poVkd5pLWj5ACgcBv8Cs6oH9D+4Jz9BmyuBUsQXh 2aG0hQAe1mU61C9konsl/GTW8umJQ4M4lYEztXXwMf5PlBMGwebM0ZbSGg6jKtZg WCgJ3eP/FMmyXGL5Jji5+e09eObhUDVle4tdi0On97zBoz85W02rgWFAqZJwiEAP t+c7jX7uOSBq2/38iGStlrX5yB1at/gJXXiA5CL5OtlR3Okvb0/QH37efO1Nu39m lFi0ODPAVyXjVypAiLguDxPn6AtDTdk9Iw9B19OD4NrzNRWgSSX5vuxo/VcRcgWk 3gEe9Ca0ZKN20q9XgthAiFFjl1S9ZgdA6Zc= -----END CERTIFICATE-----`),
PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAyjCheapjf7qDI3R9w/Gj0XFDgNLPK2aWIRvM25BdY/IB2KAf xQ7zOxu3X1bMo2zMCzsSrwIVrxx0qRM/7e4AfkHcKwDIjCcBprQp164dhFol4GpT HtcuGv0+Ue6vpuE9cxQE3/pG5x1n5EhheFu2+lAaGh/vUrUPeQp6szX/9qfzn+/k tF8wsRV8PBiFc2ZNMRXupRyc2qtOn95r86w/uK6TuerU1L64E2P5+tYLBWT+39Ai diUIenjURThFEn8Srvw8v/iLEMaKwiWNkOfWQH96166gzddOI8PT5cJy5an2c90T DgzegVo8RPK70bU9KjH7gH79YIwXVmTdIVGAUQIDAQABAoIBAE1J4a/8biR5S3/W G+03BYQeY8tuyjqw8FqfoeOcf9agwAvqybouSNQjeCk9qOQfxq/UWQQFK/zQR9gJ v7pX7GBXFK5rkj3g+0SaQhRsPmRFgY0Tl8qGPt2aSKRRNVv5ZeADmwlzRn86QmiF Mp0rkfqFfDTYWEepZszCML0ouzuxsW/9tq7rvtSjsgATNt31B3vFa3D3JBi31jUh 5nfR9A3bATze7mQw3byEDiVl5ASRDgYyur403P1fDnMy9DBHZ8NaPOsFF6OBpJal BJsG5z00hll5PFN2jfmBQKlvAeU7wfwqdaSnGHOfqf2DeTTaFjIQ4gUhRn/m6pLo 6kXttLECgYEA9sng0Qz/TcPFfM4tQ1gyvB1cKnnGIwg1FP8sfUjbbEgjaHhA224S k3BxtX2Kq6fhTXuwusAFc6OVMAZ76FgrQ5K4Ci7+DTsrF28z4b8td+p+lO/DxgP9 lTgN+ddsiTOV4fUef9Z3yY0Zr0CnBUMbQYRaV2UIbCdiB0G4V/bt9TsCgYEA0bya Oo9wGI0RJV0bYP7qwO74Ra1/i1viWbRlS7jU37Q+AZstrlKcQ5CTPzOjKFKMiUzl 4miWacZ0/q2n+Mvd7NbXGXTLijahnyOYKaHJYyh4oBymfkgAifRstE0Ki9gdvArb /I+emC0GvLSyfGN8UUeDJs4NmqdEXGqjo2JOV+MCgYALFv1MR5o9Y1u/hQBRs2fs PiGDIx+9OUQxYloccyaxEfjNXAIGGkcpavchIbgWiJ++PJ2vdquIC8TLeK8evL+M 9M3iX0Q5UfxYvD2HmnCvn9D6Xl/cyRcfGnq+TGjrLW9BzSMGuZt+aiHKV0xqFx7l bc4leTvMqGRmURS4lzcQOwKBgQCDzA/i4sYfN25h21tcHXSpnsG3D2rJyQi5NCo/ ZjunA92/JqOTGuiFcLGHEszhhtY3ZXJET1LNz18vtzKJnpqrvOnYXlOVW/U+SqDQ 8JDb1c/PVZGuY1KrXkR9HLiW3kz5IJ3S3PFdUVYdeTN8BQxXCyg4V12nJJtJs912 y0zN3wKBgGDS6YttCN6aI4EOABYE8fI1EYQ7vhfiYsaWGWSR1l6bQey7KR6M1ACz ZzMASNyytVt12yXE4/Emv6/pYqigbDLfL1zQJSLJ3EHJYTh2RxjR+AaGDudYFG/T liQ9YXhV5Iu2x1pNwrtFnssDdaaGpfA7l3xC00BL7Z+SAJyI4QKA -----END RSA PRIVATE KEY-----`),
}) if err != nil { return err } https, err := slb.NewListener(ctx, "https", &slb.ListenerArgs{ LoadBalancerId: instance.ID(), BackendPort: pulumi.Int(80), FrontendPort: pulumi.Int(443), Protocol: pulumi.String("https"), StickySession: pulumi.String("on"), StickySessionType: pulumi.String("insert"), Cookie: pulumi.String("testslblistenercookie"), CookieTimeout: pulumi.Int(86400), HealthCheck: pulumi.String("on"), HealthCheckUri: pulumi.String("/cons"), HealthCheckConnectPort: pulumi.Int(20), HealthyThreshold: pulumi.Int(8), UnhealthyThreshold: pulumi.Int(8), HealthCheckTimeout: pulumi.Int(8), HealthCheckInterval: pulumi.Int(5), HealthCheckHttpCode: pulumi.String("http_2xx,http_3xx"), Bandwidth: pulumi.Int(10), ServerCertificateId: domainExtensionServerCertificate.ID(), }) if err != nil { return err } _, err = slb.NewDomainExtension(ctx, "example1", &slb.DomainExtensionArgs{ LoadBalancerId: instance.ID(), FrontendPort: https.FrontendPort, Domain: pulumi.String("www.test.com"), ServerCertificateId: domainExtensionServerCertificate.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Load balancer domain_extension can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/domainExtension:DomainExtension example de-abc123456
```
func GetDomainExtension ¶
func GetDomainExtension(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DomainExtensionState, opts ...pulumi.ResourceOption) (*DomainExtension, error)
GetDomainExtension gets an existing DomainExtension 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 NewDomainExtension ¶
func NewDomainExtension(ctx *pulumi.Context, name string, args *DomainExtensionArgs, opts ...pulumi.ResourceOption) (*DomainExtension, error)
NewDomainExtension registers a new resource with the given unique name, arguments, and options.
func (*DomainExtension) ElementType ¶
func (*DomainExtension) ElementType() reflect.Type
func (*DomainExtension) ToDomainExtensionOutput ¶
func (i *DomainExtension) ToDomainExtensionOutput() DomainExtensionOutput
func (*DomainExtension) ToDomainExtensionOutputWithContext ¶
func (i *DomainExtension) ToDomainExtensionOutputWithContext(ctx context.Context) DomainExtensionOutput
type DomainExtensionArgs ¶
type DomainExtensionArgs struct { // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The domain name. Domain pulumi.StringInput // The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535. FrontendPort pulumi.IntInput // The ID of the SLB instance. LoadBalancerId pulumi.StringInput // The ID of the certificate used by the domain name. ServerCertificateId pulumi.StringInput }
The set of arguments for constructing a DomainExtension resource.
func (DomainExtensionArgs) ElementType ¶
func (DomainExtensionArgs) ElementType() reflect.Type
type DomainExtensionArray ¶
type DomainExtensionArray []DomainExtensionInput
func (DomainExtensionArray) ElementType ¶
func (DomainExtensionArray) ElementType() reflect.Type
func (DomainExtensionArray) ToDomainExtensionArrayOutput ¶
func (i DomainExtensionArray) ToDomainExtensionArrayOutput() DomainExtensionArrayOutput
func (DomainExtensionArray) ToDomainExtensionArrayOutputWithContext ¶
func (i DomainExtensionArray) ToDomainExtensionArrayOutputWithContext(ctx context.Context) DomainExtensionArrayOutput
type DomainExtensionArrayInput ¶
type DomainExtensionArrayInput interface { pulumi.Input ToDomainExtensionArrayOutput() DomainExtensionArrayOutput ToDomainExtensionArrayOutputWithContext(context.Context) DomainExtensionArrayOutput }
DomainExtensionArrayInput is an input type that accepts DomainExtensionArray and DomainExtensionArrayOutput values. You can construct a concrete instance of `DomainExtensionArrayInput` via:
DomainExtensionArray{ DomainExtensionArgs{...} }
type DomainExtensionArrayOutput ¶
type DomainExtensionArrayOutput struct{ *pulumi.OutputState }
func (DomainExtensionArrayOutput) ElementType ¶
func (DomainExtensionArrayOutput) ElementType() reflect.Type
func (DomainExtensionArrayOutput) Index ¶
func (o DomainExtensionArrayOutput) Index(i pulumi.IntInput) DomainExtensionOutput
func (DomainExtensionArrayOutput) ToDomainExtensionArrayOutput ¶
func (o DomainExtensionArrayOutput) ToDomainExtensionArrayOutput() DomainExtensionArrayOutput
func (DomainExtensionArrayOutput) ToDomainExtensionArrayOutputWithContext ¶
func (o DomainExtensionArrayOutput) ToDomainExtensionArrayOutputWithContext(ctx context.Context) DomainExtensionArrayOutput
type DomainExtensionInput ¶
type DomainExtensionInput interface { pulumi.Input ToDomainExtensionOutput() DomainExtensionOutput ToDomainExtensionOutputWithContext(ctx context.Context) DomainExtensionOutput }
type DomainExtensionMap ¶
type DomainExtensionMap map[string]DomainExtensionInput
func (DomainExtensionMap) ElementType ¶
func (DomainExtensionMap) ElementType() reflect.Type
func (DomainExtensionMap) ToDomainExtensionMapOutput ¶
func (i DomainExtensionMap) ToDomainExtensionMapOutput() DomainExtensionMapOutput
func (DomainExtensionMap) ToDomainExtensionMapOutputWithContext ¶
func (i DomainExtensionMap) ToDomainExtensionMapOutputWithContext(ctx context.Context) DomainExtensionMapOutput
type DomainExtensionMapInput ¶
type DomainExtensionMapInput interface { pulumi.Input ToDomainExtensionMapOutput() DomainExtensionMapOutput ToDomainExtensionMapOutputWithContext(context.Context) DomainExtensionMapOutput }
DomainExtensionMapInput is an input type that accepts DomainExtensionMap and DomainExtensionMapOutput values. You can construct a concrete instance of `DomainExtensionMapInput` via:
DomainExtensionMap{ "key": DomainExtensionArgs{...} }
type DomainExtensionMapOutput ¶
type DomainExtensionMapOutput struct{ *pulumi.OutputState }
func (DomainExtensionMapOutput) ElementType ¶
func (DomainExtensionMapOutput) ElementType() reflect.Type
func (DomainExtensionMapOutput) MapIndex ¶
func (o DomainExtensionMapOutput) MapIndex(k pulumi.StringInput) DomainExtensionOutput
func (DomainExtensionMapOutput) ToDomainExtensionMapOutput ¶
func (o DomainExtensionMapOutput) ToDomainExtensionMapOutput() DomainExtensionMapOutput
func (DomainExtensionMapOutput) ToDomainExtensionMapOutputWithContext ¶
func (o DomainExtensionMapOutput) ToDomainExtensionMapOutputWithContext(ctx context.Context) DomainExtensionMapOutput
type DomainExtensionOutput ¶
type DomainExtensionOutput struct{ *pulumi.OutputState }
func (DomainExtensionOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o DomainExtensionOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (DomainExtensionOutput) Domain ¶ added in v3.27.0
func (o DomainExtensionOutput) Domain() pulumi.StringOutput
The domain name.
func (DomainExtensionOutput) ElementType ¶
func (DomainExtensionOutput) ElementType() reflect.Type
func (DomainExtensionOutput) FrontendPort ¶ added in v3.27.0
func (o DomainExtensionOutput) FrontendPort() pulumi.IntOutput
The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.
func (DomainExtensionOutput) LoadBalancerId ¶ added in v3.27.0
func (o DomainExtensionOutput) LoadBalancerId() pulumi.StringOutput
The ID of the SLB instance.
func (DomainExtensionOutput) ServerCertificateId ¶ added in v3.27.0
func (o DomainExtensionOutput) ServerCertificateId() pulumi.StringOutput
The ID of the certificate used by the domain name.
func (DomainExtensionOutput) ToDomainExtensionOutput ¶
func (o DomainExtensionOutput) ToDomainExtensionOutput() DomainExtensionOutput
func (DomainExtensionOutput) ToDomainExtensionOutputWithContext ¶
func (o DomainExtensionOutput) ToDomainExtensionOutputWithContext(ctx context.Context) DomainExtensionOutput
type DomainExtensionState ¶
type DomainExtensionState struct { // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The domain name. Domain pulumi.StringPtrInput // The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535. FrontendPort pulumi.IntPtrInput // The ID of the SLB instance. LoadBalancerId pulumi.StringPtrInput // The ID of the certificate used by the domain name. ServerCertificateId pulumi.StringPtrInput }
func (DomainExtensionState) ElementType ¶
func (DomainExtensionState) ElementType() reflect.Type
type GetAclsAcl ¶
type GetAclsAcl struct { // A list of entry (IP addresses or CIDR blocks). Each entry contains two sub-fields as `Entry Block` follows. EntryLists []GetAclsAclEntryList `pulumi:"entryLists"` // Acl ID. Id string `pulumi:"id"` IpVersion string `pulumi:"ipVersion"` // Acl name. Name string `pulumi:"name"` // A list of listener are attached by the acl. Each listener contains four sub-fields as `Listener Block` follows. RelatedListeners []GetAclsAclRelatedListener `pulumi:"relatedListeners"` // The Id of resource group which acl belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetAclsAclArgs ¶
type GetAclsAclArgs struct { // A list of entry (IP addresses or CIDR blocks). Each entry contains two sub-fields as `Entry Block` follows. EntryLists GetAclsAclEntryListArrayInput `pulumi:"entryLists"` // Acl ID. Id pulumi.StringInput `pulumi:"id"` IpVersion pulumi.StringInput `pulumi:"ipVersion"` // Acl name. Name pulumi.StringInput `pulumi:"name"` // A list of listener are attached by the acl. Each listener contains four sub-fields as `Listener Block` follows. RelatedListeners GetAclsAclRelatedListenerArrayInput `pulumi:"relatedListeners"` // The Id of resource group which acl belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetAclsAclArgs) ElementType ¶
func (GetAclsAclArgs) ElementType() reflect.Type
func (GetAclsAclArgs) ToGetAclsAclOutput ¶
func (i GetAclsAclArgs) ToGetAclsAclOutput() GetAclsAclOutput
func (GetAclsAclArgs) ToGetAclsAclOutputWithContext ¶
func (i GetAclsAclArgs) ToGetAclsAclOutputWithContext(ctx context.Context) GetAclsAclOutput
type GetAclsAclArray ¶
type GetAclsAclArray []GetAclsAclInput
func (GetAclsAclArray) ElementType ¶
func (GetAclsAclArray) ElementType() reflect.Type
func (GetAclsAclArray) ToGetAclsAclArrayOutput ¶
func (i GetAclsAclArray) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
func (GetAclsAclArray) ToGetAclsAclArrayOutputWithContext ¶
func (i GetAclsAclArray) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
type GetAclsAclArrayInput ¶
type GetAclsAclArrayInput interface { pulumi.Input ToGetAclsAclArrayOutput() GetAclsAclArrayOutput ToGetAclsAclArrayOutputWithContext(context.Context) GetAclsAclArrayOutput }
GetAclsAclArrayInput is an input type that accepts GetAclsAclArray and GetAclsAclArrayOutput values. You can construct a concrete instance of `GetAclsAclArrayInput` via:
GetAclsAclArray{ GetAclsAclArgs{...} }
type GetAclsAclArrayOutput ¶
type GetAclsAclArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclArrayOutput) ElementType ¶
func (GetAclsAclArrayOutput) ElementType() reflect.Type
func (GetAclsAclArrayOutput) Index ¶
func (o GetAclsAclArrayOutput) Index(i pulumi.IntInput) GetAclsAclOutput
func (GetAclsAclArrayOutput) ToGetAclsAclArrayOutput ¶
func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
func (GetAclsAclArrayOutput) ToGetAclsAclArrayOutputWithContext ¶
func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
type GetAclsAclEntryList ¶
type GetAclsAclEntryListArgs ¶
type GetAclsAclEntryListArgs struct { Comment pulumi.StringInput `pulumi:"comment"` Entry pulumi.StringInput `pulumi:"entry"` }
func (GetAclsAclEntryListArgs) ElementType ¶
func (GetAclsAclEntryListArgs) ElementType() reflect.Type
func (GetAclsAclEntryListArgs) ToGetAclsAclEntryListOutput ¶
func (i GetAclsAclEntryListArgs) ToGetAclsAclEntryListOutput() GetAclsAclEntryListOutput
func (GetAclsAclEntryListArgs) ToGetAclsAclEntryListOutputWithContext ¶
func (i GetAclsAclEntryListArgs) ToGetAclsAclEntryListOutputWithContext(ctx context.Context) GetAclsAclEntryListOutput
type GetAclsAclEntryListArray ¶
type GetAclsAclEntryListArray []GetAclsAclEntryListInput
func (GetAclsAclEntryListArray) ElementType ¶
func (GetAclsAclEntryListArray) ElementType() reflect.Type
func (GetAclsAclEntryListArray) ToGetAclsAclEntryListArrayOutput ¶
func (i GetAclsAclEntryListArray) ToGetAclsAclEntryListArrayOutput() GetAclsAclEntryListArrayOutput
func (GetAclsAclEntryListArray) ToGetAclsAclEntryListArrayOutputWithContext ¶
func (i GetAclsAclEntryListArray) ToGetAclsAclEntryListArrayOutputWithContext(ctx context.Context) GetAclsAclEntryListArrayOutput
type GetAclsAclEntryListArrayInput ¶
type GetAclsAclEntryListArrayInput interface { pulumi.Input ToGetAclsAclEntryListArrayOutput() GetAclsAclEntryListArrayOutput ToGetAclsAclEntryListArrayOutputWithContext(context.Context) GetAclsAclEntryListArrayOutput }
GetAclsAclEntryListArrayInput is an input type that accepts GetAclsAclEntryListArray and GetAclsAclEntryListArrayOutput values. You can construct a concrete instance of `GetAclsAclEntryListArrayInput` via:
GetAclsAclEntryListArray{ GetAclsAclEntryListArgs{...} }
type GetAclsAclEntryListArrayOutput ¶
type GetAclsAclEntryListArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclEntryListArrayOutput) ElementType ¶
func (GetAclsAclEntryListArrayOutput) ElementType() reflect.Type
func (GetAclsAclEntryListArrayOutput) Index ¶
func (o GetAclsAclEntryListArrayOutput) Index(i pulumi.IntInput) GetAclsAclEntryListOutput
func (GetAclsAclEntryListArrayOutput) ToGetAclsAclEntryListArrayOutput ¶
func (o GetAclsAclEntryListArrayOutput) ToGetAclsAclEntryListArrayOutput() GetAclsAclEntryListArrayOutput
func (GetAclsAclEntryListArrayOutput) ToGetAclsAclEntryListArrayOutputWithContext ¶
func (o GetAclsAclEntryListArrayOutput) ToGetAclsAclEntryListArrayOutputWithContext(ctx context.Context) GetAclsAclEntryListArrayOutput
type GetAclsAclEntryListInput ¶
type GetAclsAclEntryListInput interface { pulumi.Input ToGetAclsAclEntryListOutput() GetAclsAclEntryListOutput ToGetAclsAclEntryListOutputWithContext(context.Context) GetAclsAclEntryListOutput }
GetAclsAclEntryListInput is an input type that accepts GetAclsAclEntryListArgs and GetAclsAclEntryListOutput values. You can construct a concrete instance of `GetAclsAclEntryListInput` via:
GetAclsAclEntryListArgs{...}
type GetAclsAclEntryListOutput ¶
type GetAclsAclEntryListOutput struct{ *pulumi.OutputState }
func (GetAclsAclEntryListOutput) Comment ¶
func (o GetAclsAclEntryListOutput) Comment() pulumi.StringOutput
func (GetAclsAclEntryListOutput) ElementType ¶
func (GetAclsAclEntryListOutput) ElementType() reflect.Type
func (GetAclsAclEntryListOutput) Entry ¶
func (o GetAclsAclEntryListOutput) Entry() pulumi.StringOutput
func (GetAclsAclEntryListOutput) ToGetAclsAclEntryListOutput ¶
func (o GetAclsAclEntryListOutput) ToGetAclsAclEntryListOutput() GetAclsAclEntryListOutput
func (GetAclsAclEntryListOutput) ToGetAclsAclEntryListOutputWithContext ¶
func (o GetAclsAclEntryListOutput) ToGetAclsAclEntryListOutputWithContext(ctx context.Context) GetAclsAclEntryListOutput
type GetAclsAclInput ¶
type GetAclsAclInput interface { pulumi.Input ToGetAclsAclOutput() GetAclsAclOutput ToGetAclsAclOutputWithContext(context.Context) GetAclsAclOutput }
GetAclsAclInput is an input type that accepts GetAclsAclArgs and GetAclsAclOutput values. You can construct a concrete instance of `GetAclsAclInput` via:
GetAclsAclArgs{...}
type GetAclsAclOutput ¶
type GetAclsAclOutput struct{ *pulumi.OutputState }
func (GetAclsAclOutput) ElementType ¶
func (GetAclsAclOutput) ElementType() reflect.Type
func (GetAclsAclOutput) EntryLists ¶
func (o GetAclsAclOutput) EntryLists() GetAclsAclEntryListArrayOutput
A list of entry (IP addresses or CIDR blocks). Each entry contains two sub-fields as `Entry Block` follows.
func (GetAclsAclOutput) IpVersion ¶
func (o GetAclsAclOutput) IpVersion() pulumi.StringOutput
func (GetAclsAclOutput) RelatedListeners ¶
func (o GetAclsAclOutput) RelatedListeners() GetAclsAclRelatedListenerArrayOutput
A list of listener are attached by the acl. Each listener contains four sub-fields as `Listener Block` follows.
func (GetAclsAclOutput) ResourceGroupId ¶
func (o GetAclsAclOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which acl belongs.
func (GetAclsAclOutput) Tags ¶
func (o GetAclsAclOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetAclsAclOutput) ToGetAclsAclOutput ¶
func (o GetAclsAclOutput) ToGetAclsAclOutput() GetAclsAclOutput
func (GetAclsAclOutput) ToGetAclsAclOutputWithContext ¶
func (o GetAclsAclOutput) ToGetAclsAclOutputWithContext(ctx context.Context) GetAclsAclOutput
type GetAclsAclRelatedListenerArgs ¶
type GetAclsAclRelatedListenerArgs struct { AclType pulumi.StringInput `pulumi:"aclType"` FrontendPort pulumi.IntInput `pulumi:"frontendPort"` LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` Protocol pulumi.StringInput `pulumi:"protocol"` }
func (GetAclsAclRelatedListenerArgs) ElementType ¶
func (GetAclsAclRelatedListenerArgs) ElementType() reflect.Type
func (GetAclsAclRelatedListenerArgs) ToGetAclsAclRelatedListenerOutput ¶
func (i GetAclsAclRelatedListenerArgs) ToGetAclsAclRelatedListenerOutput() GetAclsAclRelatedListenerOutput
func (GetAclsAclRelatedListenerArgs) ToGetAclsAclRelatedListenerOutputWithContext ¶
func (i GetAclsAclRelatedListenerArgs) ToGetAclsAclRelatedListenerOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerOutput
type GetAclsAclRelatedListenerArray ¶
type GetAclsAclRelatedListenerArray []GetAclsAclRelatedListenerInput
func (GetAclsAclRelatedListenerArray) ElementType ¶
func (GetAclsAclRelatedListenerArray) ElementType() reflect.Type
func (GetAclsAclRelatedListenerArray) ToGetAclsAclRelatedListenerArrayOutput ¶
func (i GetAclsAclRelatedListenerArray) ToGetAclsAclRelatedListenerArrayOutput() GetAclsAclRelatedListenerArrayOutput
func (GetAclsAclRelatedListenerArray) ToGetAclsAclRelatedListenerArrayOutputWithContext ¶
func (i GetAclsAclRelatedListenerArray) ToGetAclsAclRelatedListenerArrayOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerArrayOutput
type GetAclsAclRelatedListenerArrayInput ¶
type GetAclsAclRelatedListenerArrayInput interface { pulumi.Input ToGetAclsAclRelatedListenerArrayOutput() GetAclsAclRelatedListenerArrayOutput ToGetAclsAclRelatedListenerArrayOutputWithContext(context.Context) GetAclsAclRelatedListenerArrayOutput }
GetAclsAclRelatedListenerArrayInput is an input type that accepts GetAclsAclRelatedListenerArray and GetAclsAclRelatedListenerArrayOutput values. You can construct a concrete instance of `GetAclsAclRelatedListenerArrayInput` via:
GetAclsAclRelatedListenerArray{ GetAclsAclRelatedListenerArgs{...} }
type GetAclsAclRelatedListenerArrayOutput ¶
type GetAclsAclRelatedListenerArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclRelatedListenerArrayOutput) ElementType ¶
func (GetAclsAclRelatedListenerArrayOutput) ElementType() reflect.Type
func (GetAclsAclRelatedListenerArrayOutput) Index ¶
func (o GetAclsAclRelatedListenerArrayOutput) Index(i pulumi.IntInput) GetAclsAclRelatedListenerOutput
func (GetAclsAclRelatedListenerArrayOutput) ToGetAclsAclRelatedListenerArrayOutput ¶
func (o GetAclsAclRelatedListenerArrayOutput) ToGetAclsAclRelatedListenerArrayOutput() GetAclsAclRelatedListenerArrayOutput
func (GetAclsAclRelatedListenerArrayOutput) ToGetAclsAclRelatedListenerArrayOutputWithContext ¶
func (o GetAclsAclRelatedListenerArrayOutput) ToGetAclsAclRelatedListenerArrayOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerArrayOutput
type GetAclsAclRelatedListenerInput ¶
type GetAclsAclRelatedListenerInput interface { pulumi.Input ToGetAclsAclRelatedListenerOutput() GetAclsAclRelatedListenerOutput ToGetAclsAclRelatedListenerOutputWithContext(context.Context) GetAclsAclRelatedListenerOutput }
GetAclsAclRelatedListenerInput is an input type that accepts GetAclsAclRelatedListenerArgs and GetAclsAclRelatedListenerOutput values. You can construct a concrete instance of `GetAclsAclRelatedListenerInput` via:
GetAclsAclRelatedListenerArgs{...}
type GetAclsAclRelatedListenerOutput ¶
type GetAclsAclRelatedListenerOutput struct{ *pulumi.OutputState }
func (GetAclsAclRelatedListenerOutput) AclType ¶
func (o GetAclsAclRelatedListenerOutput) AclType() pulumi.StringOutput
func (GetAclsAclRelatedListenerOutput) ElementType ¶
func (GetAclsAclRelatedListenerOutput) ElementType() reflect.Type
func (GetAclsAclRelatedListenerOutput) FrontendPort ¶
func (o GetAclsAclRelatedListenerOutput) FrontendPort() pulumi.IntOutput
func (GetAclsAclRelatedListenerOutput) LoadBalancerId ¶
func (o GetAclsAclRelatedListenerOutput) LoadBalancerId() pulumi.StringOutput
func (GetAclsAclRelatedListenerOutput) Protocol ¶
func (o GetAclsAclRelatedListenerOutput) Protocol() pulumi.StringOutput
func (GetAclsAclRelatedListenerOutput) ToGetAclsAclRelatedListenerOutput ¶
func (o GetAclsAclRelatedListenerOutput) ToGetAclsAclRelatedListenerOutput() GetAclsAclRelatedListenerOutput
func (GetAclsAclRelatedListenerOutput) ToGetAclsAclRelatedListenerOutputWithContext ¶
func (o GetAclsAclRelatedListenerOutput) ToGetAclsAclRelatedListenerOutputWithContext(ctx context.Context) GetAclsAclRelatedListenerOutput
type GetAclsArgs ¶
type GetAclsArgs struct { // A list of acls IDs to filter results. Ids []string `pulumi:"ids"` // A regex string to filter results by acl name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The Id of resource group which acl belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getAcls.
type GetAclsOutputArgs ¶ added in v3.9.0
type GetAclsOutputArgs struct { // A list of acls IDs to filter results. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by acl name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Id of resource group which acl belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getAcls.
func (GetAclsOutputArgs) ElementType ¶ added in v3.9.0
func (GetAclsOutputArgs) ElementType() reflect.Type
type GetAclsResult ¶
type GetAclsResult struct { // A list of SLB acls. Each element contains the following attributes: Acls []GetAclsAcl `pulumi:"acls"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of SLB acls IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of SLB acls names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // Resource group ID. ResourceGroupId *string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getAcls.
func GetAcls ¶
func GetAcls(ctx *pulumi.Context, args *GetAclsArgs, opts ...pulumi.InvokeOption) (*GetAclsResult, error)
This data source provides the acls in the region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { sampleDs, err := slb.GetAcls(ctx, nil, nil) if err != nil { return err } ctx.Export("firstSlbAclId", sampleDs.Acls[0].Id) return nil }) }
``` ## Entry Block
The entry mapping supports the following:
* `entry` - An IP addresses or CIDR blocks. * `comment` - the comment of the entry.
## Listener Block
The Listener mapping supports the following:
* `loadBalancerId` - the id of load balancer instance, the listener belongs to. * `frontendPort` - the listener port. * `protocol` - the listener protocol (such as tcp/udp/http/https, etc). * `aclType` - the type of acl (such as white/black).
type GetAclsResultOutput ¶ added in v3.9.0
type GetAclsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAcls.
func GetAclsOutput ¶ added in v3.9.0
func GetAclsOutput(ctx *pulumi.Context, args GetAclsOutputArgs, opts ...pulumi.InvokeOption) GetAclsResultOutput
func (GetAclsResultOutput) Acls ¶ added in v3.9.0
func (o GetAclsResultOutput) Acls() GetAclsAclArrayOutput
A list of SLB acls. Each element contains the following attributes:
func (GetAclsResultOutput) ElementType ¶ added in v3.9.0
func (GetAclsResultOutput) ElementType() reflect.Type
func (GetAclsResultOutput) Id ¶ added in v3.9.0
func (o GetAclsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAclsResultOutput) Ids ¶ added in v3.9.0
func (o GetAclsResultOutput) Ids() pulumi.StringArrayOutput
A list of SLB acls IDs.
func (GetAclsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetAclsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAclsResultOutput) Names ¶ added in v3.9.0
func (o GetAclsResultOutput) Names() pulumi.StringArrayOutput
A list of SLB acls names.
func (GetAclsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetAclsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAclsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetAclsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
Resource group ID.
func (GetAclsResultOutput) Tags ¶ added in v3.9.0
func (o GetAclsResultOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetAclsResultOutput) ToGetAclsResultOutput ¶ added in v3.9.0
func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput
func (GetAclsResultOutput) ToGetAclsResultOutputWithContext ¶ added in v3.9.0
func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput
type GetApplicationLoadBalancersArgs ¶ added in v3.3.0
type GetApplicationLoadBalancersArgs struct { // Service address of the SLBs. Address *string `pulumi:"address"` // The address ip version. Valid values `ipv4` and `ipv6`. AddressIpVersion *string `pulumi:"addressIpVersion"` // The address type of the SLB. Valid values `internet` and `intranet`. AddressType *string `pulumi:"addressType"` EnableDetails *bool `pulumi:"enableDetails"` // A list of SLBs IDs. Ids []string `pulumi:"ids"` // The internet charge type. Valid values `PayByBandwidth` and `PayByTraffic`. InternetChargeType *string `pulumi:"internetChargeType"` // The name of the SLB. LoadBalancerName *string `pulumi:"loadBalancerName"` // The master zone id of the SLB. MasterZoneId *string `pulumi:"masterZoneId"` // A regex string to filter results by SLB name. NameRegex *string `pulumi:"nameRegex"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType *string `pulumi:"networkType"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The payment type of SLB. Valid values `PayAsYouGo` and `Subscription`. PaymentType *string `pulumi:"paymentType"` // The Id of resource group which SLB belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // The server ID. ServerId *string `pulumi:"serverId"` // The server intranet address. ServerIntranetAddress *string `pulumi:"serverIntranetAddress"` // The slave zone id of the SLB. SlaveZoneId *string `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status *string `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId *string `pulumi:"vswitchId"` }
A collection of arguments for invoking getApplicationLoadBalancers.
type GetApplicationLoadBalancersBalancer ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancer struct { // Service address of the SLBs. Address string `pulumi:"address"` // The address ip version. Valid values `ipv4` and `ipv6`. AddressIpVersion string `pulumi:"addressIpVersion"` // The address type of the SLB. Valid values `internet` and `intranet`. AddressType string `pulumi:"addressType"` // The auto release time. AutoReleaseTime int `pulumi:"autoReleaseTime"` // The backend servers of the SLB. BackendServers []GetApplicationLoadBalancersBalancerBackendServer `pulumi:"backendServers"` // The bandwidth of the SLB. Bandwidth int `pulumi:"bandwidth"` // The create time stamp of the SLB. CreateTimeStamp int `pulumi:"createTimeStamp"` // Whether the SLB should delete protection. DeleteProtection string `pulumi:"deleteProtection"` // The end time of the SLB. EndTime string `pulumi:"endTime"` // The end time stamp of the SLB. EndTimeStamp int `pulumi:"endTimeStamp"` // ID of the SLB. Id string `pulumi:"id"` // The internet charge type. Valid values `PayByBandwidth` and `PayByTraffic`. InternetChargeType string `pulumi:"internetChargeType"` // The listener ports and protocal of the SLB. ListenerPortsAndProtocals []GetApplicationLoadBalancersBalancerListenerPortsAndProtocal `pulumi:"listenerPortsAndProtocals"` // The listener ports and protocol of the SLB. ListenerPortsAndProtocols []GetApplicationLoadBalancersBalancerListenerPortsAndProtocol `pulumi:"listenerPortsAndProtocols"` // Thd ID of the SLB. LoadBalancerId string `pulumi:"loadBalancerId"` // The name of the SLB. LoadBalancerName string `pulumi:"loadBalancerName"` // The specification of the SLB. LoadBalancerSpec string `pulumi:"loadBalancerSpec"` // The master zone id of the SLB. MasterZoneId string `pulumi:"masterZoneId"` // The reason of modification protection. ModificationProtectionReason string `pulumi:"modificationProtectionReason"` // The status of modification protection. ModificationProtectionStatus string `pulumi:"modificationProtectionStatus"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType string `pulumi:"networkType"` // The payment type of SLB. Valid values `PayAsYouGo` and `Subscription`. PaymentType string `pulumi:"paymentType"` // Region ID the SLB belongs to. RegionIdAlias string `pulumi:"regionIdAlias"` // The renewal cyc unit of the SLB. RenewalCycUnit string `pulumi:"renewalCycUnit"` // The renewal duration of the SLB. RenewalDuration int `pulumi:"renewalDuration"` // The renewal status of the SLB. RenewalStatus string `pulumi:"renewalStatus"` // The Id of resource group which SLB belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // The slave zone id of the SLB. SlaveZoneId string `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status string `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId string `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId string `pulumi:"vswitchId"` }
type GetApplicationLoadBalancersBalancerArgs ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerArgs struct { // Service address of the SLBs. Address pulumi.StringInput `pulumi:"address"` // The address ip version. Valid values `ipv4` and `ipv6`. AddressIpVersion pulumi.StringInput `pulumi:"addressIpVersion"` // The address type of the SLB. Valid values `internet` and `intranet`. AddressType pulumi.StringInput `pulumi:"addressType"` // The auto release time. AutoReleaseTime pulumi.IntInput `pulumi:"autoReleaseTime"` // The backend servers of the SLB. BackendServers GetApplicationLoadBalancersBalancerBackendServerArrayInput `pulumi:"backendServers"` // The bandwidth of the SLB. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // The create time stamp of the SLB. CreateTimeStamp pulumi.IntInput `pulumi:"createTimeStamp"` // Whether the SLB should delete protection. DeleteProtection pulumi.StringInput `pulumi:"deleteProtection"` // The end time of the SLB. EndTime pulumi.StringInput `pulumi:"endTime"` // The end time stamp of the SLB. EndTimeStamp pulumi.IntInput `pulumi:"endTimeStamp"` // ID of the SLB. Id pulumi.StringInput `pulumi:"id"` // The internet charge type. Valid values `PayByBandwidth` and `PayByTraffic`. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // The listener ports and protocal of the SLB. ListenerPortsAndProtocals GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayInput `pulumi:"listenerPortsAndProtocals"` // The listener ports and protocol of the SLB. ListenerPortsAndProtocols GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayInput `pulumi:"listenerPortsAndProtocols"` // Thd ID of the SLB. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // The name of the SLB. LoadBalancerName pulumi.StringInput `pulumi:"loadBalancerName"` // The specification of the SLB. LoadBalancerSpec pulumi.StringInput `pulumi:"loadBalancerSpec"` // The master zone id of the SLB. MasterZoneId pulumi.StringInput `pulumi:"masterZoneId"` // The reason of modification protection. ModificationProtectionReason pulumi.StringInput `pulumi:"modificationProtectionReason"` // The status of modification protection. ModificationProtectionStatus pulumi.StringInput `pulumi:"modificationProtectionStatus"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType pulumi.StringInput `pulumi:"networkType"` // The payment type of SLB. Valid values `PayAsYouGo` and `Subscription`. PaymentType pulumi.StringInput `pulumi:"paymentType"` // Region ID the SLB belongs to. RegionIdAlias pulumi.StringInput `pulumi:"regionIdAlias"` // The renewal cyc unit of the SLB. RenewalCycUnit pulumi.StringInput `pulumi:"renewalCycUnit"` // The renewal duration of the SLB. RenewalDuration pulumi.IntInput `pulumi:"renewalDuration"` // The renewal status of the SLB. RenewalStatus pulumi.StringInput `pulumi:"renewalStatus"` // The Id of resource group which SLB belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The slave zone id of the SLB. SlaveZoneId pulumi.StringInput `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId pulumi.StringInput `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetApplicationLoadBalancersBalancerArgs) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerArgs) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerArgs) ToGetApplicationLoadBalancersBalancerOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerArgs) ToGetApplicationLoadBalancersBalancerOutput() GetApplicationLoadBalancersBalancerOutput
func (GetApplicationLoadBalancersBalancerArgs) ToGetApplicationLoadBalancersBalancerOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerArgs) ToGetApplicationLoadBalancersBalancerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerOutput
type GetApplicationLoadBalancersBalancerArray ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerArray []GetApplicationLoadBalancersBalancerInput
func (GetApplicationLoadBalancersBalancerArray) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerArray) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerArray) ToGetApplicationLoadBalancersBalancerArrayOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerArray) ToGetApplicationLoadBalancersBalancerArrayOutput() GetApplicationLoadBalancersBalancerArrayOutput
func (GetApplicationLoadBalancersBalancerArray) ToGetApplicationLoadBalancersBalancerArrayOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerArray) ToGetApplicationLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerArrayOutput
type GetApplicationLoadBalancersBalancerArrayInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerArrayInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerArrayOutput() GetApplicationLoadBalancersBalancerArrayOutput ToGetApplicationLoadBalancersBalancerArrayOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerArrayOutput }
GetApplicationLoadBalancersBalancerArrayInput is an input type that accepts GetApplicationLoadBalancersBalancerArray and GetApplicationLoadBalancersBalancerArrayOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerArrayInput` via:
GetApplicationLoadBalancersBalancerArray{ GetApplicationLoadBalancersBalancerArgs{...} }
type GetApplicationLoadBalancersBalancerArrayOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerArrayOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerArrayOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerArrayOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerArrayOutput) ToGetApplicationLoadBalancersBalancerArrayOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerArrayOutput) ToGetApplicationLoadBalancersBalancerArrayOutput() GetApplicationLoadBalancersBalancerArrayOutput
func (GetApplicationLoadBalancersBalancerArrayOutput) ToGetApplicationLoadBalancersBalancerArrayOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerArrayOutput) ToGetApplicationLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerArrayOutput
type GetApplicationLoadBalancersBalancerBackendServer ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerArgs ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerArgs struct { // The description of protocol. Description pulumi.StringInput `pulumi:"description"` // The server ID. ServerId pulumi.StringInput `pulumi:"serverId"` // The type of servers. Type pulumi.StringInput `pulumi:"type"` // The weight of servers. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetApplicationLoadBalancersBalancerBackendServerArgs) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerBackendServerArgs) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerBackendServerArgs) ToGetApplicationLoadBalancersBalancerBackendServerOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerBackendServerArgs) ToGetApplicationLoadBalancersBalancerBackendServerOutput() GetApplicationLoadBalancersBalancerBackendServerOutput
func (GetApplicationLoadBalancersBalancerBackendServerArgs) ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerBackendServerArgs) ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerOutput
type GetApplicationLoadBalancersBalancerBackendServerArray ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerArray []GetApplicationLoadBalancersBalancerBackendServerInput
func (GetApplicationLoadBalancersBalancerBackendServerArray) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerBackendServerArray) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerBackendServerArray) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerBackendServerArray) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput() GetApplicationLoadBalancersBalancerBackendServerArrayOutput
func (GetApplicationLoadBalancersBalancerBackendServerArray) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerBackendServerArray) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerArrayOutput
type GetApplicationLoadBalancersBalancerBackendServerArrayInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerArrayInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput() GetApplicationLoadBalancersBalancerBackendServerArrayOutput ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerBackendServerArrayOutput }
GetApplicationLoadBalancersBalancerBackendServerArrayInput is an input type that accepts GetApplicationLoadBalancersBalancerBackendServerArray and GetApplicationLoadBalancersBalancerBackendServerArrayOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerBackendServerArrayInput` via:
GetApplicationLoadBalancersBalancerBackendServerArray{ GetApplicationLoadBalancersBalancerBackendServerArgs{...} }
type GetApplicationLoadBalancersBalancerBackendServerArrayOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerArrayOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutput() GetApplicationLoadBalancersBalancerBackendServerArrayOutput
func (GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerArrayOutput) ToGetApplicationLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerArrayOutput
type GetApplicationLoadBalancersBalancerBackendServerInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerBackendServerOutput() GetApplicationLoadBalancersBalancerBackendServerOutput ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerBackendServerOutput }
GetApplicationLoadBalancersBalancerBackendServerInput is an input type that accepts GetApplicationLoadBalancersBalancerBackendServerArgs and GetApplicationLoadBalancersBalancerBackendServerOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerBackendServerInput` via:
GetApplicationLoadBalancersBalancerBackendServerArgs{...}
type GetApplicationLoadBalancersBalancerBackendServerOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerBackendServerOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerBackendServerOutput) Description ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerOutput) Description() pulumi.StringOutput
The description of protocol.
func (GetApplicationLoadBalancersBalancerBackendServerOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerBackendServerOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerBackendServerOutput) ServerId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerOutput) ServerId() pulumi.StringOutput
The server ID.
func (GetApplicationLoadBalancersBalancerBackendServerOutput) ToGetApplicationLoadBalancersBalancerBackendServerOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerOutput) ToGetApplicationLoadBalancersBalancerBackendServerOutput() GetApplicationLoadBalancersBalancerBackendServerOutput
func (GetApplicationLoadBalancersBalancerBackendServerOutput) ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerOutput) ToGetApplicationLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerBackendServerOutput
func (GetApplicationLoadBalancersBalancerBackendServerOutput) Type ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerOutput) Type() pulumi.StringOutput
The type of servers.
func (GetApplicationLoadBalancersBalancerBackendServerOutput) Weight ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerBackendServerOutput) Weight() pulumi.IntOutput
The weight of servers.
type GetApplicationLoadBalancersBalancerInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerOutput() GetApplicationLoadBalancersBalancerOutput ToGetApplicationLoadBalancersBalancerOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerOutput }
GetApplicationLoadBalancersBalancerInput is an input type that accepts GetApplicationLoadBalancersBalancerArgs and GetApplicationLoadBalancersBalancerOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerInput` via:
GetApplicationLoadBalancersBalancerArgs{...}
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocal ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs struct { // The listener port. ListenerPort pulumi.IntInput `pulumi:"listenerPort"` // The listener protoal. ListenerProtocal pulumi.StringInput `pulumi:"listenerProtocal"` }
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray []GetApplicationLoadBalancersBalancerListenerPortsAndProtocalInput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput }
GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayInput is an input type that accepts GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray and GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayInput` via:
GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArray{ GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs{...} }
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) Index ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput }
GetApplicationLoadBalancersBalancerListenerPortsAndProtocalInput is an input type that accepts GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs and GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerListenerPortsAndProtocalInput` via:
GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArgs{...}
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerPort ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerPort() pulumi.IntOutput
The listener port.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerProtocal ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerProtocal() pulumi.StringOutput
The listener protoal.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocalOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocol ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocol struct { // The description of protocol. Description string `pulumi:"description"` // The forward port. ForwardPort int `pulumi:"forwardPort"` // The listener forward. ListenerForward string `pulumi:"listenerForward"` // The listener port. ListenerPort int `pulumi:"listenerPort"` // The listener protocol. ListenerProtocol string `pulumi:"listenerProtocol"` }
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs struct { // The description of protocol. Description pulumi.StringInput `pulumi:"description"` // The forward port. ForwardPort pulumi.IntInput `pulumi:"forwardPort"` // The listener forward. ListenerForward pulumi.StringInput `pulumi:"listenerForward"` // The listener port. ListenerPort pulumi.IntInput `pulumi:"listenerPort"` // The listener protocol. ListenerProtocol pulumi.StringInput `pulumi:"listenerProtocol"` }
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray []GetApplicationLoadBalancersBalancerListenerPortsAndProtocolInput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput }
GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayInput is an input type that accepts GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray and GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayInput` via:
GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArray{ GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs{...} }
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) Index ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolInput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolInput interface { pulumi.Input ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput }
GetApplicationLoadBalancersBalancerListenerPortsAndProtocolInput is an input type that accepts GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs and GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersBalancerListenerPortsAndProtocolInput` via:
GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArgs{...}
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) Description ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) Description() pulumi.StringOutput
The description of protocol.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ForwardPort ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ForwardPort() pulumi.IntOutput
The forward port.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerForward ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerForward() pulumi.StringOutput
The listener forward.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerPort ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerPort() pulumi.IntOutput
The listener port.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerProtocol ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerProtocol() pulumi.StringOutput
The listener protocol.
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
func (GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerListenerPortsAndProtocolOutput
type GetApplicationLoadBalancersBalancerOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersBalancerOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersBalancerOutput) Address ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) Address() pulumi.StringOutput
Service address of the SLBs.
func (GetApplicationLoadBalancersBalancerOutput) AddressIpVersion ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) AddressIpVersion() pulumi.StringOutput
The address ip version. Valid values `ipv4` and `ipv6`.
func (GetApplicationLoadBalancersBalancerOutput) AddressType ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) AddressType() pulumi.StringOutput
The address type of the SLB. Valid values `internet` and `intranet`.
func (GetApplicationLoadBalancersBalancerOutput) AutoReleaseTime ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) AutoReleaseTime() pulumi.IntOutput
The auto release time.
func (GetApplicationLoadBalancersBalancerOutput) BackendServers ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) BackendServers() GetApplicationLoadBalancersBalancerBackendServerArrayOutput
The backend servers of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) Bandwidth ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) Bandwidth() pulumi.IntOutput
The bandwidth of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) CreateTimeStamp ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) CreateTimeStamp() pulumi.IntOutput
The create time stamp of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) DeleteProtection ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) DeleteProtection() pulumi.StringOutput
Whether the SLB should delete protection.
func (GetApplicationLoadBalancersBalancerOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersBalancerOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersBalancerOutput) EndTime ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) EndTime() pulumi.StringOutput
The end time of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) EndTimeStamp ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) EndTimeStamp() pulumi.IntOutput
The end time stamp of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) Id ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) Id() pulumi.StringOutput
ID of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) InternetChargeType ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) InternetChargeType() pulumi.StringOutput
The internet charge type. Valid values `PayByBandwidth` and `PayByTraffic`.
func (GetApplicationLoadBalancersBalancerOutput) ListenerPortsAndProtocals ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ListenerPortsAndProtocals() GetApplicationLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
The listener ports and protocal of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) ListenerPortsAndProtocols ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ListenerPortsAndProtocols() GetApplicationLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
The listener ports and protocol of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) LoadBalancerId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) LoadBalancerId() pulumi.StringOutput
Thd ID of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) LoadBalancerName ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) LoadBalancerName() pulumi.StringOutput
The name of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) LoadBalancerSpec ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
The specification of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) MasterZoneId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) MasterZoneId() pulumi.StringOutput
The master zone id of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) ModificationProtectionReason ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ModificationProtectionReason() pulumi.StringOutput
The reason of modification protection.
func (GetApplicationLoadBalancersBalancerOutput) ModificationProtectionStatus ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
The status of modification protection.
func (GetApplicationLoadBalancersBalancerOutput) NetworkType ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) NetworkType() pulumi.StringOutput
Network type of the SLBs. Valid values: `vpc` and `classic`.
func (GetApplicationLoadBalancersBalancerOutput) PaymentType ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) PaymentType() pulumi.StringOutput
The payment type of SLB. Valid values `PayAsYouGo` and `Subscription`.
func (GetApplicationLoadBalancersBalancerOutput) RegionIdAlias ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) RegionIdAlias() pulumi.StringOutput
Region ID the SLB belongs to.
func (GetApplicationLoadBalancersBalancerOutput) RenewalCycUnit ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) RenewalCycUnit() pulumi.StringOutput
The renewal cyc unit of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) RenewalDuration ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) RenewalDuration() pulumi.IntOutput
The renewal duration of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) RenewalStatus ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) RenewalStatus() pulumi.StringOutput
The renewal status of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) ResourceGroupId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which SLB belongs.
func (GetApplicationLoadBalancersBalancerOutput) SlaveZoneId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) SlaveZoneId() pulumi.StringOutput
The slave zone id of the SLB.
func (GetApplicationLoadBalancersBalancerOutput) Status ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) Status() pulumi.StringOutput
SLB current status. Possible values: `inactive`, `active` and `locked`.
func (GetApplicationLoadBalancersBalancerOutput) Tags ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) Tags() pulumi.MapOutput
A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format:
func (GetApplicationLoadBalancersBalancerOutput) ToGetApplicationLoadBalancersBalancerOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ToGetApplicationLoadBalancersBalancerOutput() GetApplicationLoadBalancersBalancerOutput
func (GetApplicationLoadBalancersBalancerOutput) ToGetApplicationLoadBalancersBalancerOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) ToGetApplicationLoadBalancersBalancerOutputWithContext(ctx context.Context) GetApplicationLoadBalancersBalancerOutput
func (GetApplicationLoadBalancersBalancerOutput) VpcId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) VpcId() pulumi.StringOutput
ID of the VPC linked to the SLBs.
func (GetApplicationLoadBalancersBalancerOutput) VswitchId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersBalancerOutput) VswitchId() pulumi.StringOutput
ID of the VSwitch linked to the SLBs.
type GetApplicationLoadBalancersOutputArgs ¶ added in v3.9.0
type GetApplicationLoadBalancersOutputArgs struct { // Service address of the SLBs. Address pulumi.StringPtrInput `pulumi:"address"` // The address ip version. Valid values `ipv4` and `ipv6`. AddressIpVersion pulumi.StringPtrInput `pulumi:"addressIpVersion"` // The address type of the SLB. Valid values `internet` and `intranet`. AddressType pulumi.StringPtrInput `pulumi:"addressType"` EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of SLBs IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The internet charge type. Valid values `PayByBandwidth` and `PayByTraffic`. InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"` // The name of the SLB. LoadBalancerName pulumi.StringPtrInput `pulumi:"loadBalancerName"` // The master zone id of the SLB. MasterZoneId pulumi.StringPtrInput `pulumi:"masterZoneId"` // A regex string to filter results by SLB name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType pulumi.StringPtrInput `pulumi:"networkType"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The payment type of SLB. Valid values `PayAsYouGo` and `Subscription`. PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` // The Id of resource group which SLB belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The server ID. ServerId pulumi.StringPtrInput `pulumi:"serverId"` // The server intranet address. ServerIntranetAddress pulumi.StringPtrInput `pulumi:"serverIntranetAddress"` // The slave zone id of the SLB. SlaveZoneId pulumi.StringPtrInput `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
A collection of arguments for invoking getApplicationLoadBalancers.
func (GetApplicationLoadBalancersOutputArgs) ElementType ¶ added in v3.9.0
func (GetApplicationLoadBalancersOutputArgs) ElementType() reflect.Type
type GetApplicationLoadBalancersResult ¶ added in v3.3.0
type GetApplicationLoadBalancersResult struct { // The IP address that the SLB instance uses to provide services. Address *string `pulumi:"address"` // The address ip version. AddressIpVersion *string `pulumi:"addressIpVersion"` // The address type. AddressType *string `pulumi:"addressType"` // A list of SLBs. Each element contains the following attributes: Balancers []GetApplicationLoadBalancersBalancer `pulumi:"balancers"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of slb IDs. Ids []string `pulumi:"ids"` // The billing method of the Internet-facing SLB instance. InternetChargeType *string `pulumi:"internetChargeType"` // The name of the SLB. LoadBalancerName *string `pulumi:"loadBalancerName"` // Master availability zone of the SLBs. MasterZoneId *string `pulumi:"masterZoneId"` NameRegex *string `pulumi:"nameRegex"` // A list of slb names. Names []string `pulumi:"names"` // Network type of the SLB. Possible values: `vpc` and `classic`. NetworkType *string `pulumi:"networkType"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PaymentType *string `pulumi:"paymentType"` // The ID of the resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` // The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance. ServerId *string `pulumi:"serverId"` ServerIntranetAddress *string `pulumi:"serverIntranetAddress"` // Slave availability zone of the SLBs. SlaveZoneId *string `pulumi:"slaveZoneId"` // Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'. Slbs []GetApplicationLoadBalancersSlb `pulumi:"slbs"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status *string `pulumi:"status"` // The tags of the SLB. Tags map[string]interface{} `pulumi:"tags"` TotalCount int `pulumi:"totalCount"` // ID of the VPC the SLB belongs to. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch the SLB belongs to. VswitchId *string `pulumi:"vswitchId"` }
A collection of values returned by getApplicationLoadBalancers.
func GetApplicationLoadBalancers ¶ added in v3.3.0
func GetApplicationLoadBalancers(ctx *pulumi.Context, args *GetApplicationLoadBalancersArgs, opts ...pulumi.InvokeOption) (*GetApplicationLoadBalancersResult, error)
This data source provides the server load balancers of the current Alibaba Cloud user.
> **NOTE:** Available in 1.123.1+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := slb.GetApplicationLoadBalancers(ctx, &slb.GetApplicationLoadBalancersArgs{ NameRegex: pulumi.StringRef("sample_slb"), Tags: map[string]interface{}{ "tagKey1": "tagValue1", "tagKey2": "tagValue2", }, }, nil) if err != nil { return err } ctx.Export("firstSlbId", example.Balancers[0].Id) return nil }) }
```
type GetApplicationLoadBalancersResultOutput ¶ added in v3.9.0
type GetApplicationLoadBalancersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApplicationLoadBalancers.
func GetApplicationLoadBalancersOutput ¶ added in v3.9.0
func GetApplicationLoadBalancersOutput(ctx *pulumi.Context, args GetApplicationLoadBalancersOutputArgs, opts ...pulumi.InvokeOption) GetApplicationLoadBalancersResultOutput
func (GetApplicationLoadBalancersResultOutput) Address ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Address() pulumi.StringPtrOutput
The IP address that the SLB instance uses to provide services.
func (GetApplicationLoadBalancersResultOutput) AddressIpVersion ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) AddressIpVersion() pulumi.StringPtrOutput
The address ip version.
func (GetApplicationLoadBalancersResultOutput) AddressType ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) AddressType() pulumi.StringPtrOutput
The address type.
func (GetApplicationLoadBalancersResultOutput) Balancers ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Balancers() GetApplicationLoadBalancersBalancerArrayOutput
A list of SLBs. Each element contains the following attributes:
func (GetApplicationLoadBalancersResultOutput) ElementType ¶ added in v3.9.0
func (GetApplicationLoadBalancersResultOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetApplicationLoadBalancersResultOutput) Id ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetApplicationLoadBalancersResultOutput) Ids ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Ids() pulumi.StringArrayOutput
A list of slb IDs.
func (GetApplicationLoadBalancersResultOutput) InternetChargeType ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) InternetChargeType() pulumi.StringPtrOutput
The billing method of the Internet-facing SLB instance.
func (GetApplicationLoadBalancersResultOutput) LoadBalancerName ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) LoadBalancerName() pulumi.StringPtrOutput
The name of the SLB.
func (GetApplicationLoadBalancersResultOutput) MasterZoneId ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) MasterZoneId() pulumi.StringPtrOutput
Master availability zone of the SLBs.
func (GetApplicationLoadBalancersResultOutput) NameRegex ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetApplicationLoadBalancersResultOutput) Names ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Names() pulumi.StringArrayOutput
A list of slb names.
func (GetApplicationLoadBalancersResultOutput) NetworkType ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) NetworkType() pulumi.StringPtrOutput
Network type of the SLB. Possible values: `vpc` and `classic`.
func (GetApplicationLoadBalancersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetApplicationLoadBalancersResultOutput) PageNumber ¶ added in v3.16.0
func (o GetApplicationLoadBalancersResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetApplicationLoadBalancersResultOutput) PageSize ¶ added in v3.16.0
func (o GetApplicationLoadBalancersResultOutput) PageSize() pulumi.IntPtrOutput
func (GetApplicationLoadBalancersResultOutput) PaymentType ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetApplicationLoadBalancersResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The ID of the resource group.
func (GetApplicationLoadBalancersResultOutput) ServerId ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) ServerId() pulumi.StringPtrOutput
The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
func (GetApplicationLoadBalancersResultOutput) ServerIntranetAddress ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) ServerIntranetAddress() pulumi.StringPtrOutput
func (GetApplicationLoadBalancersResultOutput) SlaveZoneId ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) SlaveZoneId() pulumi.StringPtrOutput
Slave availability zone of the SLBs.
func (GetApplicationLoadBalancersResultOutput) Slbs
deprecated
added in
v3.9.0
Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.
func (GetApplicationLoadBalancersResultOutput) Status ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Status() pulumi.StringPtrOutput
SLB current status. Possible values: `inactive`, `active` and `locked`.
func (GetApplicationLoadBalancersResultOutput) Tags ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) Tags() pulumi.MapOutput
The tags of the SLB.
func (GetApplicationLoadBalancersResultOutput) ToGetApplicationLoadBalancersResultOutput ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) ToGetApplicationLoadBalancersResultOutput() GetApplicationLoadBalancersResultOutput
func (GetApplicationLoadBalancersResultOutput) ToGetApplicationLoadBalancersResultOutputWithContext ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) ToGetApplicationLoadBalancersResultOutputWithContext(ctx context.Context) GetApplicationLoadBalancersResultOutput
func (GetApplicationLoadBalancersResultOutput) TotalCount ¶ added in v3.16.0
func (o GetApplicationLoadBalancersResultOutput) TotalCount() pulumi.IntOutput
func (GetApplicationLoadBalancersResultOutput) VpcId ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC the SLB belongs to.
func (GetApplicationLoadBalancersResultOutput) VswitchId ¶ added in v3.9.0
func (o GetApplicationLoadBalancersResultOutput) VswitchId() pulumi.StringPtrOutput
ID of the VSwitch the SLB belongs to.
type GetApplicationLoadBalancersSlb ¶ added in v3.3.0
type GetApplicationLoadBalancersSlb struct { // Service address of the SLBs. Address string `pulumi:"address"` CreationTime string `pulumi:"creationTime"` // ID of the SLB. Id string `pulumi:"id"` Internet bool `pulumi:"internet"` MasterAvailabilityZone string `pulumi:"masterAvailabilityZone"` Name string `pulumi:"name"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType string `pulumi:"networkType"` RegionId string `pulumi:"regionId"` SlaveAvailabilityZone string `pulumi:"slaveAvailabilityZone"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status string `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId string `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId string `pulumi:"vswitchId"` }
type GetApplicationLoadBalancersSlbArgs ¶ added in v3.3.0
type GetApplicationLoadBalancersSlbArgs struct { // Service address of the SLBs. Address pulumi.StringInput `pulumi:"address"` CreationTime pulumi.StringInput `pulumi:"creationTime"` // ID of the SLB. Id pulumi.StringInput `pulumi:"id"` Internet pulumi.BoolInput `pulumi:"internet"` MasterAvailabilityZone pulumi.StringInput `pulumi:"masterAvailabilityZone"` Name pulumi.StringInput `pulumi:"name"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType pulumi.StringInput `pulumi:"networkType"` RegionId pulumi.StringInput `pulumi:"regionId"` SlaveAvailabilityZone pulumi.StringInput `pulumi:"slaveAvailabilityZone"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId pulumi.StringInput `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetApplicationLoadBalancersSlbArgs) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersSlbArgs) ElementType() reflect.Type
func (GetApplicationLoadBalancersSlbArgs) ToGetApplicationLoadBalancersSlbOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersSlbArgs) ToGetApplicationLoadBalancersSlbOutput() GetApplicationLoadBalancersSlbOutput
func (GetApplicationLoadBalancersSlbArgs) ToGetApplicationLoadBalancersSlbOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersSlbArgs) ToGetApplicationLoadBalancersSlbOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbOutput
type GetApplicationLoadBalancersSlbArray ¶ added in v3.3.0
type GetApplicationLoadBalancersSlbArray []GetApplicationLoadBalancersSlbInput
func (GetApplicationLoadBalancersSlbArray) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersSlbArray) ElementType() reflect.Type
func (GetApplicationLoadBalancersSlbArray) ToGetApplicationLoadBalancersSlbArrayOutput ¶ added in v3.3.0
func (i GetApplicationLoadBalancersSlbArray) ToGetApplicationLoadBalancersSlbArrayOutput() GetApplicationLoadBalancersSlbArrayOutput
func (GetApplicationLoadBalancersSlbArray) ToGetApplicationLoadBalancersSlbArrayOutputWithContext ¶ added in v3.3.0
func (i GetApplicationLoadBalancersSlbArray) ToGetApplicationLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbArrayOutput
type GetApplicationLoadBalancersSlbArrayInput ¶ added in v3.3.0
type GetApplicationLoadBalancersSlbArrayInput interface { pulumi.Input ToGetApplicationLoadBalancersSlbArrayOutput() GetApplicationLoadBalancersSlbArrayOutput ToGetApplicationLoadBalancersSlbArrayOutputWithContext(context.Context) GetApplicationLoadBalancersSlbArrayOutput }
GetApplicationLoadBalancersSlbArrayInput is an input type that accepts GetApplicationLoadBalancersSlbArray and GetApplicationLoadBalancersSlbArrayOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersSlbArrayInput` via:
GetApplicationLoadBalancersSlbArray{ GetApplicationLoadBalancersSlbArgs{...} }
type GetApplicationLoadBalancersSlbArrayOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersSlbArrayOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersSlbArrayOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersSlbArrayOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersSlbArrayOutput) ToGetApplicationLoadBalancersSlbArrayOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbArrayOutput) ToGetApplicationLoadBalancersSlbArrayOutput() GetApplicationLoadBalancersSlbArrayOutput
func (GetApplicationLoadBalancersSlbArrayOutput) ToGetApplicationLoadBalancersSlbArrayOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbArrayOutput) ToGetApplicationLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbArrayOutput
type GetApplicationLoadBalancersSlbInput ¶ added in v3.3.0
type GetApplicationLoadBalancersSlbInput interface { pulumi.Input ToGetApplicationLoadBalancersSlbOutput() GetApplicationLoadBalancersSlbOutput ToGetApplicationLoadBalancersSlbOutputWithContext(context.Context) GetApplicationLoadBalancersSlbOutput }
GetApplicationLoadBalancersSlbInput is an input type that accepts GetApplicationLoadBalancersSlbArgs and GetApplicationLoadBalancersSlbOutput values. You can construct a concrete instance of `GetApplicationLoadBalancersSlbInput` via:
GetApplicationLoadBalancersSlbArgs{...}
type GetApplicationLoadBalancersSlbOutput ¶ added in v3.3.0
type GetApplicationLoadBalancersSlbOutput struct{ *pulumi.OutputState }
func (GetApplicationLoadBalancersSlbOutput) Address ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) Address() pulumi.StringOutput
Service address of the SLBs.
func (GetApplicationLoadBalancersSlbOutput) CreationTime ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) CreationTime() pulumi.StringOutput
func (GetApplicationLoadBalancersSlbOutput) ElementType ¶ added in v3.3.0
func (GetApplicationLoadBalancersSlbOutput) ElementType() reflect.Type
func (GetApplicationLoadBalancersSlbOutput) Id ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) Id() pulumi.StringOutput
ID of the SLB.
func (GetApplicationLoadBalancersSlbOutput) Internet ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) Internet() pulumi.BoolOutput
func (GetApplicationLoadBalancersSlbOutput) MasterAvailabilityZone ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) MasterAvailabilityZone() pulumi.StringOutput
func (GetApplicationLoadBalancersSlbOutput) Name ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) Name() pulumi.StringOutput
func (GetApplicationLoadBalancersSlbOutput) NetworkType ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) NetworkType() pulumi.StringOutput
Network type of the SLBs. Valid values: `vpc` and `classic`.
func (GetApplicationLoadBalancersSlbOutput) RegionId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) RegionId() pulumi.StringOutput
func (GetApplicationLoadBalancersSlbOutput) SlaveAvailabilityZone ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) SlaveAvailabilityZone() pulumi.StringOutput
func (GetApplicationLoadBalancersSlbOutput) Status ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) Status() pulumi.StringOutput
SLB current status. Possible values: `inactive`, `active` and `locked`.
func (GetApplicationLoadBalancersSlbOutput) Tags ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) Tags() pulumi.MapOutput
A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format:
func (GetApplicationLoadBalancersSlbOutput) ToGetApplicationLoadBalancersSlbOutput ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) ToGetApplicationLoadBalancersSlbOutput() GetApplicationLoadBalancersSlbOutput
func (GetApplicationLoadBalancersSlbOutput) ToGetApplicationLoadBalancersSlbOutputWithContext ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) ToGetApplicationLoadBalancersSlbOutputWithContext(ctx context.Context) GetApplicationLoadBalancersSlbOutput
func (GetApplicationLoadBalancersSlbOutput) VpcId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) VpcId() pulumi.StringOutput
ID of the VPC linked to the SLBs.
func (GetApplicationLoadBalancersSlbOutput) VswitchId ¶ added in v3.3.0
func (o GetApplicationLoadBalancersSlbOutput) VswitchId() pulumi.StringOutput
ID of the VSwitch linked to the SLBs.
type GetAttachmentsArgs ¶
type GetAttachmentsArgs struct { // List of attached ECS instance IDs. InstanceIds []string `pulumi:"instanceIds"` // ID of the SLB with attachments. LoadBalancerId string `pulumi:"loadBalancerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getAttachments.
type GetAttachmentsOutputArgs ¶ added in v3.9.0
type GetAttachmentsOutputArgs struct { // List of attached ECS instance IDs. InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"` // ID of the SLB with attachments. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getAttachments.
func (GetAttachmentsOutputArgs) ElementType ¶ added in v3.9.0
func (GetAttachmentsOutputArgs) ElementType() reflect.Type
type GetAttachmentsResult ¶
type GetAttachmentsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceIds []string `pulumi:"instanceIds"` LoadBalancerId string `pulumi:"loadBalancerId"` OutputFile *string `pulumi:"outputFile"` // A list of SLB attachments. Each element contains the following attributes: SlbAttachments []GetAttachmentsSlbAttachment `pulumi:"slbAttachments"` }
A collection of values returned by getAttachments.
func GetAttachments ¶
func GetAttachments(ctx *pulumi.Context, args *GetAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetAttachmentsResult, error)
This data source provides the server load balancer attachments of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { sampleDs, err := slb.GetAttachments(ctx, &slb.GetAttachmentsArgs{ LoadBalancerId: alicloud_slb_load_balancer.Sample_slb.Id, }, nil) if err != nil { return err } ctx.Export("firstSlbAttachmentInstanceId", sampleDs.SlbAttachments[0].InstanceId) return nil }) }
```
type GetAttachmentsResultOutput ¶ added in v3.9.0
type GetAttachmentsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAttachments.
func GetAttachmentsOutput ¶ added in v3.9.0
func GetAttachmentsOutput(ctx *pulumi.Context, args GetAttachmentsOutputArgs, opts ...pulumi.InvokeOption) GetAttachmentsResultOutput
func (GetAttachmentsResultOutput) ElementType ¶ added in v3.9.0
func (GetAttachmentsResultOutput) ElementType() reflect.Type
func (GetAttachmentsResultOutput) Id ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAttachmentsResultOutput) InstanceIds ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) InstanceIds() pulumi.StringArrayOutput
func (GetAttachmentsResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetAttachmentsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAttachmentsResultOutput) SlbAttachments ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) SlbAttachments() GetAttachmentsSlbAttachmentArrayOutput
A list of SLB attachments. Each element contains the following attributes:
func (GetAttachmentsResultOutput) ToGetAttachmentsResultOutput ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutput() GetAttachmentsResultOutput
func (GetAttachmentsResultOutput) ToGetAttachmentsResultOutputWithContext ¶ added in v3.9.0
func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutputWithContext(ctx context.Context) GetAttachmentsResultOutput
type GetAttachmentsSlbAttachmentArgs ¶
type GetAttachmentsSlbAttachmentArgs struct { // ID of the attached ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Weight associated to the ECS instance. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetAttachmentsSlbAttachmentArgs) ElementType ¶
func (GetAttachmentsSlbAttachmentArgs) ElementType() reflect.Type
func (GetAttachmentsSlbAttachmentArgs) ToGetAttachmentsSlbAttachmentOutput ¶
func (i GetAttachmentsSlbAttachmentArgs) ToGetAttachmentsSlbAttachmentOutput() GetAttachmentsSlbAttachmentOutput
func (GetAttachmentsSlbAttachmentArgs) ToGetAttachmentsSlbAttachmentOutputWithContext ¶
func (i GetAttachmentsSlbAttachmentArgs) ToGetAttachmentsSlbAttachmentOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentOutput
type GetAttachmentsSlbAttachmentArray ¶
type GetAttachmentsSlbAttachmentArray []GetAttachmentsSlbAttachmentInput
func (GetAttachmentsSlbAttachmentArray) ElementType ¶
func (GetAttachmentsSlbAttachmentArray) ElementType() reflect.Type
func (GetAttachmentsSlbAttachmentArray) ToGetAttachmentsSlbAttachmentArrayOutput ¶
func (i GetAttachmentsSlbAttachmentArray) ToGetAttachmentsSlbAttachmentArrayOutput() GetAttachmentsSlbAttachmentArrayOutput
func (GetAttachmentsSlbAttachmentArray) ToGetAttachmentsSlbAttachmentArrayOutputWithContext ¶
func (i GetAttachmentsSlbAttachmentArray) ToGetAttachmentsSlbAttachmentArrayOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentArrayOutput
type GetAttachmentsSlbAttachmentArrayInput ¶
type GetAttachmentsSlbAttachmentArrayInput interface { pulumi.Input ToGetAttachmentsSlbAttachmentArrayOutput() GetAttachmentsSlbAttachmentArrayOutput ToGetAttachmentsSlbAttachmentArrayOutputWithContext(context.Context) GetAttachmentsSlbAttachmentArrayOutput }
GetAttachmentsSlbAttachmentArrayInput is an input type that accepts GetAttachmentsSlbAttachmentArray and GetAttachmentsSlbAttachmentArrayOutput values. You can construct a concrete instance of `GetAttachmentsSlbAttachmentArrayInput` via:
GetAttachmentsSlbAttachmentArray{ GetAttachmentsSlbAttachmentArgs{...} }
type GetAttachmentsSlbAttachmentArrayOutput ¶
type GetAttachmentsSlbAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GetAttachmentsSlbAttachmentArrayOutput) ElementType ¶
func (GetAttachmentsSlbAttachmentArrayOutput) ElementType() reflect.Type
func (GetAttachmentsSlbAttachmentArrayOutput) ToGetAttachmentsSlbAttachmentArrayOutput ¶
func (o GetAttachmentsSlbAttachmentArrayOutput) ToGetAttachmentsSlbAttachmentArrayOutput() GetAttachmentsSlbAttachmentArrayOutput
func (GetAttachmentsSlbAttachmentArrayOutput) ToGetAttachmentsSlbAttachmentArrayOutputWithContext ¶
func (o GetAttachmentsSlbAttachmentArrayOutput) ToGetAttachmentsSlbAttachmentArrayOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentArrayOutput
type GetAttachmentsSlbAttachmentInput ¶
type GetAttachmentsSlbAttachmentInput interface { pulumi.Input ToGetAttachmentsSlbAttachmentOutput() GetAttachmentsSlbAttachmentOutput ToGetAttachmentsSlbAttachmentOutputWithContext(context.Context) GetAttachmentsSlbAttachmentOutput }
GetAttachmentsSlbAttachmentInput is an input type that accepts GetAttachmentsSlbAttachmentArgs and GetAttachmentsSlbAttachmentOutput values. You can construct a concrete instance of `GetAttachmentsSlbAttachmentInput` via:
GetAttachmentsSlbAttachmentArgs{...}
type GetAttachmentsSlbAttachmentOutput ¶
type GetAttachmentsSlbAttachmentOutput struct{ *pulumi.OutputState }
func (GetAttachmentsSlbAttachmentOutput) ElementType ¶
func (GetAttachmentsSlbAttachmentOutput) ElementType() reflect.Type
func (GetAttachmentsSlbAttachmentOutput) InstanceId ¶
func (o GetAttachmentsSlbAttachmentOutput) InstanceId() pulumi.StringOutput
ID of the attached ECS instance.
func (GetAttachmentsSlbAttachmentOutput) ToGetAttachmentsSlbAttachmentOutput ¶
func (o GetAttachmentsSlbAttachmentOutput) ToGetAttachmentsSlbAttachmentOutput() GetAttachmentsSlbAttachmentOutput
func (GetAttachmentsSlbAttachmentOutput) ToGetAttachmentsSlbAttachmentOutputWithContext ¶
func (o GetAttachmentsSlbAttachmentOutput) ToGetAttachmentsSlbAttachmentOutputWithContext(ctx context.Context) GetAttachmentsSlbAttachmentOutput
func (GetAttachmentsSlbAttachmentOutput) Weight ¶
func (o GetAttachmentsSlbAttachmentOutput) Weight() pulumi.IntOutput
Weight associated to the ECS instance.
type GetBackendServersArgs ¶
type GetBackendServersArgs struct { // List of attached ECS instance IDs. Ids []string `pulumi:"ids"` // ID of the SLB with attachments. LoadBalancerId string `pulumi:"loadBalancerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getBackendServers.
type GetBackendServersBackendServerArgs ¶
type GetBackendServersBackendServerArgs struct { // backend server ID. Id pulumi.StringInput `pulumi:"id"` // Type of the backend server. ServerType pulumi.StringInput `pulumi:"serverType"` // Weight associated to the ECS instance. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetBackendServersBackendServerArgs) ElementType ¶
func (GetBackendServersBackendServerArgs) ElementType() reflect.Type
func (GetBackendServersBackendServerArgs) ToGetBackendServersBackendServerOutput ¶
func (i GetBackendServersBackendServerArgs) ToGetBackendServersBackendServerOutput() GetBackendServersBackendServerOutput
func (GetBackendServersBackendServerArgs) ToGetBackendServersBackendServerOutputWithContext ¶
func (i GetBackendServersBackendServerArgs) ToGetBackendServersBackendServerOutputWithContext(ctx context.Context) GetBackendServersBackendServerOutput
type GetBackendServersBackendServerArray ¶
type GetBackendServersBackendServerArray []GetBackendServersBackendServerInput
func (GetBackendServersBackendServerArray) ElementType ¶
func (GetBackendServersBackendServerArray) ElementType() reflect.Type
func (GetBackendServersBackendServerArray) ToGetBackendServersBackendServerArrayOutput ¶
func (i GetBackendServersBackendServerArray) ToGetBackendServersBackendServerArrayOutput() GetBackendServersBackendServerArrayOutput
func (GetBackendServersBackendServerArray) ToGetBackendServersBackendServerArrayOutputWithContext ¶
func (i GetBackendServersBackendServerArray) ToGetBackendServersBackendServerArrayOutputWithContext(ctx context.Context) GetBackendServersBackendServerArrayOutput
type GetBackendServersBackendServerArrayInput ¶
type GetBackendServersBackendServerArrayInput interface { pulumi.Input ToGetBackendServersBackendServerArrayOutput() GetBackendServersBackendServerArrayOutput ToGetBackendServersBackendServerArrayOutputWithContext(context.Context) GetBackendServersBackendServerArrayOutput }
GetBackendServersBackendServerArrayInput is an input type that accepts GetBackendServersBackendServerArray and GetBackendServersBackendServerArrayOutput values. You can construct a concrete instance of `GetBackendServersBackendServerArrayInput` via:
GetBackendServersBackendServerArray{ GetBackendServersBackendServerArgs{...} }
type GetBackendServersBackendServerArrayOutput ¶
type GetBackendServersBackendServerArrayOutput struct{ *pulumi.OutputState }
func (GetBackendServersBackendServerArrayOutput) ElementType ¶
func (GetBackendServersBackendServerArrayOutput) ElementType() reflect.Type
func (GetBackendServersBackendServerArrayOutput) ToGetBackendServersBackendServerArrayOutput ¶
func (o GetBackendServersBackendServerArrayOutput) ToGetBackendServersBackendServerArrayOutput() GetBackendServersBackendServerArrayOutput
func (GetBackendServersBackendServerArrayOutput) ToGetBackendServersBackendServerArrayOutputWithContext ¶
func (o GetBackendServersBackendServerArrayOutput) ToGetBackendServersBackendServerArrayOutputWithContext(ctx context.Context) GetBackendServersBackendServerArrayOutput
type GetBackendServersBackendServerInput ¶
type GetBackendServersBackendServerInput interface { pulumi.Input ToGetBackendServersBackendServerOutput() GetBackendServersBackendServerOutput ToGetBackendServersBackendServerOutputWithContext(context.Context) GetBackendServersBackendServerOutput }
GetBackendServersBackendServerInput is an input type that accepts GetBackendServersBackendServerArgs and GetBackendServersBackendServerOutput values. You can construct a concrete instance of `GetBackendServersBackendServerInput` via:
GetBackendServersBackendServerArgs{...}
type GetBackendServersBackendServerOutput ¶
type GetBackendServersBackendServerOutput struct{ *pulumi.OutputState }
func (GetBackendServersBackendServerOutput) ElementType ¶
func (GetBackendServersBackendServerOutput) ElementType() reflect.Type
func (GetBackendServersBackendServerOutput) Id ¶
func (o GetBackendServersBackendServerOutput) Id() pulumi.StringOutput
backend server ID.
func (GetBackendServersBackendServerOutput) ServerType ¶
func (o GetBackendServersBackendServerOutput) ServerType() pulumi.StringOutput
Type of the backend server.
func (GetBackendServersBackendServerOutput) ToGetBackendServersBackendServerOutput ¶
func (o GetBackendServersBackendServerOutput) ToGetBackendServersBackendServerOutput() GetBackendServersBackendServerOutput
func (GetBackendServersBackendServerOutput) ToGetBackendServersBackendServerOutputWithContext ¶
func (o GetBackendServersBackendServerOutput) ToGetBackendServersBackendServerOutputWithContext(ctx context.Context) GetBackendServersBackendServerOutput
func (GetBackendServersBackendServerOutput) Weight ¶
func (o GetBackendServersBackendServerOutput) Weight() pulumi.IntOutput
Weight associated to the ECS instance.
type GetBackendServersOutputArgs ¶ added in v3.9.0
type GetBackendServersOutputArgs struct { // List of attached ECS instance IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // ID of the SLB with attachments. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getBackendServers.
func (GetBackendServersOutputArgs) ElementType ¶ added in v3.9.0
func (GetBackendServersOutputArgs) ElementType() reflect.Type
type GetBackendServersResult ¶
type GetBackendServersResult struct { BackendServers []GetBackendServersBackendServer `pulumi:"backendServers"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` LoadBalancerId string `pulumi:"loadBalancerId"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getBackendServers.
func GetBackendServers ¶
func GetBackendServers(ctx *pulumi.Context, args *GetBackendServersArgs, opts ...pulumi.InvokeOption) (*GetBackendServersResult, error)
This data source provides the server load balancer backend servers related to a server load balancer..
> **NOTE:** Available in 1.53.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { sampleDs, err := slb.GetBackendServers(ctx, &slb.GetBackendServersArgs{ LoadBalancerId: alicloud_slb_load_balancer.Sample_slb.Id, }, nil) if err != nil { return err } ctx.Export("firstSlbBackendServerId", sampleDs.BackendServers[0].Id) return nil }) }
```
type GetBackendServersResultOutput ¶ added in v3.9.0
type GetBackendServersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getBackendServers.
func GetBackendServersOutput ¶ added in v3.9.0
func GetBackendServersOutput(ctx *pulumi.Context, args GetBackendServersOutputArgs, opts ...pulumi.InvokeOption) GetBackendServersResultOutput
func (GetBackendServersResultOutput) BackendServers ¶ added in v3.9.0
func (o GetBackendServersResultOutput) BackendServers() GetBackendServersBackendServerArrayOutput
func (GetBackendServersResultOutput) ElementType ¶ added in v3.9.0
func (GetBackendServersResultOutput) ElementType() reflect.Type
func (GetBackendServersResultOutput) Id ¶ added in v3.9.0
func (o GetBackendServersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetBackendServersResultOutput) Ids ¶ added in v3.9.0
func (o GetBackendServersResultOutput) Ids() pulumi.StringArrayOutput
func (GetBackendServersResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetBackendServersResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetBackendServersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetBackendServersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetBackendServersResultOutput) ToGetBackendServersResultOutput ¶ added in v3.9.0
func (o GetBackendServersResultOutput) ToGetBackendServersResultOutput() GetBackendServersResultOutput
func (GetBackendServersResultOutput) ToGetBackendServersResultOutputWithContext ¶ added in v3.9.0
func (o GetBackendServersResultOutput) ToGetBackendServersResultOutputWithContext(ctx context.Context) GetBackendServersResultOutput
type GetCaCertificatesArgs ¶
type GetCaCertificatesArgs struct { // A list of ca certificates IDs to filter results. Ids []string `pulumi:"ids"` // A regex string to filter results by ca certificate name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The Id of resource group which ca certificates belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getCaCertificates.
type GetCaCertificatesCertificate ¶
type GetCaCertificatesCertificate struct { // (Available in v1.123.1+) CA certificate ID. CaCertificateId string `pulumi:"caCertificateId"` // (Available in v1.123.1+) CA certificate name. CaCertificateName string `pulumi:"caCertificateName"` // CA certificate common name. CommonName string `pulumi:"commonName"` // CA certificate created timestamp. CreatedTimestamp int `pulumi:"createdTimestamp"` // CA certificate expired time. ExpiredTime string `pulumi:"expiredTime"` // CA certificate expired timestamp. ExpiredTimestamp int `pulumi:"expiredTimestamp"` // CA certificate fingerprint. Fingerprint string `pulumi:"fingerprint"` // CA certificate ID. Id string `pulumi:"id"` // (Deprecated from v1.123.1) Deprecated and replace by `caCertificateName`. Name string `pulumi:"name"` // The Id of resource group which ca certificates belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetCaCertificatesCertificateArgs ¶
type GetCaCertificatesCertificateArgs struct { // (Available in v1.123.1+) CA certificate ID. CaCertificateId pulumi.StringInput `pulumi:"caCertificateId"` // (Available in v1.123.1+) CA certificate name. CaCertificateName pulumi.StringInput `pulumi:"caCertificateName"` // CA certificate common name. CommonName pulumi.StringInput `pulumi:"commonName"` // CA certificate created timestamp. CreatedTimestamp pulumi.IntInput `pulumi:"createdTimestamp"` // CA certificate expired time. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // CA certificate expired timestamp. ExpiredTimestamp pulumi.IntInput `pulumi:"expiredTimestamp"` // CA certificate fingerprint. Fingerprint pulumi.StringInput `pulumi:"fingerprint"` // CA certificate ID. Id pulumi.StringInput `pulumi:"id"` // (Deprecated from v1.123.1) Deprecated and replace by `caCertificateName`. Name pulumi.StringInput `pulumi:"name"` // The Id of resource group which ca certificates belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetCaCertificatesCertificateArgs) ElementType ¶
func (GetCaCertificatesCertificateArgs) ElementType() reflect.Type
func (GetCaCertificatesCertificateArgs) ToGetCaCertificatesCertificateOutput ¶
func (i GetCaCertificatesCertificateArgs) ToGetCaCertificatesCertificateOutput() GetCaCertificatesCertificateOutput
func (GetCaCertificatesCertificateArgs) ToGetCaCertificatesCertificateOutputWithContext ¶
func (i GetCaCertificatesCertificateArgs) ToGetCaCertificatesCertificateOutputWithContext(ctx context.Context) GetCaCertificatesCertificateOutput
type GetCaCertificatesCertificateArray ¶
type GetCaCertificatesCertificateArray []GetCaCertificatesCertificateInput
func (GetCaCertificatesCertificateArray) ElementType ¶
func (GetCaCertificatesCertificateArray) ElementType() reflect.Type
func (GetCaCertificatesCertificateArray) ToGetCaCertificatesCertificateArrayOutput ¶
func (i GetCaCertificatesCertificateArray) ToGetCaCertificatesCertificateArrayOutput() GetCaCertificatesCertificateArrayOutput
func (GetCaCertificatesCertificateArray) ToGetCaCertificatesCertificateArrayOutputWithContext ¶
func (i GetCaCertificatesCertificateArray) ToGetCaCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCaCertificatesCertificateArrayOutput
type GetCaCertificatesCertificateArrayInput ¶
type GetCaCertificatesCertificateArrayInput interface { pulumi.Input ToGetCaCertificatesCertificateArrayOutput() GetCaCertificatesCertificateArrayOutput ToGetCaCertificatesCertificateArrayOutputWithContext(context.Context) GetCaCertificatesCertificateArrayOutput }
GetCaCertificatesCertificateArrayInput is an input type that accepts GetCaCertificatesCertificateArray and GetCaCertificatesCertificateArrayOutput values. You can construct a concrete instance of `GetCaCertificatesCertificateArrayInput` via:
GetCaCertificatesCertificateArray{ GetCaCertificatesCertificateArgs{...} }
type GetCaCertificatesCertificateArrayOutput ¶
type GetCaCertificatesCertificateArrayOutput struct{ *pulumi.OutputState }
func (GetCaCertificatesCertificateArrayOutput) ElementType ¶
func (GetCaCertificatesCertificateArrayOutput) ElementType() reflect.Type
func (GetCaCertificatesCertificateArrayOutput) ToGetCaCertificatesCertificateArrayOutput ¶
func (o GetCaCertificatesCertificateArrayOutput) ToGetCaCertificatesCertificateArrayOutput() GetCaCertificatesCertificateArrayOutput
func (GetCaCertificatesCertificateArrayOutput) ToGetCaCertificatesCertificateArrayOutputWithContext ¶
func (o GetCaCertificatesCertificateArrayOutput) ToGetCaCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCaCertificatesCertificateArrayOutput
type GetCaCertificatesCertificateInput ¶
type GetCaCertificatesCertificateInput interface { pulumi.Input ToGetCaCertificatesCertificateOutput() GetCaCertificatesCertificateOutput ToGetCaCertificatesCertificateOutputWithContext(context.Context) GetCaCertificatesCertificateOutput }
GetCaCertificatesCertificateInput is an input type that accepts GetCaCertificatesCertificateArgs and GetCaCertificatesCertificateOutput values. You can construct a concrete instance of `GetCaCertificatesCertificateInput` via:
GetCaCertificatesCertificateArgs{...}
type GetCaCertificatesCertificateOutput ¶
type GetCaCertificatesCertificateOutput struct{ *pulumi.OutputState }
func (GetCaCertificatesCertificateOutput) CaCertificateId ¶ added in v3.3.0
func (o GetCaCertificatesCertificateOutput) CaCertificateId() pulumi.StringOutput
(Available in v1.123.1+) CA certificate ID.
func (GetCaCertificatesCertificateOutput) CaCertificateName ¶ added in v3.3.0
func (o GetCaCertificatesCertificateOutput) CaCertificateName() pulumi.StringOutput
(Available in v1.123.1+) CA certificate name.
func (GetCaCertificatesCertificateOutput) CommonName ¶
func (o GetCaCertificatesCertificateOutput) CommonName() pulumi.StringOutput
CA certificate common name.
func (GetCaCertificatesCertificateOutput) CreatedTimestamp ¶
func (o GetCaCertificatesCertificateOutput) CreatedTimestamp() pulumi.IntOutput
CA certificate created timestamp.
func (GetCaCertificatesCertificateOutput) ElementType ¶
func (GetCaCertificatesCertificateOutput) ElementType() reflect.Type
func (GetCaCertificatesCertificateOutput) ExpiredTime ¶
func (o GetCaCertificatesCertificateOutput) ExpiredTime() pulumi.StringOutput
CA certificate expired time.
func (GetCaCertificatesCertificateOutput) ExpiredTimestamp ¶
func (o GetCaCertificatesCertificateOutput) ExpiredTimestamp() pulumi.IntOutput
CA certificate expired timestamp.
func (GetCaCertificatesCertificateOutput) Fingerprint ¶
func (o GetCaCertificatesCertificateOutput) Fingerprint() pulumi.StringOutput
CA certificate fingerprint.
func (GetCaCertificatesCertificateOutput) Id ¶
func (o GetCaCertificatesCertificateOutput) Id() pulumi.StringOutput
CA certificate ID.
func (GetCaCertificatesCertificateOutput) Name ¶
func (o GetCaCertificatesCertificateOutput) Name() pulumi.StringOutput
(Deprecated from v1.123.1) Deprecated and replace by `caCertificateName`.
func (GetCaCertificatesCertificateOutput) ResourceGroupId ¶
func (o GetCaCertificatesCertificateOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which ca certificates belongs.
func (GetCaCertificatesCertificateOutput) Tags ¶
func (o GetCaCertificatesCertificateOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetCaCertificatesCertificateOutput) ToGetCaCertificatesCertificateOutput ¶
func (o GetCaCertificatesCertificateOutput) ToGetCaCertificatesCertificateOutput() GetCaCertificatesCertificateOutput
func (GetCaCertificatesCertificateOutput) ToGetCaCertificatesCertificateOutputWithContext ¶
func (o GetCaCertificatesCertificateOutput) ToGetCaCertificatesCertificateOutputWithContext(ctx context.Context) GetCaCertificatesCertificateOutput
type GetCaCertificatesOutputArgs ¶ added in v3.9.0
type GetCaCertificatesOutputArgs struct { // A list of ca certificates IDs to filter results. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by ca certificate name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Id of resource group which ca certificates belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getCaCertificates.
func (GetCaCertificatesOutputArgs) ElementType ¶ added in v3.9.0
func (GetCaCertificatesOutputArgs) ElementType() reflect.Type
type GetCaCertificatesResult ¶
type GetCaCertificatesResult struct { // A list of SLB ca certificates. Each element contains the following attributes: Certificates []GetCaCertificatesCertificate `pulumi:"certificates"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of SLB ca certificates IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of SLB ca certificates names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The resource group Id of CA certificate. ResourceGroupId *string `pulumi:"resourceGroupId"` // (Available in v1.66.0+) A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getCaCertificates.
func GetCaCertificates ¶
func GetCaCertificates(ctx *pulumi.Context, args *GetCaCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCaCertificatesResult, error)
This data source provides the CA certificate list.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { sampleDs, err := slb.GetCaCertificates(ctx, nil, nil) if err != nil { return err } ctx.Export("firstSlbCaCertificateId", sampleDs.Certificates[0].Id) return nil }) }
```
type GetCaCertificatesResultOutput ¶ added in v3.9.0
type GetCaCertificatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCaCertificates.
func GetCaCertificatesOutput ¶ added in v3.9.0
func GetCaCertificatesOutput(ctx *pulumi.Context, args GetCaCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetCaCertificatesResultOutput
func (GetCaCertificatesResultOutput) Certificates ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) Certificates() GetCaCertificatesCertificateArrayOutput
A list of SLB ca certificates. Each element contains the following attributes:
func (GetCaCertificatesResultOutput) ElementType ¶ added in v3.9.0
func (GetCaCertificatesResultOutput) ElementType() reflect.Type
func (GetCaCertificatesResultOutput) Id ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCaCertificatesResultOutput) Ids ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) Ids() pulumi.StringArrayOutput
A list of SLB ca certificates IDs.
func (GetCaCertificatesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetCaCertificatesResultOutput) Names ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) Names() pulumi.StringArrayOutput
A list of SLB ca certificates names.
func (GetCaCertificatesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetCaCertificatesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The resource group Id of CA certificate.
func (GetCaCertificatesResultOutput) Tags ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) Tags() pulumi.MapOutput
(Available in v1.66.0+) A mapping of tags to assign to the resource.
func (GetCaCertificatesResultOutput) ToGetCaCertificatesResultOutput ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) ToGetCaCertificatesResultOutput() GetCaCertificatesResultOutput
func (GetCaCertificatesResultOutput) ToGetCaCertificatesResultOutputWithContext ¶ added in v3.9.0
func (o GetCaCertificatesResultOutput) ToGetCaCertificatesResultOutputWithContext(ctx context.Context) GetCaCertificatesResultOutput
type GetDomainExtensionsArgs ¶
type GetDomainExtensionsArgs struct { // The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535. FrontendPort int `pulumi:"frontendPort"` // IDs of the SLB domain extensions. Ids []string `pulumi:"ids"` // The ID of the SLB instance. LoadBalancerId string `pulumi:"loadBalancerId"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getDomainExtensions.
type GetDomainExtensionsExtensionArgs ¶
type GetDomainExtensionsExtensionArgs struct { // The domain name. Domain pulumi.StringInput `pulumi:"domain"` // The ID of the domain extension. Id pulumi.StringInput `pulumi:"id"` // The ID of the certificate used by the domain name. ServerCertificateId pulumi.StringInput `pulumi:"serverCertificateId"` }
func (GetDomainExtensionsExtensionArgs) ElementType ¶
func (GetDomainExtensionsExtensionArgs) ElementType() reflect.Type
func (GetDomainExtensionsExtensionArgs) ToGetDomainExtensionsExtensionOutput ¶
func (i GetDomainExtensionsExtensionArgs) ToGetDomainExtensionsExtensionOutput() GetDomainExtensionsExtensionOutput
func (GetDomainExtensionsExtensionArgs) ToGetDomainExtensionsExtensionOutputWithContext ¶
func (i GetDomainExtensionsExtensionArgs) ToGetDomainExtensionsExtensionOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionOutput
type GetDomainExtensionsExtensionArray ¶
type GetDomainExtensionsExtensionArray []GetDomainExtensionsExtensionInput
func (GetDomainExtensionsExtensionArray) ElementType ¶
func (GetDomainExtensionsExtensionArray) ElementType() reflect.Type
func (GetDomainExtensionsExtensionArray) ToGetDomainExtensionsExtensionArrayOutput ¶
func (i GetDomainExtensionsExtensionArray) ToGetDomainExtensionsExtensionArrayOutput() GetDomainExtensionsExtensionArrayOutput
func (GetDomainExtensionsExtensionArray) ToGetDomainExtensionsExtensionArrayOutputWithContext ¶
func (i GetDomainExtensionsExtensionArray) ToGetDomainExtensionsExtensionArrayOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionArrayOutput
type GetDomainExtensionsExtensionArrayInput ¶
type GetDomainExtensionsExtensionArrayInput interface { pulumi.Input ToGetDomainExtensionsExtensionArrayOutput() GetDomainExtensionsExtensionArrayOutput ToGetDomainExtensionsExtensionArrayOutputWithContext(context.Context) GetDomainExtensionsExtensionArrayOutput }
GetDomainExtensionsExtensionArrayInput is an input type that accepts GetDomainExtensionsExtensionArray and GetDomainExtensionsExtensionArrayOutput values. You can construct a concrete instance of `GetDomainExtensionsExtensionArrayInput` via:
GetDomainExtensionsExtensionArray{ GetDomainExtensionsExtensionArgs{...} }
type GetDomainExtensionsExtensionArrayOutput ¶
type GetDomainExtensionsExtensionArrayOutput struct{ *pulumi.OutputState }
func (GetDomainExtensionsExtensionArrayOutput) ElementType ¶
func (GetDomainExtensionsExtensionArrayOutput) ElementType() reflect.Type
func (GetDomainExtensionsExtensionArrayOutput) ToGetDomainExtensionsExtensionArrayOutput ¶
func (o GetDomainExtensionsExtensionArrayOutput) ToGetDomainExtensionsExtensionArrayOutput() GetDomainExtensionsExtensionArrayOutput
func (GetDomainExtensionsExtensionArrayOutput) ToGetDomainExtensionsExtensionArrayOutputWithContext ¶
func (o GetDomainExtensionsExtensionArrayOutput) ToGetDomainExtensionsExtensionArrayOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionArrayOutput
type GetDomainExtensionsExtensionInput ¶
type GetDomainExtensionsExtensionInput interface { pulumi.Input ToGetDomainExtensionsExtensionOutput() GetDomainExtensionsExtensionOutput ToGetDomainExtensionsExtensionOutputWithContext(context.Context) GetDomainExtensionsExtensionOutput }
GetDomainExtensionsExtensionInput is an input type that accepts GetDomainExtensionsExtensionArgs and GetDomainExtensionsExtensionOutput values. You can construct a concrete instance of `GetDomainExtensionsExtensionInput` via:
GetDomainExtensionsExtensionArgs{...}
type GetDomainExtensionsExtensionOutput ¶
type GetDomainExtensionsExtensionOutput struct{ *pulumi.OutputState }
func (GetDomainExtensionsExtensionOutput) Domain ¶
func (o GetDomainExtensionsExtensionOutput) Domain() pulumi.StringOutput
The domain name.
func (GetDomainExtensionsExtensionOutput) ElementType ¶
func (GetDomainExtensionsExtensionOutput) ElementType() reflect.Type
func (GetDomainExtensionsExtensionOutput) Id ¶
func (o GetDomainExtensionsExtensionOutput) Id() pulumi.StringOutput
The ID of the domain extension.
func (GetDomainExtensionsExtensionOutput) ServerCertificateId ¶
func (o GetDomainExtensionsExtensionOutput) ServerCertificateId() pulumi.StringOutput
The ID of the certificate used by the domain name.
func (GetDomainExtensionsExtensionOutput) ToGetDomainExtensionsExtensionOutput ¶
func (o GetDomainExtensionsExtensionOutput) ToGetDomainExtensionsExtensionOutput() GetDomainExtensionsExtensionOutput
func (GetDomainExtensionsExtensionOutput) ToGetDomainExtensionsExtensionOutputWithContext ¶
func (o GetDomainExtensionsExtensionOutput) ToGetDomainExtensionsExtensionOutputWithContext(ctx context.Context) GetDomainExtensionsExtensionOutput
type GetDomainExtensionsOutputArgs ¶ added in v3.9.0
type GetDomainExtensionsOutputArgs struct { // The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535. FrontendPort pulumi.IntInput `pulumi:"frontendPort"` // IDs of the SLB domain extensions. Ids pulumi.StringArrayInput `pulumi:"ids"` // The ID of the SLB instance. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getDomainExtensions.
func (GetDomainExtensionsOutputArgs) ElementType ¶ added in v3.9.0
func (GetDomainExtensionsOutputArgs) ElementType() reflect.Type
type GetDomainExtensionsResult ¶
type GetDomainExtensionsResult struct { // A list of SLB domain extension. Each element contains the following attributes: Extensions []GetDomainExtensionsExtension `pulumi:"extensions"` FrontendPort int `pulumi:"frontendPort"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` LoadBalancerId string `pulumi:"loadBalancerId"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getDomainExtensions.
func GetDomainExtensions ¶
func GetDomainExtensions(ctx *pulumi.Context, args *GetDomainExtensionsArgs, opts ...pulumi.InvokeOption) (*GetDomainExtensionsResult, error)
This data source provides the domain extensions associated with a server load balancer listener.
> **NOTE:** Available in 1.60.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.GetDomainExtensions(ctx, &slb.GetDomainExtensionsArgs{ FrontendPort: "fake-port", Ids: []string{ "fake-de-id", }, LoadBalancerId: "fake-lb-id", }, nil) if err != nil { return err } return nil }) }
```
type GetDomainExtensionsResultOutput ¶ added in v3.9.0
type GetDomainExtensionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDomainExtensions.
func GetDomainExtensionsOutput ¶ added in v3.9.0
func GetDomainExtensionsOutput(ctx *pulumi.Context, args GetDomainExtensionsOutputArgs, opts ...pulumi.InvokeOption) GetDomainExtensionsResultOutput
func (GetDomainExtensionsResultOutput) ElementType ¶ added in v3.9.0
func (GetDomainExtensionsResultOutput) ElementType() reflect.Type
func (GetDomainExtensionsResultOutput) Extensions ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) Extensions() GetDomainExtensionsExtensionArrayOutput
A list of SLB domain extension. Each element contains the following attributes:
func (GetDomainExtensionsResultOutput) FrontendPort ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) FrontendPort() pulumi.IntOutput
func (GetDomainExtensionsResultOutput) Id ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDomainExtensionsResultOutput) Ids ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) Ids() pulumi.StringArrayOutput
func (GetDomainExtensionsResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetDomainExtensionsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDomainExtensionsResultOutput) ToGetDomainExtensionsResultOutput ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) ToGetDomainExtensionsResultOutput() GetDomainExtensionsResultOutput
func (GetDomainExtensionsResultOutput) ToGetDomainExtensionsResultOutputWithContext ¶ added in v3.9.0
func (o GetDomainExtensionsResultOutput) ToGetDomainExtensionsResultOutputWithContext(ctx context.Context) GetDomainExtensionsResultOutput
type GetListenersArgs ¶
type GetListenersArgs struct { // A regex string to filter results by SLB listener description. DescriptionRegex *string `pulumi:"descriptionRegex"` // Filter listeners by the specified frontend port. FrontendPort *int `pulumi:"frontendPort"` // ID of the SLB with listeners. LoadBalancerId string `pulumi:"loadBalancerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // Filter listeners by the specified protocol. Valid values: `http`, `https`, `tcp` and `udp`. Protocol *string `pulumi:"protocol"` }
A collection of arguments for invoking getListeners.
type GetListenersOutputArgs ¶ added in v3.9.0
type GetListenersOutputArgs struct { // A regex string to filter results by SLB listener description. DescriptionRegex pulumi.StringPtrInput `pulumi:"descriptionRegex"` // Filter listeners by the specified frontend port. FrontendPort pulumi.IntPtrInput `pulumi:"frontendPort"` // ID of the SLB with listeners. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Filter listeners by the specified protocol. Valid values: `http`, `https`, `tcp` and `udp`. Protocol pulumi.StringPtrInput `pulumi:"protocol"` }
A collection of arguments for invoking getListeners.
func (GetListenersOutputArgs) ElementType ¶ added in v3.9.0
func (GetListenersOutputArgs) ElementType() reflect.Type
type GetListenersResult ¶
type GetListenersResult struct { DescriptionRegex *string `pulumi:"descriptionRegex"` // Frontend port used to receive incoming traffic and distribute it to the backend servers. FrontendPort *int `pulumi:"frontendPort"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LoadBalancerId string `pulumi:"loadBalancerId"` OutputFile *string `pulumi:"outputFile"` // Listener protocol. Possible values: `http`, `https`, `tcp` and `udp`. Protocol *string `pulumi:"protocol"` // A list of SLB listeners. Each element contains the following attributes: SlbListeners []GetListenersSlbListener `pulumi:"slbListeners"` }
A collection of values returned by getListeners.
func GetListeners ¶
func GetListeners(ctx *pulumi.Context, args *GetListenersArgs, opts ...pulumi.InvokeOption) (*GetListenersResult, error)
This data source provides the listeners related to a server load balancer of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewApplicationLoadBalancer(ctx, "default", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String("tf-testAccSlbListenertcp"), }) if err != nil { return err } _, err = slb.NewListener(ctx, "tcp", &slb.ListenerArgs{ LoadBalancerId: _default.ID(), BackendPort: pulumi.Int(22), FrontendPort: pulumi.Int(22), Protocol: pulumi.String("tcp"), Bandwidth: pulumi.Int(10), HealthCheckType: pulumi.String("tcp"), PersistenceTimeout: pulumi.Int(3600), HealthyThreshold: pulumi.Int(8), UnhealthyThreshold: pulumi.Int(8), HealthCheckTimeout: pulumi.Int(8), HealthCheckInterval: pulumi.Int(5), HealthCheckHttpCode: pulumi.String("http_2xx"), HealthCheckConnectPort: pulumi.Int(20), HealthCheckUri: pulumi.String("/console"), EstablishedTimeout: pulumi.Int(600), }) if err != nil { return err } sampleDs := slb.GetListenersOutput(ctx, slb.GetListenersOutputArgs{ LoadBalancerId: _default.ID(), }, nil) ctx.Export("firstSlbListenerProtocol", sampleDs.ApplyT(func(sampleDs slb.GetListenersResult) (*string, error) { return &sampleDs.SlbListeners[0].Protocol, nil }).(pulumi.StringPtrOutput)) return nil }) }
```
type GetListenersResultOutput ¶ added in v3.9.0
type GetListenersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getListeners.
func GetListenersOutput ¶ added in v3.9.0
func GetListenersOutput(ctx *pulumi.Context, args GetListenersOutputArgs, opts ...pulumi.InvokeOption) GetListenersResultOutput
func (GetListenersResultOutput) DescriptionRegex ¶ added in v3.9.0
func (o GetListenersResultOutput) DescriptionRegex() pulumi.StringPtrOutput
func (GetListenersResultOutput) ElementType ¶ added in v3.9.0
func (GetListenersResultOutput) ElementType() reflect.Type
func (GetListenersResultOutput) FrontendPort ¶ added in v3.9.0
func (o GetListenersResultOutput) FrontendPort() pulumi.IntPtrOutput
Frontend port used to receive incoming traffic and distribute it to the backend servers.
func (GetListenersResultOutput) Id ¶ added in v3.9.0
func (o GetListenersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetListenersResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetListenersResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetListenersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetListenersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetListenersResultOutput) Protocol ¶ added in v3.9.0
func (o GetListenersResultOutput) Protocol() pulumi.StringPtrOutput
Listener protocol. Possible values: `http`, `https`, `tcp` and `udp`.
func (GetListenersResultOutput) SlbListeners ¶ added in v3.9.0
func (o GetListenersResultOutput) SlbListeners() GetListenersSlbListenerArrayOutput
A list of SLB listeners. Each element contains the following attributes:
func (GetListenersResultOutput) ToGetListenersResultOutput ¶ added in v3.9.0
func (o GetListenersResultOutput) ToGetListenersResultOutput() GetListenersResultOutput
func (GetListenersResultOutput) ToGetListenersResultOutputWithContext ¶ added in v3.9.0
func (o GetListenersResultOutput) ToGetListenersResultOutputWithContext(ctx context.Context) GetListenersResultOutput
type GetListenersSlbListener ¶
type GetListenersSlbListener struct { // Port opened on the backend server to receive requests. BackendPort int `pulumi:"backendPort"` // Peak bandwidth. If the value is set to -1, the listener is not limited by bandwidth. Bandwidth int `pulumi:"bandwidth"` // ID of the CA certificate (only required when two-way authentication is used). Only available when the protocol is `https`. CaCertificateId string `pulumi:"caCertificateId"` // Cookie configured by the backend server. Only available when the stickySessionType is `server`. Cookie string `pulumi:"cookie"` // Cookie timeout in seconds. Only available when the stickySessionType is `insert`. CookieTimeout int `pulumi:"cookieTimeout"` // The description of slb listener. Description string `pulumi:"description"` // Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`. EnableHttp2 string `pulumi:"enableHttp2"` // Connection timeout in seconds for the Layer 4 TCP listener. Only available when the protocol is `tcp`. EstablishedTimeout int `pulumi:"establishedTimeout"` // Filter listeners by the specified frontend port. FrontendPort int `pulumi:"frontendPort"` // Indicate whether Gzip compression is enabled or not. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. Gzip string `pulumi:"gzip"` // Indicate whether health check is enabled of not. Possible values are `on` and `off`. HealthCheck string `pulumi:"healthCheck"` // Port used for health check. HealthCheckConnectPort int `pulumi:"healthCheckConnectPort"` // Amount of time in seconds to wait for the response for a health check. HealthCheckConnectTimeout int `pulumi:"healthCheckConnectTimeout"` // Domain name used for health check. The SLB sends HTTP head requests to the backend server, the domain is useful when the backend server verifies the host field in the requests. Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`). HealthCheckDomain string `pulumi:"healthCheckDomain"` // HTTP status codes indicating that the health check is normal. It can contain several comma-separated values such as "http_2xx,http_3xx". Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`). HealthCheckHttpCode string `pulumi:"healthCheckHttpCode"` // Time interval between two consecutive health checks. HealthCheckInterval int `pulumi:"healthCheckInterval"` // Amount of time in seconds to wait for the response from a health check. If an ECS instance sends no response within the specified timeout period, the health check fails. Only available when the protocol is `http` or `https`. HealthCheckTimeout int `pulumi:"healthCheckTimeout"` // Health check method. Possible values are `tcp` and `http`. Only available when the protocol is `tcp`. HealthCheckType string `pulumi:"healthCheckType"` // URI used for health check. Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`). HealthCheckUri string `pulumi:"healthCheckUri"` // Number of consecutive successes of health check performed on the same ECS instance (from failure to success). HealthyThreshold int `pulumi:"healthyThreshold"` // Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15. IdleTimeout int `pulumi:"idleTimeout"` // ID of the active/standby server group. MasterSlaveServerGroupId string `pulumi:"masterSlaveServerGroupId"` // Timeout value of the TCP connection in seconds. If the value is 0, the session persistence function is disabled. Only available when the protocol is `tcp`. PersistenceTimeout int `pulumi:"persistenceTimeout"` // Filter listeners by the specified protocol. Valid values: `http`, `https`, `tcp` and `udp`. Protocol string `pulumi:"protocol"` // Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`. ProxyProtocolV2Enabled bool `pulumi:"proxyProtocolV2Enabled"` // Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60. RequestTimeout int `pulumi:"requestTimeout"` // Algorithm used to distribute traffic. Possible values: `wrr` (weighted round robin), `wlc` (weighted least connection) and `rr` (round robin). Scheduler string `pulumi:"scheduler"` // Security status. Only available when the protocol is `https`. SecurityStatus string `pulumi:"securityStatus"` ServerCertificateId string `pulumi:"serverCertificateId"` // ID of the linked VServer group. ServerGroupId string `pulumi:"serverGroupId"` // ID of the server certificate. Only available when the protocol is `https`. SslCertificateId string `pulumi:"sslCertificateId"` // Listener status. Status string `pulumi:"status"` // Indicate whether session persistence is enabled or not. If enabled, all session requests from the same client are sent to the same backend server. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. StickySession string `pulumi:"stickySession"` // Method used to handle the cookie. Possible values are `insert` (cookie added to the response) and `server` (cookie set by the backend server). Only available when the protocol is `http` or `https` and stickySession is `on`. StickySessionType string `pulumi:"stickySessionType"` // Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`. TlsCipherPolicy string `pulumi:"tlsCipherPolicy"` // Number of consecutive failures of health check performed on the same ECS instance (from success to failure). UnhealthyThreshold int `pulumi:"unhealthyThreshold"` // Indicate whether the HTTP header field "X-Forwarded-For" is added or not; it allows the backend server to know about the user's IP address. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedFor string `pulumi:"xForwardedFor"` // Indicate whether the HTTP header field "X-Forwarded-For_SLBID" is added or not; it allows the backend server to know about the SLB ID. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedForSlbId string `pulumi:"xForwardedForSlbId"` // Indicate whether the HTTP header field "X-Forwarded-For_SLBIP" is added or not; it allows the backend server to know about the SLB IP address. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedForSlbIp string `pulumi:"xForwardedForSlbIp"` // Indicate whether the HTTP header field "X-Forwarded-For_proto" is added or not; it allows the backend server to know about the user's protocol. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedForSlbProto string `pulumi:"xForwardedForSlbProto"` }
type GetListenersSlbListenerArgs ¶
type GetListenersSlbListenerArgs struct { // Port opened on the backend server to receive requests. BackendPort pulumi.IntInput `pulumi:"backendPort"` // Peak bandwidth. If the value is set to -1, the listener is not limited by bandwidth. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // ID of the CA certificate (only required when two-way authentication is used). Only available when the protocol is `https`. CaCertificateId pulumi.StringInput `pulumi:"caCertificateId"` // Cookie configured by the backend server. Only available when the stickySessionType is `server`. Cookie pulumi.StringInput `pulumi:"cookie"` // Cookie timeout in seconds. Only available when the stickySessionType is `insert`. CookieTimeout pulumi.IntInput `pulumi:"cookieTimeout"` // The description of slb listener. Description pulumi.StringInput `pulumi:"description"` // Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`. EnableHttp2 pulumi.StringInput `pulumi:"enableHttp2"` // Connection timeout in seconds for the Layer 4 TCP listener. Only available when the protocol is `tcp`. EstablishedTimeout pulumi.IntInput `pulumi:"establishedTimeout"` // Filter listeners by the specified frontend port. FrontendPort pulumi.IntInput `pulumi:"frontendPort"` // Indicate whether Gzip compression is enabled or not. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. Gzip pulumi.StringInput `pulumi:"gzip"` // Indicate whether health check is enabled of not. Possible values are `on` and `off`. HealthCheck pulumi.StringInput `pulumi:"healthCheck"` // Port used for health check. HealthCheckConnectPort pulumi.IntInput `pulumi:"healthCheckConnectPort"` // Amount of time in seconds to wait for the response for a health check. HealthCheckConnectTimeout pulumi.IntInput `pulumi:"healthCheckConnectTimeout"` // Domain name used for health check. The SLB sends HTTP head requests to the backend server, the domain is useful when the backend server verifies the host field in the requests. Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`). HealthCheckDomain pulumi.StringInput `pulumi:"healthCheckDomain"` // HTTP status codes indicating that the health check is normal. It can contain several comma-separated values such as "http_2xx,http_3xx". Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`). HealthCheckHttpCode pulumi.StringInput `pulumi:"healthCheckHttpCode"` // Time interval between two consecutive health checks. HealthCheckInterval pulumi.IntInput `pulumi:"healthCheckInterval"` // Amount of time in seconds to wait for the response from a health check. If an ECS instance sends no response within the specified timeout period, the health check fails. Only available when the protocol is `http` or `https`. HealthCheckTimeout pulumi.IntInput `pulumi:"healthCheckTimeout"` // Health check method. Possible values are `tcp` and `http`. Only available when the protocol is `tcp`. HealthCheckType pulumi.StringInput `pulumi:"healthCheckType"` // URI used for health check. Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`). HealthCheckUri pulumi.StringInput `pulumi:"healthCheckUri"` // Number of consecutive successes of health check performed on the same ECS instance (from failure to success). HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"` // Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15. IdleTimeout pulumi.IntInput `pulumi:"idleTimeout"` // ID of the active/standby server group. MasterSlaveServerGroupId pulumi.StringInput `pulumi:"masterSlaveServerGroupId"` // Timeout value of the TCP connection in seconds. If the value is 0, the session persistence function is disabled. Only available when the protocol is `tcp`. PersistenceTimeout pulumi.IntInput `pulumi:"persistenceTimeout"` // Filter listeners by the specified protocol. Valid values: `http`, `https`, `tcp` and `udp`. Protocol pulumi.StringInput `pulumi:"protocol"` // Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`. ProxyProtocolV2Enabled pulumi.BoolInput `pulumi:"proxyProtocolV2Enabled"` // Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60. RequestTimeout pulumi.IntInput `pulumi:"requestTimeout"` // Algorithm used to distribute traffic. Possible values: `wrr` (weighted round robin), `wlc` (weighted least connection) and `rr` (round robin). Scheduler pulumi.StringInput `pulumi:"scheduler"` // Security status. Only available when the protocol is `https`. SecurityStatus pulumi.StringInput `pulumi:"securityStatus"` ServerCertificateId pulumi.StringInput `pulumi:"serverCertificateId"` // ID of the linked VServer group. ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"` // ID of the server certificate. Only available when the protocol is `https`. SslCertificateId pulumi.StringInput `pulumi:"sslCertificateId"` // Listener status. Status pulumi.StringInput `pulumi:"status"` // Indicate whether session persistence is enabled or not. If enabled, all session requests from the same client are sent to the same backend server. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. StickySession pulumi.StringInput `pulumi:"stickySession"` // Method used to handle the cookie. Possible values are `insert` (cookie added to the response) and `server` (cookie set by the backend server). Only available when the protocol is `http` or `https` and stickySession is `on`. StickySessionType pulumi.StringInput `pulumi:"stickySessionType"` // Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`. TlsCipherPolicy pulumi.StringInput `pulumi:"tlsCipherPolicy"` // Number of consecutive failures of health check performed on the same ECS instance (from success to failure). UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"` // Indicate whether the HTTP header field "X-Forwarded-For" is added or not; it allows the backend server to know about the user's IP address. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedFor pulumi.StringInput `pulumi:"xForwardedFor"` // Indicate whether the HTTP header field "X-Forwarded-For_SLBID" is added or not; it allows the backend server to know about the SLB ID. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedForSlbId pulumi.StringInput `pulumi:"xForwardedForSlbId"` // Indicate whether the HTTP header field "X-Forwarded-For_SLBIP" is added or not; it allows the backend server to know about the SLB IP address. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedForSlbIp pulumi.StringInput `pulumi:"xForwardedForSlbIp"` // Indicate whether the HTTP header field "X-Forwarded-For_proto" is added or not; it allows the backend server to know about the user's protocol. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`. XForwardedForSlbProto pulumi.StringInput `pulumi:"xForwardedForSlbProto"` }
func (GetListenersSlbListenerArgs) ElementType ¶
func (GetListenersSlbListenerArgs) ElementType() reflect.Type
func (GetListenersSlbListenerArgs) ToGetListenersSlbListenerOutput ¶
func (i GetListenersSlbListenerArgs) ToGetListenersSlbListenerOutput() GetListenersSlbListenerOutput
func (GetListenersSlbListenerArgs) ToGetListenersSlbListenerOutputWithContext ¶
func (i GetListenersSlbListenerArgs) ToGetListenersSlbListenerOutputWithContext(ctx context.Context) GetListenersSlbListenerOutput
type GetListenersSlbListenerArray ¶
type GetListenersSlbListenerArray []GetListenersSlbListenerInput
func (GetListenersSlbListenerArray) ElementType ¶
func (GetListenersSlbListenerArray) ElementType() reflect.Type
func (GetListenersSlbListenerArray) ToGetListenersSlbListenerArrayOutput ¶
func (i GetListenersSlbListenerArray) ToGetListenersSlbListenerArrayOutput() GetListenersSlbListenerArrayOutput
func (GetListenersSlbListenerArray) ToGetListenersSlbListenerArrayOutputWithContext ¶
func (i GetListenersSlbListenerArray) ToGetListenersSlbListenerArrayOutputWithContext(ctx context.Context) GetListenersSlbListenerArrayOutput
type GetListenersSlbListenerArrayInput ¶
type GetListenersSlbListenerArrayInput interface { pulumi.Input ToGetListenersSlbListenerArrayOutput() GetListenersSlbListenerArrayOutput ToGetListenersSlbListenerArrayOutputWithContext(context.Context) GetListenersSlbListenerArrayOutput }
GetListenersSlbListenerArrayInput is an input type that accepts GetListenersSlbListenerArray and GetListenersSlbListenerArrayOutput values. You can construct a concrete instance of `GetListenersSlbListenerArrayInput` via:
GetListenersSlbListenerArray{ GetListenersSlbListenerArgs{...} }
type GetListenersSlbListenerArrayOutput ¶
type GetListenersSlbListenerArrayOutput struct{ *pulumi.OutputState }
func (GetListenersSlbListenerArrayOutput) ElementType ¶
func (GetListenersSlbListenerArrayOutput) ElementType() reflect.Type
func (GetListenersSlbListenerArrayOutput) Index ¶
func (o GetListenersSlbListenerArrayOutput) Index(i pulumi.IntInput) GetListenersSlbListenerOutput
func (GetListenersSlbListenerArrayOutput) ToGetListenersSlbListenerArrayOutput ¶
func (o GetListenersSlbListenerArrayOutput) ToGetListenersSlbListenerArrayOutput() GetListenersSlbListenerArrayOutput
func (GetListenersSlbListenerArrayOutput) ToGetListenersSlbListenerArrayOutputWithContext ¶
func (o GetListenersSlbListenerArrayOutput) ToGetListenersSlbListenerArrayOutputWithContext(ctx context.Context) GetListenersSlbListenerArrayOutput
type GetListenersSlbListenerInput ¶
type GetListenersSlbListenerInput interface { pulumi.Input ToGetListenersSlbListenerOutput() GetListenersSlbListenerOutput ToGetListenersSlbListenerOutputWithContext(context.Context) GetListenersSlbListenerOutput }
GetListenersSlbListenerInput is an input type that accepts GetListenersSlbListenerArgs and GetListenersSlbListenerOutput values. You can construct a concrete instance of `GetListenersSlbListenerInput` via:
GetListenersSlbListenerArgs{...}
type GetListenersSlbListenerOutput ¶
type GetListenersSlbListenerOutput struct{ *pulumi.OutputState }
func (GetListenersSlbListenerOutput) BackendPort ¶
func (o GetListenersSlbListenerOutput) BackendPort() pulumi.IntOutput
Port opened on the backend server to receive requests.
func (GetListenersSlbListenerOutput) Bandwidth ¶
func (o GetListenersSlbListenerOutput) Bandwidth() pulumi.IntOutput
Peak bandwidth. If the value is set to -1, the listener is not limited by bandwidth.
func (GetListenersSlbListenerOutput) CaCertificateId ¶
func (o GetListenersSlbListenerOutput) CaCertificateId() pulumi.StringOutput
ID of the CA certificate (only required when two-way authentication is used). Only available when the protocol is `https`.
func (GetListenersSlbListenerOutput) Cookie ¶
func (o GetListenersSlbListenerOutput) Cookie() pulumi.StringOutput
Cookie configured by the backend server. Only available when the stickySessionType is `server`.
func (GetListenersSlbListenerOutput) CookieTimeout ¶
func (o GetListenersSlbListenerOutput) CookieTimeout() pulumi.IntOutput
Cookie timeout in seconds. Only available when the stickySessionType is `insert`.
func (GetListenersSlbListenerOutput) Description ¶
func (o GetListenersSlbListenerOutput) Description() pulumi.StringOutput
The description of slb listener.
func (GetListenersSlbListenerOutput) ElementType ¶
func (GetListenersSlbListenerOutput) ElementType() reflect.Type
func (GetListenersSlbListenerOutput) EnableHttp2 ¶
func (o GetListenersSlbListenerOutput) EnableHttp2() pulumi.StringOutput
Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`.
func (GetListenersSlbListenerOutput) EstablishedTimeout ¶
func (o GetListenersSlbListenerOutput) EstablishedTimeout() pulumi.IntOutput
Connection timeout in seconds for the Layer 4 TCP listener. Only available when the protocol is `tcp`.
func (GetListenersSlbListenerOutput) FrontendPort ¶
func (o GetListenersSlbListenerOutput) FrontendPort() pulumi.IntOutput
Filter listeners by the specified frontend port.
func (GetListenersSlbListenerOutput) Gzip ¶
func (o GetListenersSlbListenerOutput) Gzip() pulumi.StringOutput
Indicate whether Gzip compression is enabled or not. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`.
func (GetListenersSlbListenerOutput) HealthCheck ¶
func (o GetListenersSlbListenerOutput) HealthCheck() pulumi.StringOutput
Indicate whether health check is enabled of not. Possible values are `on` and `off`.
func (GetListenersSlbListenerOutput) HealthCheckConnectPort ¶
func (o GetListenersSlbListenerOutput) HealthCheckConnectPort() pulumi.IntOutput
Port used for health check.
func (GetListenersSlbListenerOutput) HealthCheckConnectTimeout ¶
func (o GetListenersSlbListenerOutput) HealthCheckConnectTimeout() pulumi.IntOutput
Amount of time in seconds to wait for the response for a health check.
func (GetListenersSlbListenerOutput) HealthCheckDomain ¶
func (o GetListenersSlbListenerOutput) HealthCheckDomain() pulumi.StringOutput
Domain name used for health check. The SLB sends HTTP head requests to the backend server, the domain is useful when the backend server verifies the host field in the requests. Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`).
func (GetListenersSlbListenerOutput) HealthCheckHttpCode ¶
func (o GetListenersSlbListenerOutput) HealthCheckHttpCode() pulumi.StringOutput
HTTP status codes indicating that the health check is normal. It can contain several comma-separated values such as "http_2xx,http_3xx". Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`).
func (GetListenersSlbListenerOutput) HealthCheckInterval ¶
func (o GetListenersSlbListenerOutput) HealthCheckInterval() pulumi.IntOutput
Time interval between two consecutive health checks.
func (GetListenersSlbListenerOutput) HealthCheckTimeout ¶
func (o GetListenersSlbListenerOutput) HealthCheckTimeout() pulumi.IntOutput
Amount of time in seconds to wait for the response from a health check. If an ECS instance sends no response within the specified timeout period, the health check fails. Only available when the protocol is `http` or `https`.
func (GetListenersSlbListenerOutput) HealthCheckType ¶
func (o GetListenersSlbListenerOutput) HealthCheckType() pulumi.StringOutput
Health check method. Possible values are `tcp` and `http`. Only available when the protocol is `tcp`.
func (GetListenersSlbListenerOutput) HealthCheckUri ¶
func (o GetListenersSlbListenerOutput) HealthCheckUri() pulumi.StringOutput
URI used for health check. Only available when the protocol is `http`, `https` or `tcp` (in this case healthCheckType must be `http`).
func (GetListenersSlbListenerOutput) HealthyThreshold ¶
func (o GetListenersSlbListenerOutput) HealthyThreshold() pulumi.IntOutput
Number of consecutive successes of health check performed on the same ECS instance (from failure to success).
func (GetListenersSlbListenerOutput) IdleTimeout ¶
func (o GetListenersSlbListenerOutput) IdleTimeout() pulumi.IntOutput
Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15.
func (GetListenersSlbListenerOutput) MasterSlaveServerGroupId ¶
func (o GetListenersSlbListenerOutput) MasterSlaveServerGroupId() pulumi.StringOutput
ID of the active/standby server group.
func (GetListenersSlbListenerOutput) PersistenceTimeout ¶
func (o GetListenersSlbListenerOutput) PersistenceTimeout() pulumi.IntOutput
Timeout value of the TCP connection in seconds. If the value is 0, the session persistence function is disabled. Only available when the protocol is `tcp`.
func (GetListenersSlbListenerOutput) Protocol ¶
func (o GetListenersSlbListenerOutput) Protocol() pulumi.StringOutput
Filter listeners by the specified protocol. Valid values: `http`, `https`, `tcp` and `udp`.
func (GetListenersSlbListenerOutput) ProxyProtocolV2Enabled ¶ added in v3.29.0
func (o GetListenersSlbListenerOutput) ProxyProtocolV2Enabled() pulumi.BoolOutput
Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`.
func (GetListenersSlbListenerOutput) RequestTimeout ¶
func (o GetListenersSlbListenerOutput) RequestTimeout() pulumi.IntOutput
Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60.
func (GetListenersSlbListenerOutput) Scheduler ¶
func (o GetListenersSlbListenerOutput) Scheduler() pulumi.StringOutput
Algorithm used to distribute traffic. Possible values: `wrr` (weighted round robin), `wlc` (weighted least connection) and `rr` (round robin).
func (GetListenersSlbListenerOutput) SecurityStatus ¶
func (o GetListenersSlbListenerOutput) SecurityStatus() pulumi.StringOutput
Security status. Only available when the protocol is `https`.
func (GetListenersSlbListenerOutput) ServerCertificateId ¶
func (o GetListenersSlbListenerOutput) ServerCertificateId() pulumi.StringOutput
func (GetListenersSlbListenerOutput) ServerGroupId ¶
func (o GetListenersSlbListenerOutput) ServerGroupId() pulumi.StringOutput
ID of the linked VServer group.
func (GetListenersSlbListenerOutput) SslCertificateId ¶
func (o GetListenersSlbListenerOutput) SslCertificateId() pulumi.StringOutput
ID of the server certificate. Only available when the protocol is `https`.
func (GetListenersSlbListenerOutput) Status ¶
func (o GetListenersSlbListenerOutput) Status() pulumi.StringOutput
Listener status.
func (GetListenersSlbListenerOutput) StickySession ¶
func (o GetListenersSlbListenerOutput) StickySession() pulumi.StringOutput
Indicate whether session persistence is enabled or not. If enabled, all session requests from the same client are sent to the same backend server. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`.
func (GetListenersSlbListenerOutput) StickySessionType ¶
func (o GetListenersSlbListenerOutput) StickySessionType() pulumi.StringOutput
Method used to handle the cookie. Possible values are `insert` (cookie added to the response) and `server` (cookie set by the backend server). Only available when the protocol is `http` or `https` and stickySession is `on`.
func (GetListenersSlbListenerOutput) TlsCipherPolicy ¶
func (o GetListenersSlbListenerOutput) TlsCipherPolicy() pulumi.StringOutput
Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`.
func (GetListenersSlbListenerOutput) ToGetListenersSlbListenerOutput ¶
func (o GetListenersSlbListenerOutput) ToGetListenersSlbListenerOutput() GetListenersSlbListenerOutput
func (GetListenersSlbListenerOutput) ToGetListenersSlbListenerOutputWithContext ¶
func (o GetListenersSlbListenerOutput) ToGetListenersSlbListenerOutputWithContext(ctx context.Context) GetListenersSlbListenerOutput
func (GetListenersSlbListenerOutput) UnhealthyThreshold ¶
func (o GetListenersSlbListenerOutput) UnhealthyThreshold() pulumi.IntOutput
Number of consecutive failures of health check performed on the same ECS instance (from success to failure).
func (GetListenersSlbListenerOutput) XForwardedFor ¶
func (o GetListenersSlbListenerOutput) XForwardedFor() pulumi.StringOutput
Indicate whether the HTTP header field "X-Forwarded-For" is added or not; it allows the backend server to know about the user's IP address. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`.
func (GetListenersSlbListenerOutput) XForwardedForSlbId ¶
func (o GetListenersSlbListenerOutput) XForwardedForSlbId() pulumi.StringOutput
Indicate whether the HTTP header field "X-Forwarded-For_SLBID" is added or not; it allows the backend server to know about the SLB ID. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`.
func (GetListenersSlbListenerOutput) XForwardedForSlbIp ¶
func (o GetListenersSlbListenerOutput) XForwardedForSlbIp() pulumi.StringOutput
Indicate whether the HTTP header field "X-Forwarded-For_SLBIP" is added or not; it allows the backend server to know about the SLB IP address. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`.
func (GetListenersSlbListenerOutput) XForwardedForSlbProto ¶
func (o GetListenersSlbListenerOutput) XForwardedForSlbProto() pulumi.StringOutput
Indicate whether the HTTP header field "X-Forwarded-For_proto" is added or not; it allows the backend server to know about the user's protocol. Possible values are `on` and `off`. Only available when the protocol is `http` or `https`.
type GetLoadBalancersArgs ¶
type GetLoadBalancersArgs struct { // Service address of the SLBs. Address *string `pulumi:"address"` AddressIpVersion *string `pulumi:"addressIpVersion"` AddressType *string `pulumi:"addressType"` EnableDetails *bool `pulumi:"enableDetails"` // A list of SLBs IDs. Ids []string `pulumi:"ids"` InternetChargeType *string `pulumi:"internetChargeType"` LoadBalancerName *string `pulumi:"loadBalancerName"` MasterZoneId *string `pulumi:"masterZoneId"` // A regex string to filter results by SLB name. NameRegex *string `pulumi:"nameRegex"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType *string `pulumi:"networkType"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PaymentType *string `pulumi:"paymentType"` // The Id of resource group which SLB belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` ServerId *string `pulumi:"serverId"` ServerIntranetAddress *string `pulumi:"serverIntranetAddress"` SlaveZoneId *string `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status *string `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId *string `pulumi:"vswitchId"` }
A collection of arguments for invoking getLoadBalancers.
type GetLoadBalancersBalancer ¶ added in v3.3.0
type GetLoadBalancersBalancer struct { // Service address of the SLBs. Address string `pulumi:"address"` AddressIpVersion string `pulumi:"addressIpVersion"` AddressType string `pulumi:"addressType"` AutoReleaseTime int `pulumi:"autoReleaseTime"` BackendServers []GetLoadBalancersBalancerBackendServer `pulumi:"backendServers"` Bandwidth int `pulumi:"bandwidth"` CreateTimeStamp int `pulumi:"createTimeStamp"` DeleteProtection string `pulumi:"deleteProtection"` EndTime string `pulumi:"endTime"` EndTimeStamp int `pulumi:"endTimeStamp"` // ID of the SLB. Id string `pulumi:"id"` InternetChargeType string `pulumi:"internetChargeType"` ListenerPortsAndProtocals []GetLoadBalancersBalancerListenerPortsAndProtocal `pulumi:"listenerPortsAndProtocals"` ListenerPortsAndProtocols []GetLoadBalancersBalancerListenerPortsAndProtocol `pulumi:"listenerPortsAndProtocols"` LoadBalancerId string `pulumi:"loadBalancerId"` LoadBalancerName string `pulumi:"loadBalancerName"` LoadBalancerSpec string `pulumi:"loadBalancerSpec"` MasterZoneId string `pulumi:"masterZoneId"` ModificationProtectionReason string `pulumi:"modificationProtectionReason"` ModificationProtectionStatus string `pulumi:"modificationProtectionStatus"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType string `pulumi:"networkType"` PaymentType string `pulumi:"paymentType"` RegionIdAlias string `pulumi:"regionIdAlias"` RenewalCycUnit string `pulumi:"renewalCycUnit"` RenewalDuration int `pulumi:"renewalDuration"` RenewalStatus string `pulumi:"renewalStatus"` // The Id of resource group which SLB belongs. ResourceGroupId string `pulumi:"resourceGroupId"` SlaveZoneId string `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status string `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId string `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId string `pulumi:"vswitchId"` }
type GetLoadBalancersBalancerArgs ¶ added in v3.3.0
type GetLoadBalancersBalancerArgs struct { // Service address of the SLBs. Address pulumi.StringInput `pulumi:"address"` AddressIpVersion pulumi.StringInput `pulumi:"addressIpVersion"` AddressType pulumi.StringInput `pulumi:"addressType"` AutoReleaseTime pulumi.IntInput `pulumi:"autoReleaseTime"` BackendServers GetLoadBalancersBalancerBackendServerArrayInput `pulumi:"backendServers"` Bandwidth pulumi.IntInput `pulumi:"bandwidth"` CreateTimeStamp pulumi.IntInput `pulumi:"createTimeStamp"` DeleteProtection pulumi.StringInput `pulumi:"deleteProtection"` EndTime pulumi.StringInput `pulumi:"endTime"` EndTimeStamp pulumi.IntInput `pulumi:"endTimeStamp"` // ID of the SLB. Id pulumi.StringInput `pulumi:"id"` InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` ListenerPortsAndProtocals GetLoadBalancersBalancerListenerPortsAndProtocalArrayInput `pulumi:"listenerPortsAndProtocals"` ListenerPortsAndProtocols GetLoadBalancersBalancerListenerPortsAndProtocolArrayInput `pulumi:"listenerPortsAndProtocols"` LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` LoadBalancerName pulumi.StringInput `pulumi:"loadBalancerName"` LoadBalancerSpec pulumi.StringInput `pulumi:"loadBalancerSpec"` MasterZoneId pulumi.StringInput `pulumi:"masterZoneId"` ModificationProtectionReason pulumi.StringInput `pulumi:"modificationProtectionReason"` ModificationProtectionStatus pulumi.StringInput `pulumi:"modificationProtectionStatus"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType pulumi.StringInput `pulumi:"networkType"` PaymentType pulumi.StringInput `pulumi:"paymentType"` RegionIdAlias pulumi.StringInput `pulumi:"regionIdAlias"` RenewalCycUnit pulumi.StringInput `pulumi:"renewalCycUnit"` RenewalDuration pulumi.IntInput `pulumi:"renewalDuration"` RenewalStatus pulumi.StringInput `pulumi:"renewalStatus"` // The Id of resource group which SLB belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` SlaveZoneId pulumi.StringInput `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId pulumi.StringInput `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetLoadBalancersBalancerArgs) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerArgs) ElementType() reflect.Type
func (GetLoadBalancersBalancerArgs) ToGetLoadBalancersBalancerOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerArgs) ToGetLoadBalancersBalancerOutput() GetLoadBalancersBalancerOutput
func (GetLoadBalancersBalancerArgs) ToGetLoadBalancersBalancerOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerArgs) ToGetLoadBalancersBalancerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerOutput
type GetLoadBalancersBalancerArray ¶ added in v3.3.0
type GetLoadBalancersBalancerArray []GetLoadBalancersBalancerInput
func (GetLoadBalancersBalancerArray) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerArray) ElementType() reflect.Type
func (GetLoadBalancersBalancerArray) ToGetLoadBalancersBalancerArrayOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerArray) ToGetLoadBalancersBalancerArrayOutput() GetLoadBalancersBalancerArrayOutput
func (GetLoadBalancersBalancerArray) ToGetLoadBalancersBalancerArrayOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerArray) ToGetLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerArrayOutput
type GetLoadBalancersBalancerArrayInput ¶ added in v3.3.0
type GetLoadBalancersBalancerArrayInput interface { pulumi.Input ToGetLoadBalancersBalancerArrayOutput() GetLoadBalancersBalancerArrayOutput ToGetLoadBalancersBalancerArrayOutputWithContext(context.Context) GetLoadBalancersBalancerArrayOutput }
GetLoadBalancersBalancerArrayInput is an input type that accepts GetLoadBalancersBalancerArray and GetLoadBalancersBalancerArrayOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerArrayInput` via:
GetLoadBalancersBalancerArray{ GetLoadBalancersBalancerArgs{...} }
type GetLoadBalancersBalancerArrayOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerArrayOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerArrayOutput) Index ¶ added in v3.3.0
func (o GetLoadBalancersBalancerArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersBalancerOutput
func (GetLoadBalancersBalancerArrayOutput) ToGetLoadBalancersBalancerArrayOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerArrayOutput) ToGetLoadBalancersBalancerArrayOutput() GetLoadBalancersBalancerArrayOutput
func (GetLoadBalancersBalancerArrayOutput) ToGetLoadBalancersBalancerArrayOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerArrayOutput) ToGetLoadBalancersBalancerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerArrayOutput
type GetLoadBalancersBalancerBackendServer ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerArgs ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerArgs struct { Description pulumi.StringInput `pulumi:"description"` ServerId pulumi.StringInput `pulumi:"serverId"` Type pulumi.StringInput `pulumi:"type"` Weight pulumi.IntInput `pulumi:"weight"` }
func (GetLoadBalancersBalancerBackendServerArgs) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerBackendServerArgs) ElementType() reflect.Type
func (GetLoadBalancersBalancerBackendServerArgs) ToGetLoadBalancersBalancerBackendServerOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerBackendServerArgs) ToGetLoadBalancersBalancerBackendServerOutput() GetLoadBalancersBalancerBackendServerOutput
func (GetLoadBalancersBalancerBackendServerArgs) ToGetLoadBalancersBalancerBackendServerOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerBackendServerArgs) ToGetLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerOutput
type GetLoadBalancersBalancerBackendServerArray ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerArray []GetLoadBalancersBalancerBackendServerInput
func (GetLoadBalancersBalancerBackendServerArray) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerBackendServerArray) ElementType() reflect.Type
func (GetLoadBalancersBalancerBackendServerArray) ToGetLoadBalancersBalancerBackendServerArrayOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerBackendServerArray) ToGetLoadBalancersBalancerBackendServerArrayOutput() GetLoadBalancersBalancerBackendServerArrayOutput
func (GetLoadBalancersBalancerBackendServerArray) ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerBackendServerArray) ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerArrayOutput
type GetLoadBalancersBalancerBackendServerArrayInput ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerArrayInput interface { pulumi.Input ToGetLoadBalancersBalancerBackendServerArrayOutput() GetLoadBalancersBalancerBackendServerArrayOutput ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext(context.Context) GetLoadBalancersBalancerBackendServerArrayOutput }
GetLoadBalancersBalancerBackendServerArrayInput is an input type that accepts GetLoadBalancersBalancerBackendServerArray and GetLoadBalancersBalancerBackendServerArrayOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerBackendServerArrayInput` via:
GetLoadBalancersBalancerBackendServerArray{ GetLoadBalancersBalancerBackendServerArgs{...} }
type GetLoadBalancersBalancerBackendServerArrayOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerBackendServerArrayOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerBackendServerArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerBackendServerArrayOutput) ToGetLoadBalancersBalancerBackendServerArrayOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerArrayOutput) ToGetLoadBalancersBalancerBackendServerArrayOutput() GetLoadBalancersBalancerBackendServerArrayOutput
func (GetLoadBalancersBalancerBackendServerArrayOutput) ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerArrayOutput) ToGetLoadBalancersBalancerBackendServerArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerArrayOutput
type GetLoadBalancersBalancerBackendServerInput ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerInput interface { pulumi.Input ToGetLoadBalancersBalancerBackendServerOutput() GetLoadBalancersBalancerBackendServerOutput ToGetLoadBalancersBalancerBackendServerOutputWithContext(context.Context) GetLoadBalancersBalancerBackendServerOutput }
GetLoadBalancersBalancerBackendServerInput is an input type that accepts GetLoadBalancersBalancerBackendServerArgs and GetLoadBalancersBalancerBackendServerOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerBackendServerInput` via:
GetLoadBalancersBalancerBackendServerArgs{...}
type GetLoadBalancersBalancerBackendServerOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerBackendServerOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerBackendServerOutput) Description ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerOutput) Description() pulumi.StringOutput
func (GetLoadBalancersBalancerBackendServerOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerBackendServerOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerBackendServerOutput) ServerId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerOutput) ServerId() pulumi.StringOutput
func (GetLoadBalancersBalancerBackendServerOutput) ToGetLoadBalancersBalancerBackendServerOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerOutput) ToGetLoadBalancersBalancerBackendServerOutput() GetLoadBalancersBalancerBackendServerOutput
func (GetLoadBalancersBalancerBackendServerOutput) ToGetLoadBalancersBalancerBackendServerOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerOutput) ToGetLoadBalancersBalancerBackendServerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerBackendServerOutput
func (GetLoadBalancersBalancerBackendServerOutput) Type ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerOutput) Type() pulumi.StringOutput
func (GetLoadBalancersBalancerBackendServerOutput) Weight ¶ added in v3.3.0
func (o GetLoadBalancersBalancerBackendServerOutput) Weight() pulumi.IntOutput
type GetLoadBalancersBalancerInput ¶ added in v3.3.0
type GetLoadBalancersBalancerInput interface { pulumi.Input ToGetLoadBalancersBalancerOutput() GetLoadBalancersBalancerOutput ToGetLoadBalancersBalancerOutputWithContext(context.Context) GetLoadBalancersBalancerOutput }
GetLoadBalancersBalancerInput is an input type that accepts GetLoadBalancersBalancerArgs and GetLoadBalancersBalancerOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerInput` via:
GetLoadBalancersBalancerArgs{...}
type GetLoadBalancersBalancerListenerPortsAndProtocal ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalArgs ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalArgs struct { ListenerPort pulumi.IntInput `pulumi:"listenerPort"` ListenerProtocal pulumi.StringInput `pulumi:"listenerProtocal"` }
func (GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput() GetLoadBalancersBalancerListenerPortsAndProtocalOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocalArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalOutput
type GetLoadBalancersBalancerListenerPortsAndProtocalArray ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalArray []GetLoadBalancersBalancerListenerPortsAndProtocalInput
func (GetLoadBalancersBalancerListenerPortsAndProtocalArray) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocalArray) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocalArray) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
type GetLoadBalancersBalancerListenerPortsAndProtocalArrayInput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalArrayInput interface { pulumi.Input ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput }
GetLoadBalancersBalancerListenerPortsAndProtocalArrayInput is an input type that accepts GetLoadBalancersBalancerListenerPortsAndProtocalArray and GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerListenerPortsAndProtocalArrayInput` via:
GetLoadBalancersBalancerListenerPortsAndProtocalArray{ GetLoadBalancersBalancerListenerPortsAndProtocalArgs{...} }
type GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
type GetLoadBalancersBalancerListenerPortsAndProtocalInput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalInput interface { pulumi.Input ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput() GetLoadBalancersBalancerListenerPortsAndProtocalOutput ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalOutput }
GetLoadBalancersBalancerListenerPortsAndProtocalInput is an input type that accepts GetLoadBalancersBalancerListenerPortsAndProtocalArgs and GetLoadBalancersBalancerListenerPortsAndProtocalOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerListenerPortsAndProtocalInput` via:
GetLoadBalancersBalancerListenerPortsAndProtocalArgs{...}
type GetLoadBalancersBalancerListenerPortsAndProtocalOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocalOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerPort ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerPort() pulumi.IntOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerProtocal ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ListenerProtocal() pulumi.StringOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutput() GetLoadBalancersBalancerListenerPortsAndProtocalOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocalOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocalOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocalOutput
type GetLoadBalancersBalancerListenerPortsAndProtocol ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolArgs ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolArgs struct { Description pulumi.StringInput `pulumi:"description"` ForwardPort pulumi.IntInput `pulumi:"forwardPort"` ListenerForward pulumi.StringInput `pulumi:"listenerForward"` ListenerPort pulumi.IntInput `pulumi:"listenerPort"` ListenerProtocol pulumi.StringInput `pulumi:"listenerProtocol"` }
func (GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput() GetLoadBalancersBalancerListenerPortsAndProtocolOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocolArgs) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolOutput
type GetLoadBalancersBalancerListenerPortsAndProtocolArray ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolArray []GetLoadBalancersBalancerListenerPortsAndProtocolInput
func (GetLoadBalancersBalancerListenerPortsAndProtocolArray) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocolArray) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext ¶ added in v3.3.0
func (i GetLoadBalancersBalancerListenerPortsAndProtocolArray) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
type GetLoadBalancersBalancerListenerPortsAndProtocolArrayInput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolArrayInput interface { pulumi.Input ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput }
GetLoadBalancersBalancerListenerPortsAndProtocolArrayInput is an input type that accepts GetLoadBalancersBalancerListenerPortsAndProtocolArray and GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerListenerPortsAndProtocolArrayInput` via:
GetLoadBalancersBalancerListenerPortsAndProtocolArray{ GetLoadBalancersBalancerListenerPortsAndProtocolArgs{...} }
type GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolArrayOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
type GetLoadBalancersBalancerListenerPortsAndProtocolInput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolInput interface { pulumi.Input ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput() GetLoadBalancersBalancerListenerPortsAndProtocolOutput ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolOutput }
GetLoadBalancersBalancerListenerPortsAndProtocolInput is an input type that accepts GetLoadBalancersBalancerListenerPortsAndProtocolArgs and GetLoadBalancersBalancerListenerPortsAndProtocolOutput values. You can construct a concrete instance of `GetLoadBalancersBalancerListenerPortsAndProtocolInput` via:
GetLoadBalancersBalancerListenerPortsAndProtocolArgs{...}
type GetLoadBalancersBalancerListenerPortsAndProtocolOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerListenerPortsAndProtocolOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) Description ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) Description() pulumi.StringOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ForwardPort ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ForwardPort() pulumi.IntOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerForward ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerForward() pulumi.StringOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerPort ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerPort() pulumi.IntOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerProtocol ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ListenerProtocol() pulumi.StringOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutput() GetLoadBalancersBalancerListenerPortsAndProtocolOutput
func (GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerListenerPortsAndProtocolOutput) ToGetLoadBalancersBalancerListenerPortsAndProtocolOutputWithContext(ctx context.Context) GetLoadBalancersBalancerListenerPortsAndProtocolOutput
type GetLoadBalancersBalancerOutput ¶ added in v3.3.0
type GetLoadBalancersBalancerOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersBalancerOutput) Address ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) Address() pulumi.StringOutput
Service address of the SLBs.
func (GetLoadBalancersBalancerOutput) AddressIpVersion ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) AddressIpVersion() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) AddressType ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) AddressType() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) AutoReleaseTime ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) AutoReleaseTime() pulumi.IntOutput
func (GetLoadBalancersBalancerOutput) BackendServers ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) BackendServers() GetLoadBalancersBalancerBackendServerArrayOutput
func (GetLoadBalancersBalancerOutput) Bandwidth ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) Bandwidth() pulumi.IntOutput
func (GetLoadBalancersBalancerOutput) CreateTimeStamp ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) CreateTimeStamp() pulumi.IntOutput
func (GetLoadBalancersBalancerOutput) DeleteProtection ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) DeleteProtection() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) ElementType ¶ added in v3.3.0
func (GetLoadBalancersBalancerOutput) ElementType() reflect.Type
func (GetLoadBalancersBalancerOutput) EndTime ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) EndTime() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) EndTimeStamp ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) EndTimeStamp() pulumi.IntOutput
func (GetLoadBalancersBalancerOutput) Id ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) Id() pulumi.StringOutput
ID of the SLB.
func (GetLoadBalancersBalancerOutput) InternetChargeType ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) InternetChargeType() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) ListenerPortsAndProtocals ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ListenerPortsAndProtocals() GetLoadBalancersBalancerListenerPortsAndProtocalArrayOutput
func (GetLoadBalancersBalancerOutput) ListenerPortsAndProtocols ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ListenerPortsAndProtocols() GetLoadBalancersBalancerListenerPortsAndProtocolArrayOutput
func (GetLoadBalancersBalancerOutput) LoadBalancerId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) LoadBalancerId() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) LoadBalancerName ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) LoadBalancerName() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) LoadBalancerSpec ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) MasterZoneId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) MasterZoneId() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) ModificationProtectionReason ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ModificationProtectionReason() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) ModificationProtectionStatus ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) NetworkType ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) NetworkType() pulumi.StringOutput
Network type of the SLBs. Valid values: `vpc` and `classic`.
func (GetLoadBalancersBalancerOutput) PaymentType ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) PaymentType() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) RegionIdAlias ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) RegionIdAlias() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) RenewalCycUnit ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) RenewalCycUnit() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) RenewalDuration ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) RenewalDuration() pulumi.IntOutput
func (GetLoadBalancersBalancerOutput) RenewalStatus ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) RenewalStatus() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) ResourceGroupId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which SLB belongs.
func (GetLoadBalancersBalancerOutput) SlaveZoneId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) SlaveZoneId() pulumi.StringOutput
func (GetLoadBalancersBalancerOutput) Status ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) Status() pulumi.StringOutput
SLB current status. Possible values: `inactive`, `active` and `locked`.
func (GetLoadBalancersBalancerOutput) Tags ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) Tags() pulumi.MapOutput
A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ Tags: map[string]interface{}{ "tagKey1": "tagValue1", "tagKey2": "tagValue2", }, }, nil) if err != nil { return err } return nil }) }
```
func (GetLoadBalancersBalancerOutput) ToGetLoadBalancersBalancerOutput ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ToGetLoadBalancersBalancerOutput() GetLoadBalancersBalancerOutput
func (GetLoadBalancersBalancerOutput) ToGetLoadBalancersBalancerOutputWithContext ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) ToGetLoadBalancersBalancerOutputWithContext(ctx context.Context) GetLoadBalancersBalancerOutput
func (GetLoadBalancersBalancerOutput) VpcId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) VpcId() pulumi.StringOutput
ID of the VPC linked to the SLBs.
func (GetLoadBalancersBalancerOutput) VswitchId ¶ added in v3.3.0
func (o GetLoadBalancersBalancerOutput) VswitchId() pulumi.StringOutput
ID of the VSwitch linked to the SLBs.
type GetLoadBalancersOutputArgs ¶ added in v3.9.0
type GetLoadBalancersOutputArgs struct { // Service address of the SLBs. Address pulumi.StringPtrInput `pulumi:"address"` AddressIpVersion pulumi.StringPtrInput `pulumi:"addressIpVersion"` AddressType pulumi.StringPtrInput `pulumi:"addressType"` EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of SLBs IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"` LoadBalancerName pulumi.StringPtrInput `pulumi:"loadBalancerName"` MasterZoneId pulumi.StringPtrInput `pulumi:"masterZoneId"` // A regex string to filter results by SLB name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType pulumi.StringPtrInput `pulumi:"networkType"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` // The Id of resource group which SLB belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` ServerId pulumi.StringPtrInput `pulumi:"serverId"` ServerIntranetAddress pulumi.StringPtrInput `pulumi:"serverIntranetAddress"` SlaveZoneId pulumi.StringPtrInput `pulumi:"slaveZoneId"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
A collection of arguments for invoking getLoadBalancers.
func (GetLoadBalancersOutputArgs) ElementType ¶ added in v3.9.0
func (GetLoadBalancersOutputArgs) ElementType() reflect.Type
type GetLoadBalancersResult ¶
type GetLoadBalancersResult struct { // Service address of the SLB. Address *string `pulumi:"address"` AddressIpVersion *string `pulumi:"addressIpVersion"` AddressType *string `pulumi:"addressType"` Balancers []GetLoadBalancersBalancer `pulumi:"balancers"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of slb IDs. Ids []string `pulumi:"ids"` InternetChargeType *string `pulumi:"internetChargeType"` LoadBalancerName *string `pulumi:"loadBalancerName"` MasterZoneId *string `pulumi:"masterZoneId"` NameRegex *string `pulumi:"nameRegex"` // A list of slb names. Names []string `pulumi:"names"` // Network type of the SLB. Possible values: `vpc` and `classic`. NetworkType *string `pulumi:"networkType"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PaymentType *string `pulumi:"paymentType"` ResourceGroupId *string `pulumi:"resourceGroupId"` ServerId *string `pulumi:"serverId"` ServerIntranetAddress *string `pulumi:"serverIntranetAddress"` SlaveZoneId *string `pulumi:"slaveZoneId"` // A list of SLBs. Each element contains the following attributes: // // Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'. Slbs []GetLoadBalancersSlb `pulumi:"slbs"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status *string `pulumi:"status"` // A map of tags assigned to the SLB instance. Tags map[string]interface{} `pulumi:"tags"` TotalCount int `pulumi:"totalCount"` // ID of the VPC the SLB belongs to. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch the SLB belongs to. VswitchId *string `pulumi:"vswitchId"` }
A collection of values returned by getLoadBalancers.
func GetLoadBalancers ¶
func GetLoadBalancers(ctx *pulumi.Context, args *GetLoadBalancersArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancersResult, error)
> **DEPRECATED:** This datasource has been renamed to slb.getApplicationLoadBalancers from version 1.123.1.
This data source provides the server load balancers of the current Alibaba Cloud user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewLoadBalancer(ctx, "default", nil) if err != nil { return err } slbsDs, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ NameRegex: pulumi.StringRef("sample_slb"), }, nil) if err != nil { return err } ctx.Export("firstSlbId", slbsDs.Slbs[0].Id) return nil }) }
```
type GetLoadBalancersResultOutput ¶ added in v3.9.0
type GetLoadBalancersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancers.
func GetLoadBalancersOutput ¶ added in v3.9.0
func GetLoadBalancersOutput(ctx *pulumi.Context, args GetLoadBalancersOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancersResultOutput
func (GetLoadBalancersResultOutput) Address ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Address() pulumi.StringPtrOutput
Service address of the SLB.
func (GetLoadBalancersResultOutput) AddressIpVersion ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) AddressIpVersion() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) AddressType ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) AddressType() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) Balancers ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Balancers() GetLoadBalancersBalancerArrayOutput
func (GetLoadBalancersResultOutput) ElementType ¶ added in v3.9.0
func (GetLoadBalancersResultOutput) ElementType() reflect.Type
func (GetLoadBalancersResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetLoadBalancersResultOutput) Id ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLoadBalancersResultOutput) Ids ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Ids() pulumi.StringArrayOutput
A list of slb IDs.
func (GetLoadBalancersResultOutput) InternetChargeType ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) InternetChargeType() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) LoadBalancerName ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) LoadBalancerName() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) MasterZoneId ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) MasterZoneId() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) NameRegex ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) Names ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Names() pulumi.StringArrayOutput
A list of slb names.
func (GetLoadBalancersResultOutput) NetworkType ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) NetworkType() pulumi.StringPtrOutput
Network type of the SLB. Possible values: `vpc` and `classic`.
func (GetLoadBalancersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) PageNumber ¶ added in v3.16.0
func (o GetLoadBalancersResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetLoadBalancersResultOutput) PageSize ¶ added in v3.16.0
func (o GetLoadBalancersResultOutput) PageSize() pulumi.IntPtrOutput
func (GetLoadBalancersResultOutput) PaymentType ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) ServerId ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) ServerId() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) ServerIntranetAddress ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) ServerIntranetAddress() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) SlaveZoneId ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) SlaveZoneId() pulumi.StringPtrOutput
func (GetLoadBalancersResultOutput) Slbs
deprecated
added in
v3.9.0
func (o GetLoadBalancersResultOutput) Slbs() GetLoadBalancersSlbArrayOutput
A list of SLBs. Each element contains the following attributes:
Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.
func (GetLoadBalancersResultOutput) Status ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Status() pulumi.StringPtrOutput
SLB current status. Possible values: `inactive`, `active` and `locked`.
func (GetLoadBalancersResultOutput) Tags ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) Tags() pulumi.MapOutput
A map of tags assigned to the SLB instance.
func (GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutput() GetLoadBalancersResultOutput
func (GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) ToGetLoadBalancersResultOutputWithContext(ctx context.Context) GetLoadBalancersResultOutput
func (GetLoadBalancersResultOutput) TotalCount ¶ added in v3.16.0
func (o GetLoadBalancersResultOutput) TotalCount() pulumi.IntOutput
func (GetLoadBalancersResultOutput) VpcId ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC the SLB belongs to.
func (GetLoadBalancersResultOutput) VswitchId ¶ added in v3.9.0
func (o GetLoadBalancersResultOutput) VswitchId() pulumi.StringPtrOutput
ID of the VSwitch the SLB belongs to.
type GetLoadBalancersSlb ¶
type GetLoadBalancersSlb struct { // Service address of the SLBs. Address string `pulumi:"address"` // SLB creation time. CreationTime string `pulumi:"creationTime"` // ID of the SLB. Id string `pulumi:"id"` // SLB addressType: internet if `true`, intranet if `false`. Must be `false` when `networkType` is `vpc`. Internet bool `pulumi:"internet"` // Master availability zone of the SLBs. MasterAvailabilityZone string `pulumi:"masterAvailabilityZone"` // SLB name. Name string `pulumi:"name"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType string `pulumi:"networkType"` // Region ID the SLB belongs to. RegionId string `pulumi:"regionId"` // Slave availability zone of the SLBs. SlaveAvailabilityZone string `pulumi:"slaveAvailabilityZone"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status string `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId string `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId string `pulumi:"vswitchId"` }
type GetLoadBalancersSlbArgs ¶
type GetLoadBalancersSlbArgs struct { // Service address of the SLBs. Address pulumi.StringInput `pulumi:"address"` // SLB creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // ID of the SLB. Id pulumi.StringInput `pulumi:"id"` // SLB addressType: internet if `true`, intranet if `false`. Must be `false` when `networkType` is `vpc`. Internet pulumi.BoolInput `pulumi:"internet"` // Master availability zone of the SLBs. MasterAvailabilityZone pulumi.StringInput `pulumi:"masterAvailabilityZone"` // SLB name. Name pulumi.StringInput `pulumi:"name"` // Network type of the SLBs. Valid values: `vpc` and `classic`. NetworkType pulumi.StringInput `pulumi:"networkType"` // Region ID the SLB belongs to. RegionId pulumi.StringInput `pulumi:"regionId"` // Slave availability zone of the SLBs. SlaveAvailabilityZone pulumi.StringInput `pulumi:"slaveAvailabilityZone"` // SLB current status. Possible values: `inactive`, `active` and `locked`. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the SLBs. VpcId pulumi.StringInput `pulumi:"vpcId"` // ID of the VSwitch linked to the SLBs. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetLoadBalancersSlbArgs) ElementType ¶
func (GetLoadBalancersSlbArgs) ElementType() reflect.Type
func (GetLoadBalancersSlbArgs) ToGetLoadBalancersSlbOutput ¶
func (i GetLoadBalancersSlbArgs) ToGetLoadBalancersSlbOutput() GetLoadBalancersSlbOutput
func (GetLoadBalancersSlbArgs) ToGetLoadBalancersSlbOutputWithContext ¶
func (i GetLoadBalancersSlbArgs) ToGetLoadBalancersSlbOutputWithContext(ctx context.Context) GetLoadBalancersSlbOutput
type GetLoadBalancersSlbArray ¶
type GetLoadBalancersSlbArray []GetLoadBalancersSlbInput
func (GetLoadBalancersSlbArray) ElementType ¶
func (GetLoadBalancersSlbArray) ElementType() reflect.Type
func (GetLoadBalancersSlbArray) ToGetLoadBalancersSlbArrayOutput ¶
func (i GetLoadBalancersSlbArray) ToGetLoadBalancersSlbArrayOutput() GetLoadBalancersSlbArrayOutput
func (GetLoadBalancersSlbArray) ToGetLoadBalancersSlbArrayOutputWithContext ¶
func (i GetLoadBalancersSlbArray) ToGetLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetLoadBalancersSlbArrayOutput
type GetLoadBalancersSlbArrayInput ¶
type GetLoadBalancersSlbArrayInput interface { pulumi.Input ToGetLoadBalancersSlbArrayOutput() GetLoadBalancersSlbArrayOutput ToGetLoadBalancersSlbArrayOutputWithContext(context.Context) GetLoadBalancersSlbArrayOutput }
GetLoadBalancersSlbArrayInput is an input type that accepts GetLoadBalancersSlbArray and GetLoadBalancersSlbArrayOutput values. You can construct a concrete instance of `GetLoadBalancersSlbArrayInput` via:
GetLoadBalancersSlbArray{ GetLoadBalancersSlbArgs{...} }
type GetLoadBalancersSlbArrayOutput ¶
type GetLoadBalancersSlbArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersSlbArrayOutput) ElementType ¶
func (GetLoadBalancersSlbArrayOutput) ElementType() reflect.Type
func (GetLoadBalancersSlbArrayOutput) Index ¶
func (o GetLoadBalancersSlbArrayOutput) Index(i pulumi.IntInput) GetLoadBalancersSlbOutput
func (GetLoadBalancersSlbArrayOutput) ToGetLoadBalancersSlbArrayOutput ¶
func (o GetLoadBalancersSlbArrayOutput) ToGetLoadBalancersSlbArrayOutput() GetLoadBalancersSlbArrayOutput
func (GetLoadBalancersSlbArrayOutput) ToGetLoadBalancersSlbArrayOutputWithContext ¶
func (o GetLoadBalancersSlbArrayOutput) ToGetLoadBalancersSlbArrayOutputWithContext(ctx context.Context) GetLoadBalancersSlbArrayOutput
type GetLoadBalancersSlbInput ¶
type GetLoadBalancersSlbInput interface { pulumi.Input ToGetLoadBalancersSlbOutput() GetLoadBalancersSlbOutput ToGetLoadBalancersSlbOutputWithContext(context.Context) GetLoadBalancersSlbOutput }
GetLoadBalancersSlbInput is an input type that accepts GetLoadBalancersSlbArgs and GetLoadBalancersSlbOutput values. You can construct a concrete instance of `GetLoadBalancersSlbInput` via:
GetLoadBalancersSlbArgs{...}
type GetLoadBalancersSlbOutput ¶
type GetLoadBalancersSlbOutput struct{ *pulumi.OutputState }
func (GetLoadBalancersSlbOutput) Address ¶
func (o GetLoadBalancersSlbOutput) Address() pulumi.StringOutput
Service address of the SLBs.
func (GetLoadBalancersSlbOutput) CreationTime ¶
func (o GetLoadBalancersSlbOutput) CreationTime() pulumi.StringOutput
SLB creation time.
func (GetLoadBalancersSlbOutput) ElementType ¶
func (GetLoadBalancersSlbOutput) ElementType() reflect.Type
func (GetLoadBalancersSlbOutput) Id ¶
func (o GetLoadBalancersSlbOutput) Id() pulumi.StringOutput
ID of the SLB.
func (GetLoadBalancersSlbOutput) Internet ¶
func (o GetLoadBalancersSlbOutput) Internet() pulumi.BoolOutput
SLB addressType: internet if `true`, intranet if `false`. Must be `false` when `networkType` is `vpc`.
func (GetLoadBalancersSlbOutput) MasterAvailabilityZone ¶
func (o GetLoadBalancersSlbOutput) MasterAvailabilityZone() pulumi.StringOutput
Master availability zone of the SLBs.
func (GetLoadBalancersSlbOutput) Name ¶
func (o GetLoadBalancersSlbOutput) Name() pulumi.StringOutput
SLB name.
func (GetLoadBalancersSlbOutput) NetworkType ¶
func (o GetLoadBalancersSlbOutput) NetworkType() pulumi.StringOutput
Network type of the SLBs. Valid values: `vpc` and `classic`.
func (GetLoadBalancersSlbOutput) RegionId ¶
func (o GetLoadBalancersSlbOutput) RegionId() pulumi.StringOutput
Region ID the SLB belongs to.
func (GetLoadBalancersSlbOutput) SlaveAvailabilityZone ¶
func (o GetLoadBalancersSlbOutput) SlaveAvailabilityZone() pulumi.StringOutput
Slave availability zone of the SLBs.
func (GetLoadBalancersSlbOutput) Status ¶
func (o GetLoadBalancersSlbOutput) Status() pulumi.StringOutput
SLB current status. Possible values: `inactive`, `active` and `locked`.
func (GetLoadBalancersSlbOutput) Tags ¶
func (o GetLoadBalancersSlbOutput) Tags() pulumi.MapOutput
A map of tags assigned to the SLB instances. The `tags` can have a maximum of 5 tag. It must be in the format: ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.GetLoadBalancers(ctx, &slb.GetLoadBalancersArgs{ Tags: map[string]interface{}{ "tagKey1": "tagValue1", "tagKey2": "tagValue2", }, }, nil) if err != nil { return err } return nil }) }
```
func (GetLoadBalancersSlbOutput) ToGetLoadBalancersSlbOutput ¶
func (o GetLoadBalancersSlbOutput) ToGetLoadBalancersSlbOutput() GetLoadBalancersSlbOutput
func (GetLoadBalancersSlbOutput) ToGetLoadBalancersSlbOutputWithContext ¶
func (o GetLoadBalancersSlbOutput) ToGetLoadBalancersSlbOutputWithContext(ctx context.Context) GetLoadBalancersSlbOutput
func (GetLoadBalancersSlbOutput) VpcId ¶
func (o GetLoadBalancersSlbOutput) VpcId() pulumi.StringOutput
ID of the VPC linked to the SLBs.
func (GetLoadBalancersSlbOutput) VswitchId ¶
func (o GetLoadBalancersSlbOutput) VswitchId() pulumi.StringOutput
ID of the VSwitch linked to the SLBs.
type GetMasterSlaveServerGroupsArgs ¶
type GetMasterSlaveServerGroupsArgs struct { // A list of master slave server group IDs to filter results. Ids []string `pulumi:"ids"` // ID of the SLB. LoadBalancerId string `pulumi:"loadBalancerId"` // A regex string to filter results by master slave server group name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getMasterSlaveServerGroups.
type GetMasterSlaveServerGroupsGroup ¶
type GetMasterSlaveServerGroupsGroup struct { // master slave server group ID. Id string `pulumi:"id"` // master slave server group name. Name string `pulumi:"name"` // ECS instances associated to the group. Each element contains the following attributes: Servers []GetMasterSlaveServerGroupsGroupServer `pulumi:"servers"` }
type GetMasterSlaveServerGroupsGroupArgs ¶
type GetMasterSlaveServerGroupsGroupArgs struct { // master slave server group ID. Id pulumi.StringInput `pulumi:"id"` // master slave server group name. Name pulumi.StringInput `pulumi:"name"` // ECS instances associated to the group. Each element contains the following attributes: Servers GetMasterSlaveServerGroupsGroupServerArrayInput `pulumi:"servers"` }
func (GetMasterSlaveServerGroupsGroupArgs) ElementType ¶
func (GetMasterSlaveServerGroupsGroupArgs) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupArgs) ToGetMasterSlaveServerGroupsGroupOutput ¶
func (i GetMasterSlaveServerGroupsGroupArgs) ToGetMasterSlaveServerGroupsGroupOutput() GetMasterSlaveServerGroupsGroupOutput
func (GetMasterSlaveServerGroupsGroupArgs) ToGetMasterSlaveServerGroupsGroupOutputWithContext ¶
func (i GetMasterSlaveServerGroupsGroupArgs) ToGetMasterSlaveServerGroupsGroupOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupOutput
type GetMasterSlaveServerGroupsGroupArray ¶
type GetMasterSlaveServerGroupsGroupArray []GetMasterSlaveServerGroupsGroupInput
func (GetMasterSlaveServerGroupsGroupArray) ElementType ¶
func (GetMasterSlaveServerGroupsGroupArray) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupArray) ToGetMasterSlaveServerGroupsGroupArrayOutput ¶
func (i GetMasterSlaveServerGroupsGroupArray) ToGetMasterSlaveServerGroupsGroupArrayOutput() GetMasterSlaveServerGroupsGroupArrayOutput
func (GetMasterSlaveServerGroupsGroupArray) ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext ¶
func (i GetMasterSlaveServerGroupsGroupArray) ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupArrayOutput
type GetMasterSlaveServerGroupsGroupArrayInput ¶
type GetMasterSlaveServerGroupsGroupArrayInput interface { pulumi.Input ToGetMasterSlaveServerGroupsGroupArrayOutput() GetMasterSlaveServerGroupsGroupArrayOutput ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext(context.Context) GetMasterSlaveServerGroupsGroupArrayOutput }
GetMasterSlaveServerGroupsGroupArrayInput is an input type that accepts GetMasterSlaveServerGroupsGroupArray and GetMasterSlaveServerGroupsGroupArrayOutput values. You can construct a concrete instance of `GetMasterSlaveServerGroupsGroupArrayInput` via:
GetMasterSlaveServerGroupsGroupArray{ GetMasterSlaveServerGroupsGroupArgs{...} }
type GetMasterSlaveServerGroupsGroupArrayOutput ¶
type GetMasterSlaveServerGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetMasterSlaveServerGroupsGroupArrayOutput) ElementType ¶
func (GetMasterSlaveServerGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupArrayOutput) ToGetMasterSlaveServerGroupsGroupArrayOutput ¶
func (o GetMasterSlaveServerGroupsGroupArrayOutput) ToGetMasterSlaveServerGroupsGroupArrayOutput() GetMasterSlaveServerGroupsGroupArrayOutput
func (GetMasterSlaveServerGroupsGroupArrayOutput) ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext ¶
func (o GetMasterSlaveServerGroupsGroupArrayOutput) ToGetMasterSlaveServerGroupsGroupArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupArrayOutput
type GetMasterSlaveServerGroupsGroupInput ¶
type GetMasterSlaveServerGroupsGroupInput interface { pulumi.Input ToGetMasterSlaveServerGroupsGroupOutput() GetMasterSlaveServerGroupsGroupOutput ToGetMasterSlaveServerGroupsGroupOutputWithContext(context.Context) GetMasterSlaveServerGroupsGroupOutput }
GetMasterSlaveServerGroupsGroupInput is an input type that accepts GetMasterSlaveServerGroupsGroupArgs and GetMasterSlaveServerGroupsGroupOutput values. You can construct a concrete instance of `GetMasterSlaveServerGroupsGroupInput` via:
GetMasterSlaveServerGroupsGroupArgs{...}
type GetMasterSlaveServerGroupsGroupOutput ¶
type GetMasterSlaveServerGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetMasterSlaveServerGroupsGroupOutput) ElementType ¶
func (GetMasterSlaveServerGroupsGroupOutput) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupOutput) Id ¶
func (o GetMasterSlaveServerGroupsGroupOutput) Id() pulumi.StringOutput
master slave server group ID.
func (GetMasterSlaveServerGroupsGroupOutput) Name ¶
func (o GetMasterSlaveServerGroupsGroupOutput) Name() pulumi.StringOutput
master slave server group name.
func (GetMasterSlaveServerGroupsGroupOutput) Servers ¶
func (o GetMasterSlaveServerGroupsGroupOutput) Servers() GetMasterSlaveServerGroupsGroupServerArrayOutput
ECS instances associated to the group. Each element contains the following attributes:
func (GetMasterSlaveServerGroupsGroupOutput) ToGetMasterSlaveServerGroupsGroupOutput ¶
func (o GetMasterSlaveServerGroupsGroupOutput) ToGetMasterSlaveServerGroupsGroupOutput() GetMasterSlaveServerGroupsGroupOutput
func (GetMasterSlaveServerGroupsGroupOutput) ToGetMasterSlaveServerGroupsGroupOutputWithContext ¶
func (o GetMasterSlaveServerGroupsGroupOutput) ToGetMasterSlaveServerGroupsGroupOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupOutput
type GetMasterSlaveServerGroupsGroupServer ¶
type GetMasterSlaveServerGroupsGroupServer struct { // ID of the attached ECS instance. InstanceId string `pulumi:"instanceId"` // (Removed from v1.63.0) Determine if the server is executing. IsBackup int `pulumi:"isBackup"` // The port used by the master slave server group. Port int `pulumi:"port"` // The server type of the attached ECS instance. ServerType string `pulumi:"serverType"` // Weight associated to the ECS instance. Weight int `pulumi:"weight"` }
type GetMasterSlaveServerGroupsGroupServerArgs ¶
type GetMasterSlaveServerGroupsGroupServerArgs struct { // ID of the attached ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // (Removed from v1.63.0) Determine if the server is executing. IsBackup pulumi.IntInput `pulumi:"isBackup"` // The port used by the master slave server group. Port pulumi.IntInput `pulumi:"port"` // The server type of the attached ECS instance. ServerType pulumi.StringInput `pulumi:"serverType"` // Weight associated to the ECS instance. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetMasterSlaveServerGroupsGroupServerArgs) ElementType ¶
func (GetMasterSlaveServerGroupsGroupServerArgs) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupServerArgs) ToGetMasterSlaveServerGroupsGroupServerOutput ¶
func (i GetMasterSlaveServerGroupsGroupServerArgs) ToGetMasterSlaveServerGroupsGroupServerOutput() GetMasterSlaveServerGroupsGroupServerOutput
func (GetMasterSlaveServerGroupsGroupServerArgs) ToGetMasterSlaveServerGroupsGroupServerOutputWithContext ¶
func (i GetMasterSlaveServerGroupsGroupServerArgs) ToGetMasterSlaveServerGroupsGroupServerOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerOutput
type GetMasterSlaveServerGroupsGroupServerArray ¶
type GetMasterSlaveServerGroupsGroupServerArray []GetMasterSlaveServerGroupsGroupServerInput
func (GetMasterSlaveServerGroupsGroupServerArray) ElementType ¶
func (GetMasterSlaveServerGroupsGroupServerArray) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupServerArray) ToGetMasterSlaveServerGroupsGroupServerArrayOutput ¶
func (i GetMasterSlaveServerGroupsGroupServerArray) ToGetMasterSlaveServerGroupsGroupServerArrayOutput() GetMasterSlaveServerGroupsGroupServerArrayOutput
func (GetMasterSlaveServerGroupsGroupServerArray) ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext ¶
func (i GetMasterSlaveServerGroupsGroupServerArray) ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerArrayOutput
type GetMasterSlaveServerGroupsGroupServerArrayInput ¶
type GetMasterSlaveServerGroupsGroupServerArrayInput interface { pulumi.Input ToGetMasterSlaveServerGroupsGroupServerArrayOutput() GetMasterSlaveServerGroupsGroupServerArrayOutput ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext(context.Context) GetMasterSlaveServerGroupsGroupServerArrayOutput }
GetMasterSlaveServerGroupsGroupServerArrayInput is an input type that accepts GetMasterSlaveServerGroupsGroupServerArray and GetMasterSlaveServerGroupsGroupServerArrayOutput values. You can construct a concrete instance of `GetMasterSlaveServerGroupsGroupServerArrayInput` via:
GetMasterSlaveServerGroupsGroupServerArray{ GetMasterSlaveServerGroupsGroupServerArgs{...} }
type GetMasterSlaveServerGroupsGroupServerArrayOutput ¶
type GetMasterSlaveServerGroupsGroupServerArrayOutput struct{ *pulumi.OutputState }
func (GetMasterSlaveServerGroupsGroupServerArrayOutput) ElementType ¶
func (GetMasterSlaveServerGroupsGroupServerArrayOutput) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupServerArrayOutput) ToGetMasterSlaveServerGroupsGroupServerArrayOutput ¶
func (o GetMasterSlaveServerGroupsGroupServerArrayOutput) ToGetMasterSlaveServerGroupsGroupServerArrayOutput() GetMasterSlaveServerGroupsGroupServerArrayOutput
func (GetMasterSlaveServerGroupsGroupServerArrayOutput) ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext ¶
func (o GetMasterSlaveServerGroupsGroupServerArrayOutput) ToGetMasterSlaveServerGroupsGroupServerArrayOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerArrayOutput
type GetMasterSlaveServerGroupsGroupServerInput ¶
type GetMasterSlaveServerGroupsGroupServerInput interface { pulumi.Input ToGetMasterSlaveServerGroupsGroupServerOutput() GetMasterSlaveServerGroupsGroupServerOutput ToGetMasterSlaveServerGroupsGroupServerOutputWithContext(context.Context) GetMasterSlaveServerGroupsGroupServerOutput }
GetMasterSlaveServerGroupsGroupServerInput is an input type that accepts GetMasterSlaveServerGroupsGroupServerArgs and GetMasterSlaveServerGroupsGroupServerOutput values. You can construct a concrete instance of `GetMasterSlaveServerGroupsGroupServerInput` via:
GetMasterSlaveServerGroupsGroupServerArgs{...}
type GetMasterSlaveServerGroupsGroupServerOutput ¶
type GetMasterSlaveServerGroupsGroupServerOutput struct{ *pulumi.OutputState }
func (GetMasterSlaveServerGroupsGroupServerOutput) ElementType ¶
func (GetMasterSlaveServerGroupsGroupServerOutput) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsGroupServerOutput) InstanceId ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) InstanceId() pulumi.StringOutput
ID of the attached ECS instance.
func (GetMasterSlaveServerGroupsGroupServerOutput) IsBackup ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) IsBackup() pulumi.IntOutput
(Removed from v1.63.0) Determine if the server is executing.
func (GetMasterSlaveServerGroupsGroupServerOutput) Port ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) Port() pulumi.IntOutput
The port used by the master slave server group.
func (GetMasterSlaveServerGroupsGroupServerOutput) ServerType ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) ServerType() pulumi.StringOutput
The server type of the attached ECS instance.
func (GetMasterSlaveServerGroupsGroupServerOutput) ToGetMasterSlaveServerGroupsGroupServerOutput ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) ToGetMasterSlaveServerGroupsGroupServerOutput() GetMasterSlaveServerGroupsGroupServerOutput
func (GetMasterSlaveServerGroupsGroupServerOutput) ToGetMasterSlaveServerGroupsGroupServerOutputWithContext ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) ToGetMasterSlaveServerGroupsGroupServerOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsGroupServerOutput
func (GetMasterSlaveServerGroupsGroupServerOutput) Weight ¶
func (o GetMasterSlaveServerGroupsGroupServerOutput) Weight() pulumi.IntOutput
Weight associated to the ECS instance.
type GetMasterSlaveServerGroupsOutputArgs ¶ added in v3.9.0
type GetMasterSlaveServerGroupsOutputArgs struct { // A list of master slave server group IDs to filter results. Ids pulumi.StringArrayInput `pulumi:"ids"` // ID of the SLB. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // A regex string to filter results by master slave server group name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getMasterSlaveServerGroups.
func (GetMasterSlaveServerGroupsOutputArgs) ElementType ¶ added in v3.9.0
func (GetMasterSlaveServerGroupsOutputArgs) ElementType() reflect.Type
type GetMasterSlaveServerGroupsResult ¶
type GetMasterSlaveServerGroupsResult struct { // A list of SLB master slave server groups. Each element contains the following attributes: Groups []GetMasterSlaveServerGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of SLB master slave server groups IDs. Ids []string `pulumi:"ids"` LoadBalancerId string `pulumi:"loadBalancerId"` NameRegex *string `pulumi:"nameRegex"` // A list of SLB master slave server groups names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getMasterSlaveServerGroups.
func GetMasterSlaveServerGroups ¶
func GetMasterSlaveServerGroups(ctx *pulumi.Context, args *GetMasterSlaveServerGroupsArgs, opts ...pulumi.InvokeOption) (*GetMasterSlaveServerGroupsResult, error)
This data source provides the master slave server groups related to a server load balancer.
> **NOTE:** Available in 1.54.0+
type GetMasterSlaveServerGroupsResultOutput ¶ added in v3.9.0
type GetMasterSlaveServerGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMasterSlaveServerGroups.
func GetMasterSlaveServerGroupsOutput ¶ added in v3.9.0
func GetMasterSlaveServerGroupsOutput(ctx *pulumi.Context, args GetMasterSlaveServerGroupsOutputArgs, opts ...pulumi.InvokeOption) GetMasterSlaveServerGroupsResultOutput
func (GetMasterSlaveServerGroupsResultOutput) ElementType ¶ added in v3.9.0
func (GetMasterSlaveServerGroupsResultOutput) ElementType() reflect.Type
func (GetMasterSlaveServerGroupsResultOutput) Groups ¶ added in v3.9.0
A list of SLB master slave server groups. Each element contains the following attributes:
func (GetMasterSlaveServerGroupsResultOutput) Id ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetMasterSlaveServerGroupsResultOutput) Ids ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) Ids() pulumi.StringArrayOutput
A list of SLB master slave server groups IDs.
func (GetMasterSlaveServerGroupsResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetMasterSlaveServerGroupsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetMasterSlaveServerGroupsResultOutput) Names ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) Names() pulumi.StringArrayOutput
A list of SLB master slave server groups names.
func (GetMasterSlaveServerGroupsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetMasterSlaveServerGroupsResultOutput) ToGetMasterSlaveServerGroupsResultOutput ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) ToGetMasterSlaveServerGroupsResultOutput() GetMasterSlaveServerGroupsResultOutput
func (GetMasterSlaveServerGroupsResultOutput) ToGetMasterSlaveServerGroupsResultOutputWithContext ¶ added in v3.9.0
func (o GetMasterSlaveServerGroupsResultOutput) ToGetMasterSlaveServerGroupsResultOutputWithContext(ctx context.Context) GetMasterSlaveServerGroupsResultOutput
type GetRulesArgs ¶
type GetRulesArgs struct { // SLB listener port. FrontendPort int `pulumi:"frontendPort"` // A list of rules IDs to filter results. Ids []string `pulumi:"ids"` // ID of the SLB with listener rules. LoadBalancerId string `pulumi:"loadBalancerId"` // A regex string to filter results by rule name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRules.
type GetRulesOutputArgs ¶ added in v3.9.0
type GetRulesOutputArgs struct { // SLB listener port. FrontendPort pulumi.IntInput `pulumi:"frontendPort"` // A list of rules IDs to filter results. Ids pulumi.StringArrayInput `pulumi:"ids"` // ID of the SLB with listener rules. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // A regex string to filter results by rule name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getRules.
func (GetRulesOutputArgs) ElementType ¶ added in v3.9.0
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶
type GetRulesResult struct { FrontendPort int `pulumi:"frontendPort"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of SLB listener rules IDs. Ids []string `pulumi:"ids"` LoadBalancerId string `pulumi:"loadBalancerId"` NameRegex *string `pulumi:"nameRegex"` // A list of SLB listener rules names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of SLB listener rules. Each element contains the following attributes: SlbRules []GetRulesSlbRule `pulumi:"slbRules"` }
A collection of values returned by getRules.
func GetRules ¶
func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)
This data source provides the rules associated with a server load balancer listener.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "slbrulebasicconfig" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/16"), ZoneId: *pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "defaultApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(name), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } defaultListener, err := slb.NewListener(ctx, "defaultListener", &slb.ListenerArgs{ LoadBalancerId: defaultApplicationLoadBalancer.ID(), BackendPort: pulumi.Int(22), FrontendPort: pulumi.Int(22), Protocol: pulumi.String("http"), Bandwidth: pulumi.Int(5), HealthCheckConnectPort: pulumi.Int(20), }) if err != nil { return err } defaultServerGroup, err := slb.NewServerGroup(ctx, "defaultServerGroup", &slb.ServerGroupArgs{ LoadBalancerId: defaultApplicationLoadBalancer.ID(), }) if err != nil { return err } _, err = slb.NewRule(ctx, "defaultRule", &slb.RuleArgs{ LoadBalancerId: defaultApplicationLoadBalancer.ID(), FrontendPort: defaultListener.FrontendPort, Domain: pulumi.String("*.aliyun.com"), Url: pulumi.String("/image"), ServerGroupId: defaultServerGroup.ID(), }) if err != nil { return err } sampleDs := defaultApplicationLoadBalancer.ID().ApplyT(func(id string) (slb.GetRulesResult, error) { return slb.GetRulesOutput(ctx, slb.GetRulesOutputArgs{ LoadBalancerId: id, FrontendPort: 22, }, nil), nil }).(slb.GetRulesResultOutput) ctx.Export("firstSlbRuleId", sampleDs.ApplyT(func(sampleDs slb.GetRulesResult) (*string, error) { return &sampleDs.SlbRules[0].Id, nil }).(pulumi.StringPtrOutput)) return nil }) }
```
type GetRulesResultOutput ¶ added in v3.9.0
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶ added in v3.9.0
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) ElementType ¶ added in v3.9.0
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) FrontendPort ¶ added in v3.9.0
func (o GetRulesResultOutput) FrontendPort() pulumi.IntOutput
func (GetRulesResultOutput) Id ¶ added in v3.9.0
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Ids ¶ added in v3.9.0
func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
A list of SLB listener rules IDs.
func (GetRulesResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetRulesResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetRulesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRulesResultOutput) Names ¶ added in v3.9.0
func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
A list of SLB listener rules names.
func (GetRulesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRulesResultOutput) SlbRules ¶ added in v3.9.0
func (o GetRulesResultOutput) SlbRules() GetRulesSlbRuleArrayOutput
A list of SLB listener rules. Each element contains the following attributes:
func (GetRulesResultOutput) ToGetRulesResultOutput ¶ added in v3.9.0
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶ added in v3.9.0
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
type GetRulesSlbRule ¶
type GetRulesSlbRule struct { // Domain name in the HTTP request where the rule applies (e.g. "*.aliyun.com"). Domain string `pulumi:"domain"` // Rule ID. Id string `pulumi:"id"` // Rule name. Name string `pulumi:"name"` // ID of the linked VServer group. ServerGroupId string `pulumi:"serverGroupId"` // Path in the HTTP request where the rule applies (e.g. "/image"). Url string `pulumi:"url"` }
type GetRulesSlbRuleArgs ¶
type GetRulesSlbRuleArgs struct { // Domain name in the HTTP request where the rule applies (e.g. "*.aliyun.com"). Domain pulumi.StringInput `pulumi:"domain"` // Rule ID. Id pulumi.StringInput `pulumi:"id"` // Rule name. Name pulumi.StringInput `pulumi:"name"` // ID of the linked VServer group. ServerGroupId pulumi.StringInput `pulumi:"serverGroupId"` // Path in the HTTP request where the rule applies (e.g. "/image"). Url pulumi.StringInput `pulumi:"url"` }
func (GetRulesSlbRuleArgs) ElementType ¶
func (GetRulesSlbRuleArgs) ElementType() reflect.Type
func (GetRulesSlbRuleArgs) ToGetRulesSlbRuleOutput ¶
func (i GetRulesSlbRuleArgs) ToGetRulesSlbRuleOutput() GetRulesSlbRuleOutput
func (GetRulesSlbRuleArgs) ToGetRulesSlbRuleOutputWithContext ¶
func (i GetRulesSlbRuleArgs) ToGetRulesSlbRuleOutputWithContext(ctx context.Context) GetRulesSlbRuleOutput
type GetRulesSlbRuleArray ¶
type GetRulesSlbRuleArray []GetRulesSlbRuleInput
func (GetRulesSlbRuleArray) ElementType ¶
func (GetRulesSlbRuleArray) ElementType() reflect.Type
func (GetRulesSlbRuleArray) ToGetRulesSlbRuleArrayOutput ¶
func (i GetRulesSlbRuleArray) ToGetRulesSlbRuleArrayOutput() GetRulesSlbRuleArrayOutput
func (GetRulesSlbRuleArray) ToGetRulesSlbRuleArrayOutputWithContext ¶
func (i GetRulesSlbRuleArray) ToGetRulesSlbRuleArrayOutputWithContext(ctx context.Context) GetRulesSlbRuleArrayOutput
type GetRulesSlbRuleArrayInput ¶
type GetRulesSlbRuleArrayInput interface { pulumi.Input ToGetRulesSlbRuleArrayOutput() GetRulesSlbRuleArrayOutput ToGetRulesSlbRuleArrayOutputWithContext(context.Context) GetRulesSlbRuleArrayOutput }
GetRulesSlbRuleArrayInput is an input type that accepts GetRulesSlbRuleArray and GetRulesSlbRuleArrayOutput values. You can construct a concrete instance of `GetRulesSlbRuleArrayInput` via:
GetRulesSlbRuleArray{ GetRulesSlbRuleArgs{...} }
type GetRulesSlbRuleArrayOutput ¶
type GetRulesSlbRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesSlbRuleArrayOutput) ElementType ¶
func (GetRulesSlbRuleArrayOutput) ElementType() reflect.Type
func (GetRulesSlbRuleArrayOutput) Index ¶
func (o GetRulesSlbRuleArrayOutput) Index(i pulumi.IntInput) GetRulesSlbRuleOutput
func (GetRulesSlbRuleArrayOutput) ToGetRulesSlbRuleArrayOutput ¶
func (o GetRulesSlbRuleArrayOutput) ToGetRulesSlbRuleArrayOutput() GetRulesSlbRuleArrayOutput
func (GetRulesSlbRuleArrayOutput) ToGetRulesSlbRuleArrayOutputWithContext ¶
func (o GetRulesSlbRuleArrayOutput) ToGetRulesSlbRuleArrayOutputWithContext(ctx context.Context) GetRulesSlbRuleArrayOutput
type GetRulesSlbRuleInput ¶
type GetRulesSlbRuleInput interface { pulumi.Input ToGetRulesSlbRuleOutput() GetRulesSlbRuleOutput ToGetRulesSlbRuleOutputWithContext(context.Context) GetRulesSlbRuleOutput }
GetRulesSlbRuleInput is an input type that accepts GetRulesSlbRuleArgs and GetRulesSlbRuleOutput values. You can construct a concrete instance of `GetRulesSlbRuleInput` via:
GetRulesSlbRuleArgs{...}
type GetRulesSlbRuleOutput ¶
type GetRulesSlbRuleOutput struct{ *pulumi.OutputState }
func (GetRulesSlbRuleOutput) Domain ¶
func (o GetRulesSlbRuleOutput) Domain() pulumi.StringOutput
Domain name in the HTTP request where the rule applies (e.g. "*.aliyun.com").
func (GetRulesSlbRuleOutput) ElementType ¶
func (GetRulesSlbRuleOutput) ElementType() reflect.Type
func (GetRulesSlbRuleOutput) Name ¶
func (o GetRulesSlbRuleOutput) Name() pulumi.StringOutput
Rule name.
func (GetRulesSlbRuleOutput) ServerGroupId ¶
func (o GetRulesSlbRuleOutput) ServerGroupId() pulumi.StringOutput
ID of the linked VServer group.
func (GetRulesSlbRuleOutput) ToGetRulesSlbRuleOutput ¶
func (o GetRulesSlbRuleOutput) ToGetRulesSlbRuleOutput() GetRulesSlbRuleOutput
func (GetRulesSlbRuleOutput) ToGetRulesSlbRuleOutputWithContext ¶
func (o GetRulesSlbRuleOutput) ToGetRulesSlbRuleOutputWithContext(ctx context.Context) GetRulesSlbRuleOutput
func (GetRulesSlbRuleOutput) Url ¶
func (o GetRulesSlbRuleOutput) Url() pulumi.StringOutput
Path in the HTTP request where the rule applies (e.g. "/image").
type GetServerCertificatesArgs ¶
type GetServerCertificatesArgs struct { // A list of server certificates IDs to filter results. Ids []string `pulumi:"ids"` // A regex string to filter results by server certificate name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The Id of resource group which the slb server certificates belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getServerCertificates.
type GetServerCertificatesCertificate ¶
type GetServerCertificatesCertificate struct { // Id of server certificate issued by alibaba cloud. AlicloudCertificateId string `pulumi:"alicloudCertificateId"` // Name of server certificate issued by alibaba cloud. AlicloudCertificateName string `pulumi:"alicloudCertificateName"` // Server certificate common name. CommonName string `pulumi:"commonName"` // Server certificate created time. CreatedTime string `pulumi:"createdTime"` // Server certificate created timestamp. CreatedTimestamp int `pulumi:"createdTimestamp"` // Server certificate expired time. ExpiredTime string `pulumi:"expiredTime"` // Server certificate expired timestamp. ExpiredTimestamp int `pulumi:"expiredTimestamp"` // Server certificate fingerprint. Fingerprint string `pulumi:"fingerprint"` // Server certificate ID. Id string `pulumi:"id"` // Is server certificate issued by alibaba cloud or not. IsAlicloudCertificate bool `pulumi:"isAlicloudCertificate"` // Server certificate name. Name string `pulumi:"name"` // The Id of resource group which the slb server certificates belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // Server certificate subject alternative name list. SubjectAlternativeNames []string `pulumi:"subjectAlternativeNames"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetServerCertificatesCertificateArgs ¶
type GetServerCertificatesCertificateArgs struct { // Id of server certificate issued by alibaba cloud. AlicloudCertificateId pulumi.StringInput `pulumi:"alicloudCertificateId"` // Name of server certificate issued by alibaba cloud. AlicloudCertificateName pulumi.StringInput `pulumi:"alicloudCertificateName"` // Server certificate common name. CommonName pulumi.StringInput `pulumi:"commonName"` // Server certificate created time. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // Server certificate created timestamp. CreatedTimestamp pulumi.IntInput `pulumi:"createdTimestamp"` // Server certificate expired time. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // Server certificate expired timestamp. ExpiredTimestamp pulumi.IntInput `pulumi:"expiredTimestamp"` // Server certificate fingerprint. Fingerprint pulumi.StringInput `pulumi:"fingerprint"` // Server certificate ID. Id pulumi.StringInput `pulumi:"id"` // Is server certificate issued by alibaba cloud or not. IsAlicloudCertificate pulumi.BoolInput `pulumi:"isAlicloudCertificate"` // Server certificate name. Name pulumi.StringInput `pulumi:"name"` // The Id of resource group which the slb server certificates belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // Server certificate subject alternative name list. SubjectAlternativeNames pulumi.StringArrayInput `pulumi:"subjectAlternativeNames"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetServerCertificatesCertificateArgs) ElementType ¶
func (GetServerCertificatesCertificateArgs) ElementType() reflect.Type
func (GetServerCertificatesCertificateArgs) ToGetServerCertificatesCertificateOutput ¶
func (i GetServerCertificatesCertificateArgs) ToGetServerCertificatesCertificateOutput() GetServerCertificatesCertificateOutput
func (GetServerCertificatesCertificateArgs) ToGetServerCertificatesCertificateOutputWithContext ¶
func (i GetServerCertificatesCertificateArgs) ToGetServerCertificatesCertificateOutputWithContext(ctx context.Context) GetServerCertificatesCertificateOutput
type GetServerCertificatesCertificateArray ¶
type GetServerCertificatesCertificateArray []GetServerCertificatesCertificateInput
func (GetServerCertificatesCertificateArray) ElementType ¶
func (GetServerCertificatesCertificateArray) ElementType() reflect.Type
func (GetServerCertificatesCertificateArray) ToGetServerCertificatesCertificateArrayOutput ¶
func (i GetServerCertificatesCertificateArray) ToGetServerCertificatesCertificateArrayOutput() GetServerCertificatesCertificateArrayOutput
func (GetServerCertificatesCertificateArray) ToGetServerCertificatesCertificateArrayOutputWithContext ¶
func (i GetServerCertificatesCertificateArray) ToGetServerCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetServerCertificatesCertificateArrayOutput
type GetServerCertificatesCertificateArrayInput ¶
type GetServerCertificatesCertificateArrayInput interface { pulumi.Input ToGetServerCertificatesCertificateArrayOutput() GetServerCertificatesCertificateArrayOutput ToGetServerCertificatesCertificateArrayOutputWithContext(context.Context) GetServerCertificatesCertificateArrayOutput }
GetServerCertificatesCertificateArrayInput is an input type that accepts GetServerCertificatesCertificateArray and GetServerCertificatesCertificateArrayOutput values. You can construct a concrete instance of `GetServerCertificatesCertificateArrayInput` via:
GetServerCertificatesCertificateArray{ GetServerCertificatesCertificateArgs{...} }
type GetServerCertificatesCertificateArrayOutput ¶
type GetServerCertificatesCertificateArrayOutput struct{ *pulumi.OutputState }
func (GetServerCertificatesCertificateArrayOutput) ElementType ¶
func (GetServerCertificatesCertificateArrayOutput) ElementType() reflect.Type
func (GetServerCertificatesCertificateArrayOutput) ToGetServerCertificatesCertificateArrayOutput ¶
func (o GetServerCertificatesCertificateArrayOutput) ToGetServerCertificatesCertificateArrayOutput() GetServerCertificatesCertificateArrayOutput
func (GetServerCertificatesCertificateArrayOutput) ToGetServerCertificatesCertificateArrayOutputWithContext ¶
func (o GetServerCertificatesCertificateArrayOutput) ToGetServerCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetServerCertificatesCertificateArrayOutput
type GetServerCertificatesCertificateInput ¶
type GetServerCertificatesCertificateInput interface { pulumi.Input ToGetServerCertificatesCertificateOutput() GetServerCertificatesCertificateOutput ToGetServerCertificatesCertificateOutputWithContext(context.Context) GetServerCertificatesCertificateOutput }
GetServerCertificatesCertificateInput is an input type that accepts GetServerCertificatesCertificateArgs and GetServerCertificatesCertificateOutput values. You can construct a concrete instance of `GetServerCertificatesCertificateInput` via:
GetServerCertificatesCertificateArgs{...}
type GetServerCertificatesCertificateOutput ¶
type GetServerCertificatesCertificateOutput struct{ *pulumi.OutputState }
func (GetServerCertificatesCertificateOutput) AlicloudCertificateId ¶
func (o GetServerCertificatesCertificateOutput) AlicloudCertificateId() pulumi.StringOutput
Id of server certificate issued by alibaba cloud.
func (GetServerCertificatesCertificateOutput) AlicloudCertificateName ¶
func (o GetServerCertificatesCertificateOutput) AlicloudCertificateName() pulumi.StringOutput
Name of server certificate issued by alibaba cloud.
func (GetServerCertificatesCertificateOutput) CommonName ¶
func (o GetServerCertificatesCertificateOutput) CommonName() pulumi.StringOutput
Server certificate common name.
func (GetServerCertificatesCertificateOutput) CreatedTime ¶
func (o GetServerCertificatesCertificateOutput) CreatedTime() pulumi.StringOutput
Server certificate created time.
func (GetServerCertificatesCertificateOutput) CreatedTimestamp ¶
func (o GetServerCertificatesCertificateOutput) CreatedTimestamp() pulumi.IntOutput
Server certificate created timestamp.
func (GetServerCertificatesCertificateOutput) ElementType ¶
func (GetServerCertificatesCertificateOutput) ElementType() reflect.Type
func (GetServerCertificatesCertificateOutput) ExpiredTime ¶
func (o GetServerCertificatesCertificateOutput) ExpiredTime() pulumi.StringOutput
Server certificate expired time.
func (GetServerCertificatesCertificateOutput) ExpiredTimestamp ¶
func (o GetServerCertificatesCertificateOutput) ExpiredTimestamp() pulumi.IntOutput
Server certificate expired timestamp.
func (GetServerCertificatesCertificateOutput) Fingerprint ¶
func (o GetServerCertificatesCertificateOutput) Fingerprint() pulumi.StringOutput
Server certificate fingerprint.
func (GetServerCertificatesCertificateOutput) Id ¶
func (o GetServerCertificatesCertificateOutput) Id() pulumi.StringOutput
Server certificate ID.
func (GetServerCertificatesCertificateOutput) IsAlicloudCertificate ¶
func (o GetServerCertificatesCertificateOutput) IsAlicloudCertificate() pulumi.BoolOutput
Is server certificate issued by alibaba cloud or not.
func (GetServerCertificatesCertificateOutput) Name ¶
func (o GetServerCertificatesCertificateOutput) Name() pulumi.StringOutput
Server certificate name.
func (GetServerCertificatesCertificateOutput) ResourceGroupId ¶
func (o GetServerCertificatesCertificateOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the slb server certificates belongs.
func (GetServerCertificatesCertificateOutput) SubjectAlternativeNames ¶
func (o GetServerCertificatesCertificateOutput) SubjectAlternativeNames() pulumi.StringArrayOutput
Server certificate subject alternative name list.
func (GetServerCertificatesCertificateOutput) Tags ¶
func (o GetServerCertificatesCertificateOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetServerCertificatesCertificateOutput) ToGetServerCertificatesCertificateOutput ¶
func (o GetServerCertificatesCertificateOutput) ToGetServerCertificatesCertificateOutput() GetServerCertificatesCertificateOutput
func (GetServerCertificatesCertificateOutput) ToGetServerCertificatesCertificateOutputWithContext ¶
func (o GetServerCertificatesCertificateOutput) ToGetServerCertificatesCertificateOutputWithContext(ctx context.Context) GetServerCertificatesCertificateOutput
type GetServerCertificatesOutputArgs ¶ added in v3.9.0
type GetServerCertificatesOutputArgs struct { // A list of server certificates IDs to filter results. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by server certificate name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Id of resource group which the slb server certificates belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getServerCertificates.
func (GetServerCertificatesOutputArgs) ElementType ¶ added in v3.9.0
func (GetServerCertificatesOutputArgs) ElementType() reflect.Type
type GetServerCertificatesResult ¶
type GetServerCertificatesResult struct { // A list of SLB server certificates. Each element contains the following attributes: Certificates []GetServerCertificatesCertificate `pulumi:"certificates"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of SLB server certificates IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of SLB server certificates names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The Id of resource group which the slb server certificates belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // (Available in v1.66.0+) A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getServerCertificates.
func GetServerCertificates ¶
func GetServerCertificates(ctx *pulumi.Context, args *GetServerCertificatesArgs, opts ...pulumi.InvokeOption) (*GetServerCertificatesResult, error)
This data source provides the server certificate list.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { sampleDs, err := slb.GetServerCertificates(ctx, nil, nil) if err != nil { return err } ctx.Export("firstSlbServerCertificateId", sampleDs.Certificates[0].Id) return nil }) }
```
type GetServerCertificatesResultOutput ¶ added in v3.9.0
type GetServerCertificatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerCertificates.
func GetServerCertificatesOutput ¶ added in v3.9.0
func GetServerCertificatesOutput(ctx *pulumi.Context, args GetServerCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetServerCertificatesResultOutput
func (GetServerCertificatesResultOutput) Certificates ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) Certificates() GetServerCertificatesCertificateArrayOutput
A list of SLB server certificates. Each element contains the following attributes:
func (GetServerCertificatesResultOutput) ElementType ¶ added in v3.9.0
func (GetServerCertificatesResultOutput) ElementType() reflect.Type
func (GetServerCertificatesResultOutput) Id ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerCertificatesResultOutput) Ids ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) Ids() pulumi.StringArrayOutput
A list of SLB server certificates IDs.
func (GetServerCertificatesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetServerCertificatesResultOutput) Names ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) Names() pulumi.StringArrayOutput
A list of SLB server certificates names.
func (GetServerCertificatesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerCertificatesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the slb server certificates belongs.
func (GetServerCertificatesResultOutput) Tags ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) Tags() pulumi.MapOutput
(Available in v1.66.0+) A mapping of tags to assign to the resource.
func (GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutput ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutput() GetServerCertificatesResultOutput
func (GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutputWithContext ¶ added in v3.9.0
func (o GetServerCertificatesResultOutput) ToGetServerCertificatesResultOutputWithContext(ctx context.Context) GetServerCertificatesResultOutput
type GetServerGroupsArgs ¶
type GetServerGroupsArgs struct { // A list of VServer group IDs to filter results. Ids []string `pulumi:"ids"` // ID of the SLB. LoadBalancerId string `pulumi:"loadBalancerId"` // A regex string to filter results by VServer group name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServerGroups.
type GetServerGroupsOutputArgs ¶ added in v3.9.0
type GetServerGroupsOutputArgs struct { // A list of VServer group IDs to filter results. Ids pulumi.StringArrayInput `pulumi:"ids"` // ID of the SLB. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // A regex string to filter results by VServer group name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getServerGroups.
func (GetServerGroupsOutputArgs) ElementType ¶ added in v3.9.0
func (GetServerGroupsOutputArgs) ElementType() reflect.Type
type GetServerGroupsResult ¶
type GetServerGroupsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of SLB VServer groups IDs. Ids []string `pulumi:"ids"` LoadBalancerId string `pulumi:"loadBalancerId"` NameRegex *string `pulumi:"nameRegex"` // A list of SLB VServer groups names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of SLB VServer groups. Each element contains the following attributes: SlbServerGroups []GetServerGroupsSlbServerGroup `pulumi:"slbServerGroups"` }
A collection of values returned by getServerGroups.
func GetServerGroups ¶
func GetServerGroups(ctx *pulumi.Context, args *GetServerGroupsArgs, opts ...pulumi.InvokeOption) (*GetServerGroupsResult, error)
This data source provides the VServer groups related to a server load balancer.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "slbservergroups" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/16"), ZoneId: *pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "defaultApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(name), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } _, err = slb.NewServerGroup(ctx, "defaultServerGroup", &slb.ServerGroupArgs{ LoadBalancerId: defaultApplicationLoadBalancer.ID(), }) if err != nil { return err } sampleDs := slb.GetServerGroupsOutput(ctx, slb.GetServerGroupsOutputArgs{ LoadBalancerId: defaultApplicationLoadBalancer.ID(), }, nil) ctx.Export("firstSlbServerGroupId", sampleDs.ApplyT(func(sampleDs slb.GetServerGroupsResult) (*string, error) { return &sampleDs.SlbServerGroups[0].Id, nil }).(pulumi.StringPtrOutput)) return nil }) }
```
type GetServerGroupsResultOutput ¶ added in v3.9.0
type GetServerGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerGroups.
func GetServerGroupsOutput ¶ added in v3.9.0
func GetServerGroupsOutput(ctx *pulumi.Context, args GetServerGroupsOutputArgs, opts ...pulumi.InvokeOption) GetServerGroupsResultOutput
func (GetServerGroupsResultOutput) ElementType ¶ added in v3.9.0
func (GetServerGroupsResultOutput) ElementType() reflect.Type
func (GetServerGroupsResultOutput) Id ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerGroupsResultOutput) Ids ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) Ids() pulumi.StringArrayOutput
A list of SLB VServer groups IDs.
func (GetServerGroupsResultOutput) LoadBalancerId ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) LoadBalancerId() pulumi.StringOutput
func (GetServerGroupsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetServerGroupsResultOutput) Names ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) Names() pulumi.StringArrayOutput
A list of SLB VServer groups names.
func (GetServerGroupsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerGroupsResultOutput) SlbServerGroups ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) SlbServerGroups() GetServerGroupsSlbServerGroupArrayOutput
A list of SLB VServer groups. Each element contains the following attributes:
func (GetServerGroupsResultOutput) ToGetServerGroupsResultOutput ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) ToGetServerGroupsResultOutput() GetServerGroupsResultOutput
func (GetServerGroupsResultOutput) ToGetServerGroupsResultOutputWithContext ¶ added in v3.9.0
func (o GetServerGroupsResultOutput) ToGetServerGroupsResultOutputWithContext(ctx context.Context) GetServerGroupsResultOutput
type GetServerGroupsSlbServerGroup ¶
type GetServerGroupsSlbServerGroup struct { // VServer group ID. Id string `pulumi:"id"` // VServer group name. Name string `pulumi:"name"` // ECS instances associated to the group. Each element contains the following attributes: Servers []GetServerGroupsSlbServerGroupServer `pulumi:"servers"` }
type GetServerGroupsSlbServerGroupArgs ¶
type GetServerGroupsSlbServerGroupArgs struct { // VServer group ID. Id pulumi.StringInput `pulumi:"id"` // VServer group name. Name pulumi.StringInput `pulumi:"name"` // ECS instances associated to the group. Each element contains the following attributes: Servers GetServerGroupsSlbServerGroupServerArrayInput `pulumi:"servers"` }
func (GetServerGroupsSlbServerGroupArgs) ElementType ¶
func (GetServerGroupsSlbServerGroupArgs) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupArgs) ToGetServerGroupsSlbServerGroupOutput ¶
func (i GetServerGroupsSlbServerGroupArgs) ToGetServerGroupsSlbServerGroupOutput() GetServerGroupsSlbServerGroupOutput
func (GetServerGroupsSlbServerGroupArgs) ToGetServerGroupsSlbServerGroupOutputWithContext ¶
func (i GetServerGroupsSlbServerGroupArgs) ToGetServerGroupsSlbServerGroupOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupOutput
type GetServerGroupsSlbServerGroupArray ¶
type GetServerGroupsSlbServerGroupArray []GetServerGroupsSlbServerGroupInput
func (GetServerGroupsSlbServerGroupArray) ElementType ¶
func (GetServerGroupsSlbServerGroupArray) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupArray) ToGetServerGroupsSlbServerGroupArrayOutput ¶
func (i GetServerGroupsSlbServerGroupArray) ToGetServerGroupsSlbServerGroupArrayOutput() GetServerGroupsSlbServerGroupArrayOutput
func (GetServerGroupsSlbServerGroupArray) ToGetServerGroupsSlbServerGroupArrayOutputWithContext ¶
func (i GetServerGroupsSlbServerGroupArray) ToGetServerGroupsSlbServerGroupArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupArrayOutput
type GetServerGroupsSlbServerGroupArrayInput ¶
type GetServerGroupsSlbServerGroupArrayInput interface { pulumi.Input ToGetServerGroupsSlbServerGroupArrayOutput() GetServerGroupsSlbServerGroupArrayOutput ToGetServerGroupsSlbServerGroupArrayOutputWithContext(context.Context) GetServerGroupsSlbServerGroupArrayOutput }
GetServerGroupsSlbServerGroupArrayInput is an input type that accepts GetServerGroupsSlbServerGroupArray and GetServerGroupsSlbServerGroupArrayOutput values. You can construct a concrete instance of `GetServerGroupsSlbServerGroupArrayInput` via:
GetServerGroupsSlbServerGroupArray{ GetServerGroupsSlbServerGroupArgs{...} }
type GetServerGroupsSlbServerGroupArrayOutput ¶
type GetServerGroupsSlbServerGroupArrayOutput struct{ *pulumi.OutputState }
func (GetServerGroupsSlbServerGroupArrayOutput) ElementType ¶
func (GetServerGroupsSlbServerGroupArrayOutput) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupArrayOutput) ToGetServerGroupsSlbServerGroupArrayOutput ¶
func (o GetServerGroupsSlbServerGroupArrayOutput) ToGetServerGroupsSlbServerGroupArrayOutput() GetServerGroupsSlbServerGroupArrayOutput
func (GetServerGroupsSlbServerGroupArrayOutput) ToGetServerGroupsSlbServerGroupArrayOutputWithContext ¶
func (o GetServerGroupsSlbServerGroupArrayOutput) ToGetServerGroupsSlbServerGroupArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupArrayOutput
type GetServerGroupsSlbServerGroupInput ¶
type GetServerGroupsSlbServerGroupInput interface { pulumi.Input ToGetServerGroupsSlbServerGroupOutput() GetServerGroupsSlbServerGroupOutput ToGetServerGroupsSlbServerGroupOutputWithContext(context.Context) GetServerGroupsSlbServerGroupOutput }
GetServerGroupsSlbServerGroupInput is an input type that accepts GetServerGroupsSlbServerGroupArgs and GetServerGroupsSlbServerGroupOutput values. You can construct a concrete instance of `GetServerGroupsSlbServerGroupInput` via:
GetServerGroupsSlbServerGroupArgs{...}
type GetServerGroupsSlbServerGroupOutput ¶
type GetServerGroupsSlbServerGroupOutput struct{ *pulumi.OutputState }
func (GetServerGroupsSlbServerGroupOutput) ElementType ¶
func (GetServerGroupsSlbServerGroupOutput) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupOutput) Id ¶
func (o GetServerGroupsSlbServerGroupOutput) Id() pulumi.StringOutput
VServer group ID.
func (GetServerGroupsSlbServerGroupOutput) Name ¶
func (o GetServerGroupsSlbServerGroupOutput) Name() pulumi.StringOutput
VServer group name.
func (GetServerGroupsSlbServerGroupOutput) Servers ¶
func (o GetServerGroupsSlbServerGroupOutput) Servers() GetServerGroupsSlbServerGroupServerArrayOutput
ECS instances associated to the group. Each element contains the following attributes:
func (GetServerGroupsSlbServerGroupOutput) ToGetServerGroupsSlbServerGroupOutput ¶
func (o GetServerGroupsSlbServerGroupOutput) ToGetServerGroupsSlbServerGroupOutput() GetServerGroupsSlbServerGroupOutput
func (GetServerGroupsSlbServerGroupOutput) ToGetServerGroupsSlbServerGroupOutputWithContext ¶
func (o GetServerGroupsSlbServerGroupOutput) ToGetServerGroupsSlbServerGroupOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupOutput
type GetServerGroupsSlbServerGroupServerArgs ¶
type GetServerGroupsSlbServerGroupServerArgs struct { // ID of the attached ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Weight associated to the ECS instance. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetServerGroupsSlbServerGroupServerArgs) ElementType ¶
func (GetServerGroupsSlbServerGroupServerArgs) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupServerArgs) ToGetServerGroupsSlbServerGroupServerOutput ¶
func (i GetServerGroupsSlbServerGroupServerArgs) ToGetServerGroupsSlbServerGroupServerOutput() GetServerGroupsSlbServerGroupServerOutput
func (GetServerGroupsSlbServerGroupServerArgs) ToGetServerGroupsSlbServerGroupServerOutputWithContext ¶
func (i GetServerGroupsSlbServerGroupServerArgs) ToGetServerGroupsSlbServerGroupServerOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerOutput
type GetServerGroupsSlbServerGroupServerArray ¶
type GetServerGroupsSlbServerGroupServerArray []GetServerGroupsSlbServerGroupServerInput
func (GetServerGroupsSlbServerGroupServerArray) ElementType ¶
func (GetServerGroupsSlbServerGroupServerArray) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupServerArray) ToGetServerGroupsSlbServerGroupServerArrayOutput ¶
func (i GetServerGroupsSlbServerGroupServerArray) ToGetServerGroupsSlbServerGroupServerArrayOutput() GetServerGroupsSlbServerGroupServerArrayOutput
func (GetServerGroupsSlbServerGroupServerArray) ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext ¶
func (i GetServerGroupsSlbServerGroupServerArray) ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerArrayOutput
type GetServerGroupsSlbServerGroupServerArrayInput ¶
type GetServerGroupsSlbServerGroupServerArrayInput interface { pulumi.Input ToGetServerGroupsSlbServerGroupServerArrayOutput() GetServerGroupsSlbServerGroupServerArrayOutput ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext(context.Context) GetServerGroupsSlbServerGroupServerArrayOutput }
GetServerGroupsSlbServerGroupServerArrayInput is an input type that accepts GetServerGroupsSlbServerGroupServerArray and GetServerGroupsSlbServerGroupServerArrayOutput values. You can construct a concrete instance of `GetServerGroupsSlbServerGroupServerArrayInput` via:
GetServerGroupsSlbServerGroupServerArray{ GetServerGroupsSlbServerGroupServerArgs{...} }
type GetServerGroupsSlbServerGroupServerArrayOutput ¶
type GetServerGroupsSlbServerGroupServerArrayOutput struct{ *pulumi.OutputState }
func (GetServerGroupsSlbServerGroupServerArrayOutput) ElementType ¶
func (GetServerGroupsSlbServerGroupServerArrayOutput) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupServerArrayOutput) ToGetServerGroupsSlbServerGroupServerArrayOutput ¶
func (o GetServerGroupsSlbServerGroupServerArrayOutput) ToGetServerGroupsSlbServerGroupServerArrayOutput() GetServerGroupsSlbServerGroupServerArrayOutput
func (GetServerGroupsSlbServerGroupServerArrayOutput) ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext ¶
func (o GetServerGroupsSlbServerGroupServerArrayOutput) ToGetServerGroupsSlbServerGroupServerArrayOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerArrayOutput
type GetServerGroupsSlbServerGroupServerInput ¶
type GetServerGroupsSlbServerGroupServerInput interface { pulumi.Input ToGetServerGroupsSlbServerGroupServerOutput() GetServerGroupsSlbServerGroupServerOutput ToGetServerGroupsSlbServerGroupServerOutputWithContext(context.Context) GetServerGroupsSlbServerGroupServerOutput }
GetServerGroupsSlbServerGroupServerInput is an input type that accepts GetServerGroupsSlbServerGroupServerArgs and GetServerGroupsSlbServerGroupServerOutput values. You can construct a concrete instance of `GetServerGroupsSlbServerGroupServerInput` via:
GetServerGroupsSlbServerGroupServerArgs{...}
type GetServerGroupsSlbServerGroupServerOutput ¶
type GetServerGroupsSlbServerGroupServerOutput struct{ *pulumi.OutputState }
func (GetServerGroupsSlbServerGroupServerOutput) ElementType ¶
func (GetServerGroupsSlbServerGroupServerOutput) ElementType() reflect.Type
func (GetServerGroupsSlbServerGroupServerOutput) InstanceId ¶
func (o GetServerGroupsSlbServerGroupServerOutput) InstanceId() pulumi.StringOutput
ID of the attached ECS instance.
func (GetServerGroupsSlbServerGroupServerOutput) ToGetServerGroupsSlbServerGroupServerOutput ¶
func (o GetServerGroupsSlbServerGroupServerOutput) ToGetServerGroupsSlbServerGroupServerOutput() GetServerGroupsSlbServerGroupServerOutput
func (GetServerGroupsSlbServerGroupServerOutput) ToGetServerGroupsSlbServerGroupServerOutputWithContext ¶
func (o GetServerGroupsSlbServerGroupServerOutput) ToGetServerGroupsSlbServerGroupServerOutputWithContext(ctx context.Context) GetServerGroupsSlbServerGroupServerOutput
func (GetServerGroupsSlbServerGroupServerOutput) Weight ¶
func (o GetServerGroupsSlbServerGroupServerOutput) Weight() pulumi.IntOutput
Weight associated to the ECS instance.
type GetTlsCipherPoliciesArgs ¶ added in v3.8.0
type GetTlsCipherPoliciesArgs struct { // A list of Tls Cipher Policy IDs. Ids []string `pulumi:"ids"` // The include listener. IncludeListener *bool `pulumi:"includeListener"` // A regex string to filter results by Tls Cipher Policy name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // TLS policy instance state. Status *string `pulumi:"status"` // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName *string `pulumi:"tlsCipherPolicyName"` }
A collection of arguments for invoking getTlsCipherPolicies.
type GetTlsCipherPoliciesOutputArgs ¶ added in v3.9.0
type GetTlsCipherPoliciesOutputArgs struct { // A list of Tls Cipher Policy IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The include listener. IncludeListener pulumi.BoolPtrInput `pulumi:"includeListener"` // A regex string to filter results by Tls Cipher Policy name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // TLS policy instance state. Status pulumi.StringPtrInput `pulumi:"status"` // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName pulumi.StringPtrInput `pulumi:"tlsCipherPolicyName"` }
A collection of arguments for invoking getTlsCipherPolicies.
func (GetTlsCipherPoliciesOutputArgs) ElementType ¶ added in v3.9.0
func (GetTlsCipherPoliciesOutputArgs) ElementType() reflect.Type
type GetTlsCipherPoliciesPolicy ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicy struct { // The encryption algorithms supported. It depends on the value of `tlsVersions`. Ciphers []string `pulumi:"ciphers"` // The creation time timestamp. CreateTime string `pulumi:"createTime"` // The ID of the Tls Cipher Policy. Id string `pulumi:"id"` // Array of Relate Listeners. RelateListeners []GetTlsCipherPoliciesPolicyRelateListener `pulumi:"relateListeners"` // TLS policy instance state. Status string `pulumi:"status"` // The ID of TLS cipher policy. TlsCipherPolicyId string `pulumi:"tlsCipherPolicyId"` // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName string `pulumi:"tlsCipherPolicyName"` // The version of TLS protocol. TlsVersions []string `pulumi:"tlsVersions"` }
type GetTlsCipherPoliciesPolicyArgs ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyArgs struct { // The encryption algorithms supported. It depends on the value of `tlsVersions`. Ciphers pulumi.StringArrayInput `pulumi:"ciphers"` // The creation time timestamp. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the Tls Cipher Policy. Id pulumi.StringInput `pulumi:"id"` // Array of Relate Listeners. RelateListeners GetTlsCipherPoliciesPolicyRelateListenerArrayInput `pulumi:"relateListeners"` // TLS policy instance state. Status pulumi.StringInput `pulumi:"status"` // The ID of TLS cipher policy. TlsCipherPolicyId pulumi.StringInput `pulumi:"tlsCipherPolicyId"` // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName pulumi.StringInput `pulumi:"tlsCipherPolicyName"` // The version of TLS protocol. TlsVersions pulumi.StringArrayInput `pulumi:"tlsVersions"` }
func (GetTlsCipherPoliciesPolicyArgs) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyArgs) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyArgs) ToGetTlsCipherPoliciesPolicyOutput ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyArgs) ToGetTlsCipherPoliciesPolicyOutput() GetTlsCipherPoliciesPolicyOutput
func (GetTlsCipherPoliciesPolicyArgs) ToGetTlsCipherPoliciesPolicyOutputWithContext ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyArgs) ToGetTlsCipherPoliciesPolicyOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyOutput
type GetTlsCipherPoliciesPolicyArray ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyArray []GetTlsCipherPoliciesPolicyInput
func (GetTlsCipherPoliciesPolicyArray) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyArray) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyArray) ToGetTlsCipherPoliciesPolicyArrayOutput ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyArray) ToGetTlsCipherPoliciesPolicyArrayOutput() GetTlsCipherPoliciesPolicyArrayOutput
func (GetTlsCipherPoliciesPolicyArray) ToGetTlsCipherPoliciesPolicyArrayOutputWithContext ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyArray) ToGetTlsCipherPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyArrayOutput
type GetTlsCipherPoliciesPolicyArrayInput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyArrayInput interface { pulumi.Input ToGetTlsCipherPoliciesPolicyArrayOutput() GetTlsCipherPoliciesPolicyArrayOutput ToGetTlsCipherPoliciesPolicyArrayOutputWithContext(context.Context) GetTlsCipherPoliciesPolicyArrayOutput }
GetTlsCipherPoliciesPolicyArrayInput is an input type that accepts GetTlsCipherPoliciesPolicyArray and GetTlsCipherPoliciesPolicyArrayOutput values. You can construct a concrete instance of `GetTlsCipherPoliciesPolicyArrayInput` via:
GetTlsCipherPoliciesPolicyArray{ GetTlsCipherPoliciesPolicyArgs{...} }
type GetTlsCipherPoliciesPolicyArrayOutput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetTlsCipherPoliciesPolicyArrayOutput) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyArrayOutput) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyArrayOutput) Index ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetTlsCipherPoliciesPolicyOutput
func (GetTlsCipherPoliciesPolicyArrayOutput) ToGetTlsCipherPoliciesPolicyArrayOutput ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyArrayOutput) ToGetTlsCipherPoliciesPolicyArrayOutput() GetTlsCipherPoliciesPolicyArrayOutput
func (GetTlsCipherPoliciesPolicyArrayOutput) ToGetTlsCipherPoliciesPolicyArrayOutputWithContext ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyArrayOutput) ToGetTlsCipherPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyArrayOutput
type GetTlsCipherPoliciesPolicyInput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyInput interface { pulumi.Input ToGetTlsCipherPoliciesPolicyOutput() GetTlsCipherPoliciesPolicyOutput ToGetTlsCipherPoliciesPolicyOutputWithContext(context.Context) GetTlsCipherPoliciesPolicyOutput }
GetTlsCipherPoliciesPolicyInput is an input type that accepts GetTlsCipherPoliciesPolicyArgs and GetTlsCipherPoliciesPolicyOutput values. You can construct a concrete instance of `GetTlsCipherPoliciesPolicyInput` via:
GetTlsCipherPoliciesPolicyArgs{...}
type GetTlsCipherPoliciesPolicyOutput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyOutput struct{ *pulumi.OutputState }
func (GetTlsCipherPoliciesPolicyOutput) Ciphers ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) Ciphers() pulumi.StringArrayOutput
The encryption algorithms supported. It depends on the value of `tlsVersions`.
func (GetTlsCipherPoliciesPolicyOutput) CreateTime ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) CreateTime() pulumi.StringOutput
The creation time timestamp.
func (GetTlsCipherPoliciesPolicyOutput) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyOutput) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyOutput) Id ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) Id() pulumi.StringOutput
The ID of the Tls Cipher Policy.
func (GetTlsCipherPoliciesPolicyOutput) RelateListeners ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) RelateListeners() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
Array of Relate Listeners.
func (GetTlsCipherPoliciesPolicyOutput) Status ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) Status() pulumi.StringOutput
TLS policy instance state.
func (GetTlsCipherPoliciesPolicyOutput) TlsCipherPolicyId ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) TlsCipherPolicyId() pulumi.StringOutput
The ID of TLS cipher policy.
func (GetTlsCipherPoliciesPolicyOutput) TlsCipherPolicyName ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) TlsCipherPolicyName() pulumi.StringOutput
TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`.
func (GetTlsCipherPoliciesPolicyOutput) TlsVersions ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) TlsVersions() pulumi.StringArrayOutput
The version of TLS protocol.
func (GetTlsCipherPoliciesPolicyOutput) ToGetTlsCipherPoliciesPolicyOutput ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) ToGetTlsCipherPoliciesPolicyOutput() GetTlsCipherPoliciesPolicyOutput
func (GetTlsCipherPoliciesPolicyOutput) ToGetTlsCipherPoliciesPolicyOutputWithContext ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyOutput) ToGetTlsCipherPoliciesPolicyOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyOutput
type GetTlsCipherPoliciesPolicyRelateListener ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListener struct { // The ID of SLB instance. LoadBalancerId string `pulumi:"loadBalancerId"` // Listening port. Valid value: 1 to 65535. Port int `pulumi:"port"` // Snooping protocols. Valid values: `TCP`, `UDP`, `HTTP`, or `HTTPS`. Protocol string `pulumi:"protocol"` }
type GetTlsCipherPoliciesPolicyRelateListenerArgs ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListenerArgs struct { // The ID of SLB instance. LoadBalancerId pulumi.StringInput `pulumi:"loadBalancerId"` // Listening port. Valid value: 1 to 65535. Port pulumi.IntInput `pulumi:"port"` // Snooping protocols. Valid values: `TCP`, `UDP`, `HTTP`, or `HTTPS`. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (GetTlsCipherPoliciesPolicyRelateListenerArgs) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyRelateListenerArgs) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyRelateListenerArgs) ToGetTlsCipherPoliciesPolicyRelateListenerOutput ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyRelateListenerArgs) ToGetTlsCipherPoliciesPolicyRelateListenerOutput() GetTlsCipherPoliciesPolicyRelateListenerOutput
func (GetTlsCipherPoliciesPolicyRelateListenerArgs) ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyRelateListenerArgs) ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerOutput
type GetTlsCipherPoliciesPolicyRelateListenerArray ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListenerArray []GetTlsCipherPoliciesPolicyRelateListenerInput
func (GetTlsCipherPoliciesPolicyRelateListenerArray) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyRelateListenerArray) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyRelateListenerArray) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyRelateListenerArray) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
func (GetTlsCipherPoliciesPolicyRelateListenerArray) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext ¶ added in v3.8.0
func (i GetTlsCipherPoliciesPolicyRelateListenerArray) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
type GetTlsCipherPoliciesPolicyRelateListenerArrayInput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListenerArrayInput interface { pulumi.Input ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext(context.Context) GetTlsCipherPoliciesPolicyRelateListenerArrayOutput }
GetTlsCipherPoliciesPolicyRelateListenerArrayInput is an input type that accepts GetTlsCipherPoliciesPolicyRelateListenerArray and GetTlsCipherPoliciesPolicyRelateListenerArrayOutput values. You can construct a concrete instance of `GetTlsCipherPoliciesPolicyRelateListenerArrayInput` via:
GetTlsCipherPoliciesPolicyRelateListenerArray{ GetTlsCipherPoliciesPolicyRelateListenerArgs{...} }
type GetTlsCipherPoliciesPolicyRelateListenerArrayOutput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListenerArrayOutput struct{ *pulumi.OutputState }
func (GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutput() GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
func (GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerArrayOutput) ToGetTlsCipherPoliciesPolicyRelateListenerArrayOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerArrayOutput
type GetTlsCipherPoliciesPolicyRelateListenerInput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListenerInput interface { pulumi.Input ToGetTlsCipherPoliciesPolicyRelateListenerOutput() GetTlsCipherPoliciesPolicyRelateListenerOutput ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext(context.Context) GetTlsCipherPoliciesPolicyRelateListenerOutput }
GetTlsCipherPoliciesPolicyRelateListenerInput is an input type that accepts GetTlsCipherPoliciesPolicyRelateListenerArgs and GetTlsCipherPoliciesPolicyRelateListenerOutput values. You can construct a concrete instance of `GetTlsCipherPoliciesPolicyRelateListenerInput` via:
GetTlsCipherPoliciesPolicyRelateListenerArgs{...}
type GetTlsCipherPoliciesPolicyRelateListenerOutput ¶ added in v3.8.0
type GetTlsCipherPoliciesPolicyRelateListenerOutput struct{ *pulumi.OutputState }
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) ElementType ¶ added in v3.8.0
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) ElementType() reflect.Type
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) LoadBalancerId ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) LoadBalancerId() pulumi.StringOutput
The ID of SLB instance.
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) Port ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) Port() pulumi.IntOutput
Listening port. Valid value: 1 to 65535.
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) Protocol ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) Protocol() pulumi.StringOutput
Snooping protocols. Valid values: `TCP`, `UDP`, `HTTP`, or `HTTPS`.
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) ToGetTlsCipherPoliciesPolicyRelateListenerOutput ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) ToGetTlsCipherPoliciesPolicyRelateListenerOutput() GetTlsCipherPoliciesPolicyRelateListenerOutput
func (GetTlsCipherPoliciesPolicyRelateListenerOutput) ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext ¶ added in v3.8.0
func (o GetTlsCipherPoliciesPolicyRelateListenerOutput) ToGetTlsCipherPoliciesPolicyRelateListenerOutputWithContext(ctx context.Context) GetTlsCipherPoliciesPolicyRelateListenerOutput
type GetTlsCipherPoliciesResult ¶ added in v3.8.0
type GetTlsCipherPoliciesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` IncludeListener *bool `pulumi:"includeListener"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Policies []GetTlsCipherPoliciesPolicy `pulumi:"policies"` Status *string `pulumi:"status"` TlsCipherPolicyName *string `pulumi:"tlsCipherPolicyName"` }
A collection of values returned by getTlsCipherPolicies.
func GetTlsCipherPolicies ¶ added in v3.8.0
func GetTlsCipherPolicies(ctx *pulumi.Context, args *GetTlsCipherPoliciesArgs, opts ...pulumi.InvokeOption) (*GetTlsCipherPoliciesResult, error)
This data source provides the Slb Tls Cipher Policies of the current Alibaba Cloud user.
> **NOTE:** Available in v1.135.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := slb.GetTlsCipherPolicies(ctx, &slb.GetTlsCipherPoliciesArgs{ Ids: []string{ "example_value-1", "example_value-2", }, }, nil) if err != nil { return err } ctx.Export("slbTlsCipherPolicyId1", ids.Policies[0].Id) nameRegex, err := slb.GetTlsCipherPolicies(ctx, &slb.GetTlsCipherPoliciesArgs{ NameRegex: pulumi.StringRef("^My-TlsCipherPolicy"), }, nil) if err != nil { return err } ctx.Export("slbTlsCipherPolicyId2", nameRegex.Policies[0].Id) return nil }) }
```
type GetTlsCipherPoliciesResultOutput ¶ added in v3.9.0
type GetTlsCipherPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTlsCipherPolicies.
func GetTlsCipherPoliciesOutput ¶ added in v3.9.0
func GetTlsCipherPoliciesOutput(ctx *pulumi.Context, args GetTlsCipherPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetTlsCipherPoliciesResultOutput
func (GetTlsCipherPoliciesResultOutput) ElementType ¶ added in v3.9.0
func (GetTlsCipherPoliciesResultOutput) ElementType() reflect.Type
func (GetTlsCipherPoliciesResultOutput) Id ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTlsCipherPoliciesResultOutput) Ids ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) Ids() pulumi.StringArrayOutput
func (GetTlsCipherPoliciesResultOutput) IncludeListener ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) IncludeListener() pulumi.BoolPtrOutput
func (GetTlsCipherPoliciesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetTlsCipherPoliciesResultOutput) Names ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) Names() pulumi.StringArrayOutput
func (GetTlsCipherPoliciesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetTlsCipherPoliciesResultOutput) Policies ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) Policies() GetTlsCipherPoliciesPolicyArrayOutput
func (GetTlsCipherPoliciesResultOutput) Status ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) Status() pulumi.StringPtrOutput
func (GetTlsCipherPoliciesResultOutput) TlsCipherPolicyName ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) TlsCipherPolicyName() pulumi.StringPtrOutput
func (GetTlsCipherPoliciesResultOutput) ToGetTlsCipherPoliciesResultOutput ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) ToGetTlsCipherPoliciesResultOutput() GetTlsCipherPoliciesResultOutput
func (GetTlsCipherPoliciesResultOutput) ToGetTlsCipherPoliciesResultOutputWithContext ¶ added in v3.9.0
func (o GetTlsCipherPoliciesResultOutput) ToGetTlsCipherPoliciesResultOutputWithContext(ctx context.Context) GetTlsCipherPoliciesResultOutput
type GetZonesArgs ¶
type GetZonesArgs struct { // Filter the results by a slb instance address version. Can be either `ipv4`, or `ipv6`. AvailableSlbAddressIpVersion *string `pulumi:"availableSlbAddressIpVersion"` // Filter the results by a slb instance network type. Valid values: // * vpc: an internal SLB instance that is deployed in a virtual private cloud (VPC). // * classic_internet: a public-facing SLB instance. // * classic_intranet: an internal SLB instance that is deployed in a classic network. AvailableSlbAddressType *string `pulumi:"availableSlbAddressType"` // Default to false and only output `id` in the `zones` block. Set it to true can output more details. // // Deprecated: The parameter enable_details has been deprecated from version v1.154.0+ EnableDetails *bool `pulumi:"enableDetails"` // The primary zone. MasterZoneId *string `pulumi:"masterZoneId"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The secondary zone. SlaveZoneId *string `pulumi:"slaveZoneId"` }
A collection of arguments for invoking getZones.
type GetZonesOutputArgs ¶ added in v3.9.0
type GetZonesOutputArgs struct { // Filter the results by a slb instance address version. Can be either `ipv4`, or `ipv6`. AvailableSlbAddressIpVersion pulumi.StringPtrInput `pulumi:"availableSlbAddressIpVersion"` // Filter the results by a slb instance network type. Valid values: // * vpc: an internal SLB instance that is deployed in a virtual private cloud (VPC). // * classic_internet: a public-facing SLB instance. // * classic_intranet: an internal SLB instance that is deployed in a classic network. AvailableSlbAddressType pulumi.StringPtrInput `pulumi:"availableSlbAddressType"` // Default to false and only output `id` in the `zones` block. Set it to true can output more details. // // Deprecated: The parameter enable_details has been deprecated from version v1.154.0+ EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // The primary zone. MasterZoneId pulumi.StringPtrInput `pulumi:"masterZoneId"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The secondary zone. SlaveZoneId pulumi.StringPtrInput `pulumi:"slaveZoneId"` }
A collection of arguments for invoking getZones.
func (GetZonesOutputArgs) ElementType ¶ added in v3.9.0
func (GetZonesOutputArgs) ElementType() reflect.Type
type GetZonesResult ¶
type GetZonesResult struct { AvailableSlbAddressIpVersion *string `pulumi:"availableSlbAddressIpVersion"` AvailableSlbAddressType *string `pulumi:"availableSlbAddressType"` // Deprecated: The parameter enable_details has been deprecated from version v1.154.0+ EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of primary zone IDs. Ids []string `pulumi:"ids"` // (Available in 1.157.0+) The primary zone. MasterZoneId *string `pulumi:"masterZoneId"` OutputFile *string `pulumi:"outputFile"` // (Available in 1.157.0+) The secondary zone. SlaveZoneId *string `pulumi:"slaveZoneId"` // A list of availability zones. Each element contains the following attributes: Zones []GetZonesZone `pulumi:"zones"` }
A collection of values returned by getZones.
func GetZones ¶
func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)
This data source provides availability zones for SLB that can be accessed by an Alibaba Cloud account within the region configured in the provider.
> **NOTE:** Available in v1.73.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.GetZones(ctx, &slb.GetZonesArgs{ AvailableSlbAddressIpVersion: pulumi.StringRef("ipv4"), AvailableSlbAddressType: pulumi.StringRef("vpc"), }, nil) if err != nil { return err } return nil }) }
```
type GetZonesResultOutput ¶ added in v3.9.0
type GetZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZones.
func GetZonesOutput ¶ added in v3.9.0
func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput
func (GetZonesResultOutput) AvailableSlbAddressIpVersion ¶ added in v3.9.0
func (o GetZonesResultOutput) AvailableSlbAddressIpVersion() pulumi.StringPtrOutput
func (GetZonesResultOutput) AvailableSlbAddressType ¶ added in v3.9.0
func (o GetZonesResultOutput) AvailableSlbAddressType() pulumi.StringPtrOutput
func (GetZonesResultOutput) ElementType ¶ added in v3.9.0
func (GetZonesResultOutput) ElementType() reflect.Type
func (GetZonesResultOutput) EnableDetails
deprecated
added in
v3.9.0
func (o GetZonesResultOutput) EnableDetails() pulumi.BoolPtrOutput
Deprecated: The parameter enable_details has been deprecated from version v1.154.0+
func (GetZonesResultOutput) Id ¶ added in v3.9.0
func (o GetZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZonesResultOutput) Ids ¶ added in v3.9.0
func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
A list of primary zone IDs.
func (GetZonesResultOutput) MasterZoneId ¶ added in v3.18.0
func (o GetZonesResultOutput) MasterZoneId() pulumi.StringPtrOutput
(Available in 1.157.0+) The primary zone.
func (GetZonesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZonesResultOutput) SlaveZoneId ¶ added in v3.18.0
func (o GetZonesResultOutput) SlaveZoneId() pulumi.StringPtrOutput
(Available in 1.157.0+) The secondary zone.
func (GetZonesResultOutput) ToGetZonesResultOutput ¶ added in v3.9.0
func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
func (GetZonesResultOutput) ToGetZonesResultOutputWithContext ¶ added in v3.9.0
func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
func (GetZonesResultOutput) Zones ¶ added in v3.9.0
func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
A list of availability zones. Each element contains the following attributes:
type GetZonesZone ¶
type GetZonesZone struct { // ID of the zone. It is same as `masterZoneId`. Id string `pulumi:"id"` // The primary zone. MasterZoneId string `pulumi:"masterZoneId"` // The secondary zone. SlaveZoneId string `pulumi:"slaveZoneId"` // (Deprecated from 1.157.0) A list of slb slave zone ids in which the slb master zone. // It has been deprecated from v1.157.0 and use `slaveZoneId` instead. // // Deprecated: the attribute slb_slave_zone_ids has been deprecated from version 1.157.0 and use slave_zone_id instead. SlbSlaveZoneIds []string `pulumi:"slbSlaveZoneIds"` // (Available in 1.154.0+)A list of available resource which the slb master zone supported. SupportedResources []GetZonesZoneSupportedResource `pulumi:"supportedResources"` }
type GetZonesZoneArgs ¶
type GetZonesZoneArgs struct { // ID of the zone. It is same as `masterZoneId`. Id pulumi.StringInput `pulumi:"id"` // The primary zone. MasterZoneId pulumi.StringInput `pulumi:"masterZoneId"` // The secondary zone. SlaveZoneId pulumi.StringInput `pulumi:"slaveZoneId"` // (Deprecated from 1.157.0) A list of slb slave zone ids in which the slb master zone. // It has been deprecated from v1.157.0 and use `slaveZoneId` instead. // // Deprecated: the attribute slb_slave_zone_ids has been deprecated from version 1.157.0 and use slave_zone_id instead. SlbSlaveZoneIds pulumi.StringArrayInput `pulumi:"slbSlaveZoneIds"` // (Available in 1.154.0+)A list of available resource which the slb master zone supported. SupportedResources GetZonesZoneSupportedResourceArrayInput `pulumi:"supportedResources"` }
func (GetZonesZoneArgs) ElementType ¶
func (GetZonesZoneArgs) ElementType() reflect.Type
func (GetZonesZoneArgs) ToGetZonesZoneOutput ¶
func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext ¶
func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
type GetZonesZoneArray ¶
type GetZonesZoneArray []GetZonesZoneInput
func (GetZonesZoneArray) ElementType ¶
func (GetZonesZoneArray) ElementType() reflect.Type
func (GetZonesZoneArray) ToGetZonesZoneArrayOutput ¶
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext ¶
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneArrayInput ¶
type GetZonesZoneArrayInput interface { pulumi.Input ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput }
GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:
GetZonesZoneArray{ GetZonesZoneArgs{...} }
type GetZonesZoneArrayOutput ¶
type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetZonesZoneArrayOutput) ElementType ¶
func (GetZonesZoneArrayOutput) ElementType() reflect.Type
func (GetZonesZoneArrayOutput) Index ¶
func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput ¶
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext ¶
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneInput ¶
type GetZonesZoneInput interface { pulumi.Input ToGetZonesZoneOutput() GetZonesZoneOutput ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput }
GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:
GetZonesZoneArgs{...}
type GetZonesZoneOutput ¶
type GetZonesZoneOutput struct{ *pulumi.OutputState }
func (GetZonesZoneOutput) ElementType ¶
func (GetZonesZoneOutput) ElementType() reflect.Type
func (GetZonesZoneOutput) Id ¶
func (o GetZonesZoneOutput) Id() pulumi.StringOutput
ID of the zone. It is same as `masterZoneId`.
func (GetZonesZoneOutput) MasterZoneId ¶ added in v3.18.0
func (o GetZonesZoneOutput) MasterZoneId() pulumi.StringOutput
The primary zone.
func (GetZonesZoneOutput) SlaveZoneId ¶ added in v3.18.0
func (o GetZonesZoneOutput) SlaveZoneId() pulumi.StringOutput
The secondary zone.
func (GetZonesZoneOutput) SlbSlaveZoneIds
deprecated
func (o GetZonesZoneOutput) SlbSlaveZoneIds() pulumi.StringArrayOutput
(Deprecated from 1.157.0) A list of slb slave zone ids in which the slb master zone. It has been deprecated from v1.157.0 and use `slaveZoneId` instead.
Deprecated: the attribute slb_slave_zone_ids has been deprecated from version 1.157.0 and use slave_zone_id instead.
func (GetZonesZoneOutput) SupportedResources ¶ added in v3.16.0
func (o GetZonesZoneOutput) SupportedResources() GetZonesZoneSupportedResourceArrayOutput
(Available in 1.154.0+)A list of available resource which the slb master zone supported.
func (GetZonesZoneOutput) ToGetZonesZoneOutput ¶
func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext ¶
func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
type GetZonesZoneSupportedResource ¶ added in v3.16.0
type GetZonesZoneSupportedResourceArgs ¶ added in v3.16.0
type GetZonesZoneSupportedResourceArgs struct { // The type of IP address. AddressIpVersion pulumi.StringInput `pulumi:"addressIpVersion"` // The type of network. AddressType pulumi.StringInput `pulumi:"addressType"` }
func (GetZonesZoneSupportedResourceArgs) ElementType ¶ added in v3.16.0
func (GetZonesZoneSupportedResourceArgs) ElementType() reflect.Type
func (GetZonesZoneSupportedResourceArgs) ToGetZonesZoneSupportedResourceOutput ¶ added in v3.16.0
func (i GetZonesZoneSupportedResourceArgs) ToGetZonesZoneSupportedResourceOutput() GetZonesZoneSupportedResourceOutput
func (GetZonesZoneSupportedResourceArgs) ToGetZonesZoneSupportedResourceOutputWithContext ¶ added in v3.16.0
func (i GetZonesZoneSupportedResourceArgs) ToGetZonesZoneSupportedResourceOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceOutput
type GetZonesZoneSupportedResourceArray ¶ added in v3.16.0
type GetZonesZoneSupportedResourceArray []GetZonesZoneSupportedResourceInput
func (GetZonesZoneSupportedResourceArray) ElementType ¶ added in v3.16.0
func (GetZonesZoneSupportedResourceArray) ElementType() reflect.Type
func (GetZonesZoneSupportedResourceArray) ToGetZonesZoneSupportedResourceArrayOutput ¶ added in v3.16.0
func (i GetZonesZoneSupportedResourceArray) ToGetZonesZoneSupportedResourceArrayOutput() GetZonesZoneSupportedResourceArrayOutput
func (GetZonesZoneSupportedResourceArray) ToGetZonesZoneSupportedResourceArrayOutputWithContext ¶ added in v3.16.0
func (i GetZonesZoneSupportedResourceArray) ToGetZonesZoneSupportedResourceArrayOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceArrayOutput
type GetZonesZoneSupportedResourceArrayInput ¶ added in v3.16.0
type GetZonesZoneSupportedResourceArrayInput interface { pulumi.Input ToGetZonesZoneSupportedResourceArrayOutput() GetZonesZoneSupportedResourceArrayOutput ToGetZonesZoneSupportedResourceArrayOutputWithContext(context.Context) GetZonesZoneSupportedResourceArrayOutput }
GetZonesZoneSupportedResourceArrayInput is an input type that accepts GetZonesZoneSupportedResourceArray and GetZonesZoneSupportedResourceArrayOutput values. You can construct a concrete instance of `GetZonesZoneSupportedResourceArrayInput` via:
GetZonesZoneSupportedResourceArray{ GetZonesZoneSupportedResourceArgs{...} }
type GetZonesZoneSupportedResourceArrayOutput ¶ added in v3.16.0
type GetZonesZoneSupportedResourceArrayOutput struct{ *pulumi.OutputState }
func (GetZonesZoneSupportedResourceArrayOutput) ElementType ¶ added in v3.16.0
func (GetZonesZoneSupportedResourceArrayOutput) ElementType() reflect.Type
func (GetZonesZoneSupportedResourceArrayOutput) ToGetZonesZoneSupportedResourceArrayOutput ¶ added in v3.16.0
func (o GetZonesZoneSupportedResourceArrayOutput) ToGetZonesZoneSupportedResourceArrayOutput() GetZonesZoneSupportedResourceArrayOutput
func (GetZonesZoneSupportedResourceArrayOutput) ToGetZonesZoneSupportedResourceArrayOutputWithContext ¶ added in v3.16.0
func (o GetZonesZoneSupportedResourceArrayOutput) ToGetZonesZoneSupportedResourceArrayOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceArrayOutput
type GetZonesZoneSupportedResourceInput ¶ added in v3.16.0
type GetZonesZoneSupportedResourceInput interface { pulumi.Input ToGetZonesZoneSupportedResourceOutput() GetZonesZoneSupportedResourceOutput ToGetZonesZoneSupportedResourceOutputWithContext(context.Context) GetZonesZoneSupportedResourceOutput }
GetZonesZoneSupportedResourceInput is an input type that accepts GetZonesZoneSupportedResourceArgs and GetZonesZoneSupportedResourceOutput values. You can construct a concrete instance of `GetZonesZoneSupportedResourceInput` via:
GetZonesZoneSupportedResourceArgs{...}
type GetZonesZoneSupportedResourceOutput ¶ added in v3.16.0
type GetZonesZoneSupportedResourceOutput struct{ *pulumi.OutputState }
func (GetZonesZoneSupportedResourceOutput) AddressIpVersion ¶ added in v3.16.0
func (o GetZonesZoneSupportedResourceOutput) AddressIpVersion() pulumi.StringOutput
The type of IP address.
func (GetZonesZoneSupportedResourceOutput) AddressType ¶ added in v3.16.0
func (o GetZonesZoneSupportedResourceOutput) AddressType() pulumi.StringOutput
The type of network.
func (GetZonesZoneSupportedResourceOutput) ElementType ¶ added in v3.16.0
func (GetZonesZoneSupportedResourceOutput) ElementType() reflect.Type
func (GetZonesZoneSupportedResourceOutput) ToGetZonesZoneSupportedResourceOutput ¶ added in v3.16.0
func (o GetZonesZoneSupportedResourceOutput) ToGetZonesZoneSupportedResourceOutput() GetZonesZoneSupportedResourceOutput
func (GetZonesZoneSupportedResourceOutput) ToGetZonesZoneSupportedResourceOutputWithContext ¶ added in v3.16.0
func (o GetZonesZoneSupportedResourceOutput) ToGetZonesZoneSupportedResourceOutputWithContext(ctx context.Context) GetZonesZoneSupportedResourceOutput
type Listener ¶
type Listener struct { pulumi.CustomResourceState // the id of access control list to be apply on the listener, is the id of resource alicloud_slb_acl. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. AclId pulumi.StringPtrOutput `pulumi:"aclId"` // Whether to enable "acl(access control list)", the acl is specified by `aclId`. Valid values are `on` and `off`. Default to `off`. AclStatus pulumi.StringPtrOutput `pulumi:"aclStatus"` // Mode for handling the acl specified by acl_id. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `white` and `black`. `white` means the Listener can only be accessed by client ip belongs to the acl; `black` means the Listener can not be accessed by client ip belongs to the acl. AclType pulumi.StringPtrOutput `pulumi:"aclType"` // Port used by the Server Load Balancer instance backend. Valid value range: [1-65535]. BackendPort pulumi.IntPtrOutput `pulumi:"backendPort"` // Bandwidth peak of Listener. For the public network instance charged per traffic consumed, the Bandwidth on Listener can be set to -1, indicating the bandwidth peak is unlimited. Valid values are [-1, 1-1000] in Mbps. Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // SLB CA certificate ID. Only when `protocol` is `https` can be specified. CaCertificateId pulumi.StringPtrOutput `pulumi:"caCertificateId"` // The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $. Cookie pulumi.StringPtrOutput `pulumi:"cookie"` // Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds. CookieTimeout pulumi.IntPtrOutput `pulumi:"cookieTimeout"` // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // The description of slb listener. This description can have a string of 1 to 80 characters. Default value: null. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`. EnableHttp2 pulumi.StringPtrOutput `pulumi:"enableHttp2"` // Timeout of tcp listener established connection idle timeout. Valid value range: [10-900] in seconds. Default to 900. EstablishedTimeout pulumi.IntPtrOutput `pulumi:"establishedTimeout"` // The port that http redirect to https. ForwardPort pulumi.IntPtrOutput `pulumi:"forwardPort"` // Port used by the Server Load Balancer instance frontend. Valid value range: [1-65535]. FrontendPort pulumi.IntOutput `pulumi:"frontendPort"` // Whether to enable "Gzip Compression". If enabled, files of specific file types will be compressed, otherwise, no files will be compressed. Default to true. Available since v1.13.0+. Gzip pulumi.BoolPtrOutput `pulumi:"gzip"` // Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. HealthCheck pulumi.StringPtrOutput `pulumi:"healthCheck"` // The port that is used for health checks. Valid value range: [0-65535]. Default to `0` means that the port on a backend server is used for health checks. HealthCheckConnectPort pulumi.IntOutput `pulumi:"healthCheckConnectPort"` // Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check. HealthCheckDomain pulumi.StringPtrOutput `pulumi:"healthCheckDomain"` // Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`. HealthCheckHttpCode pulumi.StringOutput `pulumi:"healthCheckHttpCode"` // Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2. HealthCheckInterval pulumi.IntPtrOutput `pulumi:"healthCheckInterval"` // HealthCheckMethod used for health check.Valid values: ["head", "get"] `http` and `https` support regions ap-northeast-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, us-east-1, us-west-1, eu-central-1, ap-south-1, me-east-1, cn-huhehaote, cn-zhangjiakou, ap-southeast-5, cn-shenzhen, cn-hongkong, cn-qingdao, cn-chengdu, eu-west-1, cn-hangzhou", cn-beijing, cn-shanghai.This function does not support the TCP protocol . HealthCheckMethod pulumi.StringOutput `pulumi:"healthCheckMethod"` // Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`. HealthCheckTimeout pulumi.IntPtrOutput `pulumi:"healthCheckTimeout"` // Type of health check. Valid values are: `tcp` and `http`. Default to `tcp` . TCP supports TCP and HTTP health check mode, you can select the particular mode depending on your application. HealthCheckType pulumi.StringPtrOutput `pulumi:"healthCheckType"` // URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed. HealthCheckUri pulumi.StringPtrOutput `pulumi:"healthCheckUri"` // The number of health checks that an unhealthy backend server must consecutively pass before it can be declared healthy. In this case, the health check state is changed from fail to success. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`. HealthyThreshold pulumi.IntPtrOutput `pulumi:"healthyThreshold"` // Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15. IdleTimeout pulumi.IntPtrOutput `pulumi:"idleTimeout"` // Deprecated: Field 'lb_port' has been removed since 1.211.0. LbPort pulumi.IntPtrOutput `pulumi:"lbPort"` // Deprecated: Field 'lb_protocol' has been removed since 1.211.0. LbProtocol pulumi.StringPtrOutput `pulumi:"lbProtocol"` // Whether to enable http redirect to https, Valid values are `on` and `off`. Default to `off`. ListenerForward pulumi.StringOutput `pulumi:"listenerForward"` // The Load Balancer ID which is used to launch a new listener. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // The ID of the master slave server group. MasterSlaveServerGroupId pulumi.StringPtrOutput `pulumi:"masterSlaveServerGroupId"` // Timeout of connection persistence. Valid value range: [0-3600] in seconds. Default to 0 and means closing it. PersistenceTimeout pulumi.IntPtrOutput `pulumi:"persistenceTimeout"` // The protocol to listen on. Valid values are [`http`, `https`, `tcp`, `udp`]. Protocol pulumi.StringOutput `pulumi:"protocol"` // Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`. // // > **NOTE:** Once enable the http redirect to https function, any parameters excepted forward_port,listener_forward,load_balancer_id,frontend_port,protocol will be ignored. More info, please refer to [Redirect http to https](https://www.alibabacloud.com/help/doc-detail/89151.htm?spm=a2c63.p38356.b99.186.42f66384mpjUTB). // // > **NOTE:** Advantanced feature such as `tlsCipherPolicy`, can not be updated when load balancer instance is "Shared-Performance". More info, please refer to [Configure a HTTPS Listener](https://www.alibabacloud.com/help/doc-detail/27593.htm). ProxyProtocolV2Enabled pulumi.BoolOutput `pulumi:"proxyProtocolV2Enabled"` // Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60. RequestTimeout pulumi.IntPtrOutput `pulumi:"requestTimeout"` // Scheduling algorithm, Valid values: `wrr`, `rr`, `wlc`, `sch`, `tcp`, `qch`. Default to `wrr`. // Only when `protocol` is `tcp` or `udp`, `scheduler` can be set to `sch`. Only when instance is guaranteed-performance instance and `protocol` is `tcp` or `udp`, `scheduler` can be set to `tch`. Only when instance is guaranteed-performance instance and `protocol` is `udp`, `scheduler` can be set to `qch`. Scheduler pulumi.StringPtrOutput `pulumi:"scheduler"` // SLB Server certificate ID. It is required when `protocol` is `https`. The `serverCertificateId` is also required when the value of the `sslCertificateId` is Empty. ServerCertificateId pulumi.StringOutput `pulumi:"serverCertificateId"` // the id of server group to be apply on the listener, is the id of resource `slb.ServerGroup`. ServerGroupId pulumi.StringPtrOutput `pulumi:"serverGroupId"` // SLB Server certificate ID. It has been deprecated from 1.59.0 and using `serverCertificateId` instead. // // Deprecated: Field 'ssl_certificate_id' has been deprecated from 1.59.0 and using 'server_certificate_id' instead. SslCertificateId pulumi.StringOutput `pulumi:"sslCertificateId"` // Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. StickySession pulumi.StringPtrOutput `pulumi:"stickySession"` // Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server. StickySessionType pulumi.StringPtrOutput `pulumi:"stickySessionType"` // Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`. Currently the `tlsCipherPolicy` can not be updated when load balancer instance is "Shared-Performance". TlsCipherPolicy pulumi.StringPtrOutput `pulumi:"tlsCipherPolicy"` // The number of health checks that a healthy backend server must consecutively fail before it can be declared unhealthy. In this case, the health check state is changed from success to fail. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`. UnhealthyThreshold pulumi.IntPtrOutput `pulumi:"unhealthyThreshold"` // Whether to set additional HTTP Header field "X-Forwarded-For" (documented below). Available since v1.13.0+. See `xForwardedFor` below. XForwardedFor ListenerXForwardedForOutput `pulumi:"xForwardedFor"` }
Provides an Application Load Balancer Listener resource.
For information about slb and how to use it, see [What is Server Load Balancer](https://www.alibabacloud.com/help/doc-detail/27539.htm).
For information about listener and how to use it, to see the following:
* [Configure a HTTP Listener](https://www.alibabacloud.com/help/doc-detail/27592.htm). * [Configure a HTTPS Listener](https://www.alibabacloud.com/help/doc-detail/27593.htm). * [Configure a TCP Listener](https://www.alibabacloud.com/help/doc-detail/27594.htm). * [Configure a UDP Listener](https://www.alibabacloud.com/help/doc-detail/27595.htm).
> **NOTE:** Available since v1.0.0.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") slbListenerName := "forSlbListener" if param := cfg.Get("slbListenerName"); param != "" { slbListenerName = param } listenerApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "listenerApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String("tf-exampleSlbListenerHttp"), InternetChargeType: pulumi.String("PayByTraffic"), AddressType: pulumi.String("internet"), InstanceChargeType: pulumi.String("PayByCLCU"), }) if err != nil { return err } listenerAcl, err := slb.NewAcl(ctx, "listenerAcl", &slb.AclArgs{ IpVersion: pulumi.String("ipv4"), }) if err != nil { return err } _, err = slb.NewListener(ctx, "listenerListener", &slb.ListenerArgs{ LoadBalancerId: listenerApplicationLoadBalancer.ID(), BackendPort: pulumi.Int(80), FrontendPort: pulumi.Int(80), Protocol: pulumi.String("http"), Bandwidth: pulumi.Int(10), StickySession: pulumi.String("on"), StickySessionType: pulumi.String("insert"), CookieTimeout: pulumi.Int(86400), Cookie: pulumi.String("tfslblistenercookie"), HealthCheck: pulumi.String("on"), HealthCheckDomain: pulumi.String("ali.com"), HealthCheckUri: pulumi.String("/cons"), HealthCheckConnectPort: pulumi.Int(20), HealthyThreshold: pulumi.Int(8), UnhealthyThreshold: pulumi.Int(8), HealthCheckTimeout: pulumi.Int(8), HealthCheckInterval: pulumi.Int(5), HealthCheckHttpCode: pulumi.String("http_2xx,http_3xx"), XForwardedFor: &slb.ListenerXForwardedForArgs{ RetriveSlbIp: pulumi.Bool(true), RetriveSlbId: pulumi.Bool(true), }, AclStatus: pulumi.String("on"), AclType: pulumi.String("white"), AclId: listenerAcl.ID(), RequestTimeout: pulumi.Int(80), IdleTimeout: pulumi.Int(30), }) if err != nil { return err } _, err = slb.NewAclEntryAttachment(ctx, "first", &slb.AclEntryAttachmentArgs{ AclId: listenerAcl.ID(), Entry: pulumi.String("10.10.10.0/24"), Comment: pulumi.String("first"), }) if err != nil { return err } _, err = slb.NewAclEntryAttachment(ctx, "second", &slb.AclEntryAttachmentArgs{ AclId: listenerAcl.ID(), Entry: pulumi.String("168.10.10.0/24"), Comment: pulumi.String("second"), }) if err != nil { return err } return nil }) }
``` ## Listener fields and protocol mapping
load balance support 4 protocol to listen on, they are `http`,`https`,`tcp`,`udp`, the every listener support which portocal following:
listener parameter | support protocol | value range | ------------- | ------------- | ------------- | backendPort | http & https & tcp & udp | 1-65535 | frontendPort | http & https & tcp & udp | 1-65535 | protocol | http & https & tcp & udp | bandwidth | http & https & tcp & udp | -1 / 1-1000 | scheduler | http & https & tcp & udp | wrr, rr, wlc, tch, qch | stickySession | http & https | on or off | stickySessionType | http & https | insert or server | cookieTimeout | http & https | 1-86400 | cookie | http & https | | persistenceTimeout | tcp & udp | 0-3600 | healthCheck | http & https | on or off | healthCheckType | tcp | tcp or http | healthCheckDomain | http & https & tcp | healthCheckMethod | http & https & tcp | healthCheckUri | http & https & tcp | | healthCheckConnectPort | http & https & tcp & udp | 1-65535 or -520 | healthyThreshold | http & https & tcp & udp | 1-10 | unhealthyThreshold | http & https & tcp & udp | 1-10 | healthCheckTimeout | http & https & tcp & udp | 1-300 | healthCheckInterval | http & https & tcp & udp | 1-50 | healthCheckHttpCode | http & https & tcp | http_2xx,http_3xx,http_4xx,http_5xx | serverCertificateId | https | | gzip | http & https | true or false | xForwardedFor | http & https | | aclStatus | http & https & tcp & udp | on or off | aclType | http & https & tcp & udp | white or black | aclId | http & https & tcp & udp | the id of resource alicloud_slb_acl| establishedTimeout | tcp | 10-900| idleTimeout |http & https | 1-60 | requestTimeout |http & https | 1-180 | enableHttp2 |https | on or off | tlsCipherPolicy |https | tls_cipher_policy_1_0, tls_cipher_policy_1_1, tls_cipher_policy_1_2, tlsCipherPolicy12Strict | serverGroupId | http & https & tcp & udp | the id of resource slb.ServerGroup |
The listener mapping supports the following:
## Import
Load balancer listener can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/listener:Listener example "lb-abc123456:tcp:22"
```
func GetListener ¶
func GetListener(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error)
GetListener gets an existing Listener 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 NewListener ¶
func NewListener(ctx *pulumi.Context, name string, args *ListenerArgs, opts ...pulumi.ResourceOption) (*Listener, error)
NewListener registers a new resource with the given unique name, arguments, and options.
func (*Listener) ElementType ¶
func (*Listener) ToListenerOutput ¶
func (i *Listener) ToListenerOutput() ListenerOutput
func (*Listener) ToListenerOutputWithContext ¶
func (i *Listener) ToListenerOutputWithContext(ctx context.Context) ListenerOutput
type ListenerArgs ¶
type ListenerArgs struct { // the id of access control list to be apply on the listener, is the id of resource alicloud_slb_acl. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. AclId pulumi.StringPtrInput // Whether to enable "acl(access control list)", the acl is specified by `aclId`. Valid values are `on` and `off`. Default to `off`. AclStatus pulumi.StringPtrInput // Mode for handling the acl specified by acl_id. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `white` and `black`. `white` means the Listener can only be accessed by client ip belongs to the acl; `black` means the Listener can not be accessed by client ip belongs to the acl. AclType pulumi.StringPtrInput // Port used by the Server Load Balancer instance backend. Valid value range: [1-65535]. BackendPort pulumi.IntPtrInput // Bandwidth peak of Listener. For the public network instance charged per traffic consumed, the Bandwidth on Listener can be set to -1, indicating the bandwidth peak is unlimited. Valid values are [-1, 1-1000] in Mbps. Bandwidth pulumi.IntPtrInput // SLB CA certificate ID. Only when `protocol` is `https` can be specified. CaCertificateId pulumi.StringPtrInput // The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $. Cookie pulumi.StringPtrInput // Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds. CookieTimeout pulumi.IntPtrInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The description of slb listener. This description can have a string of 1 to 80 characters. Default value: null. Description pulumi.StringPtrInput // Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`. EnableHttp2 pulumi.StringPtrInput // Timeout of tcp listener established connection idle timeout. Valid value range: [10-900] in seconds. Default to 900. EstablishedTimeout pulumi.IntPtrInput // The port that http redirect to https. ForwardPort pulumi.IntPtrInput // Port used by the Server Load Balancer instance frontend. Valid value range: [1-65535]. FrontendPort pulumi.IntInput // Whether to enable "Gzip Compression". If enabled, files of specific file types will be compressed, otherwise, no files will be compressed. Default to true. Available since v1.13.0+. Gzip pulumi.BoolPtrInput // Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. HealthCheck pulumi.StringPtrInput // The port that is used for health checks. Valid value range: [0-65535]. Default to `0` means that the port on a backend server is used for health checks. HealthCheckConnectPort pulumi.IntPtrInput // Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check. HealthCheckDomain pulumi.StringPtrInput // Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`. HealthCheckHttpCode pulumi.StringPtrInput // Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2. HealthCheckInterval pulumi.IntPtrInput // HealthCheckMethod used for health check.Valid values: ["head", "get"] `http` and `https` support regions ap-northeast-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, us-east-1, us-west-1, eu-central-1, ap-south-1, me-east-1, cn-huhehaote, cn-zhangjiakou, ap-southeast-5, cn-shenzhen, cn-hongkong, cn-qingdao, cn-chengdu, eu-west-1, cn-hangzhou", cn-beijing, cn-shanghai.This function does not support the TCP protocol . HealthCheckMethod pulumi.StringPtrInput // Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`. HealthCheckTimeout pulumi.IntPtrInput // Type of health check. Valid values are: `tcp` and `http`. Default to `tcp` . TCP supports TCP and HTTP health check mode, you can select the particular mode depending on your application. HealthCheckType pulumi.StringPtrInput // URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed. HealthCheckUri pulumi.StringPtrInput // The number of health checks that an unhealthy backend server must consecutively pass before it can be declared healthy. In this case, the health check state is changed from fail to success. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`. HealthyThreshold pulumi.IntPtrInput // Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15. IdleTimeout pulumi.IntPtrInput // Deprecated: Field 'lb_port' has been removed since 1.211.0. LbPort pulumi.IntPtrInput // Deprecated: Field 'lb_protocol' has been removed since 1.211.0. LbProtocol pulumi.StringPtrInput // Whether to enable http redirect to https, Valid values are `on` and `off`. Default to `off`. ListenerForward pulumi.StringPtrInput // The Load Balancer ID which is used to launch a new listener. LoadBalancerId pulumi.StringInput // The ID of the master slave server group. MasterSlaveServerGroupId pulumi.StringPtrInput // Timeout of connection persistence. Valid value range: [0-3600] in seconds. Default to 0 and means closing it. PersistenceTimeout pulumi.IntPtrInput // The protocol to listen on. Valid values are [`http`, `https`, `tcp`, `udp`]. Protocol pulumi.StringInput // Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`. // // > **NOTE:** Once enable the http redirect to https function, any parameters excepted forward_port,listener_forward,load_balancer_id,frontend_port,protocol will be ignored. More info, please refer to [Redirect http to https](https://www.alibabacloud.com/help/doc-detail/89151.htm?spm=a2c63.p38356.b99.186.42f66384mpjUTB). // // > **NOTE:** Advantanced feature such as `tlsCipherPolicy`, can not be updated when load balancer instance is "Shared-Performance". More info, please refer to [Configure a HTTPS Listener](https://www.alibabacloud.com/help/doc-detail/27593.htm). ProxyProtocolV2Enabled pulumi.BoolPtrInput // Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60. RequestTimeout pulumi.IntPtrInput // Scheduling algorithm, Valid values: `wrr`, `rr`, `wlc`, `sch`, `tcp`, `qch`. Default to `wrr`. // Only when `protocol` is `tcp` or `udp`, `scheduler` can be set to `sch`. Only when instance is guaranteed-performance instance and `protocol` is `tcp` or `udp`, `scheduler` can be set to `tch`. Only when instance is guaranteed-performance instance and `protocol` is `udp`, `scheduler` can be set to `qch`. Scheduler pulumi.StringPtrInput // SLB Server certificate ID. It is required when `protocol` is `https`. The `serverCertificateId` is also required when the value of the `sslCertificateId` is Empty. ServerCertificateId pulumi.StringPtrInput // the id of server group to be apply on the listener, is the id of resource `slb.ServerGroup`. ServerGroupId pulumi.StringPtrInput // SLB Server certificate ID. It has been deprecated from 1.59.0 and using `serverCertificateId` instead. // // Deprecated: Field 'ssl_certificate_id' has been deprecated from 1.59.0 and using 'server_certificate_id' instead. SslCertificateId pulumi.StringPtrInput // Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. StickySession pulumi.StringPtrInput // Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server. StickySessionType pulumi.StringPtrInput // Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`. Currently the `tlsCipherPolicy` can not be updated when load balancer instance is "Shared-Performance". TlsCipherPolicy pulumi.StringPtrInput // The number of health checks that a healthy backend server must consecutively fail before it can be declared unhealthy. In this case, the health check state is changed from success to fail. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`. UnhealthyThreshold pulumi.IntPtrInput // Whether to set additional HTTP Header field "X-Forwarded-For" (documented below). Available since v1.13.0+. See `xForwardedFor` below. XForwardedFor ListenerXForwardedForPtrInput }
The set of arguments for constructing a Listener resource.
func (ListenerArgs) ElementType ¶
func (ListenerArgs) ElementType() reflect.Type
type ListenerArray ¶
type ListenerArray []ListenerInput
func (ListenerArray) ElementType ¶
func (ListenerArray) ElementType() reflect.Type
func (ListenerArray) ToListenerArrayOutput ¶
func (i ListenerArray) ToListenerArrayOutput() ListenerArrayOutput
func (ListenerArray) ToListenerArrayOutputWithContext ¶
func (i ListenerArray) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput
type ListenerArrayInput ¶
type ListenerArrayInput interface { pulumi.Input ToListenerArrayOutput() ListenerArrayOutput ToListenerArrayOutputWithContext(context.Context) ListenerArrayOutput }
ListenerArrayInput is an input type that accepts ListenerArray and ListenerArrayOutput values. You can construct a concrete instance of `ListenerArrayInput` via:
ListenerArray{ ListenerArgs{...} }
type ListenerArrayOutput ¶
type ListenerArrayOutput struct{ *pulumi.OutputState }
func (ListenerArrayOutput) ElementType ¶
func (ListenerArrayOutput) ElementType() reflect.Type
func (ListenerArrayOutput) Index ¶
func (o ListenerArrayOutput) Index(i pulumi.IntInput) ListenerOutput
func (ListenerArrayOutput) ToListenerArrayOutput ¶
func (o ListenerArrayOutput) ToListenerArrayOutput() ListenerArrayOutput
func (ListenerArrayOutput) ToListenerArrayOutputWithContext ¶
func (o ListenerArrayOutput) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput
type ListenerInput ¶
type ListenerInput interface { pulumi.Input ToListenerOutput() ListenerOutput ToListenerOutputWithContext(ctx context.Context) ListenerOutput }
type ListenerMap ¶
type ListenerMap map[string]ListenerInput
func (ListenerMap) ElementType ¶
func (ListenerMap) ElementType() reflect.Type
func (ListenerMap) ToListenerMapOutput ¶
func (i ListenerMap) ToListenerMapOutput() ListenerMapOutput
func (ListenerMap) ToListenerMapOutputWithContext ¶
func (i ListenerMap) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput
type ListenerMapInput ¶
type ListenerMapInput interface { pulumi.Input ToListenerMapOutput() ListenerMapOutput ToListenerMapOutputWithContext(context.Context) ListenerMapOutput }
ListenerMapInput is an input type that accepts ListenerMap and ListenerMapOutput values. You can construct a concrete instance of `ListenerMapInput` via:
ListenerMap{ "key": ListenerArgs{...} }
type ListenerMapOutput ¶
type ListenerMapOutput struct{ *pulumi.OutputState }
func (ListenerMapOutput) ElementType ¶
func (ListenerMapOutput) ElementType() reflect.Type
func (ListenerMapOutput) MapIndex ¶
func (o ListenerMapOutput) MapIndex(k pulumi.StringInput) ListenerOutput
func (ListenerMapOutput) ToListenerMapOutput ¶
func (o ListenerMapOutput) ToListenerMapOutput() ListenerMapOutput
func (ListenerMapOutput) ToListenerMapOutputWithContext ¶
func (o ListenerMapOutput) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput
type ListenerOutput ¶
type ListenerOutput struct{ *pulumi.OutputState }
func (ListenerOutput) AclId ¶ added in v3.27.0
func (o ListenerOutput) AclId() pulumi.StringPtrOutput
the id of access control list to be apply on the listener, is the id of resource alicloud_slb_acl. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored.
func (ListenerOutput) AclStatus ¶ added in v3.27.0
func (o ListenerOutput) AclStatus() pulumi.StringPtrOutput
Whether to enable "acl(access control list)", the acl is specified by `aclId`. Valid values are `on` and `off`. Default to `off`.
func (ListenerOutput) AclType ¶ added in v3.27.0
func (o ListenerOutput) AclType() pulumi.StringPtrOutput
Mode for handling the acl specified by acl_id. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `white` and `black`. `white` means the Listener can only be accessed by client ip belongs to the acl; `black` means the Listener can not be accessed by client ip belongs to the acl.
func (ListenerOutput) BackendPort ¶ added in v3.27.0
func (o ListenerOutput) BackendPort() pulumi.IntPtrOutput
Port used by the Server Load Balancer instance backend. Valid value range: [1-65535].
func (ListenerOutput) Bandwidth ¶ added in v3.27.0
func (o ListenerOutput) Bandwidth() pulumi.IntOutput
Bandwidth peak of Listener. For the public network instance charged per traffic consumed, the Bandwidth on Listener can be set to -1, indicating the bandwidth peak is unlimited. Valid values are [-1, 1-1000] in Mbps.
func (ListenerOutput) CaCertificateId ¶ added in v3.27.0
func (o ListenerOutput) CaCertificateId() pulumi.StringPtrOutput
SLB CA certificate ID. Only when `protocol` is `https` can be specified.
func (ListenerOutput) Cookie ¶ added in v3.27.0
func (o ListenerOutput) Cookie() pulumi.StringPtrOutput
The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $.
func (ListenerOutput) CookieTimeout ¶ added in v3.27.0
func (o ListenerOutput) CookieTimeout() pulumi.IntPtrOutput
Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds.
func (ListenerOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o ListenerOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (ListenerOutput) Description ¶ added in v3.27.0
func (o ListenerOutput) Description() pulumi.StringPtrOutput
The description of slb listener. This description can have a string of 1 to 80 characters. Default value: null.
func (ListenerOutput) ElementType ¶
func (ListenerOutput) ElementType() reflect.Type
func (ListenerOutput) EnableHttp2 ¶ added in v3.27.0
func (o ListenerOutput) EnableHttp2() pulumi.StringPtrOutput
Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`.
func (ListenerOutput) EstablishedTimeout ¶ added in v3.27.0
func (o ListenerOutput) EstablishedTimeout() pulumi.IntPtrOutput
Timeout of tcp listener established connection idle timeout. Valid value range: [10-900] in seconds. Default to 900.
func (ListenerOutput) ForwardPort ¶ added in v3.27.0
func (o ListenerOutput) ForwardPort() pulumi.IntPtrOutput
The port that http redirect to https.
func (ListenerOutput) FrontendPort ¶ added in v3.27.0
func (o ListenerOutput) FrontendPort() pulumi.IntOutput
Port used by the Server Load Balancer instance frontend. Valid value range: [1-65535].
func (ListenerOutput) Gzip ¶ added in v3.27.0
func (o ListenerOutput) Gzip() pulumi.BoolPtrOutput
Whether to enable "Gzip Compression". If enabled, files of specific file types will be compressed, otherwise, no files will be compressed. Default to true. Available since v1.13.0+.
func (ListenerOutput) HealthCheck ¶ added in v3.27.0
func (o ListenerOutput) HealthCheck() pulumi.StringPtrOutput
Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener.
func (ListenerOutput) HealthCheckConnectPort ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckConnectPort() pulumi.IntOutput
The port that is used for health checks. Valid value range: [0-65535]. Default to `0` means that the port on a backend server is used for health checks.
func (ListenerOutput) HealthCheckDomain ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckDomain() pulumi.StringPtrOutput
Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check.
func (ListenerOutput) HealthCheckHttpCode ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckHttpCode() pulumi.StringOutput
Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`.
func (ListenerOutput) HealthCheckInterval ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckInterval() pulumi.IntPtrOutput
Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2.
func (ListenerOutput) HealthCheckMethod ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckMethod() pulumi.StringOutput
HealthCheckMethod used for health check.Valid values: ["head", "get"] `http` and `https` support regions ap-northeast-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, us-east-1, us-west-1, eu-central-1, ap-south-1, me-east-1, cn-huhehaote, cn-zhangjiakou, ap-southeast-5, cn-shenzhen, cn-hongkong, cn-qingdao, cn-chengdu, eu-west-1, cn-hangzhou", cn-beijing, cn-shanghai.This function does not support the TCP protocol .
func (ListenerOutput) HealthCheckTimeout ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckTimeout() pulumi.IntPtrOutput
Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`.
func (ListenerOutput) HealthCheckType ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckType() pulumi.StringPtrOutput
Type of health check. Valid values are: `tcp` and `http`. Default to `tcp` . TCP supports TCP and HTTP health check mode, you can select the particular mode depending on your application.
func (ListenerOutput) HealthCheckUri ¶ added in v3.27.0
func (o ListenerOutput) HealthCheckUri() pulumi.StringPtrOutput
URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed.
func (ListenerOutput) HealthyThreshold ¶ added in v3.27.0
func (o ListenerOutput) HealthyThreshold() pulumi.IntPtrOutput
The number of health checks that an unhealthy backend server must consecutively pass before it can be declared healthy. In this case, the health check state is changed from fail to success. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`.
func (ListenerOutput) IdleTimeout ¶ added in v3.27.0
func (o ListenerOutput) IdleTimeout() pulumi.IntPtrOutput
Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15.
func (ListenerOutput) LbPort
deprecated
added in
v3.27.0
func (o ListenerOutput) LbPort() pulumi.IntPtrOutput
Deprecated: Field 'lb_port' has been removed since 1.211.0.
func (ListenerOutput) LbProtocol
deprecated
added in
v3.27.0
func (o ListenerOutput) LbProtocol() pulumi.StringPtrOutput
Deprecated: Field 'lb_protocol' has been removed since 1.211.0.
func (ListenerOutput) ListenerForward ¶ added in v3.27.0
func (o ListenerOutput) ListenerForward() pulumi.StringOutput
Whether to enable http redirect to https, Valid values are `on` and `off`. Default to `off`.
func (ListenerOutput) LoadBalancerId ¶ added in v3.27.0
func (o ListenerOutput) LoadBalancerId() pulumi.StringOutput
The Load Balancer ID which is used to launch a new listener.
func (ListenerOutput) MasterSlaveServerGroupId ¶ added in v3.27.0
func (o ListenerOutput) MasterSlaveServerGroupId() pulumi.StringPtrOutput
The ID of the master slave server group.
func (ListenerOutput) PersistenceTimeout ¶ added in v3.27.0
func (o ListenerOutput) PersistenceTimeout() pulumi.IntPtrOutput
Timeout of connection persistence. Valid value range: [0-3600] in seconds. Default to 0 and means closing it.
func (ListenerOutput) Protocol ¶ added in v3.27.0
func (o ListenerOutput) Protocol() pulumi.StringOutput
The protocol to listen on. Valid values are [`http`, `https`, `tcp`, `udp`].
func (ListenerOutput) ProxyProtocolV2Enabled ¶ added in v3.29.0
func (o ListenerOutput) ProxyProtocolV2Enabled() pulumi.BoolOutput
Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`.
> **NOTE:** Once enable the http redirect to https function, any parameters excepted forward_port,listener_forward,load_balancer_id,frontend_port,protocol will be ignored. More info, please refer to [Redirect http to https](https://www.alibabacloud.com/help/doc-detail/89151.htm?spm=a2c63.p38356.b99.186.42f66384mpjUTB).
> **NOTE:** Advantanced feature such as `tlsCipherPolicy`, can not be updated when load balancer instance is "Shared-Performance". More info, please refer to [Configure a HTTPS Listener](https://www.alibabacloud.com/help/doc-detail/27593.htm).
func (ListenerOutput) RequestTimeout ¶ added in v3.27.0
func (o ListenerOutput) RequestTimeout() pulumi.IntPtrOutput
Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60.
func (ListenerOutput) Scheduler ¶ added in v3.27.0
func (o ListenerOutput) Scheduler() pulumi.StringPtrOutput
Scheduling algorithm, Valid values: `wrr`, `rr`, `wlc`, `sch`, `tcp`, `qch`. Default to `wrr`. Only when `protocol` is `tcp` or `udp`, `scheduler` can be set to `sch`. Only when instance is guaranteed-performance instance and `protocol` is `tcp` or `udp`, `scheduler` can be set to `tch`. Only when instance is guaranteed-performance instance and `protocol` is `udp`, `scheduler` can be set to `qch`.
func (ListenerOutput) ServerCertificateId ¶ added in v3.27.0
func (o ListenerOutput) ServerCertificateId() pulumi.StringOutput
SLB Server certificate ID. It is required when `protocol` is `https`. The `serverCertificateId` is also required when the value of the `sslCertificateId` is Empty.
func (ListenerOutput) ServerGroupId ¶ added in v3.27.0
func (o ListenerOutput) ServerGroupId() pulumi.StringPtrOutput
the id of server group to be apply on the listener, is the id of resource `slb.ServerGroup`.
func (ListenerOutput) SslCertificateId
deprecated
added in
v3.27.0
func (o ListenerOutput) SslCertificateId() pulumi.StringOutput
SLB Server certificate ID. It has been deprecated from 1.59.0 and using `serverCertificateId` instead.
Deprecated: Field 'ssl_certificate_id' has been deprecated from 1.59.0 and using 'server_certificate_id' instead.
func (ListenerOutput) StickySession ¶ added in v3.27.0
func (o ListenerOutput) StickySession() pulumi.StringPtrOutput
Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`.
func (ListenerOutput) StickySessionType ¶ added in v3.27.0
func (o ListenerOutput) StickySessionType() pulumi.StringPtrOutput
Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server.
func (ListenerOutput) TlsCipherPolicy ¶ added in v3.27.0
func (o ListenerOutput) TlsCipherPolicy() pulumi.StringPtrOutput
Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`. Currently the `tlsCipherPolicy` can not be updated when load balancer instance is "Shared-Performance".
func (ListenerOutput) ToListenerOutput ¶
func (o ListenerOutput) ToListenerOutput() ListenerOutput
func (ListenerOutput) ToListenerOutputWithContext ¶
func (o ListenerOutput) ToListenerOutputWithContext(ctx context.Context) ListenerOutput
func (ListenerOutput) UnhealthyThreshold ¶ added in v3.27.0
func (o ListenerOutput) UnhealthyThreshold() pulumi.IntPtrOutput
The number of health checks that a healthy backend server must consecutively fail before it can be declared unhealthy. In this case, the health check state is changed from success to fail. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`.
func (ListenerOutput) XForwardedFor ¶ added in v3.27.0
func (o ListenerOutput) XForwardedFor() ListenerXForwardedForOutput
Whether to set additional HTTP Header field "X-Forwarded-For" (documented below). Available since v1.13.0+. See `xForwardedFor` below.
type ListenerState ¶
type ListenerState struct { // the id of access control list to be apply on the listener, is the id of resource alicloud_slb_acl. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. AclId pulumi.StringPtrInput // Whether to enable "acl(access control list)", the acl is specified by `aclId`. Valid values are `on` and `off`. Default to `off`. AclStatus pulumi.StringPtrInput // Mode for handling the acl specified by acl_id. If `aclStatus` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `white` and `black`. `white` means the Listener can only be accessed by client ip belongs to the acl; `black` means the Listener can not be accessed by client ip belongs to the acl. AclType pulumi.StringPtrInput // Port used by the Server Load Balancer instance backend. Valid value range: [1-65535]. BackendPort pulumi.IntPtrInput // Bandwidth peak of Listener. For the public network instance charged per traffic consumed, the Bandwidth on Listener can be set to -1, indicating the bandwidth peak is unlimited. Valid values are [-1, 1-1000] in Mbps. Bandwidth pulumi.IntPtrInput // SLB CA certificate ID. Only when `protocol` is `https` can be specified. CaCertificateId pulumi.StringPtrInput // The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $. Cookie pulumi.StringPtrInput // Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds. CookieTimeout pulumi.IntPtrInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The description of slb listener. This description can have a string of 1 to 80 characters. Default value: null. Description pulumi.StringPtrInput // Whether to enable https listener support http2 or not. Valid values are `on` and `off`. Default to `on`. EnableHttp2 pulumi.StringPtrInput // Timeout of tcp listener established connection idle timeout. Valid value range: [10-900] in seconds. Default to 900. EstablishedTimeout pulumi.IntPtrInput // The port that http redirect to https. ForwardPort pulumi.IntPtrInput // Port used by the Server Load Balancer instance frontend. Valid value range: [1-65535]. FrontendPort pulumi.IntPtrInput // Whether to enable "Gzip Compression". If enabled, files of specific file types will be compressed, otherwise, no files will be compressed. Default to true. Available since v1.13.0+. Gzip pulumi.BoolPtrInput // Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. HealthCheck pulumi.StringPtrInput // The port that is used for health checks. Valid value range: [0-65535]. Default to `0` means that the port on a backend server is used for health checks. HealthCheckConnectPort pulumi.IntPtrInput // Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check. HealthCheckDomain pulumi.StringPtrInput // Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`. HealthCheckHttpCode pulumi.StringPtrInput // Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2. HealthCheckInterval pulumi.IntPtrInput // HealthCheckMethod used for health check.Valid values: ["head", "get"] `http` and `https` support regions ap-northeast-1, ap-southeast-1, ap-southeast-2, ap-southeast-3, us-east-1, us-west-1, eu-central-1, ap-south-1, me-east-1, cn-huhehaote, cn-zhangjiakou, ap-southeast-5, cn-shenzhen, cn-hongkong, cn-qingdao, cn-chengdu, eu-west-1, cn-hangzhou", cn-beijing, cn-shanghai.This function does not support the TCP protocol . HealthCheckMethod pulumi.StringPtrInput // Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`. HealthCheckTimeout pulumi.IntPtrInput // Type of health check. Valid values are: `tcp` and `http`. Default to `tcp` . TCP supports TCP and HTTP health check mode, you can select the particular mode depending on your application. HealthCheckType pulumi.StringPtrInput // URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed. HealthCheckUri pulumi.StringPtrInput // The number of health checks that an unhealthy backend server must consecutively pass before it can be declared healthy. In this case, the health check state is changed from fail to success. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`. HealthyThreshold pulumi.IntPtrInput // Timeout of http or https listener established connection idle timeout. Valid value range: [1-60] in seconds. Default to 15. IdleTimeout pulumi.IntPtrInput // Deprecated: Field 'lb_port' has been removed since 1.211.0. LbPort pulumi.IntPtrInput // Deprecated: Field 'lb_protocol' has been removed since 1.211.0. LbProtocol pulumi.StringPtrInput // Whether to enable http redirect to https, Valid values are `on` and `off`. Default to `off`. ListenerForward pulumi.StringPtrInput // The Load Balancer ID which is used to launch a new listener. LoadBalancerId pulumi.StringPtrInput // The ID of the master slave server group. MasterSlaveServerGroupId pulumi.StringPtrInput // Timeout of connection persistence. Valid value range: [0-3600] in seconds. Default to 0 and means closing it. PersistenceTimeout pulumi.IntPtrInput // The protocol to listen on. Valid values are [`http`, `https`, `tcp`, `udp`]. Protocol pulumi.StringPtrInput // Whether to support carrying the client source address to the backend server through the Proxy Protocol. Valid values are `true` and `false`. Default to `false`. // // > **NOTE:** Once enable the http redirect to https function, any parameters excepted forward_port,listener_forward,load_balancer_id,frontend_port,protocol will be ignored. More info, please refer to [Redirect http to https](https://www.alibabacloud.com/help/doc-detail/89151.htm?spm=a2c63.p38356.b99.186.42f66384mpjUTB). // // > **NOTE:** Advantanced feature such as `tlsCipherPolicy`, can not be updated when load balancer instance is "Shared-Performance". More info, please refer to [Configure a HTTPS Listener](https://www.alibabacloud.com/help/doc-detail/27593.htm). ProxyProtocolV2Enabled pulumi.BoolPtrInput // Timeout of http or https listener request (which does not get response from backend) timeout. Valid value range: [1-180] in seconds. Default to 60. RequestTimeout pulumi.IntPtrInput // Scheduling algorithm, Valid values: `wrr`, `rr`, `wlc`, `sch`, `tcp`, `qch`. Default to `wrr`. // Only when `protocol` is `tcp` or `udp`, `scheduler` can be set to `sch`. Only when instance is guaranteed-performance instance and `protocol` is `tcp` or `udp`, `scheduler` can be set to `tch`. Only when instance is guaranteed-performance instance and `protocol` is `udp`, `scheduler` can be set to `qch`. Scheduler pulumi.StringPtrInput // SLB Server certificate ID. It is required when `protocol` is `https`. The `serverCertificateId` is also required when the value of the `sslCertificateId` is Empty. ServerCertificateId pulumi.StringPtrInput // the id of server group to be apply on the listener, is the id of resource `slb.ServerGroup`. ServerGroupId pulumi.StringPtrInput // SLB Server certificate ID. It has been deprecated from 1.59.0 and using `serverCertificateId` instead. // // Deprecated: Field 'ssl_certificate_id' has been deprecated from 1.59.0 and using 'server_certificate_id' instead. SslCertificateId pulumi.StringPtrInput // Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. StickySession pulumi.StringPtrInput // Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server. StickySessionType pulumi.StringPtrInput // Https listener TLS cipher policy. Valid values are `tlsCipherPolicy10`, `tlsCipherPolicy11`, `tlsCipherPolicy12`, `tlsCipherPolicy12Strict`. Default to `tlsCipherPolicy10`. Currently the `tlsCipherPolicy` can not be updated when load balancer instance is "Shared-Performance". TlsCipherPolicy pulumi.StringPtrInput // The number of health checks that a healthy backend server must consecutively fail before it can be declared unhealthy. In this case, the health check state is changed from success to fail. It is required when `healthCheck` is on. Valid value range: [2-10] in seconds. Default to 3. **NOTE:** This parameter takes effect only if the `healthCheck` parameter is set to `on`. UnhealthyThreshold pulumi.IntPtrInput // Whether to set additional HTTP Header field "X-Forwarded-For" (documented below). Available since v1.13.0+. See `xForwardedFor` below. XForwardedFor ListenerXForwardedForPtrInput }
func (ListenerState) ElementType ¶
func (ListenerState) ElementType() reflect.Type
type ListenerXForwardedFor ¶
type ListenerXForwardedFor struct { // Whether to retrieve the client ip. It is read-only attribute. RetriveClientIp *bool `pulumi:"retriveClientIp"` // Whether to use the XForwardedFor header to obtain the ID of the SLB instance. Default to false. RetriveSlbId *bool `pulumi:"retriveSlbId"` // Whether to use the XForwardedFor_SLBIP header to obtain the public IP address of the SLB instance. Default to false. RetriveSlbIp *bool `pulumi:"retriveSlbIp"` // Whether to use the XForwardedFor_proto header to obtain the protocol used by the listener. Default to false. RetriveSlbProto *bool `pulumi:"retriveSlbProto"` }
type ListenerXForwardedForArgs ¶
type ListenerXForwardedForArgs struct { // Whether to retrieve the client ip. It is read-only attribute. RetriveClientIp pulumi.BoolPtrInput `pulumi:"retriveClientIp"` // Whether to use the XForwardedFor header to obtain the ID of the SLB instance. Default to false. RetriveSlbId pulumi.BoolPtrInput `pulumi:"retriveSlbId"` // Whether to use the XForwardedFor_SLBIP header to obtain the public IP address of the SLB instance. Default to false. RetriveSlbIp pulumi.BoolPtrInput `pulumi:"retriveSlbIp"` // Whether to use the XForwardedFor_proto header to obtain the protocol used by the listener. Default to false. RetriveSlbProto pulumi.BoolPtrInput `pulumi:"retriveSlbProto"` }
func (ListenerXForwardedForArgs) ElementType ¶
func (ListenerXForwardedForArgs) ElementType() reflect.Type
func (ListenerXForwardedForArgs) ToListenerXForwardedForOutput ¶
func (i ListenerXForwardedForArgs) ToListenerXForwardedForOutput() ListenerXForwardedForOutput
func (ListenerXForwardedForArgs) ToListenerXForwardedForOutputWithContext ¶
func (i ListenerXForwardedForArgs) ToListenerXForwardedForOutputWithContext(ctx context.Context) ListenerXForwardedForOutput
func (ListenerXForwardedForArgs) ToListenerXForwardedForPtrOutput ¶
func (i ListenerXForwardedForArgs) ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput
func (ListenerXForwardedForArgs) ToListenerXForwardedForPtrOutputWithContext ¶
func (i ListenerXForwardedForArgs) ToListenerXForwardedForPtrOutputWithContext(ctx context.Context) ListenerXForwardedForPtrOutput
type ListenerXForwardedForInput ¶
type ListenerXForwardedForInput interface { pulumi.Input ToListenerXForwardedForOutput() ListenerXForwardedForOutput ToListenerXForwardedForOutputWithContext(context.Context) ListenerXForwardedForOutput }
ListenerXForwardedForInput is an input type that accepts ListenerXForwardedForArgs and ListenerXForwardedForOutput values. You can construct a concrete instance of `ListenerXForwardedForInput` via:
ListenerXForwardedForArgs{...}
type ListenerXForwardedForOutput ¶
type ListenerXForwardedForOutput struct{ *pulumi.OutputState }
func (ListenerXForwardedForOutput) ElementType ¶
func (ListenerXForwardedForOutput) ElementType() reflect.Type
func (ListenerXForwardedForOutput) RetriveClientIp ¶
func (o ListenerXForwardedForOutput) RetriveClientIp() pulumi.BoolPtrOutput
Whether to retrieve the client ip. It is read-only attribute.
func (ListenerXForwardedForOutput) RetriveSlbId ¶
func (o ListenerXForwardedForOutput) RetriveSlbId() pulumi.BoolPtrOutput
Whether to use the XForwardedFor header to obtain the ID of the SLB instance. Default to false.
func (ListenerXForwardedForOutput) RetriveSlbIp ¶
func (o ListenerXForwardedForOutput) RetriveSlbIp() pulumi.BoolPtrOutput
Whether to use the XForwardedFor_SLBIP header to obtain the public IP address of the SLB instance. Default to false.
func (ListenerXForwardedForOutput) RetriveSlbProto ¶
func (o ListenerXForwardedForOutput) RetriveSlbProto() pulumi.BoolPtrOutput
Whether to use the XForwardedFor_proto header to obtain the protocol used by the listener. Default to false.
func (ListenerXForwardedForOutput) ToListenerXForwardedForOutput ¶
func (o ListenerXForwardedForOutput) ToListenerXForwardedForOutput() ListenerXForwardedForOutput
func (ListenerXForwardedForOutput) ToListenerXForwardedForOutputWithContext ¶
func (o ListenerXForwardedForOutput) ToListenerXForwardedForOutputWithContext(ctx context.Context) ListenerXForwardedForOutput
func (ListenerXForwardedForOutput) ToListenerXForwardedForPtrOutput ¶
func (o ListenerXForwardedForOutput) ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput
func (ListenerXForwardedForOutput) ToListenerXForwardedForPtrOutputWithContext ¶
func (o ListenerXForwardedForOutput) ToListenerXForwardedForPtrOutputWithContext(ctx context.Context) ListenerXForwardedForPtrOutput
type ListenerXForwardedForPtrInput ¶
type ListenerXForwardedForPtrInput interface { pulumi.Input ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput ToListenerXForwardedForPtrOutputWithContext(context.Context) ListenerXForwardedForPtrOutput }
ListenerXForwardedForPtrInput is an input type that accepts ListenerXForwardedForArgs, ListenerXForwardedForPtr and ListenerXForwardedForPtrOutput values. You can construct a concrete instance of `ListenerXForwardedForPtrInput` via:
ListenerXForwardedForArgs{...} or: nil
func ListenerXForwardedForPtr ¶
func ListenerXForwardedForPtr(v *ListenerXForwardedForArgs) ListenerXForwardedForPtrInput
type ListenerXForwardedForPtrOutput ¶
type ListenerXForwardedForPtrOutput struct{ *pulumi.OutputState }
func (ListenerXForwardedForPtrOutput) Elem ¶
func (o ListenerXForwardedForPtrOutput) Elem() ListenerXForwardedForOutput
func (ListenerXForwardedForPtrOutput) ElementType ¶
func (ListenerXForwardedForPtrOutput) ElementType() reflect.Type
func (ListenerXForwardedForPtrOutput) RetriveClientIp ¶
func (o ListenerXForwardedForPtrOutput) RetriveClientIp() pulumi.BoolPtrOutput
Whether to retrieve the client ip. It is read-only attribute.
func (ListenerXForwardedForPtrOutput) RetriveSlbId ¶
func (o ListenerXForwardedForPtrOutput) RetriveSlbId() pulumi.BoolPtrOutput
Whether to use the XForwardedFor header to obtain the ID of the SLB instance. Default to false.
func (ListenerXForwardedForPtrOutput) RetriveSlbIp ¶
func (o ListenerXForwardedForPtrOutput) RetriveSlbIp() pulumi.BoolPtrOutput
Whether to use the XForwardedFor_SLBIP header to obtain the public IP address of the SLB instance. Default to false.
func (ListenerXForwardedForPtrOutput) RetriveSlbProto ¶
func (o ListenerXForwardedForPtrOutput) RetriveSlbProto() pulumi.BoolPtrOutput
Whether to use the XForwardedFor_proto header to obtain the protocol used by the listener. Default to false.
func (ListenerXForwardedForPtrOutput) ToListenerXForwardedForPtrOutput ¶
func (o ListenerXForwardedForPtrOutput) ToListenerXForwardedForPtrOutput() ListenerXForwardedForPtrOutput
func (ListenerXForwardedForPtrOutput) ToListenerXForwardedForPtrOutputWithContext ¶
func (o ListenerXForwardedForPtrOutput) ToListenerXForwardedForPtrOutputWithContext(ctx context.Context) ListenerXForwardedForPtrOutput
type LoadBalancer
deprecated
type LoadBalancer struct { pulumi.CustomResourceState // Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the correspond ing switch. Address pulumi.StringOutput `pulumi:"address"` // The IP version of the SLB instance to be created, which can be set to ipv4 or ipv6 . Default to "ipv4". Now, only internet instance support ipv6 address. AddressIpVersion pulumi.StringPtrOutput `pulumi:"addressIpVersion"` // The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be "intranet". // - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. // - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests. AddressType pulumi.StringOutput `pulumi:"addressType"` // Valid // value is between 1 and 1000, If argument "internetChargeType" is "paybytraffic", then this value will be ignore. Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"` // Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function. DeleteProtection pulumi.StringPtrOutput `pulumi:"deleteProtection"` // The billing method of the load balancer. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". InstanceChargeType pulumi.StringOutput `pulumi:"instanceChargeType"` // Valid // values are `PayByBandwidth`, `PayByTraffic`. If this value is "PayByBandwidth", then argument "internet" must be "true". Default is "PayByTraffic". If load balancer launched in VPC, this value must be "PayByTraffic". // Before version 1.10.1, the valid values are "paybybandwidth" and "paybytraffic". InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"` LoadBalancerName pulumi.StringOutput `pulumi:"loadBalancerName"` // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`. LoadBalancerSpec pulumi.StringOutput `pulumi:"loadBalancerSpec"` // The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. MasterZoneId pulumi.StringOutput `pulumi:"masterZoneId"` // The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`. ModificationProtectionReason pulumi.StringPtrOutput `pulumi:"modificationProtectionReason"` // The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`. ModificationProtectionStatus pulumi.StringOutput `pulumi:"modificationProtectionStatus"` // Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead Name pulumi.StringOutput `pulumi:"name"` // The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36]. // > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource. Period pulumi.IntPtrOutput `pulumi:"period"` // The Id of resource group which the SLB belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. SlaveZoneId pulumi.StringOutput `pulumi:"slaveZoneId"` // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. // Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium", // "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large". // // Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead Specification pulumi.StringOutput `pulumi:"specification"` // The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`. // // > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible. // // > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing. // // > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance. Tags pulumi.MapOutput `pulumi:"tags"` // The VSwitch ID to launch in. If `addressType` is internet, it will be ignore. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` }
> **NOTE:** Deprecated since v1.123.1.
> **DEPRECATED:** This resource has been renamed to slb.ApplicationLoadBalancer from version 1.123.1.
Provides an Application Load Balancer resource.
> **NOTE:** At present, to avoid some unnecessary regulation confusion, SLB can not support alicloud international account to create "paybybandwidth" instance.
> **NOTE:** The supported specifications vary by region. Currently not all regions support guaranteed-performance instances. For more details about guaranteed-performance instance, see [Guaranteed-performance instances](https://www.alibabacloud.com/help/en/slb/classic-load-balancer/developer-reference/api-createloadbalancer-2#t4182.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "terraformslbconfig" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/21"), ZoneId: *pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String(name), }) if err != nil { return err } _, err = slb.NewLoadBalancer(ctx, "defaultLoadBalancer", &slb.LoadBalancerArgs{ LoadBalancerName: pulumi.String(name), LoadBalancerSpec: pulumi.String("slb.s2.small"), VswitchId: defaultSwitch.ID(), Tags: pulumi.Map{ "tag_a": pulumi.Any(1), "tag_b": pulumi.Any(2), "tag_c": pulumi.Any(3), "tag_d": pulumi.Any(4), "tag_e": pulumi.Any(5), "tag_f": pulumi.Any(6), "tag_g": pulumi.Any(7), "tag_h": pulumi.Any(8), "tag_i": pulumi.Any(9), "tag_j": pulumi.Any(10), }, }) if err != nil { return err } return nil }) }
```
## Import
Load balancer can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/loadBalancer:LoadBalancer example lb-abc123456
```
Deprecated: This resource has been deprecated in favour of the ApplicationLoadBalancer resource
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 ¶
func (*LoadBalancer) ElementType() reflect.Type
func (*LoadBalancer) ToLoadBalancerOutput ¶
func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput
func (*LoadBalancer) ToLoadBalancerOutputWithContext ¶
func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
type LoadBalancerArgs ¶
type LoadBalancerArgs struct { // Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the correspond ing switch. Address pulumi.StringPtrInput // The IP version of the SLB instance to be created, which can be set to ipv4 or ipv6 . Default to "ipv4". Now, only internet instance support ipv6 address. AddressIpVersion pulumi.StringPtrInput // The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be "intranet". // - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. // - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests. AddressType pulumi.StringPtrInput // Valid // value is between 1 and 1000, If argument "internetChargeType" is "paybytraffic", then this value will be ignore. Bandwidth pulumi.IntPtrInput // Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function. DeleteProtection pulumi.StringPtrInput // The billing method of the load balancer. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". InstanceChargeType pulumi.StringPtrInput // Valid // values are `PayByBandwidth`, `PayByTraffic`. If this value is "PayByBandwidth", then argument "internet" must be "true". Default is "PayByTraffic". If load balancer launched in VPC, this value must be "PayByTraffic". // Before version 1.10.1, the valid values are "paybybandwidth" and "paybytraffic". InternetChargeType pulumi.StringPtrInput LoadBalancerName pulumi.StringPtrInput // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`. LoadBalancerSpec pulumi.StringPtrInput // The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. MasterZoneId pulumi.StringPtrInput // The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`. ModificationProtectionReason pulumi.StringPtrInput // The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`. ModificationProtectionStatus pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead Name pulumi.StringPtrInput // The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`. PaymentType pulumi.StringPtrInput // The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36]. // > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource. Period pulumi.IntPtrInput // The Id of resource group which the SLB belongs. ResourceGroupId pulumi.StringPtrInput // The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. SlaveZoneId pulumi.StringPtrInput // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. // Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium", // "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large". // // Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead Specification pulumi.StringPtrInput // The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`. // // > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible. // // > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing. // // > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance. Tags pulumi.MapInput // The VSwitch ID to launch in. If `addressType` is internet, it will be ignore. VswitchId pulumi.StringPtrInput }
The set of arguments for constructing a LoadBalancer resource.
func (LoadBalancerArgs) ElementType ¶
func (LoadBalancerArgs) ElementType() reflect.Type
type LoadBalancerArray ¶
type LoadBalancerArray []LoadBalancerInput
func (LoadBalancerArray) ElementType ¶
func (LoadBalancerArray) ElementType() reflect.Type
func (LoadBalancerArray) ToLoadBalancerArrayOutput ¶
func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext ¶
func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
type LoadBalancerArrayInput ¶
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 ¶
type LoadBalancerArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerArrayOutput) ElementType ¶
func (LoadBalancerArrayOutput) ElementType() reflect.Type
func (LoadBalancerArrayOutput) Index ¶
func (o LoadBalancerArrayOutput) Index(i pulumi.IntInput) LoadBalancerOutput
func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput ¶
func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext ¶
func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput
type LoadBalancerInput ¶
type LoadBalancerInput interface { pulumi.Input ToLoadBalancerOutput() LoadBalancerOutput ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput }
type LoadBalancerMap ¶
type LoadBalancerMap map[string]LoadBalancerInput
func (LoadBalancerMap) ElementType ¶
func (LoadBalancerMap) ElementType() reflect.Type
func (LoadBalancerMap) ToLoadBalancerMapOutput ¶
func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput
func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext ¶
func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
type LoadBalancerMapInput ¶
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 ¶
type LoadBalancerMapOutput struct{ *pulumi.OutputState }
func (LoadBalancerMapOutput) ElementType ¶
func (LoadBalancerMapOutput) ElementType() reflect.Type
func (LoadBalancerMapOutput) MapIndex ¶
func (o LoadBalancerMapOutput) MapIndex(k pulumi.StringInput) LoadBalancerOutput
func (LoadBalancerMapOutput) ToLoadBalancerMapOutput ¶
func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput
func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext ¶
func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput
type LoadBalancerOutput ¶
type LoadBalancerOutput struct{ *pulumi.OutputState }
func (LoadBalancerOutput) Address ¶ added in v3.27.0
func (o LoadBalancerOutput) Address() pulumi.StringOutput
Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the correspond ing switch.
func (LoadBalancerOutput) AddressIpVersion ¶ added in v3.27.0
func (o LoadBalancerOutput) AddressIpVersion() pulumi.StringPtrOutput
The IP version of the SLB instance to be created, which can be set to ipv4 or ipv6 . Default to "ipv4". Now, only internet instance support ipv6 address.
func (LoadBalancerOutput) AddressType ¶ added in v3.27.0
func (o LoadBalancerOutput) AddressType() pulumi.StringOutput
The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be "intranet". - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests.
func (LoadBalancerOutput) Bandwidth ¶ added in v3.27.0
func (o LoadBalancerOutput) Bandwidth() pulumi.IntPtrOutput
Valid value is between 1 and 1000, If argument "internetChargeType" is "paybytraffic", then this value will be ignore.
func (LoadBalancerOutput) DeleteProtection ¶ added in v3.27.0
func (o LoadBalancerOutput) DeleteProtection() pulumi.StringPtrOutput
Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function.
func (LoadBalancerOutput) ElementType ¶
func (LoadBalancerOutput) ElementType() reflect.Type
func (LoadBalancerOutput) InstanceChargeType ¶ added in v3.27.0
func (o LoadBalancerOutput) InstanceChargeType() pulumi.StringOutput
The billing method of the load balancer. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".
func (LoadBalancerOutput) InternetChargeType ¶ added in v3.27.0
func (o LoadBalancerOutput) InternetChargeType() pulumi.StringPtrOutput
Valid values are `PayByBandwidth`, `PayByTraffic`. If this value is "PayByBandwidth", then argument "internet" must be "true". Default is "PayByTraffic". If load balancer launched in VPC, this value must be "PayByTraffic". Before version 1.10.1, the valid values are "paybybandwidth" and "paybytraffic".
func (LoadBalancerOutput) LoadBalancerName ¶ added in v3.27.0
func (o LoadBalancerOutput) LoadBalancerName() pulumi.StringOutput
func (LoadBalancerOutput) LoadBalancerSpec ¶ added in v3.27.0
func (o LoadBalancerOutput) LoadBalancerSpec() pulumi.StringOutput
The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`.
func (LoadBalancerOutput) MasterZoneId ¶ added in v3.27.0
func (o LoadBalancerOutput) MasterZoneId() pulumi.StringOutput
The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.
func (LoadBalancerOutput) ModificationProtectionReason ¶ added in v3.27.0
func (o LoadBalancerOutput) ModificationProtectionReason() pulumi.StringPtrOutput
The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`.
func (LoadBalancerOutput) ModificationProtectionStatus ¶ added in v3.27.0
func (o LoadBalancerOutput) ModificationProtectionStatus() pulumi.StringOutput
The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`.
func (LoadBalancerOutput) Name
deprecated
added in
v3.27.0
func (o LoadBalancerOutput) Name() pulumi.StringOutput
Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead.
Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead
func (LoadBalancerOutput) PaymentType ¶ added in v3.27.0
func (o LoadBalancerOutput) PaymentType() pulumi.StringOutput
The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
func (LoadBalancerOutput) Period ¶ added in v3.27.0
func (o LoadBalancerOutput) Period() pulumi.IntPtrOutput
The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36]. > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
func (LoadBalancerOutput) ResourceGroupId ¶ added in v3.27.0
func (o LoadBalancerOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the SLB belongs.
func (LoadBalancerOutput) SlaveZoneId ¶ added in v3.27.0
func (o LoadBalancerOutput) SlaveZoneId() pulumi.StringOutput
The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.
func (LoadBalancerOutput) Specification
deprecated
added in
v3.27.0
func (o LoadBalancerOutput) Specification() pulumi.StringOutput
The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium", "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large".
Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead
func (LoadBalancerOutput) Status ¶ added in v3.27.0
func (o LoadBalancerOutput) Status() pulumi.StringOutput
The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`.
> **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
> **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
> **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
func (LoadBalancerOutput) Tags ¶ added in v3.27.0
func (o LoadBalancerOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance.
func (LoadBalancerOutput) ToLoadBalancerOutput ¶
func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput
func (LoadBalancerOutput) ToLoadBalancerOutputWithContext ¶
func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
func (LoadBalancerOutput) VswitchId ¶ added in v3.27.0
func (o LoadBalancerOutput) VswitchId() pulumi.StringPtrOutput
The VSwitch ID to launch in. If `addressType` is internet, it will be ignore.
type LoadBalancerState ¶
type LoadBalancerState struct { // Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the correspond ing switch. Address pulumi.StringPtrInput // The IP version of the SLB instance to be created, which can be set to ipv4 or ipv6 . Default to "ipv4". Now, only internet instance support ipv6 address. AddressIpVersion pulumi.StringPtrInput // The network type of the SLB instance. Valid values: ["internet", "intranet"]. If load balancer launched in VPC, this value must be "intranet". // - internet: After an Internet SLB instance is created, the system allocates a public IP address so that the instance can forward requests from the Internet. // - intranet: After an intranet SLB instance is created, the system allocates an intranet IP address so that the instance can only forward intranet requests. AddressType pulumi.StringPtrInput // Valid // value is between 1 and 1000, If argument "internetChargeType" is "paybytraffic", then this value will be ignore. Bandwidth pulumi.IntPtrInput // Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function. DeleteProtection pulumi.StringPtrInput // The billing method of the load balancer. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". InstanceChargeType pulumi.StringPtrInput // Valid // values are `PayByBandwidth`, `PayByTraffic`. If this value is "PayByBandwidth", then argument "internet" must be "true". Default is "PayByTraffic". If load balancer launched in VPC, this value must be "PayByTraffic". // Before version 1.10.1, the valid values are "paybybandwidth" and "paybytraffic". InternetChargeType pulumi.StringPtrInput LoadBalancerName pulumi.StringPtrInput // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`. LoadBalancerSpec pulumi.StringPtrInput // The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. MasterZoneId pulumi.StringPtrInput // The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`. ModificationProtectionReason pulumi.StringPtrInput // The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`. ModificationProtectionStatus pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead Name pulumi.StringPtrInput // The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`. PaymentType pulumi.StringPtrInput // The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36]. // > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource. Period pulumi.IntPtrInput // The Id of resource group which the SLB belongs. ResourceGroupId pulumi.StringPtrInput // The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API. SlaveZoneId pulumi.StringPtrInput // The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. // Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium", // "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large". // // Deprecated: Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead Specification pulumi.StringPtrInput // The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`. // // > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible. // // > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing. // // > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance. Tags pulumi.MapInput // The VSwitch ID to launch in. If `addressType` is internet, it will be ignore. VswitchId pulumi.StringPtrInput }
func (LoadBalancerState) ElementType ¶
func (LoadBalancerState) ElementType() reflect.Type
type MasterSlaveServerGroup ¶
type MasterSlaveServerGroup struct { pulumi.CustomResourceState // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // The Load Balancer ID which is used to launch a new master slave server group. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // Name of the master slave server group. Name pulumi.StringOutput `pulumi:"name"` // A list of ECS instances to be added. Only two ECS instances can be supported in one resource. It contains six sub-fields as `Block server` follows. Servers MasterSlaveServerGroupServerArrayOutput `pulumi:"servers"` }
A master slave server group contains two ECS instances. The master slave server group can help you to define multiple listening dimension.
> **NOTE:** One ECS instance can be added into multiple master slave server groups.
> **NOTE:** One master slave server group can only add two ECS instances, which are master server and slave server.
> **NOTE:** One master slave server group can be attached with tcp/udp listeners in one load balancer.
> **NOTE:** One Classic and Internet load balancer, its master slave server group can add Classic and VPC ECS instances.
> **NOTE:** One Classic and Intranet load balancer, its master slave server group can only add Classic ECS instances.
> **NOTE:** One VPC load balancer, its master slave server group can only add the same VPC ECS instances.
> **NOTE:** Available in 1.54.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { msServerGroupZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } msServerGroupInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(msServerGroupZones.Zones[0].Id), EniAmount: pulumi.IntRef(2), }, nil) if err != nil { return err } image, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_18.*64"), MostRecent: pulumi.BoolRef(true), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } cfg := config.New(ctx, "") slbMasterSlaveServerGroup := "forSlbMasterSlaveServerGroup" if param := cfg.Get("slbMasterSlaveServerGroup"); param != "" { slbMasterSlaveServerGroup = param } mainNetwork, err := vpc.NewNetwork(ctx, "mainNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(slbMasterSlaveServerGroup), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } mainSwitch, err := vpc.NewSwitch(ctx, "mainSwitch", &vpc.SwitchArgs{ VpcId: mainNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/16"), ZoneId: *pulumi.String(msServerGroupZones.Zones[0].Id), VswitchName: pulumi.String(slbMasterSlaveServerGroup), }) if err != nil { return err } groupSecurityGroup, err := ecs.NewSecurityGroup(ctx, "groupSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: mainNetwork.ID(), }) if err != nil { return err } var msServerGroupInstance []*ecs.Instance for index := 0; index < 2; index++ { key0 := index _ := index __res, err := ecs.NewInstance(ctx, fmt.Sprintf("msServerGroupInstance-%v", key0), &ecs.InstanceArgs{ ImageId: *pulumi.String(image.Images[0].Id), InstanceType: *pulumi.String(msServerGroupInstanceTypes.InstanceTypes[0].Id), InstanceName: pulumi.String(slbMasterSlaveServerGroup), SecurityGroups: pulumi.StringArray{ groupSecurityGroup.ID(), }, InternetChargeType: pulumi.String("PayByTraffic"), InternetMaxBandwidthOut: pulumi.Int(10), AvailabilityZone: *pulumi.String(msServerGroupZones.Zones[0].Id), InstanceChargeType: pulumi.String("PostPaid"), SystemDiskCategory: pulumi.String("cloud_efficiency"), VswitchId: mainSwitch.ID(), }) if err != nil { return err } msServerGroupInstance = append(msServerGroupInstance, __res) } msServerGroupApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "msServerGroupApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(slbMasterSlaveServerGroup), VswitchId: mainSwitch.ID(), LoadBalancerSpec: pulumi.String("slb.s2.small"), }) if err != nil { return err } msServerGroupEcsNetworkInterface, err := ecs.NewEcsNetworkInterface(ctx, "msServerGroupEcsNetworkInterface", &ecs.EcsNetworkInterfaceArgs{ NetworkInterfaceName: pulumi.String(slbMasterSlaveServerGroup), VswitchId: mainSwitch.ID(), SecurityGroupIds: pulumi.StringArray{ groupSecurityGroup.ID(), }, }) if err != nil { return err } _, err = ecs.NewEcsNetworkInterfaceAttachment(ctx, "msServerGroupEcsNetworkInterfaceAttachment", &ecs.EcsNetworkInterfaceAttachmentArgs{ InstanceId: msServerGroupInstance[0].ID(), NetworkInterfaceId: msServerGroupEcsNetworkInterface.ID(), }) if err != nil { return err } groupMasterSlaveServerGroup, err := slb.NewMasterSlaveServerGroup(ctx, "groupMasterSlaveServerGroup", &slb.MasterSlaveServerGroupArgs{ LoadBalancerId: msServerGroupApplicationLoadBalancer.ID(), Servers: slb.MasterSlaveServerGroupServerArray{ &slb.MasterSlaveServerGroupServerArgs{ ServerId: msServerGroupInstance[0].ID(), Port: pulumi.Int(100), Weight: pulumi.Int(100), ServerType: pulumi.String("Master"), }, &slb.MasterSlaveServerGroupServerArgs{ ServerId: msServerGroupInstance[1].ID(), Port: pulumi.Int(100), Weight: pulumi.Int(100), ServerType: pulumi.String("Slave"), }, }, }) if err != nil { return err } _, err = slb.NewListener(ctx, "tcp", &slb.ListenerArgs{ LoadBalancerId: msServerGroupApplicationLoadBalancer.ID(), MasterSlaveServerGroupId: groupMasterSlaveServerGroup.ID(), FrontendPort: pulumi.Int(22), Protocol: pulumi.String("tcp"), Bandwidth: pulumi.Int(10), HealthCheckType: pulumi.String("tcp"), PersistenceTimeout: pulumi.Int(3600), HealthyThreshold: pulumi.Int(8), UnhealthyThreshold: pulumi.Int(8), HealthCheckTimeout: pulumi.Int(8), HealthCheckInterval: pulumi.Int(5), HealthCheckHttpCode: pulumi.String("http_2xx"), HealthCheckConnectPort: pulumi.Int(20), HealthCheckUri: pulumi.String("/console"), EstablishedTimeout: pulumi.Int(600), }) if err != nil { return err } return nil }) }
``` ## Block servers
The servers mapping supports the following:
* `serverIds` - (Required) A list backend server ID (ECS instance ID). * `port` - (Required) The port used by the backend server. Valid value range: [1-65535]. * `weight` - (Optional) Weight of the backend server. Valid value range: [0-100]. Default to 100. * `type` - (Optional, Available in 1.51.0+) Type of the backend server. Valid value ecs, eni. Default to eni. * `serverType` - (Optional) The server type of the backend server. Valid value Master, Slave. * `isBackup` - (Removed from v1.63.0) Determine if the server is executing. Valid value 0, 1.
## Import
Load balancer master slave server group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/masterSlaveServerGroup:MasterSlaveServerGroup example abc123456
```
func GetMasterSlaveServerGroup ¶
func GetMasterSlaveServerGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MasterSlaveServerGroupState, opts ...pulumi.ResourceOption) (*MasterSlaveServerGroup, error)
GetMasterSlaveServerGroup gets an existing MasterSlaveServerGroup 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 NewMasterSlaveServerGroup ¶
func NewMasterSlaveServerGroup(ctx *pulumi.Context, name string, args *MasterSlaveServerGroupArgs, opts ...pulumi.ResourceOption) (*MasterSlaveServerGroup, error)
NewMasterSlaveServerGroup registers a new resource with the given unique name, arguments, and options.
func (*MasterSlaveServerGroup) ElementType ¶
func (*MasterSlaveServerGroup) ElementType() reflect.Type
func (*MasterSlaveServerGroup) ToMasterSlaveServerGroupOutput ¶
func (i *MasterSlaveServerGroup) ToMasterSlaveServerGroupOutput() MasterSlaveServerGroupOutput
func (*MasterSlaveServerGroup) ToMasterSlaveServerGroupOutputWithContext ¶
func (i *MasterSlaveServerGroup) ToMasterSlaveServerGroupOutputWithContext(ctx context.Context) MasterSlaveServerGroupOutput
type MasterSlaveServerGroupArgs ¶
type MasterSlaveServerGroupArgs struct { // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The Load Balancer ID which is used to launch a new master slave server group. LoadBalancerId pulumi.StringInput // Name of the master slave server group. Name pulumi.StringPtrInput // A list of ECS instances to be added. Only two ECS instances can be supported in one resource. It contains six sub-fields as `Block server` follows. Servers MasterSlaveServerGroupServerArrayInput }
The set of arguments for constructing a MasterSlaveServerGroup resource.
func (MasterSlaveServerGroupArgs) ElementType ¶
func (MasterSlaveServerGroupArgs) ElementType() reflect.Type
type MasterSlaveServerGroupArray ¶
type MasterSlaveServerGroupArray []MasterSlaveServerGroupInput
func (MasterSlaveServerGroupArray) ElementType ¶
func (MasterSlaveServerGroupArray) ElementType() reflect.Type
func (MasterSlaveServerGroupArray) ToMasterSlaveServerGroupArrayOutput ¶
func (i MasterSlaveServerGroupArray) ToMasterSlaveServerGroupArrayOutput() MasterSlaveServerGroupArrayOutput
func (MasterSlaveServerGroupArray) ToMasterSlaveServerGroupArrayOutputWithContext ¶
func (i MasterSlaveServerGroupArray) ToMasterSlaveServerGroupArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupArrayOutput
type MasterSlaveServerGroupArrayInput ¶
type MasterSlaveServerGroupArrayInput interface { pulumi.Input ToMasterSlaveServerGroupArrayOutput() MasterSlaveServerGroupArrayOutput ToMasterSlaveServerGroupArrayOutputWithContext(context.Context) MasterSlaveServerGroupArrayOutput }
MasterSlaveServerGroupArrayInput is an input type that accepts MasterSlaveServerGroupArray and MasterSlaveServerGroupArrayOutput values. You can construct a concrete instance of `MasterSlaveServerGroupArrayInput` via:
MasterSlaveServerGroupArray{ MasterSlaveServerGroupArgs{...} }
type MasterSlaveServerGroupArrayOutput ¶
type MasterSlaveServerGroupArrayOutput struct{ *pulumi.OutputState }
func (MasterSlaveServerGroupArrayOutput) ElementType ¶
func (MasterSlaveServerGroupArrayOutput) ElementType() reflect.Type
func (MasterSlaveServerGroupArrayOutput) Index ¶
func (o MasterSlaveServerGroupArrayOutput) Index(i pulumi.IntInput) MasterSlaveServerGroupOutput
func (MasterSlaveServerGroupArrayOutput) ToMasterSlaveServerGroupArrayOutput ¶
func (o MasterSlaveServerGroupArrayOutput) ToMasterSlaveServerGroupArrayOutput() MasterSlaveServerGroupArrayOutput
func (MasterSlaveServerGroupArrayOutput) ToMasterSlaveServerGroupArrayOutputWithContext ¶
func (o MasterSlaveServerGroupArrayOutput) ToMasterSlaveServerGroupArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupArrayOutput
type MasterSlaveServerGroupInput ¶
type MasterSlaveServerGroupInput interface { pulumi.Input ToMasterSlaveServerGroupOutput() MasterSlaveServerGroupOutput ToMasterSlaveServerGroupOutputWithContext(ctx context.Context) MasterSlaveServerGroupOutput }
type MasterSlaveServerGroupMap ¶
type MasterSlaveServerGroupMap map[string]MasterSlaveServerGroupInput
func (MasterSlaveServerGroupMap) ElementType ¶
func (MasterSlaveServerGroupMap) ElementType() reflect.Type
func (MasterSlaveServerGroupMap) ToMasterSlaveServerGroupMapOutput ¶
func (i MasterSlaveServerGroupMap) ToMasterSlaveServerGroupMapOutput() MasterSlaveServerGroupMapOutput
func (MasterSlaveServerGroupMap) ToMasterSlaveServerGroupMapOutputWithContext ¶
func (i MasterSlaveServerGroupMap) ToMasterSlaveServerGroupMapOutputWithContext(ctx context.Context) MasterSlaveServerGroupMapOutput
type MasterSlaveServerGroupMapInput ¶
type MasterSlaveServerGroupMapInput interface { pulumi.Input ToMasterSlaveServerGroupMapOutput() MasterSlaveServerGroupMapOutput ToMasterSlaveServerGroupMapOutputWithContext(context.Context) MasterSlaveServerGroupMapOutput }
MasterSlaveServerGroupMapInput is an input type that accepts MasterSlaveServerGroupMap and MasterSlaveServerGroupMapOutput values. You can construct a concrete instance of `MasterSlaveServerGroupMapInput` via:
MasterSlaveServerGroupMap{ "key": MasterSlaveServerGroupArgs{...} }
type MasterSlaveServerGroupMapOutput ¶
type MasterSlaveServerGroupMapOutput struct{ *pulumi.OutputState }
func (MasterSlaveServerGroupMapOutput) ElementType ¶
func (MasterSlaveServerGroupMapOutput) ElementType() reflect.Type
func (MasterSlaveServerGroupMapOutput) MapIndex ¶
func (o MasterSlaveServerGroupMapOutput) MapIndex(k pulumi.StringInput) MasterSlaveServerGroupOutput
func (MasterSlaveServerGroupMapOutput) ToMasterSlaveServerGroupMapOutput ¶
func (o MasterSlaveServerGroupMapOutput) ToMasterSlaveServerGroupMapOutput() MasterSlaveServerGroupMapOutput
func (MasterSlaveServerGroupMapOutput) ToMasterSlaveServerGroupMapOutputWithContext ¶
func (o MasterSlaveServerGroupMapOutput) ToMasterSlaveServerGroupMapOutputWithContext(ctx context.Context) MasterSlaveServerGroupMapOutput
type MasterSlaveServerGroupOutput ¶
type MasterSlaveServerGroupOutput struct{ *pulumi.OutputState }
func (MasterSlaveServerGroupOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o MasterSlaveServerGroupOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (MasterSlaveServerGroupOutput) ElementType ¶
func (MasterSlaveServerGroupOutput) ElementType() reflect.Type
func (MasterSlaveServerGroupOutput) LoadBalancerId ¶ added in v3.27.0
func (o MasterSlaveServerGroupOutput) LoadBalancerId() pulumi.StringOutput
The Load Balancer ID which is used to launch a new master slave server group.
func (MasterSlaveServerGroupOutput) Name ¶ added in v3.27.0
func (o MasterSlaveServerGroupOutput) Name() pulumi.StringOutput
Name of the master slave server group.
func (MasterSlaveServerGroupOutput) Servers ¶ added in v3.27.0
func (o MasterSlaveServerGroupOutput) Servers() MasterSlaveServerGroupServerArrayOutput
A list of ECS instances to be added. Only two ECS instances can be supported in one resource. It contains six sub-fields as `Block server` follows.
func (MasterSlaveServerGroupOutput) ToMasterSlaveServerGroupOutput ¶
func (o MasterSlaveServerGroupOutput) ToMasterSlaveServerGroupOutput() MasterSlaveServerGroupOutput
func (MasterSlaveServerGroupOutput) ToMasterSlaveServerGroupOutputWithContext ¶
func (o MasterSlaveServerGroupOutput) ToMasterSlaveServerGroupOutputWithContext(ctx context.Context) MasterSlaveServerGroupOutput
type MasterSlaveServerGroupServerArgs ¶
type MasterSlaveServerGroupServerArgs struct { IsBackup pulumi.IntPtrInput `pulumi:"isBackup"` Port pulumi.IntInput `pulumi:"port"` ServerId pulumi.StringInput `pulumi:"serverId"` ServerType pulumi.StringPtrInput `pulumi:"serverType"` Type pulumi.StringPtrInput `pulumi:"type"` Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (MasterSlaveServerGroupServerArgs) ElementType ¶
func (MasterSlaveServerGroupServerArgs) ElementType() reflect.Type
func (MasterSlaveServerGroupServerArgs) ToMasterSlaveServerGroupServerOutput ¶
func (i MasterSlaveServerGroupServerArgs) ToMasterSlaveServerGroupServerOutput() MasterSlaveServerGroupServerOutput
func (MasterSlaveServerGroupServerArgs) ToMasterSlaveServerGroupServerOutputWithContext ¶
func (i MasterSlaveServerGroupServerArgs) ToMasterSlaveServerGroupServerOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerOutput
type MasterSlaveServerGroupServerArray ¶
type MasterSlaveServerGroupServerArray []MasterSlaveServerGroupServerInput
func (MasterSlaveServerGroupServerArray) ElementType ¶
func (MasterSlaveServerGroupServerArray) ElementType() reflect.Type
func (MasterSlaveServerGroupServerArray) ToMasterSlaveServerGroupServerArrayOutput ¶
func (i MasterSlaveServerGroupServerArray) ToMasterSlaveServerGroupServerArrayOutput() MasterSlaveServerGroupServerArrayOutput
func (MasterSlaveServerGroupServerArray) ToMasterSlaveServerGroupServerArrayOutputWithContext ¶
func (i MasterSlaveServerGroupServerArray) ToMasterSlaveServerGroupServerArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerArrayOutput
type MasterSlaveServerGroupServerArrayInput ¶
type MasterSlaveServerGroupServerArrayInput interface { pulumi.Input ToMasterSlaveServerGroupServerArrayOutput() MasterSlaveServerGroupServerArrayOutput ToMasterSlaveServerGroupServerArrayOutputWithContext(context.Context) MasterSlaveServerGroupServerArrayOutput }
MasterSlaveServerGroupServerArrayInput is an input type that accepts MasterSlaveServerGroupServerArray and MasterSlaveServerGroupServerArrayOutput values. You can construct a concrete instance of `MasterSlaveServerGroupServerArrayInput` via:
MasterSlaveServerGroupServerArray{ MasterSlaveServerGroupServerArgs{...} }
type MasterSlaveServerGroupServerArrayOutput ¶
type MasterSlaveServerGroupServerArrayOutput struct{ *pulumi.OutputState }
func (MasterSlaveServerGroupServerArrayOutput) ElementType ¶
func (MasterSlaveServerGroupServerArrayOutput) ElementType() reflect.Type
func (MasterSlaveServerGroupServerArrayOutput) ToMasterSlaveServerGroupServerArrayOutput ¶
func (o MasterSlaveServerGroupServerArrayOutput) ToMasterSlaveServerGroupServerArrayOutput() MasterSlaveServerGroupServerArrayOutput
func (MasterSlaveServerGroupServerArrayOutput) ToMasterSlaveServerGroupServerArrayOutputWithContext ¶
func (o MasterSlaveServerGroupServerArrayOutput) ToMasterSlaveServerGroupServerArrayOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerArrayOutput
type MasterSlaveServerGroupServerInput ¶
type MasterSlaveServerGroupServerInput interface { pulumi.Input ToMasterSlaveServerGroupServerOutput() MasterSlaveServerGroupServerOutput ToMasterSlaveServerGroupServerOutputWithContext(context.Context) MasterSlaveServerGroupServerOutput }
MasterSlaveServerGroupServerInput is an input type that accepts MasterSlaveServerGroupServerArgs and MasterSlaveServerGroupServerOutput values. You can construct a concrete instance of `MasterSlaveServerGroupServerInput` via:
MasterSlaveServerGroupServerArgs{...}
type MasterSlaveServerGroupServerOutput ¶
type MasterSlaveServerGroupServerOutput struct{ *pulumi.OutputState }
func (MasterSlaveServerGroupServerOutput) ElementType ¶
func (MasterSlaveServerGroupServerOutput) ElementType() reflect.Type
func (MasterSlaveServerGroupServerOutput) IsBackup ¶
func (o MasterSlaveServerGroupServerOutput) IsBackup() pulumi.IntPtrOutput
func (MasterSlaveServerGroupServerOutput) Port ¶
func (o MasterSlaveServerGroupServerOutput) Port() pulumi.IntOutput
func (MasterSlaveServerGroupServerOutput) ServerId ¶
func (o MasterSlaveServerGroupServerOutput) ServerId() pulumi.StringOutput
func (MasterSlaveServerGroupServerOutput) ServerType ¶
func (o MasterSlaveServerGroupServerOutput) ServerType() pulumi.StringPtrOutput
func (MasterSlaveServerGroupServerOutput) ToMasterSlaveServerGroupServerOutput ¶
func (o MasterSlaveServerGroupServerOutput) ToMasterSlaveServerGroupServerOutput() MasterSlaveServerGroupServerOutput
func (MasterSlaveServerGroupServerOutput) ToMasterSlaveServerGroupServerOutputWithContext ¶
func (o MasterSlaveServerGroupServerOutput) ToMasterSlaveServerGroupServerOutputWithContext(ctx context.Context) MasterSlaveServerGroupServerOutput
func (MasterSlaveServerGroupServerOutput) Type ¶
func (o MasterSlaveServerGroupServerOutput) Type() pulumi.StringPtrOutput
func (MasterSlaveServerGroupServerOutput) Weight ¶
func (o MasterSlaveServerGroupServerOutput) Weight() pulumi.IntPtrOutput
type MasterSlaveServerGroupState ¶
type MasterSlaveServerGroupState struct { // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The Load Balancer ID which is used to launch a new master slave server group. LoadBalancerId pulumi.StringPtrInput // Name of the master slave server group. Name pulumi.StringPtrInput // A list of ECS instances to be added. Only two ECS instances can be supported in one resource. It contains six sub-fields as `Block server` follows. Servers MasterSlaveServerGroupServerArrayInput }
func (MasterSlaveServerGroupState) ElementType ¶
func (MasterSlaveServerGroupState) ElementType() reflect.Type
type Rule ¶
type Rule struct { pulumi.CustomResourceState // The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $. Cookie pulumi.StringPtrOutput `pulumi:"cookie"` // Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds. CookieTimeout pulumi.IntPtrOutput `pulumi:"cookieTimeout"` // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // Domain name of the forwarding rule. It can contain letters a-z, numbers 0-9, hyphens (-), and periods (.), // and wildcard characters. The following two domain name formats are supported: // - Standard domain name: www.test.com // - Wildcard domain name: *.test.com. wildcard (*) must be the first character in the format of (*.) Domain pulumi.StringPtrOutput `pulumi:"domain"` // The listener frontend port which is used to launch the new forwarding rule. Valid range: [1-65535]. FrontendPort pulumi.IntOutput `pulumi:"frontendPort"` // Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. This parameter is required and takes effect only when ListenerSync is set to off. HealthCheck pulumi.StringPtrOutput `pulumi:"healthCheck"` // Port used for health check. Valid value range: [1-65535]. Default to "None" means the backend server port is used. HealthCheckConnectPort pulumi.IntOutput `pulumi:"healthCheckConnectPort"` // Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check. HealthCheckDomain pulumi.StringPtrOutput `pulumi:"healthCheckDomain"` // Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`. HealthCheckHttpCode pulumi.StringPtrOutput `pulumi:"healthCheckHttpCode"` // Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2. HealthCheckInterval pulumi.IntPtrOutput `pulumi:"healthCheckInterval"` // Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`. HealthCheckTimeout pulumi.IntPtrOutput `pulumi:"healthCheckTimeout"` // URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed. HealthCheckUri pulumi.StringPtrOutput `pulumi:"healthCheckUri"` // Threshold determining the result of the health check is success. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3. HealthyThreshold pulumi.IntPtrOutput `pulumi:"healthyThreshold"` // Indicates whether a forwarding rule inherits the settings of a health check , session persistence, and scheduling algorithm from a listener. Default to on. ListenerSync pulumi.StringPtrOutput `pulumi:"listenerSync"` // The Load Balancer ID which is used to launch the new forwarding rule. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // Name of the forwarding rule. Our plugin provides a default name: "tf-slb-rule". Name pulumi.StringOutput `pulumi:"name"` // Scheduling algorithm, Valid values are `wrr`, `rr` and `wlc`. Default to "wrr". This parameter is required and takes effect only when ListenerSync is set to off. Scheduler pulumi.StringPtrOutput `pulumi:"scheduler"` // ID of a virtual server group that will be forwarded. ServerGroupId pulumi.StringOutput `pulumi:"serverGroupId"` // Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. This parameter is required and takes effect only when ListenerSync is set to off. StickySession pulumi.StringPtrOutput `pulumi:"stickySession"` // Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server. StickySessionType pulumi.StringPtrOutput `pulumi:"stickySessionType"` // Threshold determining the result of the health check is fail. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3. UnhealthyThreshold pulumi.IntPtrOutput `pulumi:"unhealthyThreshold"` // Domain of the forwarding rule. It must be 2-80 characters in length. Only letters a-z, numbers 0-9, // and characters '-' '/' '?' '%' '#' and '&' are allowed. URLs must be started with the character '/', but cannot be '/' alone. Url pulumi.StringPtrOutput `pulumi:"url"` }
A forwarding rule is configured in `HTTP`/`HTTPS` listener and it used to listen a list of backend servers which in one specified virtual backend server group. You can add forwarding rules to a listener to forward requests based on the domain names or the URL in the request.
> **NOTE:** One virtual backend server group can be attached in multiple forwarding rules.
> **NOTE:** At least one "Domain" or "Url" must be specified when creating a new rule.
> **NOTE:** Having the same 'Domain' and 'Url' rule can not be created repeatedly in the one listener.
> **NOTE:** Rule only be created in the `HTTP` or `HTTPS` listener.
> **NOTE:** Only rule's virtual server group can be modified.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") slbRuleName := "terraform-example"; if param := cfg.Get("slbRuleName"); param != ""{ slbRuleName = param } ruleZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil); if err != nil { return err } ruleInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(ruleZones.Zones[0].Id), CpuCoreCount: pulumi.IntRef(1), MemorySize: pulumi.Float64Ref(2), }, nil); if err != nil { return err } ruleImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_18.*64"), MostRecent: pulumi.BoolRef(true), Owners: pulumi.StringRef("system"), }, nil); if err != nil { return err } ruleNetwork, err := vpc.NewNetwork(ctx, "ruleNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(slbRuleName), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } ruleSwitch, err := vpc.NewSwitch(ctx, "ruleSwitch", &vpc.SwitchArgs{ VpcId: ruleNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/16"), ZoneId: *pulumi.String(ruleZones.Zones[0].Id), VswitchName: pulumi.String(slbRuleName), }) if err != nil { return err } ruleSecurityGroup, err := ecs.NewSecurityGroup(ctx, "ruleSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: ruleNetwork.ID(), }) if err != nil { return err } var splat0 pulumi.StringArray for _, val0 := range %!v(PANIC=Format method: fatal: An assertion has failed: tok: ) { splat0 = append(splat0, val0.ID()) } _, err = ecs.NewInstance(ctx, "ruleInstance", &ecs.InstanceArgs{ ImageId: *pulumi.String(ruleImages.Images[0].Id), InstanceType: *pulumi.String(ruleInstanceTypes.InstanceTypes[0].Id), SecurityGroups: splat0, InternetChargeType: pulumi.String("PayByTraffic"), InternetMaxBandwidthOut: pulumi.Int(10), AvailabilityZone: *pulumi.String(ruleZones.Zones[0].Id), InstanceChargeType: pulumi.String("PostPaid"), SystemDiskCategory: pulumi.String("cloud_efficiency"), VswitchId: ruleSwitch.ID(), InstanceName: pulumi.String(slbRuleName), }) if err != nil { return err } ruleApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "ruleApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(slbRuleName), VswitchId: ruleSwitch.ID(), InstanceChargeType: pulumi.String("PayByCLCU"), }) if err != nil { return err } ruleListener, err := slb.NewListener(ctx, "ruleListener", &slb.ListenerArgs{ LoadBalancerId: ruleApplicationLoadBalancer.ID(), BackendPort: pulumi.Int(22), FrontendPort: pulumi.Int(22), Protocol: pulumi.String("http"), Bandwidth: pulumi.Int(5), HealthCheckConnectPort: pulumi.Int(20), }) if err != nil { return err } ruleServerGroup, err := slb.NewServerGroup(ctx, "ruleServerGroup", &slb.ServerGroupArgs{ LoadBalancerId: ruleApplicationLoadBalancer.ID(), }) if err != nil { return err } _, err = slb.NewRule(ctx, "ruleRule", &slb.RuleArgs{ LoadBalancerId: ruleApplicationLoadBalancer.ID(), FrontendPort: ruleListener.FrontendPort, Domain: pulumi.String("*.aliyun.com"), Url: pulumi.String("/image"), ServerGroupId: ruleServerGroup.ID(), Cookie: pulumi.String("23ffsa"), CookieTimeout: pulumi.Int(100), HealthCheckHttpCode: pulumi.String("http_2xx"), HealthCheckInterval: pulumi.Int(10), HealthCheckUri: pulumi.String("/test"), HealthCheckConnectPort: pulumi.Int(80), HealthCheckTimeout: pulumi.Int(30), HealthyThreshold: pulumi.Int(3), UnhealthyThreshold: pulumi.Int(5), StickySession: pulumi.String("on"), StickySessionType: pulumi.String("server"), ListenerSync: pulumi.String("off"), Scheduler: pulumi.String("rr"), HealthCheckDomain: pulumi.String("test"), HealthCheck: pulumi.String("on"), }) if err != nil { return err } return nil }) } ```
## Import
Load balancer forwarding rule can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/rule:Rule example rule-abc123456
```
func GetRule ¶
func GetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)
GetRule gets an existing Rule 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 NewRule ¶
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) ElementType ¶
func (*Rule) ToRuleOutput ¶
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶
type RuleArgs struct { // The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $. Cookie pulumi.StringPtrInput // Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds. CookieTimeout pulumi.IntPtrInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // Domain name of the forwarding rule. It can contain letters a-z, numbers 0-9, hyphens (-), and periods (.), // and wildcard characters. The following two domain name formats are supported: // - Standard domain name: www.test.com // - Wildcard domain name: *.test.com. wildcard (*) must be the first character in the format of (*.) Domain pulumi.StringPtrInput // The listener frontend port which is used to launch the new forwarding rule. Valid range: [1-65535]. FrontendPort pulumi.IntInput // Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. This parameter is required and takes effect only when ListenerSync is set to off. HealthCheck pulumi.StringPtrInput // Port used for health check. Valid value range: [1-65535]. Default to "None" means the backend server port is used. HealthCheckConnectPort pulumi.IntPtrInput // Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check. HealthCheckDomain pulumi.StringPtrInput // Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`. HealthCheckHttpCode pulumi.StringPtrInput // Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2. HealthCheckInterval pulumi.IntPtrInput // Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`. HealthCheckTimeout pulumi.IntPtrInput // URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed. HealthCheckUri pulumi.StringPtrInput // Threshold determining the result of the health check is success. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3. HealthyThreshold pulumi.IntPtrInput // Indicates whether a forwarding rule inherits the settings of a health check , session persistence, and scheduling algorithm from a listener. Default to on. ListenerSync pulumi.StringPtrInput // The Load Balancer ID which is used to launch the new forwarding rule. LoadBalancerId pulumi.StringInput // Name of the forwarding rule. Our plugin provides a default name: "tf-slb-rule". Name pulumi.StringPtrInput // Scheduling algorithm, Valid values are `wrr`, `rr` and `wlc`. Default to "wrr". This parameter is required and takes effect only when ListenerSync is set to off. Scheduler pulumi.StringPtrInput // ID of a virtual server group that will be forwarded. ServerGroupId pulumi.StringInput // Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. This parameter is required and takes effect only when ListenerSync is set to off. StickySession pulumi.StringPtrInput // Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server. StickySessionType pulumi.StringPtrInput // Threshold determining the result of the health check is fail. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3. UnhealthyThreshold pulumi.IntPtrInput // Domain of the forwarding rule. It must be 2-80 characters in length. Only letters a-z, numbers 0-9, // and characters '-' '/' '?' '%' '#' and '&' are allowed. URLs must be started with the character '/', but cannot be '/' alone. Url pulumi.StringPtrInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶
type RuleArray ¶
type RuleArray []RuleInput
func (RuleArray) ElementType ¶
func (RuleArray) ToRuleArrayOutput ¶
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶
type RuleArrayInput interface { pulumi.Input ToRuleArrayOutput() RuleArrayOutput ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput }
RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:
RuleArray{ RuleArgs{...} }
type RuleArrayOutput ¶
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleInput ¶
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶
func (RuleMap) ElementType ¶
func (RuleMap) ToRuleMapOutput ¶
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶
type RuleMapInput interface { pulumi.Input ToRuleMapOutput() RuleMapOutput ToRuleMapOutputWithContext(context.Context) RuleMapOutput }
RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:
RuleMap{ "key": RuleArgs{...} }
type RuleMapOutput ¶
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) Cookie ¶ added in v3.27.0
func (o RuleOutput) Cookie() pulumi.StringPtrOutput
The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $.
func (RuleOutput) CookieTimeout ¶ added in v3.27.0
func (o RuleOutput) CookieTimeout() pulumi.IntPtrOutput
Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds.
func (RuleOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o RuleOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (RuleOutput) Domain ¶ added in v3.27.0
func (o RuleOutput) Domain() pulumi.StringPtrOutput
Domain name of the forwarding rule. It can contain letters a-z, numbers 0-9, hyphens (-), and periods (.), and wildcard characters. The following two domain name formats are supported: - Standard domain name: www.test.com - Wildcard domain name: *.test.com. wildcard (*) must be the first character in the format of (*.)
func (RuleOutput) ElementType ¶
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) FrontendPort ¶ added in v3.27.0
func (o RuleOutput) FrontendPort() pulumi.IntOutput
The listener frontend port which is used to launch the new forwarding rule. Valid range: [1-65535].
func (RuleOutput) HealthCheck ¶ added in v3.27.0
func (o RuleOutput) HealthCheck() pulumi.StringPtrOutput
Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. This parameter is required and takes effect only when ListenerSync is set to off.
func (RuleOutput) HealthCheckConnectPort ¶ added in v3.27.0
func (o RuleOutput) HealthCheckConnectPort() pulumi.IntOutput
Port used for health check. Valid value range: [1-65535]. Default to "None" means the backend server port is used.
func (RuleOutput) HealthCheckDomain ¶ added in v3.27.0
func (o RuleOutput) HealthCheckDomain() pulumi.StringPtrOutput
Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check.
func (RuleOutput) HealthCheckHttpCode ¶ added in v3.27.0
func (o RuleOutput) HealthCheckHttpCode() pulumi.StringPtrOutput
Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`.
func (RuleOutput) HealthCheckInterval ¶ added in v3.27.0
func (o RuleOutput) HealthCheckInterval() pulumi.IntPtrOutput
Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2.
func (RuleOutput) HealthCheckTimeout ¶ added in v3.27.0
func (o RuleOutput) HealthCheckTimeout() pulumi.IntPtrOutput
Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`.
func (RuleOutput) HealthCheckUri ¶ added in v3.27.0
func (o RuleOutput) HealthCheckUri() pulumi.StringPtrOutput
URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed.
func (RuleOutput) HealthyThreshold ¶ added in v3.27.0
func (o RuleOutput) HealthyThreshold() pulumi.IntPtrOutput
Threshold determining the result of the health check is success. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3.
func (RuleOutput) ListenerSync ¶ added in v3.27.0
func (o RuleOutput) ListenerSync() pulumi.StringPtrOutput
Indicates whether a forwarding rule inherits the settings of a health check , session persistence, and scheduling algorithm from a listener. Default to on.
func (RuleOutput) LoadBalancerId ¶ added in v3.27.0
func (o RuleOutput) LoadBalancerId() pulumi.StringOutput
The Load Balancer ID which is used to launch the new forwarding rule.
func (RuleOutput) Name ¶ added in v3.27.0
func (o RuleOutput) Name() pulumi.StringOutput
Name of the forwarding rule. Our plugin provides a default name: "tf-slb-rule".
func (RuleOutput) Scheduler ¶ added in v3.27.0
func (o RuleOutput) Scheduler() pulumi.StringPtrOutput
Scheduling algorithm, Valid values are `wrr`, `rr` and `wlc`. Default to "wrr". This parameter is required and takes effect only when ListenerSync is set to off.
func (RuleOutput) ServerGroupId ¶ added in v3.27.0
func (o RuleOutput) ServerGroupId() pulumi.StringOutput
ID of a virtual server group that will be forwarded.
func (RuleOutput) StickySession ¶ added in v3.27.0
func (o RuleOutput) StickySession() pulumi.StringPtrOutput
Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. This parameter is required and takes effect only when ListenerSync is set to off.
func (RuleOutput) StickySessionType ¶ added in v3.27.0
func (o RuleOutput) StickySessionType() pulumi.StringPtrOutput
Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server.
func (RuleOutput) ToRuleOutput ¶
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
func (RuleOutput) UnhealthyThreshold ¶ added in v3.27.0
func (o RuleOutput) UnhealthyThreshold() pulumi.IntPtrOutput
Threshold determining the result of the health check is fail. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3.
func (RuleOutput) Url ¶ added in v3.27.0
func (o RuleOutput) Url() pulumi.StringPtrOutput
Domain of the forwarding rule. It must be 2-80 characters in length. Only letters a-z, numbers 0-9, and characters '-' '/' '?' '%' '#' and '&' are allowed. URLs must be started with the character '/', but cannot be '/' alone.
type RuleState ¶
type RuleState struct { // The cookie configured on the server. It is mandatory when `stickySession` is "on" and `stickySessionType` is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $. Cookie pulumi.StringPtrInput // Cookie timeout. It is mandatory when `stickySession` is "on" and `stickySessionType` is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds. CookieTimeout pulumi.IntPtrInput // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // Domain name of the forwarding rule. It can contain letters a-z, numbers 0-9, hyphens (-), and periods (.), // and wildcard characters. The following two domain name formats are supported: // - Standard domain name: www.test.com // - Wildcard domain name: *.test.com. wildcard (*) must be the first character in the format of (*.) Domain pulumi.StringPtrInput // The listener frontend port which is used to launch the new forwarding rule. Valid range: [1-65535]. FrontendPort pulumi.IntPtrInput // Whether to enable health check. Valid values are`on` and `off`. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. This parameter is required and takes effect only when ListenerSync is set to off. HealthCheck pulumi.StringPtrInput // Port used for health check. Valid value range: [1-65535]. Default to "None" means the backend server port is used. HealthCheckConnectPort pulumi.IntPtrInput // Domain name used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check. HealthCheckDomain pulumi.StringPtrInput // Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when `healthCheck` is on. Default to `http2xx`. Valid values are: `http2xx`, `http3xx`, `http4xx` and `http5xx`. HealthCheckHttpCode pulumi.StringPtrInput // Time interval of health checks. It is required when `healthCheck` is on. Valid value range: [1-50] in seconds. Default to 2. HealthCheckInterval pulumi.IntPtrInput // Maximum timeout of each health check response. It is required when `healthCheck` is on. Valid value range: [1-300] in seconds. Default to 5. Note: If `healthCheckTimeout` < `healthCheckInterval`, its will be replaced by `healthCheckInterval`. HealthCheckTimeout pulumi.IntPtrInput // URI used for health check. When it used to launch TCP listener, `healthCheckType` must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed. HealthCheckUri pulumi.StringPtrInput // Threshold determining the result of the health check is success. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3. HealthyThreshold pulumi.IntPtrInput // Indicates whether a forwarding rule inherits the settings of a health check , session persistence, and scheduling algorithm from a listener. Default to on. ListenerSync pulumi.StringPtrInput // The Load Balancer ID which is used to launch the new forwarding rule. LoadBalancerId pulumi.StringPtrInput // Name of the forwarding rule. Our plugin provides a default name: "tf-slb-rule". Name pulumi.StringPtrInput // Scheduling algorithm, Valid values are `wrr`, `rr` and `wlc`. Default to "wrr". This parameter is required and takes effect only when ListenerSync is set to off. Scheduler pulumi.StringPtrInput // ID of a virtual server group that will be forwarded. ServerGroupId pulumi.StringPtrInput // Whether to enable session persistence, Valid values are `on` and `off`. Default to `off`. This parameter is required and takes effect only when ListenerSync is set to off. StickySession pulumi.StringPtrInput // Mode for handling the cookie. If `stickySession` is "on", it is mandatory. Otherwise, it will be ignored. Valid values are `insert` and `server`. `insert` means it is inserted from Server Load Balancer; `server` means the Server Load Balancer learns from the backend server. StickySessionType pulumi.StringPtrInput // Threshold determining the result of the health check is fail. It is required when `healthCheck` is on. Valid value range: [1-10] in seconds. Default to 3. UnhealthyThreshold pulumi.IntPtrInput // Domain of the forwarding rule. It must be 2-80 characters in length. Only letters a-z, numbers 0-9, // and characters '-' '/' '?' '%' '#' and '&' are allowed. URLs must be started with the character '/', but cannot be '/' alone. Url pulumi.StringPtrInput }
func (RuleState) ElementType ¶
type ServerCertificate ¶
type ServerCertificate struct { pulumi.CustomResourceState // Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it. AlicloudCertifacteId pulumi.StringPtrOutput `pulumi:"alicloudCertifacteId"` // Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it. AlicloudCertifacteName pulumi.StringPtrOutput `pulumi:"alicloudCertifacteName"` // an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now. AlicloudCertificateId pulumi.StringPtrOutput `pulumi:"alicloudCertificateId"` // the name of the certificate specified by `alicloudCertificateId`.but it is not supported on the international site of alibaba cloud now. AlicloudCertificateName pulumi.StringPtrOutput `pulumi:"alicloudCertificateName"` // the region of the certificate specified by `alicloudCertificateId`. but it is not supported on the international site of alibaba cloud now. AlicloudCertificateRegionId pulumi.StringPtrOutput `pulumi:"alicloudCertificateRegionId"` // Name of the Server Certificate. Name pulumi.StringOutput `pulumi:"name"` // the content of privat key of the ssl certificate specified by `serverCertificate`. where `alicloudCertificateId` is null, it is required, otherwise it is ignored. PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The Id of resource group which the slb server certificate belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // the content of the ssl certificate. where `alicloudCertificateId` is null, it is required, otherwise it is ignored. ServerCertificate pulumi.StringPtrOutput `pulumi:"serverCertificate"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
A Load Balancer Server Certificate is an ssl Certificate used by the listener of the protocol https.
For information about slb and how to use it, see [What is Server Load Balancer](https://www.alibabacloud.com/help/doc-detail/27539.htm).
For information about Server Certificate and how to use it, see [Configure Server Certificate](https://www.alibabacloud.com/help/doc-detail/85968.htm).
## Example Usage
* using server_certificate/private content as string example
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewServerCertificate(ctx, "foo", &slb.ServerCertificateArgs{ PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9 BVuFIBoU8nrPY9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2C NIzxr9DjCzN5tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQAB AoGARe2oaCo5lTDK+c4Zx3392hoqQ94r0DmWHPBvNmwAooYd+YxLPrLMe5sMjY4t dmohnLNevCK1Uzw5eIX6BNSo5CORBcIDRmiAgwiYiS3WOv2+qi9g5uIdMiDr+EED K8wZJjB5E2WyfxL507vtW4T5L36yfr8SkmqH3GvzpI2jCqECQQDsy0AmBzyfK0tG Nw1+iF9SReJWgb1f5iHvz+6Dt5ueVQngrl/5++Gp5bNoaQMkLEDsy0iHIj9j43ji 0DON05uDAkEA1GXgGn8MXXKyuzYuoyYXCBH7aF579d7KEGET/jjnXx9DHcfRJZBY B9ghMnnonSOGboF04Zsdd3xwYF/3OHYssQJAekd/SeQEzyE5TvoQ8t2Tc9X4yrlW xNX/gmp6/fPr3biGUEtb7qi+4NBodCt+XsingmB7hKUP3RJTk7T2WnAC5wJAMqHi jY5x3SkFkHl3Hq9q2CKpQxUbCd7FXqg1wum/xj5GmqfSpNjHE3+jUkwbdrJMTrWP rmRy3tQMWf0mixAo0QJBAN4IcZChanq8cZyNqqoNbxGm4hkxUmE0W4hxHmLC2CYZ V4JpNm8dpi4CiMWLasF6TYlVMgX+aPxYRUWc/qqf1/Q= -----END RSA PRIVATE KEY----- `),
ServerCertificate: pulumi.String(`-----BEGIN CERTIFICATE-----
MIICWDCCAcGgAwIBAgIJAP7vOtjPtQIjMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV BAYTAkNOMRMwEQYDVQQIDApjbi1iZWlqaW5nMSEwHwYDVQQKDBhJbnRlcm5ldCBX aWRnaXRzIFB0eSBMdGQwHhcNMjAxMDIwMDYxOTUxWhcNMjAxMTE5MDYxOTUxWjBF MQswCQYDVQQGEwJDTjETMBEGA1UECAwKY24tYmVpamluZzEhMB8GA1UECgwYSW50 ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB gQDEdoyaJ0kdtjtbLRx5X9qwI7FblhJPRcScvhQSE8P5y/b/T8J9BVuFIBoU8nrP Y9ABz4JFklZ6SznxLbFBqtXoJTmzV6ixyjjH+AGEw6hCiA8Pqy2CNIzxr9DjCzN5 tWruiHqO60O3Bve6cHipH0VyLAhrB85mflvOZSH4xGsJkwIDAQABo1AwTjAdBgNV HQ4EFgQUYDwuuqC2a2UPrfm1v31vE7+GRM4wHwYDVR0jBBgwFoAUYDwuuqC2a2UP rfm1v31vE7+GRM4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAovSB0 5JRKrg7lYR/KlTuKHmozfyL9UER0/dpTSoqsCyt8yc1BbtAKUJWh09BujBE1H22f lKvCAjhPmnNdfd/l9GrmAWNDWEDPLdUTkGSkKAScMpdS+mLmOBuYWgdnOtq3eQGf t07tlBL+dtzrrohHpfLeuNyYb40g8VQdp3RRRQ== -----END CERTIFICATE----- `),
}) if err != nil { return err } return nil }) }
```
* using server_certificate/private file example
```go package main
import (
"fmt" "os" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewServerCertificate(ctx, "foo", &slb.ServerCertificateArgs{ ServerCertificate: readFileOrPanic(fmt.Sprintf("%v/server_certificate.pem", path.Module)), PrivateKey: readFileOrPanic(fmt.Sprintf("%v/private_key.pem", path.Module)), }) if err != nil { return err } return nil }) }
```
## Import
Server Load balancer Server Certificate can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/serverCertificate:ServerCertificate example abc123456
```
func GetServerCertificate ¶
func GetServerCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerCertificateState, opts ...pulumi.ResourceOption) (*ServerCertificate, error)
GetServerCertificate gets an existing ServerCertificate 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 NewServerCertificate ¶
func NewServerCertificate(ctx *pulumi.Context, name string, args *ServerCertificateArgs, opts ...pulumi.ResourceOption) (*ServerCertificate, error)
NewServerCertificate registers a new resource with the given unique name, arguments, and options.
func (*ServerCertificate) ElementType ¶
func (*ServerCertificate) ElementType() reflect.Type
func (*ServerCertificate) ToServerCertificateOutput ¶
func (i *ServerCertificate) ToServerCertificateOutput() ServerCertificateOutput
func (*ServerCertificate) ToServerCertificateOutputWithContext ¶
func (i *ServerCertificate) ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput
type ServerCertificateArgs ¶
type ServerCertificateArgs struct { // Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it. AlicloudCertifacteId pulumi.StringPtrInput // Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it. AlicloudCertifacteName pulumi.StringPtrInput // an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now. AlicloudCertificateId pulumi.StringPtrInput // the name of the certificate specified by `alicloudCertificateId`.but it is not supported on the international site of alibaba cloud now. AlicloudCertificateName pulumi.StringPtrInput // the region of the certificate specified by `alicloudCertificateId`. but it is not supported on the international site of alibaba cloud now. AlicloudCertificateRegionId pulumi.StringPtrInput // Name of the Server Certificate. Name pulumi.StringPtrInput // the content of privat key of the ssl certificate specified by `serverCertificate`. where `alicloudCertificateId` is null, it is required, otherwise it is ignored. PrivateKey pulumi.StringPtrInput // The Id of resource group which the slb server certificate belongs. ResourceGroupId pulumi.StringPtrInput // the content of the ssl certificate. where `alicloudCertificateId` is null, it is required, otherwise it is ignored. ServerCertificate pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a ServerCertificate resource.
func (ServerCertificateArgs) ElementType ¶
func (ServerCertificateArgs) ElementType() reflect.Type
type ServerCertificateArray ¶
type ServerCertificateArray []ServerCertificateInput
func (ServerCertificateArray) ElementType ¶
func (ServerCertificateArray) ElementType() reflect.Type
func (ServerCertificateArray) ToServerCertificateArrayOutput ¶
func (i ServerCertificateArray) ToServerCertificateArrayOutput() ServerCertificateArrayOutput
func (ServerCertificateArray) ToServerCertificateArrayOutputWithContext ¶
func (i ServerCertificateArray) ToServerCertificateArrayOutputWithContext(ctx context.Context) ServerCertificateArrayOutput
type ServerCertificateArrayInput ¶
type ServerCertificateArrayInput interface { pulumi.Input ToServerCertificateArrayOutput() ServerCertificateArrayOutput ToServerCertificateArrayOutputWithContext(context.Context) ServerCertificateArrayOutput }
ServerCertificateArrayInput is an input type that accepts ServerCertificateArray and ServerCertificateArrayOutput values. You can construct a concrete instance of `ServerCertificateArrayInput` via:
ServerCertificateArray{ ServerCertificateArgs{...} }
type ServerCertificateArrayOutput ¶
type ServerCertificateArrayOutput struct{ *pulumi.OutputState }
func (ServerCertificateArrayOutput) ElementType ¶
func (ServerCertificateArrayOutput) ElementType() reflect.Type
func (ServerCertificateArrayOutput) Index ¶
func (o ServerCertificateArrayOutput) Index(i pulumi.IntInput) ServerCertificateOutput
func (ServerCertificateArrayOutput) ToServerCertificateArrayOutput ¶
func (o ServerCertificateArrayOutput) ToServerCertificateArrayOutput() ServerCertificateArrayOutput
func (ServerCertificateArrayOutput) ToServerCertificateArrayOutputWithContext ¶
func (o ServerCertificateArrayOutput) ToServerCertificateArrayOutputWithContext(ctx context.Context) ServerCertificateArrayOutput
type ServerCertificateInput ¶
type ServerCertificateInput interface { pulumi.Input ToServerCertificateOutput() ServerCertificateOutput ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput }
type ServerCertificateMap ¶
type ServerCertificateMap map[string]ServerCertificateInput
func (ServerCertificateMap) ElementType ¶
func (ServerCertificateMap) ElementType() reflect.Type
func (ServerCertificateMap) ToServerCertificateMapOutput ¶
func (i ServerCertificateMap) ToServerCertificateMapOutput() ServerCertificateMapOutput
func (ServerCertificateMap) ToServerCertificateMapOutputWithContext ¶
func (i ServerCertificateMap) ToServerCertificateMapOutputWithContext(ctx context.Context) ServerCertificateMapOutput
type ServerCertificateMapInput ¶
type ServerCertificateMapInput interface { pulumi.Input ToServerCertificateMapOutput() ServerCertificateMapOutput ToServerCertificateMapOutputWithContext(context.Context) ServerCertificateMapOutput }
ServerCertificateMapInput is an input type that accepts ServerCertificateMap and ServerCertificateMapOutput values. You can construct a concrete instance of `ServerCertificateMapInput` via:
ServerCertificateMap{ "key": ServerCertificateArgs{...} }
type ServerCertificateMapOutput ¶
type ServerCertificateMapOutput struct{ *pulumi.OutputState }
func (ServerCertificateMapOutput) ElementType ¶
func (ServerCertificateMapOutput) ElementType() reflect.Type
func (ServerCertificateMapOutput) MapIndex ¶
func (o ServerCertificateMapOutput) MapIndex(k pulumi.StringInput) ServerCertificateOutput
func (ServerCertificateMapOutput) ToServerCertificateMapOutput ¶
func (o ServerCertificateMapOutput) ToServerCertificateMapOutput() ServerCertificateMapOutput
func (ServerCertificateMapOutput) ToServerCertificateMapOutputWithContext ¶
func (o ServerCertificateMapOutput) ToServerCertificateMapOutputWithContext(ctx context.Context) ServerCertificateMapOutput
type ServerCertificateOutput ¶
type ServerCertificateOutput struct{ *pulumi.OutputState }
func (ServerCertificateOutput) AlicloudCertifacteId
deprecated
added in
v3.27.0
func (o ServerCertificateOutput) AlicloudCertifacteId() pulumi.StringPtrOutput
Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it.
func (ServerCertificateOutput) AlicloudCertifacteName
deprecated
added in
v3.27.0
func (o ServerCertificateOutput) AlicloudCertifacteName() pulumi.StringPtrOutput
Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it.
func (ServerCertificateOutput) AlicloudCertificateId ¶ added in v3.27.0
func (o ServerCertificateOutput) AlicloudCertificateId() pulumi.StringPtrOutput
an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now.
func (ServerCertificateOutput) AlicloudCertificateName ¶ added in v3.27.0
func (o ServerCertificateOutput) AlicloudCertificateName() pulumi.StringPtrOutput
the name of the certificate specified by `alicloudCertificateId`.but it is not supported on the international site of alibaba cloud now.
func (ServerCertificateOutput) AlicloudCertificateRegionId ¶ added in v3.27.0
func (o ServerCertificateOutput) AlicloudCertificateRegionId() pulumi.StringPtrOutput
the region of the certificate specified by `alicloudCertificateId`. but it is not supported on the international site of alibaba cloud now.
func (ServerCertificateOutput) ElementType ¶
func (ServerCertificateOutput) ElementType() reflect.Type
func (ServerCertificateOutput) Name ¶ added in v3.27.0
func (o ServerCertificateOutput) Name() pulumi.StringOutput
Name of the Server Certificate.
func (ServerCertificateOutput) PrivateKey ¶ added in v3.27.0
func (o ServerCertificateOutput) PrivateKey() pulumi.StringPtrOutput
the content of privat key of the ssl certificate specified by `serverCertificate`. where `alicloudCertificateId` is null, it is required, otherwise it is ignored.
func (ServerCertificateOutput) ResourceGroupId ¶ added in v3.27.0
func (o ServerCertificateOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the slb server certificate belongs.
func (ServerCertificateOutput) ServerCertificate ¶ added in v3.27.0
func (o ServerCertificateOutput) ServerCertificate() pulumi.StringPtrOutput
the content of the ssl certificate. where `alicloudCertificateId` is null, it is required, otherwise it is ignored.
func (ServerCertificateOutput) Tags ¶ added in v3.27.0
func (o ServerCertificateOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (ServerCertificateOutput) ToServerCertificateOutput ¶
func (o ServerCertificateOutput) ToServerCertificateOutput() ServerCertificateOutput
func (ServerCertificateOutput) ToServerCertificateOutputWithContext ¶
func (o ServerCertificateOutput) ToServerCertificateOutputWithContext(ctx context.Context) ServerCertificateOutput
type ServerCertificateState ¶
type ServerCertificateState struct { // Deprecated: Field 'alicloud_certifacte_id' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_id' replaces it. AlicloudCertifacteId pulumi.StringPtrInput // Deprecated: Field 'alicloud_certifacte_name' has been deprecated from provider version 1.68.0. Use 'alicloud_certificate_name' replaces it. AlicloudCertifacteName pulumi.StringPtrInput // an id of server certificate ssued/proxied by alibaba cloud. but it is not supported on the international site of alibaba cloud now. AlicloudCertificateId pulumi.StringPtrInput // the name of the certificate specified by `alicloudCertificateId`.but it is not supported on the international site of alibaba cloud now. AlicloudCertificateName pulumi.StringPtrInput // the region of the certificate specified by `alicloudCertificateId`. but it is not supported on the international site of alibaba cloud now. AlicloudCertificateRegionId pulumi.StringPtrInput // Name of the Server Certificate. Name pulumi.StringPtrInput // the content of privat key of the ssl certificate specified by `serverCertificate`. where `alicloudCertificateId` is null, it is required, otherwise it is ignored. PrivateKey pulumi.StringPtrInput // The Id of resource group which the slb server certificate belongs. ResourceGroupId pulumi.StringPtrInput // the content of the ssl certificate. where `alicloudCertificateId` is null, it is required, otherwise it is ignored. ServerCertificate pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (ServerCertificateState) ElementType ¶
func (ServerCertificateState) ElementType() reflect.Type
type ServerGroup ¶
type ServerGroup struct { pulumi.CustomResourceState // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrOutput `pulumi:"deleteProtectionValidation"` // The Load Balancer ID which is used to launch a new virtual server group. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` // Name of the virtual server group. Our plugin provides a default name: "tf-server-group". Name pulumi.StringOutput `pulumi:"name"` // A list of ECS instances to be added. **NOTE:** Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. At most 20 ECS instances can be supported in one resource. It contains three sub-fields as `Block server` follows. See `servers` below for details. // // Deprecated: Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. Servers ServerGroupServerArrayOutput `pulumi:"servers"` }
A virtual server group contains several ECS instances. The virtual server group can help you to define multiple listening dimension, and to meet the personalized requirements of domain name and URL forwarding.
> **NOTE:** Available since v1.6.0.
> **NOTE:** One ECS instance can be added into multiple virtual server groups.
> **NOTE:** One virtual server group can be attached with multiple listeners in one load balancer.
> **NOTE:** One Classic and Internet load balancer, its virtual server group can add Classic and VPC ECS instances.
> **NOTE:** One Classic and Intranet load balancer, its virtual server group can only add Classic ECS instances.
> **NOTE:** One VPC load balancer, its virtual server group can only add the same VPC ECS instances.
For information about server group and how to use it, see [Configure a server group](https://www.alibabacloud.com/help/en/doc-detail/35215.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") slbServerGroupName := "forSlbServerGroup" if param := cfg.Get("slbServerGroupName"); param != "" { slbServerGroupName = param } serverGroupZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } serverGroupNetwork, err := vpc.NewNetwork(ctx, "serverGroupNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(slbServerGroupName), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } serverGroupSwitch, err := vpc.NewSwitch(ctx, "serverGroupSwitch", &vpc.SwitchArgs{ VpcId: serverGroupNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/16"), ZoneId: *pulumi.String(serverGroupZones.Zones[0].Id), VswitchName: pulumi.String(slbServerGroupName), }) if err != nil { return err } serverGroupApplicationLoadBalancer, err := slb.NewApplicationLoadBalancer(ctx, "serverGroupApplicationLoadBalancer", &slb.ApplicationLoadBalancerArgs{ LoadBalancerName: pulumi.String(slbServerGroupName), VswitchId: serverGroupSwitch.ID(), InstanceChargeType: pulumi.String("PayByCLCU"), }) if err != nil { return err } _, err = slb.NewServerGroup(ctx, "serverGroupServerGroup", &slb.ServerGroupArgs{ LoadBalancerId: serverGroupApplicationLoadBalancer.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Load balancer backend server group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/serverGroup:ServerGroup example abc123456
```
func GetServerGroup ¶
func GetServerGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerGroupState, opts ...pulumi.ResourceOption) (*ServerGroup, error)
GetServerGroup gets an existing ServerGroup 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 NewServerGroup ¶
func NewServerGroup(ctx *pulumi.Context, name string, args *ServerGroupArgs, opts ...pulumi.ResourceOption) (*ServerGroup, error)
NewServerGroup registers a new resource with the given unique name, arguments, and options.
func (*ServerGroup) ElementType ¶
func (*ServerGroup) ElementType() reflect.Type
func (*ServerGroup) ToServerGroupOutput ¶
func (i *ServerGroup) ToServerGroupOutput() ServerGroupOutput
func (*ServerGroup) ToServerGroupOutputWithContext ¶
func (i *ServerGroup) ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput
type ServerGroupArgs ¶
type ServerGroupArgs struct { // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The Load Balancer ID which is used to launch a new virtual server group. LoadBalancerId pulumi.StringInput // Name of the virtual server group. Our plugin provides a default name: "tf-server-group". Name pulumi.StringPtrInput // A list of ECS instances to be added. **NOTE:** Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. At most 20 ECS instances can be supported in one resource. It contains three sub-fields as `Block server` follows. See `servers` below for details. // // Deprecated: Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. Servers ServerGroupServerArrayInput }
The set of arguments for constructing a ServerGroup resource.
func (ServerGroupArgs) ElementType ¶
func (ServerGroupArgs) ElementType() reflect.Type
type ServerGroupArray ¶
type ServerGroupArray []ServerGroupInput
func (ServerGroupArray) ElementType ¶
func (ServerGroupArray) ElementType() reflect.Type
func (ServerGroupArray) ToServerGroupArrayOutput ¶
func (i ServerGroupArray) ToServerGroupArrayOutput() ServerGroupArrayOutput
func (ServerGroupArray) ToServerGroupArrayOutputWithContext ¶
func (i ServerGroupArray) ToServerGroupArrayOutputWithContext(ctx context.Context) ServerGroupArrayOutput
type ServerGroupArrayInput ¶
type ServerGroupArrayInput interface { pulumi.Input ToServerGroupArrayOutput() ServerGroupArrayOutput ToServerGroupArrayOutputWithContext(context.Context) ServerGroupArrayOutput }
ServerGroupArrayInput is an input type that accepts ServerGroupArray and ServerGroupArrayOutput values. You can construct a concrete instance of `ServerGroupArrayInput` via:
ServerGroupArray{ ServerGroupArgs{...} }
type ServerGroupArrayOutput ¶
type ServerGroupArrayOutput struct{ *pulumi.OutputState }
func (ServerGroupArrayOutput) ElementType ¶
func (ServerGroupArrayOutput) ElementType() reflect.Type
func (ServerGroupArrayOutput) Index ¶
func (o ServerGroupArrayOutput) Index(i pulumi.IntInput) ServerGroupOutput
func (ServerGroupArrayOutput) ToServerGroupArrayOutput ¶
func (o ServerGroupArrayOutput) ToServerGroupArrayOutput() ServerGroupArrayOutput
func (ServerGroupArrayOutput) ToServerGroupArrayOutputWithContext ¶
func (o ServerGroupArrayOutput) ToServerGroupArrayOutputWithContext(ctx context.Context) ServerGroupArrayOutput
type ServerGroupInput ¶
type ServerGroupInput interface { pulumi.Input ToServerGroupOutput() ServerGroupOutput ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput }
type ServerGroupMap ¶
type ServerGroupMap map[string]ServerGroupInput
func (ServerGroupMap) ElementType ¶
func (ServerGroupMap) ElementType() reflect.Type
func (ServerGroupMap) ToServerGroupMapOutput ¶
func (i ServerGroupMap) ToServerGroupMapOutput() ServerGroupMapOutput
func (ServerGroupMap) ToServerGroupMapOutputWithContext ¶
func (i ServerGroupMap) ToServerGroupMapOutputWithContext(ctx context.Context) ServerGroupMapOutput
type ServerGroupMapInput ¶
type ServerGroupMapInput interface { pulumi.Input ToServerGroupMapOutput() ServerGroupMapOutput ToServerGroupMapOutputWithContext(context.Context) ServerGroupMapOutput }
ServerGroupMapInput is an input type that accepts ServerGroupMap and ServerGroupMapOutput values. You can construct a concrete instance of `ServerGroupMapInput` via:
ServerGroupMap{ "key": ServerGroupArgs{...} }
type ServerGroupMapOutput ¶
type ServerGroupMapOutput struct{ *pulumi.OutputState }
func (ServerGroupMapOutput) ElementType ¶
func (ServerGroupMapOutput) ElementType() reflect.Type
func (ServerGroupMapOutput) MapIndex ¶
func (o ServerGroupMapOutput) MapIndex(k pulumi.StringInput) ServerGroupOutput
func (ServerGroupMapOutput) ToServerGroupMapOutput ¶
func (o ServerGroupMapOutput) ToServerGroupMapOutput() ServerGroupMapOutput
func (ServerGroupMapOutput) ToServerGroupMapOutputWithContext ¶
func (o ServerGroupMapOutput) ToServerGroupMapOutputWithContext(ctx context.Context) ServerGroupMapOutput
type ServerGroupOutput ¶
type ServerGroupOutput struct{ *pulumi.OutputState }
func (ServerGroupOutput) DeleteProtectionValidation ¶ added in v3.27.0
func (o ServerGroupOutput) DeleteProtectionValidation() pulumi.BoolPtrOutput
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
func (ServerGroupOutput) ElementType ¶
func (ServerGroupOutput) ElementType() reflect.Type
func (ServerGroupOutput) LoadBalancerId ¶ added in v3.27.0
func (o ServerGroupOutput) LoadBalancerId() pulumi.StringOutput
The Load Balancer ID which is used to launch a new virtual server group.
func (ServerGroupOutput) Name ¶ added in v3.27.0
func (o ServerGroupOutput) Name() pulumi.StringOutput
Name of the virtual server group. Our plugin provides a default name: "tf-server-group".
func (ServerGroupOutput) Servers
deprecated
added in
v3.27.0
func (o ServerGroupOutput) Servers() ServerGroupServerArrayOutput
A list of ECS instances to be added. **NOTE:** Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. At most 20 ECS instances can be supported in one resource. It contains three sub-fields as `Block server` follows. See `servers` below for details.
Deprecated: Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'.
func (ServerGroupOutput) ToServerGroupOutput ¶
func (o ServerGroupOutput) ToServerGroupOutput() ServerGroupOutput
func (ServerGroupOutput) ToServerGroupOutputWithContext ¶
func (o ServerGroupOutput) ToServerGroupOutputWithContext(ctx context.Context) ServerGroupOutput
type ServerGroupServer ¶
type ServerGroupServer struct { // The port used by the backend server. Valid value range: [1-65535]. Port int `pulumi:"port"` // A list backend server ID (ECS instance ID). ServerIds []string `pulumi:"serverIds"` // Type of the backend server. Valid value ecs, eni. Default to eni. Type *string `pulumi:"type"` // Weight of the backend server. Valid value range: [0-100]. Default to 100. Weight *int `pulumi:"weight"` }
type ServerGroupServerArgs ¶
type ServerGroupServerArgs struct { // The port used by the backend server. Valid value range: [1-65535]. Port pulumi.IntInput `pulumi:"port"` // A list backend server ID (ECS instance ID). ServerIds pulumi.StringArrayInput `pulumi:"serverIds"` // Type of the backend server. Valid value ecs, eni. Default to eni. Type pulumi.StringPtrInput `pulumi:"type"` // Weight of the backend server. Valid value range: [0-100]. Default to 100. Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (ServerGroupServerArgs) ElementType ¶
func (ServerGroupServerArgs) ElementType() reflect.Type
func (ServerGroupServerArgs) ToServerGroupServerOutput ¶
func (i ServerGroupServerArgs) ToServerGroupServerOutput() ServerGroupServerOutput
func (ServerGroupServerArgs) ToServerGroupServerOutputWithContext ¶
func (i ServerGroupServerArgs) ToServerGroupServerOutputWithContext(ctx context.Context) ServerGroupServerOutput
type ServerGroupServerArray ¶
type ServerGroupServerArray []ServerGroupServerInput
func (ServerGroupServerArray) ElementType ¶
func (ServerGroupServerArray) ElementType() reflect.Type
func (ServerGroupServerArray) ToServerGroupServerArrayOutput ¶
func (i ServerGroupServerArray) ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput
func (ServerGroupServerArray) ToServerGroupServerArrayOutputWithContext ¶
func (i ServerGroupServerArray) ToServerGroupServerArrayOutputWithContext(ctx context.Context) ServerGroupServerArrayOutput
type ServerGroupServerArrayInput ¶
type ServerGroupServerArrayInput interface { pulumi.Input ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput ToServerGroupServerArrayOutputWithContext(context.Context) ServerGroupServerArrayOutput }
ServerGroupServerArrayInput is an input type that accepts ServerGroupServerArray and ServerGroupServerArrayOutput values. You can construct a concrete instance of `ServerGroupServerArrayInput` via:
ServerGroupServerArray{ ServerGroupServerArgs{...} }
type ServerGroupServerArrayOutput ¶
type ServerGroupServerArrayOutput struct{ *pulumi.OutputState }
func (ServerGroupServerArrayOutput) ElementType ¶
func (ServerGroupServerArrayOutput) ElementType() reflect.Type
func (ServerGroupServerArrayOutput) Index ¶
func (o ServerGroupServerArrayOutput) Index(i pulumi.IntInput) ServerGroupServerOutput
func (ServerGroupServerArrayOutput) ToServerGroupServerArrayOutput ¶
func (o ServerGroupServerArrayOutput) ToServerGroupServerArrayOutput() ServerGroupServerArrayOutput
func (ServerGroupServerArrayOutput) ToServerGroupServerArrayOutputWithContext ¶
func (o ServerGroupServerArrayOutput) ToServerGroupServerArrayOutputWithContext(ctx context.Context) ServerGroupServerArrayOutput
type ServerGroupServerAttachment ¶ added in v3.20.0
type ServerGroupServerAttachment struct { pulumi.CustomResourceState // The description of the backend server. Description pulumi.StringOutput `pulumi:"description"` // The port that is used by the backend server. Valid values: `1` to `65535`. Port pulumi.IntOutput `pulumi:"port"` // The ID of the server group. ServerGroupId pulumi.StringOutput `pulumi:"serverGroupId"` // The ID of the backend server. You can specify the ID of an Elastic Compute Service (ECS) instance or an elastic network interface (ENI). ServerId pulumi.StringOutput `pulumi:"serverId"` // The type of backend server. Valid values: `ecs`, `eni`. Type pulumi.StringOutput `pulumi:"type"` // The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the backend server. Weight pulumi.IntOutput `pulumi:"weight"` }
> **NOTE:** Available in v1.163.0+.
For information about server group server attachment and how to use it, see [Configure a server group server attachment](https://www.alibabacloud.com/help/en/doc-detail/35218.html).
> **NOTE:** Applying this resource may conflict with applying `slb.Listener`, and the `slb.Listener` block should use `dependsOn = [alicloud_slb_server_group_server_attachment.xxx]` to avoid it.
## Import
Load balancer backend server group server attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/serverGroupServerAttachment:ServerGroupServerAttachment example <server_group_id>:<server_id>:<port>
```
func GetServerGroupServerAttachment ¶ added in v3.20.0
func GetServerGroupServerAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerGroupServerAttachmentState, opts ...pulumi.ResourceOption) (*ServerGroupServerAttachment, error)
GetServerGroupServerAttachment gets an existing ServerGroupServerAttachment 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 NewServerGroupServerAttachment ¶ added in v3.20.0
func NewServerGroupServerAttachment(ctx *pulumi.Context, name string, args *ServerGroupServerAttachmentArgs, opts ...pulumi.ResourceOption) (*ServerGroupServerAttachment, error)
NewServerGroupServerAttachment registers a new resource with the given unique name, arguments, and options.
func (*ServerGroupServerAttachment) ElementType ¶ added in v3.20.0
func (*ServerGroupServerAttachment) ElementType() reflect.Type
func (*ServerGroupServerAttachment) ToServerGroupServerAttachmentOutput ¶ added in v3.20.0
func (i *ServerGroupServerAttachment) ToServerGroupServerAttachmentOutput() ServerGroupServerAttachmentOutput
func (*ServerGroupServerAttachment) ToServerGroupServerAttachmentOutputWithContext ¶ added in v3.20.0
func (i *ServerGroupServerAttachment) ToServerGroupServerAttachmentOutputWithContext(ctx context.Context) ServerGroupServerAttachmentOutput
type ServerGroupServerAttachmentArgs ¶ added in v3.20.0
type ServerGroupServerAttachmentArgs struct { // The description of the backend server. Description pulumi.StringPtrInput // The port that is used by the backend server. Valid values: `1` to `65535`. Port pulumi.IntInput // The ID of the server group. ServerGroupId pulumi.StringInput // The ID of the backend server. You can specify the ID of an Elastic Compute Service (ECS) instance or an elastic network interface (ENI). ServerId pulumi.StringInput // The type of backend server. Valid values: `ecs`, `eni`. Type pulumi.StringPtrInput // The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the backend server. Weight pulumi.IntPtrInput }
The set of arguments for constructing a ServerGroupServerAttachment resource.
func (ServerGroupServerAttachmentArgs) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentArgs) ElementType() reflect.Type
type ServerGroupServerAttachmentArray ¶ added in v3.20.0
type ServerGroupServerAttachmentArray []ServerGroupServerAttachmentInput
func (ServerGroupServerAttachmentArray) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentArray) ElementType() reflect.Type
func (ServerGroupServerAttachmentArray) ToServerGroupServerAttachmentArrayOutput ¶ added in v3.20.0
func (i ServerGroupServerAttachmentArray) ToServerGroupServerAttachmentArrayOutput() ServerGroupServerAttachmentArrayOutput
func (ServerGroupServerAttachmentArray) ToServerGroupServerAttachmentArrayOutputWithContext ¶ added in v3.20.0
func (i ServerGroupServerAttachmentArray) ToServerGroupServerAttachmentArrayOutputWithContext(ctx context.Context) ServerGroupServerAttachmentArrayOutput
type ServerGroupServerAttachmentArrayInput ¶ added in v3.20.0
type ServerGroupServerAttachmentArrayInput interface { pulumi.Input ToServerGroupServerAttachmentArrayOutput() ServerGroupServerAttachmentArrayOutput ToServerGroupServerAttachmentArrayOutputWithContext(context.Context) ServerGroupServerAttachmentArrayOutput }
ServerGroupServerAttachmentArrayInput is an input type that accepts ServerGroupServerAttachmentArray and ServerGroupServerAttachmentArrayOutput values. You can construct a concrete instance of `ServerGroupServerAttachmentArrayInput` via:
ServerGroupServerAttachmentArray{ ServerGroupServerAttachmentArgs{...} }
type ServerGroupServerAttachmentArrayOutput ¶ added in v3.20.0
type ServerGroupServerAttachmentArrayOutput struct{ *pulumi.OutputState }
func (ServerGroupServerAttachmentArrayOutput) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentArrayOutput) ElementType() reflect.Type
func (ServerGroupServerAttachmentArrayOutput) ToServerGroupServerAttachmentArrayOutput ¶ added in v3.20.0
func (o ServerGroupServerAttachmentArrayOutput) ToServerGroupServerAttachmentArrayOutput() ServerGroupServerAttachmentArrayOutput
func (ServerGroupServerAttachmentArrayOutput) ToServerGroupServerAttachmentArrayOutputWithContext ¶ added in v3.20.0
func (o ServerGroupServerAttachmentArrayOutput) ToServerGroupServerAttachmentArrayOutputWithContext(ctx context.Context) ServerGroupServerAttachmentArrayOutput
type ServerGroupServerAttachmentInput ¶ added in v3.20.0
type ServerGroupServerAttachmentInput interface { pulumi.Input ToServerGroupServerAttachmentOutput() ServerGroupServerAttachmentOutput ToServerGroupServerAttachmentOutputWithContext(ctx context.Context) ServerGroupServerAttachmentOutput }
type ServerGroupServerAttachmentMap ¶ added in v3.20.0
type ServerGroupServerAttachmentMap map[string]ServerGroupServerAttachmentInput
func (ServerGroupServerAttachmentMap) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentMap) ElementType() reflect.Type
func (ServerGroupServerAttachmentMap) ToServerGroupServerAttachmentMapOutput ¶ added in v3.20.0
func (i ServerGroupServerAttachmentMap) ToServerGroupServerAttachmentMapOutput() ServerGroupServerAttachmentMapOutput
func (ServerGroupServerAttachmentMap) ToServerGroupServerAttachmentMapOutputWithContext ¶ added in v3.20.0
func (i ServerGroupServerAttachmentMap) ToServerGroupServerAttachmentMapOutputWithContext(ctx context.Context) ServerGroupServerAttachmentMapOutput
type ServerGroupServerAttachmentMapInput ¶ added in v3.20.0
type ServerGroupServerAttachmentMapInput interface { pulumi.Input ToServerGroupServerAttachmentMapOutput() ServerGroupServerAttachmentMapOutput ToServerGroupServerAttachmentMapOutputWithContext(context.Context) ServerGroupServerAttachmentMapOutput }
ServerGroupServerAttachmentMapInput is an input type that accepts ServerGroupServerAttachmentMap and ServerGroupServerAttachmentMapOutput values. You can construct a concrete instance of `ServerGroupServerAttachmentMapInput` via:
ServerGroupServerAttachmentMap{ "key": ServerGroupServerAttachmentArgs{...} }
type ServerGroupServerAttachmentMapOutput ¶ added in v3.20.0
type ServerGroupServerAttachmentMapOutput struct{ *pulumi.OutputState }
func (ServerGroupServerAttachmentMapOutput) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentMapOutput) ElementType() reflect.Type
func (ServerGroupServerAttachmentMapOutput) MapIndex ¶ added in v3.20.0
func (o ServerGroupServerAttachmentMapOutput) MapIndex(k pulumi.StringInput) ServerGroupServerAttachmentOutput
func (ServerGroupServerAttachmentMapOutput) ToServerGroupServerAttachmentMapOutput ¶ added in v3.20.0
func (o ServerGroupServerAttachmentMapOutput) ToServerGroupServerAttachmentMapOutput() ServerGroupServerAttachmentMapOutput
func (ServerGroupServerAttachmentMapOutput) ToServerGroupServerAttachmentMapOutputWithContext ¶ added in v3.20.0
func (o ServerGroupServerAttachmentMapOutput) ToServerGroupServerAttachmentMapOutputWithContext(ctx context.Context) ServerGroupServerAttachmentMapOutput
type ServerGroupServerAttachmentOutput ¶ added in v3.20.0
type ServerGroupServerAttachmentOutput struct{ *pulumi.OutputState }
func (ServerGroupServerAttachmentOutput) Description ¶ added in v3.27.0
func (o ServerGroupServerAttachmentOutput) Description() pulumi.StringOutput
The description of the backend server.
func (ServerGroupServerAttachmentOutput) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentOutput) ElementType() reflect.Type
func (ServerGroupServerAttachmentOutput) Port ¶ added in v3.27.0
func (o ServerGroupServerAttachmentOutput) Port() pulumi.IntOutput
The port that is used by the backend server. Valid values: `1` to `65535`.
func (ServerGroupServerAttachmentOutput) ServerGroupId ¶ added in v3.27.0
func (o ServerGroupServerAttachmentOutput) ServerGroupId() pulumi.StringOutput
The ID of the server group.
func (ServerGroupServerAttachmentOutput) ServerId ¶ added in v3.27.0
func (o ServerGroupServerAttachmentOutput) ServerId() pulumi.StringOutput
The ID of the backend server. You can specify the ID of an Elastic Compute Service (ECS) instance or an elastic network interface (ENI).
func (ServerGroupServerAttachmentOutput) ToServerGroupServerAttachmentOutput ¶ added in v3.20.0
func (o ServerGroupServerAttachmentOutput) ToServerGroupServerAttachmentOutput() ServerGroupServerAttachmentOutput
func (ServerGroupServerAttachmentOutput) ToServerGroupServerAttachmentOutputWithContext ¶ added in v3.20.0
func (o ServerGroupServerAttachmentOutput) ToServerGroupServerAttachmentOutputWithContext(ctx context.Context) ServerGroupServerAttachmentOutput
func (ServerGroupServerAttachmentOutput) Type ¶ added in v3.27.0
func (o ServerGroupServerAttachmentOutput) Type() pulumi.StringOutput
The type of backend server. Valid values: `ecs`, `eni`.
func (ServerGroupServerAttachmentOutput) Weight ¶ added in v3.27.0
func (o ServerGroupServerAttachmentOutput) Weight() pulumi.IntOutput
The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the backend server.
type ServerGroupServerAttachmentState ¶ added in v3.20.0
type ServerGroupServerAttachmentState struct { // The description of the backend server. Description pulumi.StringPtrInput // The port that is used by the backend server. Valid values: `1` to `65535`. Port pulumi.IntPtrInput // The ID of the server group. ServerGroupId pulumi.StringPtrInput // The ID of the backend server. You can specify the ID of an Elastic Compute Service (ECS) instance or an elastic network interface (ENI). ServerId pulumi.StringPtrInput // The type of backend server. Valid values: `ecs`, `eni`. Type pulumi.StringPtrInput // The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the backend server. Weight pulumi.IntPtrInput }
func (ServerGroupServerAttachmentState) ElementType ¶ added in v3.20.0
func (ServerGroupServerAttachmentState) ElementType() reflect.Type
type ServerGroupServerInput ¶
type ServerGroupServerInput interface { pulumi.Input ToServerGroupServerOutput() ServerGroupServerOutput ToServerGroupServerOutputWithContext(context.Context) ServerGroupServerOutput }
ServerGroupServerInput is an input type that accepts ServerGroupServerArgs and ServerGroupServerOutput values. You can construct a concrete instance of `ServerGroupServerInput` via:
ServerGroupServerArgs{...}
type ServerGroupServerOutput ¶
type ServerGroupServerOutput struct{ *pulumi.OutputState }
func (ServerGroupServerOutput) ElementType ¶
func (ServerGroupServerOutput) ElementType() reflect.Type
func (ServerGroupServerOutput) Port ¶
func (o ServerGroupServerOutput) Port() pulumi.IntOutput
The port used by the backend server. Valid value range: [1-65535].
func (ServerGroupServerOutput) ServerIds ¶
func (o ServerGroupServerOutput) ServerIds() pulumi.StringArrayOutput
A list backend server ID (ECS instance ID).
func (ServerGroupServerOutput) ToServerGroupServerOutput ¶
func (o ServerGroupServerOutput) ToServerGroupServerOutput() ServerGroupServerOutput
func (ServerGroupServerOutput) ToServerGroupServerOutputWithContext ¶
func (o ServerGroupServerOutput) ToServerGroupServerOutputWithContext(ctx context.Context) ServerGroupServerOutput
func (ServerGroupServerOutput) Type ¶
func (o ServerGroupServerOutput) Type() pulumi.StringPtrOutput
Type of the backend server. Valid value ecs, eni. Default to eni.
func (ServerGroupServerOutput) Weight ¶
func (o ServerGroupServerOutput) Weight() pulumi.IntPtrOutput
Weight of the backend server. Valid value range: [0-100]. Default to 100.
type ServerGroupState ¶
type ServerGroupState struct { // Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false. DeleteProtectionValidation pulumi.BoolPtrInput // The Load Balancer ID which is used to launch a new virtual server group. LoadBalancerId pulumi.StringPtrInput // Name of the virtual server group. Our plugin provides a default name: "tf-server-group". Name pulumi.StringPtrInput // A list of ECS instances to be added. **NOTE:** Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. At most 20 ECS instances can be supported in one resource. It contains three sub-fields as `Block server` follows. See `servers` below for details. // // Deprecated: Field 'servers' has been deprecated from provider version 1.163.0 and it will be removed in the future version. Please use the new resource 'alicloud_slb_server_group_server_attachment'. Servers ServerGroupServerArrayInput }
func (ServerGroupState) ElementType ¶
func (ServerGroupState) ElementType() reflect.Type
type TlsCipherPolicy ¶ added in v3.8.0
type TlsCipherPolicy struct { pulumi.CustomResourceState // The encryption algorithms supported. It depends on the value of `tlsVersions`. Ciphers pulumi.StringArrayOutput `pulumi:"ciphers"` // TLS policy instance state. Status pulumi.StringOutput `pulumi:"status"` // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName pulumi.StringOutput `pulumi:"tlsCipherPolicyName"` // The version of TLS protocol. You can find the corresponding value description in the document center [What is Tls Cipher Policy](https://www.alibabacloud.com/help/doc-detail/196714.htm). TlsVersions pulumi.StringArrayOutput `pulumi:"tlsVersions"` }
Provides a SLB Tls Cipher Policy resource.
For information about SLB Tls Cipher Policy and how to use it, see [What is Tls Cipher Policy](https://www.alibabacloud.com/help/doc-detail/196714.htm).
> **NOTE:** Available in v1.135.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := slb.NewTlsCipherPolicy(ctx, "example", &slb.TlsCipherPolicyArgs{ Ciphers: pulumi.StringArray{ pulumi.String("AES256-SHA256"), pulumi.String("AES128-GCM-SHA256"), }, TlsCipherPolicyName: pulumi.String("Test-example_value"), TlsVersions: pulumi.StringArray{ pulumi.String("TLSv1.2"), }, }) if err != nil { return err } return nil }) }
```
## Import
SLB Tls Cipher Policy can be imported using the id, e.g.
```sh
$ pulumi import alicloud:slb/tlsCipherPolicy:TlsCipherPolicy example <id>
```
func GetTlsCipherPolicy ¶ added in v3.8.0
func GetTlsCipherPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TlsCipherPolicyState, opts ...pulumi.ResourceOption) (*TlsCipherPolicy, error)
GetTlsCipherPolicy gets an existing TlsCipherPolicy 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 NewTlsCipherPolicy ¶ added in v3.8.0
func NewTlsCipherPolicy(ctx *pulumi.Context, name string, args *TlsCipherPolicyArgs, opts ...pulumi.ResourceOption) (*TlsCipherPolicy, error)
NewTlsCipherPolicy registers a new resource with the given unique name, arguments, and options.
func (*TlsCipherPolicy) ElementType ¶ added in v3.8.0
func (*TlsCipherPolicy) ElementType() reflect.Type
func (*TlsCipherPolicy) ToTlsCipherPolicyOutput ¶ added in v3.8.0
func (i *TlsCipherPolicy) ToTlsCipherPolicyOutput() TlsCipherPolicyOutput
func (*TlsCipherPolicy) ToTlsCipherPolicyOutputWithContext ¶ added in v3.8.0
func (i *TlsCipherPolicy) ToTlsCipherPolicyOutputWithContext(ctx context.Context) TlsCipherPolicyOutput
type TlsCipherPolicyArgs ¶ added in v3.8.0
type TlsCipherPolicyArgs struct { // The encryption algorithms supported. It depends on the value of `tlsVersions`. Ciphers pulumi.StringArrayInput // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName pulumi.StringInput // The version of TLS protocol. You can find the corresponding value description in the document center [What is Tls Cipher Policy](https://www.alibabacloud.com/help/doc-detail/196714.htm). TlsVersions pulumi.StringArrayInput }
The set of arguments for constructing a TlsCipherPolicy resource.
func (TlsCipherPolicyArgs) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyArgs) ElementType() reflect.Type
type TlsCipherPolicyArray ¶ added in v3.8.0
type TlsCipherPolicyArray []TlsCipherPolicyInput
func (TlsCipherPolicyArray) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyArray) ElementType() reflect.Type
func (TlsCipherPolicyArray) ToTlsCipherPolicyArrayOutput ¶ added in v3.8.0
func (i TlsCipherPolicyArray) ToTlsCipherPolicyArrayOutput() TlsCipherPolicyArrayOutput
func (TlsCipherPolicyArray) ToTlsCipherPolicyArrayOutputWithContext ¶ added in v3.8.0
func (i TlsCipherPolicyArray) ToTlsCipherPolicyArrayOutputWithContext(ctx context.Context) TlsCipherPolicyArrayOutput
type TlsCipherPolicyArrayInput ¶ added in v3.8.0
type TlsCipherPolicyArrayInput interface { pulumi.Input ToTlsCipherPolicyArrayOutput() TlsCipherPolicyArrayOutput ToTlsCipherPolicyArrayOutputWithContext(context.Context) TlsCipherPolicyArrayOutput }
TlsCipherPolicyArrayInput is an input type that accepts TlsCipherPolicyArray and TlsCipherPolicyArrayOutput values. You can construct a concrete instance of `TlsCipherPolicyArrayInput` via:
TlsCipherPolicyArray{ TlsCipherPolicyArgs{...} }
type TlsCipherPolicyArrayOutput ¶ added in v3.8.0
type TlsCipherPolicyArrayOutput struct{ *pulumi.OutputState }
func (TlsCipherPolicyArrayOutput) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyArrayOutput) ElementType() reflect.Type
func (TlsCipherPolicyArrayOutput) Index ¶ added in v3.8.0
func (o TlsCipherPolicyArrayOutput) Index(i pulumi.IntInput) TlsCipherPolicyOutput
func (TlsCipherPolicyArrayOutput) ToTlsCipherPolicyArrayOutput ¶ added in v3.8.0
func (o TlsCipherPolicyArrayOutput) ToTlsCipherPolicyArrayOutput() TlsCipherPolicyArrayOutput
func (TlsCipherPolicyArrayOutput) ToTlsCipherPolicyArrayOutputWithContext ¶ added in v3.8.0
func (o TlsCipherPolicyArrayOutput) ToTlsCipherPolicyArrayOutputWithContext(ctx context.Context) TlsCipherPolicyArrayOutput
type TlsCipherPolicyInput ¶ added in v3.8.0
type TlsCipherPolicyInput interface { pulumi.Input ToTlsCipherPolicyOutput() TlsCipherPolicyOutput ToTlsCipherPolicyOutputWithContext(ctx context.Context) TlsCipherPolicyOutput }
type TlsCipherPolicyMap ¶ added in v3.8.0
type TlsCipherPolicyMap map[string]TlsCipherPolicyInput
func (TlsCipherPolicyMap) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyMap) ElementType() reflect.Type
func (TlsCipherPolicyMap) ToTlsCipherPolicyMapOutput ¶ added in v3.8.0
func (i TlsCipherPolicyMap) ToTlsCipherPolicyMapOutput() TlsCipherPolicyMapOutput
func (TlsCipherPolicyMap) ToTlsCipherPolicyMapOutputWithContext ¶ added in v3.8.0
func (i TlsCipherPolicyMap) ToTlsCipherPolicyMapOutputWithContext(ctx context.Context) TlsCipherPolicyMapOutput
type TlsCipherPolicyMapInput ¶ added in v3.8.0
type TlsCipherPolicyMapInput interface { pulumi.Input ToTlsCipherPolicyMapOutput() TlsCipherPolicyMapOutput ToTlsCipherPolicyMapOutputWithContext(context.Context) TlsCipherPolicyMapOutput }
TlsCipherPolicyMapInput is an input type that accepts TlsCipherPolicyMap and TlsCipherPolicyMapOutput values. You can construct a concrete instance of `TlsCipherPolicyMapInput` via:
TlsCipherPolicyMap{ "key": TlsCipherPolicyArgs{...} }
type TlsCipherPolicyMapOutput ¶ added in v3.8.0
type TlsCipherPolicyMapOutput struct{ *pulumi.OutputState }
func (TlsCipherPolicyMapOutput) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyMapOutput) ElementType() reflect.Type
func (TlsCipherPolicyMapOutput) MapIndex ¶ added in v3.8.0
func (o TlsCipherPolicyMapOutput) MapIndex(k pulumi.StringInput) TlsCipherPolicyOutput
func (TlsCipherPolicyMapOutput) ToTlsCipherPolicyMapOutput ¶ added in v3.8.0
func (o TlsCipherPolicyMapOutput) ToTlsCipherPolicyMapOutput() TlsCipherPolicyMapOutput
func (TlsCipherPolicyMapOutput) ToTlsCipherPolicyMapOutputWithContext ¶ added in v3.8.0
func (o TlsCipherPolicyMapOutput) ToTlsCipherPolicyMapOutputWithContext(ctx context.Context) TlsCipherPolicyMapOutput
type TlsCipherPolicyOutput ¶ added in v3.8.0
type TlsCipherPolicyOutput struct{ *pulumi.OutputState }
func (TlsCipherPolicyOutput) Ciphers ¶ added in v3.27.0
func (o TlsCipherPolicyOutput) Ciphers() pulumi.StringArrayOutput
The encryption algorithms supported. It depends on the value of `tlsVersions`.
func (TlsCipherPolicyOutput) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyOutput) ElementType() reflect.Type
func (TlsCipherPolicyOutput) Status ¶ added in v3.27.0
func (o TlsCipherPolicyOutput) Status() pulumi.StringOutput
TLS policy instance state.
func (TlsCipherPolicyOutput) TlsCipherPolicyName ¶ added in v3.27.0
func (o TlsCipherPolicyOutput) TlsCipherPolicyName() pulumi.StringOutput
TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`.
func (TlsCipherPolicyOutput) TlsVersions ¶ added in v3.27.0
func (o TlsCipherPolicyOutput) TlsVersions() pulumi.StringArrayOutput
The version of TLS protocol. You can find the corresponding value description in the document center [What is Tls Cipher Policy](https://www.alibabacloud.com/help/doc-detail/196714.htm).
func (TlsCipherPolicyOutput) ToTlsCipherPolicyOutput ¶ added in v3.8.0
func (o TlsCipherPolicyOutput) ToTlsCipherPolicyOutput() TlsCipherPolicyOutput
func (TlsCipherPolicyOutput) ToTlsCipherPolicyOutputWithContext ¶ added in v3.8.0
func (o TlsCipherPolicyOutput) ToTlsCipherPolicyOutputWithContext(ctx context.Context) TlsCipherPolicyOutput
type TlsCipherPolicyState ¶ added in v3.8.0
type TlsCipherPolicyState struct { // The encryption algorithms supported. It depends on the value of `tlsVersions`. Ciphers pulumi.StringArrayInput // TLS policy instance state. Status pulumi.StringPtrInput // TLS policy name. Length is from 2 to 128, or in both the English and Chinese characters must be with an uppercase/lowercase letter or a Chinese character and the beginning, may contain numbers, in dot `.`, underscore `_` or dash `-`. TlsCipherPolicyName pulumi.StringPtrInput // The version of TLS protocol. You can find the corresponding value description in the document center [What is Tls Cipher Policy](https://www.alibabacloud.com/help/doc-detail/196714.htm). TlsVersions pulumi.StringArrayInput }
func (TlsCipherPolicyState) ElementType ¶ added in v3.8.0
func (TlsCipherPolicyState) ElementType() reflect.Type
Source Files
¶
- acl.go
- aclEntryAttachment.go
- applicationLoadBalancer.go
- attachment.go
- backendServer.go
- caCertificate.go
- domainExtension.go
- getAcls.go
- getApplicationLoadBalancers.go
- getAttachments.go
- getBackendServers.go
- getCaCertificates.go
- getDomainExtensions.go
- getListeners.go
- getLoadBalancers.go
- getMasterSlaveServerGroups.go
- getRules.go
- getServerCertificates.go
- getServerGroups.go
- getTlsCipherPolicies.go
- getZones.go
- init.go
- listener.go
- loadBalancer.go
- masterSlaveServerGroup.go
- pulumiTypes.go
- rule.go
- serverCertificate.go
- serverGroup.go
- serverGroupServerAttachment.go
- tlsCipherPolicy.go