Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Certificate
- type CertificateArgs
- type CertificateArray
- type CertificateArrayInput
- type CertificateArrayOutput
- func (CertificateArrayOutput) ElementType() reflect.Type
- func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
- type CertificateInput
- type CertificateMap
- type CertificateMapInput
- type CertificateMapOutput
- func (CertificateMapOutput) ElementType() reflect.Type
- func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
- func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
- func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
- type CertificateOutput
- func (o CertificateOutput) BeginTime() pulumi.StringOutput
- func (o CertificateOutput) Content() pulumi.StringOutput
- func (o CertificateOutput) CreateTime() pulumi.StringOutput
- func (CertificateOutput) ElementType() reflect.Type
- func (o CertificateOutput) EndTime() pulumi.StringOutput
- func (o CertificateOutput) IssuerCn() pulumi.StringOutput
- func (o CertificateOutput) Key() pulumi.StringPtrOutput
- func (o CertificateOutput) Name() pulumi.StringOutput
- func (o CertificateOutput) SubjectCn() pulumi.StringOutput
- func (o CertificateOutput) ToCertificateOutput() CertificateOutput
- func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
- func (o CertificateOutput) Type() pulumi.StringOutput
- type CertificateState
- type DomainErrorPage
- type DomainErrorPageArgs
- type DomainErrorPageArray
- type DomainErrorPageArrayInput
- type DomainErrorPageArrayOutput
- func (DomainErrorPageArrayOutput) ElementType() reflect.Type
- func (o DomainErrorPageArrayOutput) Index(i pulumi.IntInput) DomainErrorPageOutput
- func (o DomainErrorPageArrayOutput) ToDomainErrorPageArrayOutput() DomainErrorPageArrayOutput
- func (o DomainErrorPageArrayOutput) ToDomainErrorPageArrayOutputWithContext(ctx context.Context) DomainErrorPageArrayOutput
- type DomainErrorPageInput
- type DomainErrorPageMap
- type DomainErrorPageMapInput
- type DomainErrorPageMapOutput
- func (DomainErrorPageMapOutput) ElementType() reflect.Type
- func (o DomainErrorPageMapOutput) MapIndex(k pulumi.StringInput) DomainErrorPageOutput
- func (o DomainErrorPageMapOutput) ToDomainErrorPageMapOutput() DomainErrorPageMapOutput
- func (o DomainErrorPageMapOutput) ToDomainErrorPageMapOutputWithContext(ctx context.Context) DomainErrorPageMapOutput
- type DomainErrorPageOutput
- func (o DomainErrorPageOutput) Body() pulumi.StringOutput
- func (o DomainErrorPageOutput) ClearHeaders() pulumi.StringArrayOutput
- func (o DomainErrorPageOutput) Domain() pulumi.StringOutput
- func (DomainErrorPageOutput) ElementType() reflect.Type
- func (o DomainErrorPageOutput) ErrorCodes() pulumi.IntArrayOutput
- func (o DomainErrorPageOutput) ListenerId() pulumi.StringOutput
- func (o DomainErrorPageOutput) NewErrorCode() pulumi.IntPtrOutput
- func (o DomainErrorPageOutput) SetHeaders() pulumi.MapOutput
- func (o DomainErrorPageOutput) ToDomainErrorPageOutput() DomainErrorPageOutput
- func (o DomainErrorPageOutput) ToDomainErrorPageOutputWithContext(ctx context.Context) DomainErrorPageOutput
- type DomainErrorPageState
- type GetCertificatesArgs
- type GetCertificatesCertificate
- type GetCertificatesCertificateArgs
- func (GetCertificatesCertificateArgs) ElementType() reflect.Type
- func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
- func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
- type GetCertificatesCertificateArray
- func (GetCertificatesCertificateArray) ElementType() reflect.Type
- func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
- func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
- type GetCertificatesCertificateArrayInput
- type GetCertificatesCertificateArrayOutput
- func (GetCertificatesCertificateArrayOutput) ElementType() reflect.Type
- func (o GetCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
- func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
- type GetCertificatesCertificateInput
- type GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) BeginTime() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) CreateTime() pulumi.StringOutput
- func (GetCertificatesCertificateOutput) ElementType() reflect.Type
- func (o GetCertificatesCertificateOutput) EndTime() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Id() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) IssuerCn() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Name() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) SubjectCn() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) Type() pulumi.StringOutput
- type GetCertificatesOutputArgs
- type GetCertificatesResult
- type GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) Certificates() GetCertificatesCertificateArrayOutput
- func (GetCertificatesResultOutput) ElementType() reflect.Type
- func (o GetCertificatesResultOutput) Id() pulumi.StringPtrOutput
- func (o GetCertificatesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetCertificatesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) Type() pulumi.StringPtrOutput
- type GetDomainErrorPagesArgs
- type GetDomainErrorPagesErrorPageInfoList
- type GetDomainErrorPagesErrorPageInfoListArgs
- func (GetDomainErrorPagesErrorPageInfoListArgs) ElementType() reflect.Type
- func (i GetDomainErrorPagesErrorPageInfoListArgs) ToGetDomainErrorPagesErrorPageInfoListOutput() GetDomainErrorPagesErrorPageInfoListOutput
- func (i GetDomainErrorPagesErrorPageInfoListArgs) ToGetDomainErrorPagesErrorPageInfoListOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListOutput
- type GetDomainErrorPagesErrorPageInfoListArray
- func (GetDomainErrorPagesErrorPageInfoListArray) ElementType() reflect.Type
- func (i GetDomainErrorPagesErrorPageInfoListArray) ToGetDomainErrorPagesErrorPageInfoListArrayOutput() GetDomainErrorPagesErrorPageInfoListArrayOutput
- func (i GetDomainErrorPagesErrorPageInfoListArray) ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListArrayOutput
- type GetDomainErrorPagesErrorPageInfoListArrayInput
- type GetDomainErrorPagesErrorPageInfoListArrayOutput
- func (GetDomainErrorPagesErrorPageInfoListArrayOutput) ElementType() reflect.Type
- func (o GetDomainErrorPagesErrorPageInfoListArrayOutput) Index(i pulumi.IntInput) GetDomainErrorPagesErrorPageInfoListOutput
- func (o GetDomainErrorPagesErrorPageInfoListArrayOutput) ToGetDomainErrorPagesErrorPageInfoListArrayOutput() GetDomainErrorPagesErrorPageInfoListArrayOutput
- func (o GetDomainErrorPagesErrorPageInfoListArrayOutput) ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListArrayOutput
- type GetDomainErrorPagesErrorPageInfoListInput
- type GetDomainErrorPagesErrorPageInfoListOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) Body() pulumi.StringOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) ClearHeaders() pulumi.StringArrayOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) Domain() pulumi.StringOutput
- func (GetDomainErrorPagesErrorPageInfoListOutput) ElementType() reflect.Type
- func (o GetDomainErrorPagesErrorPageInfoListOutput) ErrorCodes() pulumi.IntArrayOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) Id() pulumi.StringOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) ListenerId() pulumi.StringOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) NewErrorCodes() pulumi.IntOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) SetHeaders() pulumi.MapOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) ToGetDomainErrorPagesErrorPageInfoListOutput() GetDomainErrorPagesErrorPageInfoListOutput
- func (o GetDomainErrorPagesErrorPageInfoListOutput) ToGetDomainErrorPagesErrorPageInfoListOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListOutput
- type GetDomainErrorPagesOutputArgs
- type GetDomainErrorPagesResult
- type GetDomainErrorPagesResultOutput
- func (o GetDomainErrorPagesResultOutput) Domain() pulumi.StringOutput
- func (GetDomainErrorPagesResultOutput) ElementType() reflect.Type
- func (o GetDomainErrorPagesResultOutput) ErrorPageInfoLists() GetDomainErrorPagesErrorPageInfoListArrayOutput
- func (o GetDomainErrorPagesResultOutput) Id() pulumi.StringOutput
- func (o GetDomainErrorPagesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDomainErrorPagesResultOutput) ListenerId() pulumi.StringOutput
- func (o GetDomainErrorPagesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetDomainErrorPagesResultOutput) ToGetDomainErrorPagesResultOutput() GetDomainErrorPagesResultOutput
- func (o GetDomainErrorPagesResultOutput) ToGetDomainErrorPagesResultOutputWithContext(ctx context.Context) GetDomainErrorPagesResultOutput
- type GetHttpDomainsArgs
- type GetHttpDomainsDomain
- type GetHttpDomainsDomainArgs
- type GetHttpDomainsDomainArray
- type GetHttpDomainsDomainArrayInput
- type GetHttpDomainsDomainArrayOutput
- func (GetHttpDomainsDomainArrayOutput) ElementType() reflect.Type
- func (o GetHttpDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetHttpDomainsDomainOutput
- func (o GetHttpDomainsDomainArrayOutput) ToGetHttpDomainsDomainArrayOutput() GetHttpDomainsDomainArrayOutput
- func (o GetHttpDomainsDomainArrayOutput) ToGetHttpDomainsDomainArrayOutputWithContext(ctx context.Context) GetHttpDomainsDomainArrayOutput
- type GetHttpDomainsDomainInput
- type GetHttpDomainsDomainOutput
- func (o GetHttpDomainsDomainOutput) BasicAuth() pulumi.BoolOutput
- func (o GetHttpDomainsDomainOutput) BasicAuthId() pulumi.StringOutput
- func (o GetHttpDomainsDomainOutput) CertificateId() pulumi.StringOutput
- func (o GetHttpDomainsDomainOutput) ClientCertificateId() pulumi.StringOutputdeprecated
- func (o GetHttpDomainsDomainOutput) ClientCertificateIds() pulumi.StringArrayOutput
- func (o GetHttpDomainsDomainOutput) Domain() pulumi.StringOutput
- func (GetHttpDomainsDomainOutput) ElementType() reflect.Type
- func (o GetHttpDomainsDomainOutput) GaapAuth() pulumi.BoolOutput
- func (o GetHttpDomainsDomainOutput) GaapAuthId() pulumi.StringOutput
- func (o GetHttpDomainsDomainOutput) RealserverAuth() pulumi.BoolOutput
- func (o GetHttpDomainsDomainOutput) RealserverCertificateDomain() pulumi.StringOutput
- func (o GetHttpDomainsDomainOutput) RealserverCertificateId() pulumi.StringOutputdeprecated
- func (o GetHttpDomainsDomainOutput) RealserverCertificateIds() pulumi.StringArrayOutput
- func (o GetHttpDomainsDomainOutput) ToGetHttpDomainsDomainOutput() GetHttpDomainsDomainOutput
- func (o GetHttpDomainsDomainOutput) ToGetHttpDomainsDomainOutputWithContext(ctx context.Context) GetHttpDomainsDomainOutput
- type GetHttpDomainsOutputArgs
- type GetHttpDomainsResult
- type GetHttpDomainsResultOutput
- func (o GetHttpDomainsResultOutput) Domain() pulumi.StringOutput
- func (o GetHttpDomainsResultOutput) Domains() GetHttpDomainsDomainArrayOutput
- func (GetHttpDomainsResultOutput) ElementType() reflect.Type
- func (o GetHttpDomainsResultOutput) Id() pulumi.StringOutput
- func (o GetHttpDomainsResultOutput) ListenerId() pulumi.StringOutput
- func (o GetHttpDomainsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetHttpDomainsResultOutput) ToGetHttpDomainsResultOutput() GetHttpDomainsResultOutput
- func (o GetHttpDomainsResultOutput) ToGetHttpDomainsResultOutputWithContext(ctx context.Context) GetHttpDomainsResultOutput
- type GetHttpRulesArgs
- type GetHttpRulesOutputArgs
- type GetHttpRulesResult
- type GetHttpRulesResultOutput
- func (o GetHttpRulesResultOutput) Domain() pulumi.StringPtrOutput
- func (GetHttpRulesResultOutput) ElementType() reflect.Type
- func (o GetHttpRulesResultOutput) ForwardHost() pulumi.StringPtrOutput
- func (o GetHttpRulesResultOutput) Id() pulumi.StringOutput
- func (o GetHttpRulesResultOutput) ListenerId() pulumi.StringOutput
- func (o GetHttpRulesResultOutput) Path() pulumi.StringPtrOutput
- func (o GetHttpRulesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetHttpRulesResultOutput) Rules() GetHttpRulesRuleArrayOutput
- func (o GetHttpRulesResultOutput) ToGetHttpRulesResultOutput() GetHttpRulesResultOutput
- func (o GetHttpRulesResultOutput) ToGetHttpRulesResultOutputWithContext(ctx context.Context) GetHttpRulesResultOutput
- type GetHttpRulesRule
- type GetHttpRulesRuleArgs
- type GetHttpRulesRuleArray
- type GetHttpRulesRuleArrayInput
- type GetHttpRulesRuleArrayOutput
- func (GetHttpRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetHttpRulesRuleArrayOutput) Index(i pulumi.IntInput) GetHttpRulesRuleOutput
- func (o GetHttpRulesRuleArrayOutput) ToGetHttpRulesRuleArrayOutput() GetHttpRulesRuleArrayOutput
- func (o GetHttpRulesRuleArrayOutput) ToGetHttpRulesRuleArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleArrayOutput
- type GetHttpRulesRuleInput
- type GetHttpRulesRuleOutput
- func (o GetHttpRulesRuleOutput) ConnectTimeout() pulumi.IntOutput
- func (o GetHttpRulesRuleOutput) Domain() pulumi.StringOutput
- func (GetHttpRulesRuleOutput) ElementType() reflect.Type
- func (o GetHttpRulesRuleOutput) ForwardHost() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) HealthCheck() pulumi.BoolOutput
- func (o GetHttpRulesRuleOutput) HealthCheckMethod() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) HealthCheckPath() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) HealthCheckStatusCodes() pulumi.IntArrayOutput
- func (o GetHttpRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) Interval() pulumi.IntOutput
- func (o GetHttpRulesRuleOutput) ListenerId() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) Path() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) RealserverType() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) Realservers() GetHttpRulesRuleRealserverArrayOutput
- func (o GetHttpRulesRuleOutput) Scheduler() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) Sni() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) SniSwitch() pulumi.StringOutput
- func (o GetHttpRulesRuleOutput) ToGetHttpRulesRuleOutput() GetHttpRulesRuleOutput
- func (o GetHttpRulesRuleOutput) ToGetHttpRulesRuleOutputWithContext(ctx context.Context) GetHttpRulesRuleOutput
- type GetHttpRulesRuleRealserver
- type GetHttpRulesRuleRealserverArgs
- func (GetHttpRulesRuleRealserverArgs) ElementType() reflect.Type
- func (i GetHttpRulesRuleRealserverArgs) ToGetHttpRulesRuleRealserverOutput() GetHttpRulesRuleRealserverOutput
- func (i GetHttpRulesRuleRealserverArgs) ToGetHttpRulesRuleRealserverOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverOutput
- type GetHttpRulesRuleRealserverArray
- func (GetHttpRulesRuleRealserverArray) ElementType() reflect.Type
- func (i GetHttpRulesRuleRealserverArray) ToGetHttpRulesRuleRealserverArrayOutput() GetHttpRulesRuleRealserverArrayOutput
- func (i GetHttpRulesRuleRealserverArray) ToGetHttpRulesRuleRealserverArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverArrayOutput
- type GetHttpRulesRuleRealserverArrayInput
- type GetHttpRulesRuleRealserverArrayOutput
- func (GetHttpRulesRuleRealserverArrayOutput) ElementType() reflect.Type
- func (o GetHttpRulesRuleRealserverArrayOutput) Index(i pulumi.IntInput) GetHttpRulesRuleRealserverOutput
- func (o GetHttpRulesRuleRealserverArrayOutput) ToGetHttpRulesRuleRealserverArrayOutput() GetHttpRulesRuleRealserverArrayOutput
- func (o GetHttpRulesRuleRealserverArrayOutput) ToGetHttpRulesRuleRealserverArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverArrayOutput
- type GetHttpRulesRuleRealserverInput
- type GetHttpRulesRuleRealserverOutput
- func (o GetHttpRulesRuleRealserverOutput) Domain() pulumi.StringOutput
- func (GetHttpRulesRuleRealserverOutput) ElementType() reflect.Type
- func (o GetHttpRulesRuleRealserverOutput) Id() pulumi.StringOutput
- func (o GetHttpRulesRuleRealserverOutput) Ip() pulumi.StringOutput
- func (o GetHttpRulesRuleRealserverOutput) Port() pulumi.IntOutput
- func (o GetHttpRulesRuleRealserverOutput) Status() pulumi.IntOutput
- func (o GetHttpRulesRuleRealserverOutput) ToGetHttpRulesRuleRealserverOutput() GetHttpRulesRuleRealserverOutput
- func (o GetHttpRulesRuleRealserverOutput) ToGetHttpRulesRuleRealserverOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverOutput
- func (o GetHttpRulesRuleRealserverOutput) Weight() pulumi.IntOutput
- type GetLayer4ListenersArgs
- type GetLayer4ListenersListener
- type GetLayer4ListenersListenerArgs
- func (GetLayer4ListenersListenerArgs) ElementType() reflect.Type
- func (i GetLayer4ListenersListenerArgs) ToGetLayer4ListenersListenerOutput() GetLayer4ListenersListenerOutput
- func (i GetLayer4ListenersListenerArgs) ToGetLayer4ListenersListenerOutputWithContext(ctx context.Context) GetLayer4ListenersListenerOutput
- type GetLayer4ListenersListenerArray
- func (GetLayer4ListenersListenerArray) ElementType() reflect.Type
- func (i GetLayer4ListenersListenerArray) ToGetLayer4ListenersListenerArrayOutput() GetLayer4ListenersListenerArrayOutput
- func (i GetLayer4ListenersListenerArray) ToGetLayer4ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer4ListenersListenerArrayOutput
- type GetLayer4ListenersListenerArrayInput
- type GetLayer4ListenersListenerArrayOutput
- func (GetLayer4ListenersListenerArrayOutput) ElementType() reflect.Type
- func (o GetLayer4ListenersListenerArrayOutput) Index(i pulumi.IntInput) GetLayer4ListenersListenerOutput
- func (o GetLayer4ListenersListenerArrayOutput) ToGetLayer4ListenersListenerArrayOutput() GetLayer4ListenersListenerArrayOutput
- func (o GetLayer4ListenersListenerArrayOutput) ToGetLayer4ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer4ListenersListenerArrayOutput
- type GetLayer4ListenersListenerInput
- type GetLayer4ListenersListenerOutput
- func (o GetLayer4ListenersListenerOutput) ConnectTimeout() pulumi.IntOutput
- func (o GetLayer4ListenersListenerOutput) CreateTime() pulumi.StringOutput
- func (GetLayer4ListenersListenerOutput) ElementType() reflect.Type
- func (o GetLayer4ListenersListenerOutput) HealthCheck() pulumi.BoolOutput
- func (o GetLayer4ListenersListenerOutput) Id() pulumi.StringOutput
- func (o GetLayer4ListenersListenerOutput) Interval() pulumi.IntOutput
- func (o GetLayer4ListenersListenerOutput) Name() pulumi.StringOutput
- func (o GetLayer4ListenersListenerOutput) Port() pulumi.IntOutput
- func (o GetLayer4ListenersListenerOutput) Protocol() pulumi.StringOutput
- func (o GetLayer4ListenersListenerOutput) RealserverType() pulumi.StringOutput
- func (o GetLayer4ListenersListenerOutput) Scheduler() pulumi.StringOutput
- func (o GetLayer4ListenersListenerOutput) Status() pulumi.IntOutput
- func (o GetLayer4ListenersListenerOutput) ToGetLayer4ListenersListenerOutput() GetLayer4ListenersListenerOutput
- func (o GetLayer4ListenersListenerOutput) ToGetLayer4ListenersListenerOutputWithContext(ctx context.Context) GetLayer4ListenersListenerOutput
- type GetLayer4ListenersOutputArgs
- type GetLayer4ListenersResult
- type GetLayer4ListenersResultOutput
- func (GetLayer4ListenersResultOutput) ElementType() reflect.Type
- func (o GetLayer4ListenersResultOutput) Id() pulumi.StringOutput
- func (o GetLayer4ListenersResultOutput) ListenerId() pulumi.StringPtrOutput
- func (o GetLayer4ListenersResultOutput) ListenerName() pulumi.StringPtrOutput
- func (o GetLayer4ListenersResultOutput) Listeners() GetLayer4ListenersListenerArrayOutput
- func (o GetLayer4ListenersResultOutput) Port() pulumi.IntPtrOutput
- func (o GetLayer4ListenersResultOutput) Protocol() pulumi.StringOutput
- func (o GetLayer4ListenersResultOutput) ProxyId() pulumi.StringPtrOutput
- func (o GetLayer4ListenersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetLayer4ListenersResultOutput) ToGetLayer4ListenersResultOutput() GetLayer4ListenersResultOutput
- func (o GetLayer4ListenersResultOutput) ToGetLayer4ListenersResultOutputWithContext(ctx context.Context) GetLayer4ListenersResultOutput
- type GetLayer7ListenersArgs
- type GetLayer7ListenersListener
- type GetLayer7ListenersListenerArgs
- func (GetLayer7ListenersListenerArgs) ElementType() reflect.Type
- func (i GetLayer7ListenersListenerArgs) ToGetLayer7ListenersListenerOutput() GetLayer7ListenersListenerOutput
- func (i GetLayer7ListenersListenerArgs) ToGetLayer7ListenersListenerOutputWithContext(ctx context.Context) GetLayer7ListenersListenerOutput
- type GetLayer7ListenersListenerArray
- func (GetLayer7ListenersListenerArray) ElementType() reflect.Type
- func (i GetLayer7ListenersListenerArray) ToGetLayer7ListenersListenerArrayOutput() GetLayer7ListenersListenerArrayOutput
- func (i GetLayer7ListenersListenerArray) ToGetLayer7ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer7ListenersListenerArrayOutput
- type GetLayer7ListenersListenerArrayInput
- type GetLayer7ListenersListenerArrayOutput
- func (GetLayer7ListenersListenerArrayOutput) ElementType() reflect.Type
- func (o GetLayer7ListenersListenerArrayOutput) Index(i pulumi.IntInput) GetLayer7ListenersListenerOutput
- func (o GetLayer7ListenersListenerArrayOutput) ToGetLayer7ListenersListenerArrayOutput() GetLayer7ListenersListenerArrayOutput
- func (o GetLayer7ListenersListenerArrayOutput) ToGetLayer7ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer7ListenersListenerArrayOutput
- type GetLayer7ListenersListenerInput
- type GetLayer7ListenersListenerOutput
- func (o GetLayer7ListenersListenerOutput) AuthType() pulumi.IntOutput
- func (o GetLayer7ListenersListenerOutput) CertificateId() pulumi.StringOutput
- func (o GetLayer7ListenersListenerOutput) ClientCertificateId() pulumi.StringOutputdeprecated
- func (o GetLayer7ListenersListenerOutput) ClientCertificateIds() pulumi.StringArrayOutput
- func (o GetLayer7ListenersListenerOutput) CreateTime() pulumi.StringOutput
- func (GetLayer7ListenersListenerOutput) ElementType() reflect.Type
- func (o GetLayer7ListenersListenerOutput) ForwardProtocol() pulumi.StringOutput
- func (o GetLayer7ListenersListenerOutput) Id() pulumi.StringOutput
- func (o GetLayer7ListenersListenerOutput) Name() pulumi.StringOutput
- func (o GetLayer7ListenersListenerOutput) Port() pulumi.IntOutput
- func (o GetLayer7ListenersListenerOutput) Protocol() pulumi.StringOutput
- func (o GetLayer7ListenersListenerOutput) Status() pulumi.IntOutput
- func (o GetLayer7ListenersListenerOutput) ToGetLayer7ListenersListenerOutput() GetLayer7ListenersListenerOutput
- func (o GetLayer7ListenersListenerOutput) ToGetLayer7ListenersListenerOutputWithContext(ctx context.Context) GetLayer7ListenersListenerOutput
- type GetLayer7ListenersOutputArgs
- type GetLayer7ListenersResult
- type GetLayer7ListenersResultOutput
- func (GetLayer7ListenersResultOutput) ElementType() reflect.Type
- func (o GetLayer7ListenersResultOutput) Id() pulumi.StringOutput
- func (o GetLayer7ListenersResultOutput) ListenerId() pulumi.StringPtrOutput
- func (o GetLayer7ListenersResultOutput) ListenerName() pulumi.StringPtrOutput
- func (o GetLayer7ListenersResultOutput) Listeners() GetLayer7ListenersListenerArrayOutput
- func (o GetLayer7ListenersResultOutput) Port() pulumi.IntPtrOutput
- func (o GetLayer7ListenersResultOutput) Protocol() pulumi.StringOutput
- func (o GetLayer7ListenersResultOutput) ProxyId() pulumi.StringPtrOutput
- func (o GetLayer7ListenersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetLayer7ListenersResultOutput) ToGetLayer7ListenersResultOutput() GetLayer7ListenersResultOutput
- func (o GetLayer7ListenersResultOutput) ToGetLayer7ListenersResultOutputWithContext(ctx context.Context) GetLayer7ListenersResultOutput
- type GetProxiesArgs
- type GetProxiesOutputArgs
- type GetProxiesProxy
- type GetProxiesProxyArgs
- type GetProxiesProxyArray
- type GetProxiesProxyArrayInput
- type GetProxiesProxyArrayOutput
- func (GetProxiesProxyArrayOutput) ElementType() reflect.Type
- func (o GetProxiesProxyArrayOutput) Index(i pulumi.IntInput) GetProxiesProxyOutput
- func (o GetProxiesProxyArrayOutput) ToGetProxiesProxyArrayOutput() GetProxiesProxyArrayOutput
- func (o GetProxiesProxyArrayOutput) ToGetProxiesProxyArrayOutputWithContext(ctx context.Context) GetProxiesProxyArrayOutput
- type GetProxiesProxyInput
- type GetProxiesProxyOutput
- func (o GetProxiesProxyOutput) AccessRegion() pulumi.StringOutput
- func (o GetProxiesProxyOutput) Bandwidth() pulumi.IntOutput
- func (o GetProxiesProxyOutput) Concurrent() pulumi.IntOutput
- func (o GetProxiesProxyOutput) CreateTime() pulumi.StringOutput
- func (o GetProxiesProxyOutput) Domain() pulumi.StringOutput
- func (GetProxiesProxyOutput) ElementType() reflect.Type
- func (o GetProxiesProxyOutput) ForwardIp() pulumi.StringOutput
- func (o GetProxiesProxyOutput) Id() pulumi.StringOutput
- func (o GetProxiesProxyOutput) Ip() pulumi.StringOutput
- func (o GetProxiesProxyOutput) Name() pulumi.StringOutput
- func (o GetProxiesProxyOutput) PolicyId() pulumi.StringOutput
- func (o GetProxiesProxyOutput) ProjectId() pulumi.IntOutput
- func (o GetProxiesProxyOutput) RealserverRegion() pulumi.StringOutput
- func (o GetProxiesProxyOutput) Scalable() pulumi.BoolOutput
- func (o GetProxiesProxyOutput) Status() pulumi.StringOutput
- func (o GetProxiesProxyOutput) SupportProtocols() pulumi.StringArrayOutput
- func (o GetProxiesProxyOutput) Tags() pulumi.MapOutput
- func (o GetProxiesProxyOutput) ToGetProxiesProxyOutput() GetProxiesProxyOutput
- func (o GetProxiesProxyOutput) ToGetProxiesProxyOutputWithContext(ctx context.Context) GetProxiesProxyOutput
- func (o GetProxiesProxyOutput) Version() pulumi.StringOutput
- type GetProxiesResult
- type GetProxiesResultOutput
- func (o GetProxiesResultOutput) AccessRegion() pulumi.StringPtrOutput
- func (GetProxiesResultOutput) ElementType() reflect.Type
- func (o GetProxiesResultOutput) Id() pulumi.StringOutput
- func (o GetProxiesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetProxiesResultOutput) ProjectId() pulumi.IntPtrOutput
- func (o GetProxiesResultOutput) Proxies() GetProxiesProxyArrayOutput
- func (o GetProxiesResultOutput) RealserverRegion() pulumi.StringPtrOutput
- func (o GetProxiesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetProxiesResultOutput) Tags() pulumi.MapOutput
- func (o GetProxiesResultOutput) ToGetProxiesResultOutput() GetProxiesResultOutput
- func (o GetProxiesResultOutput) ToGetProxiesResultOutputWithContext(ctx context.Context) GetProxiesResultOutput
- type GetRealserversArgs
- type GetRealserversOutputArgs
- type GetRealserversRealserver
- type GetRealserversRealserverArgs
- func (GetRealserversRealserverArgs) ElementType() reflect.Type
- func (i GetRealserversRealserverArgs) ToGetRealserversRealserverOutput() GetRealserversRealserverOutput
- func (i GetRealserversRealserverArgs) ToGetRealserversRealserverOutputWithContext(ctx context.Context) GetRealserversRealserverOutput
- type GetRealserversRealserverArray
- func (GetRealserversRealserverArray) ElementType() reflect.Type
- func (i GetRealserversRealserverArray) ToGetRealserversRealserverArrayOutput() GetRealserversRealserverArrayOutput
- func (i GetRealserversRealserverArray) ToGetRealserversRealserverArrayOutputWithContext(ctx context.Context) GetRealserversRealserverArrayOutput
- type GetRealserversRealserverArrayInput
- type GetRealserversRealserverArrayOutput
- func (GetRealserversRealserverArrayOutput) ElementType() reflect.Type
- func (o GetRealserversRealserverArrayOutput) Index(i pulumi.IntInput) GetRealserversRealserverOutput
- func (o GetRealserversRealserverArrayOutput) ToGetRealserversRealserverArrayOutput() GetRealserversRealserverArrayOutput
- func (o GetRealserversRealserverArrayOutput) ToGetRealserversRealserverArrayOutputWithContext(ctx context.Context) GetRealserversRealserverArrayOutput
- type GetRealserversRealserverInput
- type GetRealserversRealserverOutput
- func (o GetRealserversRealserverOutput) Domain() pulumi.StringOutput
- func (GetRealserversRealserverOutput) ElementType() reflect.Type
- func (o GetRealserversRealserverOutput) Id() pulumi.StringOutput
- func (o GetRealserversRealserverOutput) Ip() pulumi.StringOutput
- func (o GetRealserversRealserverOutput) Name() pulumi.StringOutput
- func (o GetRealserversRealserverOutput) ProjectId() pulumi.IntOutput
- func (o GetRealserversRealserverOutput) Tags() pulumi.MapOutput
- func (o GetRealserversRealserverOutput) ToGetRealserversRealserverOutput() GetRealserversRealserverOutput
- func (o GetRealserversRealserverOutput) ToGetRealserversRealserverOutputWithContext(ctx context.Context) GetRealserversRealserverOutput
- type GetRealserversResult
- type GetRealserversResultOutput
- func (o GetRealserversResultOutput) Domain() pulumi.StringPtrOutput
- func (GetRealserversResultOutput) ElementType() reflect.Type
- func (o GetRealserversResultOutput) Id() pulumi.StringOutput
- func (o GetRealserversResultOutput) Ip() pulumi.StringPtrOutput
- func (o GetRealserversResultOutput) Name() pulumi.StringPtrOutput
- func (o GetRealserversResultOutput) ProjectId() pulumi.IntPtrOutput
- func (o GetRealserversResultOutput) Realservers() GetRealserversRealserverArrayOutput
- func (o GetRealserversResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetRealserversResultOutput) Tags() pulumi.MapOutput
- func (o GetRealserversResultOutput) ToGetRealserversResultOutput() GetRealserversResultOutput
- func (o GetRealserversResultOutput) ToGetRealserversResultOutputWithContext(ctx context.Context) GetRealserversResultOutput
- type GetSecurityPoliciesArgs
- type GetSecurityPoliciesOutputArgs
- type GetSecurityPoliciesResult
- type GetSecurityPoliciesResultOutput
- func (o GetSecurityPoliciesResultOutput) Action() pulumi.StringOutput
- func (GetSecurityPoliciesResultOutput) ElementType() reflect.Type
- func (o GetSecurityPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetSecurityPoliciesResultOutput) ProxyId() pulumi.StringOutput
- func (o GetSecurityPoliciesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetSecurityPoliciesResultOutput) Status() pulumi.StringOutput
- func (o GetSecurityPoliciesResultOutput) ToGetSecurityPoliciesResultOutput() GetSecurityPoliciesResultOutput
- func (o GetSecurityPoliciesResultOutput) ToGetSecurityPoliciesResultOutputWithContext(ctx context.Context) GetSecurityPoliciesResultOutput
- type GetSecurityRulesArgs
- type GetSecurityRulesOutputArgs
- type GetSecurityRulesResult
- type GetSecurityRulesResultOutput
- func (o GetSecurityRulesResultOutput) Action() pulumi.StringPtrOutput
- func (o GetSecurityRulesResultOutput) CidrIp() pulumi.StringPtrOutput
- func (GetSecurityRulesResultOutput) ElementType() reflect.Type
- func (o GetSecurityRulesResultOutput) Id() pulumi.StringOutput
- func (o GetSecurityRulesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSecurityRulesResultOutput) PolicyId() pulumi.StringOutput
- func (o GetSecurityRulesResultOutput) Port() pulumi.StringPtrOutput
- func (o GetSecurityRulesResultOutput) Protocol() pulumi.StringPtrOutput
- func (o GetSecurityRulesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetSecurityRulesResultOutput) RuleId() pulumi.StringPtrOutput
- func (o GetSecurityRulesResultOutput) Rules() GetSecurityRulesRuleArrayOutput
- func (o GetSecurityRulesResultOutput) ToGetSecurityRulesResultOutput() GetSecurityRulesResultOutput
- func (o GetSecurityRulesResultOutput) ToGetSecurityRulesResultOutputWithContext(ctx context.Context) GetSecurityRulesResultOutput
- type GetSecurityRulesRule
- type GetSecurityRulesRuleArgs
- type GetSecurityRulesRuleArray
- type GetSecurityRulesRuleArrayInput
- type GetSecurityRulesRuleArrayOutput
- func (GetSecurityRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetSecurityRulesRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityRulesRuleOutput
- func (o GetSecurityRulesRuleArrayOutput) ToGetSecurityRulesRuleArrayOutput() GetSecurityRulesRuleArrayOutput
- func (o GetSecurityRulesRuleArrayOutput) ToGetSecurityRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityRulesRuleArrayOutput
- type GetSecurityRulesRuleInput
- type GetSecurityRulesRuleOutput
- func (o GetSecurityRulesRuleOutput) Action() pulumi.StringOutput
- func (o GetSecurityRulesRuleOutput) CidrIp() pulumi.StringOutput
- func (GetSecurityRulesRuleOutput) ElementType() reflect.Type
- func (o GetSecurityRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetSecurityRulesRuleOutput) Name() pulumi.StringOutput
- func (o GetSecurityRulesRuleOutput) Port() pulumi.StringOutput
- func (o GetSecurityRulesRuleOutput) Protocol() pulumi.StringOutput
- func (o GetSecurityRulesRuleOutput) ToGetSecurityRulesRuleOutput() GetSecurityRulesRuleOutput
- func (o GetSecurityRulesRuleOutput) ToGetSecurityRulesRuleOutputWithContext(ctx context.Context) GetSecurityRulesRuleOutput
- type HttpDomain
- type HttpDomainArgs
- type HttpDomainArray
- type HttpDomainArrayInput
- type HttpDomainArrayOutput
- func (HttpDomainArrayOutput) ElementType() reflect.Type
- func (o HttpDomainArrayOutput) Index(i pulumi.IntInput) HttpDomainOutput
- func (o HttpDomainArrayOutput) ToHttpDomainArrayOutput() HttpDomainArrayOutput
- func (o HttpDomainArrayOutput) ToHttpDomainArrayOutputWithContext(ctx context.Context) HttpDomainArrayOutput
- type HttpDomainInput
- type HttpDomainMap
- type HttpDomainMapInput
- type HttpDomainMapOutput
- func (HttpDomainMapOutput) ElementType() reflect.Type
- func (o HttpDomainMapOutput) MapIndex(k pulumi.StringInput) HttpDomainOutput
- func (o HttpDomainMapOutput) ToHttpDomainMapOutput() HttpDomainMapOutput
- func (o HttpDomainMapOutput) ToHttpDomainMapOutputWithContext(ctx context.Context) HttpDomainMapOutput
- type HttpDomainOutput
- func (o HttpDomainOutput) BasicAuth() pulumi.BoolPtrOutput
- func (o HttpDomainOutput) BasicAuthId() pulumi.StringOutput
- func (o HttpDomainOutput) CertificateId() pulumi.StringPtrOutput
- func (o HttpDomainOutput) ClientCertificateId() pulumi.StringOutputdeprecated
- func (o HttpDomainOutput) ClientCertificateIds() pulumi.StringArrayOutput
- func (o HttpDomainOutput) Domain() pulumi.StringOutput
- func (HttpDomainOutput) ElementType() reflect.Type
- func (o HttpDomainOutput) GaapAuth() pulumi.BoolPtrOutput
- func (o HttpDomainOutput) GaapAuthId() pulumi.StringOutput
- func (o HttpDomainOutput) ListenerId() pulumi.StringOutput
- func (o HttpDomainOutput) RealserverAuth() pulumi.BoolPtrOutput
- func (o HttpDomainOutput) RealserverCertificateDomain() pulumi.StringOutput
- func (o HttpDomainOutput) RealserverCertificateId() pulumi.StringOutputdeprecated
- func (o HttpDomainOutput) RealserverCertificateIds() pulumi.StringArrayOutput
- func (o HttpDomainOutput) ToHttpDomainOutput() HttpDomainOutput
- func (o HttpDomainOutput) ToHttpDomainOutputWithContext(ctx context.Context) HttpDomainOutput
- type HttpDomainState
- type HttpRule
- type HttpRuleArgs
- type HttpRuleArray
- type HttpRuleArrayInput
- type HttpRuleArrayOutput
- type HttpRuleInput
- type HttpRuleMap
- type HttpRuleMapInput
- type HttpRuleMapOutput
- type HttpRuleOutput
- func (o HttpRuleOutput) ConnectTimeout() pulumi.IntPtrOutput
- func (o HttpRuleOutput) Domain() pulumi.StringOutput
- func (HttpRuleOutput) ElementType() reflect.Type
- func (o HttpRuleOutput) ForwardHost() pulumi.StringPtrOutput
- func (o HttpRuleOutput) HealthCheck() pulumi.BoolOutput
- func (o HttpRuleOutput) HealthCheckMethod() pulumi.StringPtrOutput
- func (o HttpRuleOutput) HealthCheckPath() pulumi.StringPtrOutput
- func (o HttpRuleOutput) HealthCheckStatusCodes() pulumi.IntArrayOutput
- func (o HttpRuleOutput) Interval() pulumi.IntPtrOutput
- func (o HttpRuleOutput) ListenerId() pulumi.StringOutput
- func (o HttpRuleOutput) Path() pulumi.StringOutput
- func (o HttpRuleOutput) RealserverType() pulumi.StringOutput
- func (o HttpRuleOutput) Realservers() HttpRuleRealserverArrayOutput
- func (o HttpRuleOutput) Scheduler() pulumi.StringPtrOutput
- func (o HttpRuleOutput) Sni() pulumi.StringOutput
- func (o HttpRuleOutput) SniSwitch() pulumi.StringOutput
- func (o HttpRuleOutput) ToHttpRuleOutput() HttpRuleOutput
- func (o HttpRuleOutput) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput
- type HttpRuleRealserver
- type HttpRuleRealserverArgs
- type HttpRuleRealserverArray
- type HttpRuleRealserverArrayInput
- type HttpRuleRealserverArrayOutput
- func (HttpRuleRealserverArrayOutput) ElementType() reflect.Type
- func (o HttpRuleRealserverArrayOutput) Index(i pulumi.IntInput) HttpRuleRealserverOutput
- func (o HttpRuleRealserverArrayOutput) ToHttpRuleRealserverArrayOutput() HttpRuleRealserverArrayOutput
- func (o HttpRuleRealserverArrayOutput) ToHttpRuleRealserverArrayOutputWithContext(ctx context.Context) HttpRuleRealserverArrayOutput
- type HttpRuleRealserverInput
- type HttpRuleRealserverOutput
- func (HttpRuleRealserverOutput) ElementType() reflect.Type
- func (o HttpRuleRealserverOutput) Id() pulumi.StringOutput
- func (o HttpRuleRealserverOutput) Ip() pulumi.StringOutput
- func (o HttpRuleRealserverOutput) Port() pulumi.IntOutput
- func (o HttpRuleRealserverOutput) ToHttpRuleRealserverOutput() HttpRuleRealserverOutput
- func (o HttpRuleRealserverOutput) ToHttpRuleRealserverOutputWithContext(ctx context.Context) HttpRuleRealserverOutput
- func (o HttpRuleRealserverOutput) Weight() pulumi.IntPtrOutput
- type HttpRuleState
- type Layer4Listener
- type Layer4ListenerArgs
- type Layer4ListenerArray
- type Layer4ListenerArrayInput
- type Layer4ListenerArrayOutput
- func (Layer4ListenerArrayOutput) ElementType() reflect.Type
- func (o Layer4ListenerArrayOutput) Index(i pulumi.IntInput) Layer4ListenerOutput
- func (o Layer4ListenerArrayOutput) ToLayer4ListenerArrayOutput() Layer4ListenerArrayOutput
- func (o Layer4ListenerArrayOutput) ToLayer4ListenerArrayOutputWithContext(ctx context.Context) Layer4ListenerArrayOutput
- type Layer4ListenerInput
- type Layer4ListenerMap
- type Layer4ListenerMapInput
- type Layer4ListenerMapOutput
- func (Layer4ListenerMapOutput) ElementType() reflect.Type
- func (o Layer4ListenerMapOutput) MapIndex(k pulumi.StringInput) Layer4ListenerOutput
- func (o Layer4ListenerMapOutput) ToLayer4ListenerMapOutput() Layer4ListenerMapOutput
- func (o Layer4ListenerMapOutput) ToLayer4ListenerMapOutputWithContext(ctx context.Context) Layer4ListenerMapOutput
- type Layer4ListenerOutput
- func (o Layer4ListenerOutput) ClientIpMethod() pulumi.IntPtrOutput
- func (o Layer4ListenerOutput) ConnectTimeout() pulumi.IntPtrOutput
- func (o Layer4ListenerOutput) CreateTime() pulumi.StringOutput
- func (Layer4ListenerOutput) ElementType() reflect.Type
- func (o Layer4ListenerOutput) HealthCheck() pulumi.BoolPtrOutput
- func (o Layer4ListenerOutput) Interval() pulumi.IntPtrOutput
- func (o Layer4ListenerOutput) Name() pulumi.StringOutput
- func (o Layer4ListenerOutput) Port() pulumi.IntOutput
- func (o Layer4ListenerOutput) Protocol() pulumi.StringOutput
- func (o Layer4ListenerOutput) ProxyId() pulumi.StringOutput
- func (o Layer4ListenerOutput) RealserverBindSets() Layer4ListenerRealserverBindSetArrayOutput
- func (o Layer4ListenerOutput) RealserverType() pulumi.StringOutput
- func (o Layer4ListenerOutput) Scheduler() pulumi.StringPtrOutput
- func (o Layer4ListenerOutput) Status() pulumi.IntOutput
- func (o Layer4ListenerOutput) ToLayer4ListenerOutput() Layer4ListenerOutput
- func (o Layer4ListenerOutput) ToLayer4ListenerOutputWithContext(ctx context.Context) Layer4ListenerOutput
- type Layer4ListenerRealserverBindSet
- type Layer4ListenerRealserverBindSetArgs
- func (Layer4ListenerRealserverBindSetArgs) ElementType() reflect.Type
- func (i Layer4ListenerRealserverBindSetArgs) ToLayer4ListenerRealserverBindSetOutput() Layer4ListenerRealserverBindSetOutput
- func (i Layer4ListenerRealserverBindSetArgs) ToLayer4ListenerRealserverBindSetOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetOutput
- type Layer4ListenerRealserverBindSetArray
- func (Layer4ListenerRealserverBindSetArray) ElementType() reflect.Type
- func (i Layer4ListenerRealserverBindSetArray) ToLayer4ListenerRealserverBindSetArrayOutput() Layer4ListenerRealserverBindSetArrayOutput
- func (i Layer4ListenerRealserverBindSetArray) ToLayer4ListenerRealserverBindSetArrayOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetArrayOutput
- type Layer4ListenerRealserverBindSetArrayInput
- type Layer4ListenerRealserverBindSetArrayOutput
- func (Layer4ListenerRealserverBindSetArrayOutput) ElementType() reflect.Type
- func (o Layer4ListenerRealserverBindSetArrayOutput) Index(i pulumi.IntInput) Layer4ListenerRealserverBindSetOutput
- func (o Layer4ListenerRealserverBindSetArrayOutput) ToLayer4ListenerRealserverBindSetArrayOutput() Layer4ListenerRealserverBindSetArrayOutput
- func (o Layer4ListenerRealserverBindSetArrayOutput) ToLayer4ListenerRealserverBindSetArrayOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetArrayOutput
- type Layer4ListenerRealserverBindSetInput
- type Layer4ListenerRealserverBindSetOutput
- func (Layer4ListenerRealserverBindSetOutput) ElementType() reflect.Type
- func (o Layer4ListenerRealserverBindSetOutput) Id() pulumi.StringOutput
- func (o Layer4ListenerRealserverBindSetOutput) Ip() pulumi.StringOutput
- func (o Layer4ListenerRealserverBindSetOutput) Port() pulumi.IntOutput
- func (o Layer4ListenerRealserverBindSetOutput) ToLayer4ListenerRealserverBindSetOutput() Layer4ListenerRealserverBindSetOutput
- func (o Layer4ListenerRealserverBindSetOutput) ToLayer4ListenerRealserverBindSetOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetOutput
- func (o Layer4ListenerRealserverBindSetOutput) Weight() pulumi.IntPtrOutput
- type Layer4ListenerState
- type Layer7Listener
- type Layer7ListenerArgs
- type Layer7ListenerArray
- type Layer7ListenerArrayInput
- type Layer7ListenerArrayOutput
- func (Layer7ListenerArrayOutput) ElementType() reflect.Type
- func (o Layer7ListenerArrayOutput) Index(i pulumi.IntInput) Layer7ListenerOutput
- func (o Layer7ListenerArrayOutput) ToLayer7ListenerArrayOutput() Layer7ListenerArrayOutput
- func (o Layer7ListenerArrayOutput) ToLayer7ListenerArrayOutputWithContext(ctx context.Context) Layer7ListenerArrayOutput
- type Layer7ListenerInput
- type Layer7ListenerMap
- type Layer7ListenerMapInput
- type Layer7ListenerMapOutput
- func (Layer7ListenerMapOutput) ElementType() reflect.Type
- func (o Layer7ListenerMapOutput) MapIndex(k pulumi.StringInput) Layer7ListenerOutput
- func (o Layer7ListenerMapOutput) ToLayer7ListenerMapOutput() Layer7ListenerMapOutput
- func (o Layer7ListenerMapOutput) ToLayer7ListenerMapOutputWithContext(ctx context.Context) Layer7ListenerMapOutput
- type Layer7ListenerOutput
- func (o Layer7ListenerOutput) AuthType() pulumi.IntPtrOutput
- func (o Layer7ListenerOutput) CertificateId() pulumi.StringPtrOutput
- func (o Layer7ListenerOutput) ClientCertificateId() pulumi.StringOutputdeprecated
- func (o Layer7ListenerOutput) ClientCertificateIds() pulumi.StringArrayOutput
- func (o Layer7ListenerOutput) CreateTime() pulumi.StringOutput
- func (Layer7ListenerOutput) ElementType() reflect.Type
- func (o Layer7ListenerOutput) ForwardProtocol() pulumi.StringPtrOutput
- func (o Layer7ListenerOutput) Name() pulumi.StringOutput
- func (o Layer7ListenerOutput) Port() pulumi.IntOutput
- func (o Layer7ListenerOutput) Protocol() pulumi.StringOutput
- func (o Layer7ListenerOutput) ProxyId() pulumi.StringOutput
- func (o Layer7ListenerOutput) Status() pulumi.IntOutput
- func (o Layer7ListenerOutput) ToLayer7ListenerOutput() Layer7ListenerOutput
- func (o Layer7ListenerOutput) ToLayer7ListenerOutputWithContext(ctx context.Context) Layer7ListenerOutput
- type Layer7ListenerState
- type Proxy
- type ProxyArgs
- type ProxyArray
- type ProxyArrayInput
- type ProxyArrayOutput
- type ProxyInput
- type ProxyMap
- type ProxyMapInput
- type ProxyMapOutput
- type ProxyOutput
- func (o ProxyOutput) AccessRegion() pulumi.StringOutput
- func (o ProxyOutput) Bandwidth() pulumi.IntOutput
- func (o ProxyOutput) Concurrent() pulumi.IntOutput
- func (o ProxyOutput) CreateTime() pulumi.StringOutput
- func (o ProxyOutput) Domain() pulumi.StringOutput
- func (ProxyOutput) ElementType() reflect.Type
- func (o ProxyOutput) Enable() pulumi.BoolPtrOutput
- func (o ProxyOutput) ForwardIp() pulumi.StringOutput
- func (o ProxyOutput) Ip() pulumi.StringOutput
- func (o ProxyOutput) Name() pulumi.StringOutput
- func (o ProxyOutput) ProjectId() pulumi.IntPtrOutput
- func (o ProxyOutput) RealserverRegion() pulumi.StringOutput
- func (o ProxyOutput) Scalable() pulumi.BoolOutput
- func (o ProxyOutput) Status() pulumi.StringOutput
- func (o ProxyOutput) SupportProtocols() pulumi.StringArrayOutput
- func (o ProxyOutput) Tags() pulumi.MapOutput
- func (o ProxyOutput) ToProxyOutput() ProxyOutput
- func (o ProxyOutput) ToProxyOutputWithContext(ctx context.Context) ProxyOutput
- type ProxyState
- type Realserver
- type RealserverArgs
- type RealserverArray
- type RealserverArrayInput
- type RealserverArrayOutput
- func (RealserverArrayOutput) ElementType() reflect.Type
- func (o RealserverArrayOutput) Index(i pulumi.IntInput) RealserverOutput
- func (o RealserverArrayOutput) ToRealserverArrayOutput() RealserverArrayOutput
- func (o RealserverArrayOutput) ToRealserverArrayOutputWithContext(ctx context.Context) RealserverArrayOutput
- type RealserverInput
- type RealserverMap
- type RealserverMapInput
- type RealserverMapOutput
- func (RealserverMapOutput) ElementType() reflect.Type
- func (o RealserverMapOutput) MapIndex(k pulumi.StringInput) RealserverOutput
- func (o RealserverMapOutput) ToRealserverMapOutput() RealserverMapOutput
- func (o RealserverMapOutput) ToRealserverMapOutputWithContext(ctx context.Context) RealserverMapOutput
- type RealserverOutput
- func (o RealserverOutput) Domain() pulumi.StringPtrOutput
- func (RealserverOutput) ElementType() reflect.Type
- func (o RealserverOutput) Ip() pulumi.StringPtrOutput
- func (o RealserverOutput) Name() pulumi.StringOutput
- func (o RealserverOutput) ProjectId() pulumi.IntPtrOutput
- func (o RealserverOutput) Tags() pulumi.MapOutput
- func (o RealserverOutput) ToRealserverOutput() RealserverOutput
- func (o RealserverOutput) ToRealserverOutputWithContext(ctx context.Context) RealserverOutput
- type RealserverState
- type SecurityPolicy
- type SecurityPolicyArgs
- type SecurityPolicyArray
- type SecurityPolicyArrayInput
- type SecurityPolicyArrayOutput
- func (SecurityPolicyArrayOutput) ElementType() reflect.Type
- func (o SecurityPolicyArrayOutput) Index(i pulumi.IntInput) SecurityPolicyOutput
- func (o SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput
- func (o SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutputWithContext(ctx context.Context) SecurityPolicyArrayOutput
- type SecurityPolicyInput
- type SecurityPolicyMap
- type SecurityPolicyMapInput
- type SecurityPolicyMapOutput
- func (SecurityPolicyMapOutput) ElementType() reflect.Type
- func (o SecurityPolicyMapOutput) MapIndex(k pulumi.StringInput) SecurityPolicyOutput
- func (o SecurityPolicyMapOutput) ToSecurityPolicyMapOutput() SecurityPolicyMapOutput
- func (o SecurityPolicyMapOutput) ToSecurityPolicyMapOutputWithContext(ctx context.Context) SecurityPolicyMapOutput
- type SecurityPolicyOutput
- func (o SecurityPolicyOutput) Action() pulumi.StringOutput
- func (SecurityPolicyOutput) ElementType() reflect.Type
- func (o SecurityPolicyOutput) Enable() pulumi.BoolPtrOutput
- func (o SecurityPolicyOutput) ProxyId() pulumi.StringOutput
- func (o SecurityPolicyOutput) ToSecurityPolicyOutput() SecurityPolicyOutput
- func (o SecurityPolicyOutput) ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput
- type SecurityPolicyState
- type SecurityRule
- type SecurityRuleArgs
- type SecurityRuleArray
- type SecurityRuleArrayInput
- type SecurityRuleArrayOutput
- func (SecurityRuleArrayOutput) ElementType() reflect.Type
- func (o SecurityRuleArrayOutput) Index(i pulumi.IntInput) SecurityRuleOutput
- func (o SecurityRuleArrayOutput) ToSecurityRuleArrayOutput() SecurityRuleArrayOutput
- func (o SecurityRuleArrayOutput) ToSecurityRuleArrayOutputWithContext(ctx context.Context) SecurityRuleArrayOutput
- type SecurityRuleInput
- type SecurityRuleMap
- type SecurityRuleMapInput
- type SecurityRuleMapOutput
- func (SecurityRuleMapOutput) ElementType() reflect.Type
- func (o SecurityRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityRuleOutput
- func (o SecurityRuleMapOutput) ToSecurityRuleMapOutput() SecurityRuleMapOutput
- func (o SecurityRuleMapOutput) ToSecurityRuleMapOutputWithContext(ctx context.Context) SecurityRuleMapOutput
- type SecurityRuleOutput
- func (o SecurityRuleOutput) Action() pulumi.StringOutput
- func (o SecurityRuleOutput) CidrIp() pulumi.StringOutput
- func (SecurityRuleOutput) ElementType() reflect.Type
- func (o SecurityRuleOutput) Name() pulumi.StringOutput
- func (o SecurityRuleOutput) PolicyId() pulumi.StringOutput
- func (o SecurityRuleOutput) Port() pulumi.StringPtrOutput
- func (o SecurityRuleOutput) Protocol() pulumi.StringPtrOutput
- func (o SecurityRuleOutput) ToSecurityRuleOutput() SecurityRuleOutput
- func (o SecurityRuleOutput) ToSecurityRuleOutputWithContext(ctx context.Context) SecurityRuleOutput
- type SecurityRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.5
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Certificate ¶
type Certificate struct { pulumi.CustomResourceState // Beginning time of the certificate. BeginTime pulumi.StringOutput `pulumi:"beginTime"` // Content of the certificate, and URL encoding. When the certificate is basic authentication, use the `user:xxx password:xxx` format, where the password is encrypted with `htpasswd` or `openssl`; When the certificate is `CA` or `SSL`, the format is `pem`. Content pulumi.StringOutput `pulumi:"content"` // Creation time of the certificate. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Ending time of the certificate. EndTime pulumi.StringOutput `pulumi:"endTime"` // Issuer name of the certificate. IssuerCn pulumi.StringOutput `pulumi:"issuerCn"` // Key of the `SSL` certificate. Key pulumi.StringPtrOutput `pulumi:"key"` // Name of the certificate. Name pulumi.StringOutput `pulumi:"name"` // Subject name of the certificate. SubjectCn pulumi.StringOutput `pulumi:"subjectCn"` // Type of the certificate. Valid value: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type pulumi.StringOutput `pulumi:"type"` }
Provides a resource to create a certificate of GAAP.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Gaap.NewCertificate(ctx, "foo", &Gaap.CertificateArgs{ Content: pulumi.String("test:tx2KGdo3zJg/."), Type: pulumi.String("BASIC"), }) if err != nil { return err } return nil }) }
```
## Import
GAAP certificate can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/certificate:Certificate tencentcloud_gaap_certificate.foo cert-d5y6ei3b
```
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)
GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCertificate ¶
func NewCertificate(ctx *pulumi.Context, name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)
NewCertificate registers a new resource with the given unique name, arguments, and options.
func (*Certificate) ElementType ¶
func (*Certificate) ElementType() reflect.Type
func (*Certificate) ToCertificateOutput ¶
func (i *Certificate) ToCertificateOutput() CertificateOutput
func (*Certificate) ToCertificateOutputWithContext ¶
func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateArgs ¶
type CertificateArgs struct { // Content of the certificate, and URL encoding. When the certificate is basic authentication, use the `user:xxx password:xxx` format, where the password is encrypted with `htpasswd` or `openssl`; When the certificate is `CA` or `SSL`, the format is `pem`. Content pulumi.StringInput // Key of the `SSL` certificate. Key pulumi.StringPtrInput // Name of the certificate. Name pulumi.StringPtrInput // Type of the certificate. Valid value: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type pulumi.StringInput }
The set of arguments for constructing a Certificate resource.
func (CertificateArgs) ElementType ¶
func (CertificateArgs) ElementType() reflect.Type
type CertificateArray ¶
type CertificateArray []CertificateInput
func (CertificateArray) ElementType ¶
func (CertificateArray) ElementType() reflect.Type
func (CertificateArray) ToCertificateArrayOutput ¶
func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArray) ToCertificateArrayOutputWithContext ¶
func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateArrayInput ¶
type CertificateArrayInput interface { pulumi.Input ToCertificateArrayOutput() CertificateArrayOutput ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput }
CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:
CertificateArray{ CertificateArgs{...} }
type CertificateArrayOutput ¶
type CertificateArrayOutput struct{ *pulumi.OutputState }
func (CertificateArrayOutput) ElementType ¶
func (CertificateArrayOutput) ElementType() reflect.Type
func (CertificateArrayOutput) Index ¶
func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
func (CertificateArrayOutput) ToCertificateArrayOutput ¶
func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArrayOutput) ToCertificateArrayOutputWithContext ¶
func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateInput ¶
type CertificateInput interface { pulumi.Input ToCertificateOutput() CertificateOutput ToCertificateOutputWithContext(ctx context.Context) CertificateOutput }
type CertificateMap ¶
type CertificateMap map[string]CertificateInput
func (CertificateMap) ElementType ¶
func (CertificateMap) ElementType() reflect.Type
func (CertificateMap) ToCertificateMapOutput ¶
func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMap) ToCertificateMapOutputWithContext ¶
func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateMapInput ¶
type CertificateMapInput interface { pulumi.Input ToCertificateMapOutput() CertificateMapOutput ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput }
CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:
CertificateMap{ "key": CertificateArgs{...} }
type CertificateMapOutput ¶
type CertificateMapOutput struct{ *pulumi.OutputState }
func (CertificateMapOutput) ElementType ¶
func (CertificateMapOutput) ElementType() reflect.Type
func (CertificateMapOutput) MapIndex ¶
func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
func (CertificateMapOutput) ToCertificateMapOutput ¶
func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMapOutput) ToCertificateMapOutputWithContext ¶
func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateOutput ¶
type CertificateOutput struct{ *pulumi.OutputState }
func (CertificateOutput) BeginTime ¶
func (o CertificateOutput) BeginTime() pulumi.StringOutput
Beginning time of the certificate.
func (CertificateOutput) Content ¶
func (o CertificateOutput) Content() pulumi.StringOutput
Content of the certificate, and URL encoding. When the certificate is basic authentication, use the `user:xxx password:xxx` format, where the password is encrypted with `htpasswd` or `openssl`; When the certificate is `CA` or `SSL`, the format is `pem`.
func (CertificateOutput) CreateTime ¶
func (o CertificateOutput) CreateTime() pulumi.StringOutput
Creation time of the certificate.
func (CertificateOutput) ElementType ¶
func (CertificateOutput) ElementType() reflect.Type
func (CertificateOutput) EndTime ¶
func (o CertificateOutput) EndTime() pulumi.StringOutput
Ending time of the certificate.
func (CertificateOutput) IssuerCn ¶
func (o CertificateOutput) IssuerCn() pulumi.StringOutput
Issuer name of the certificate.
func (CertificateOutput) Key ¶
func (o CertificateOutput) Key() pulumi.StringPtrOutput
Key of the `SSL` certificate.
func (CertificateOutput) Name ¶
func (o CertificateOutput) Name() pulumi.StringOutput
Name of the certificate.
func (CertificateOutput) SubjectCn ¶
func (o CertificateOutput) SubjectCn() pulumi.StringOutput
Subject name of the certificate.
func (CertificateOutput) ToCertificateOutput ¶
func (o CertificateOutput) ToCertificateOutput() CertificateOutput
func (CertificateOutput) ToCertificateOutputWithContext ¶
func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
func (CertificateOutput) Type ¶
func (o CertificateOutput) Type() pulumi.StringOutput
Type of the certificate. Valid value: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate.
type CertificateState ¶
type CertificateState struct { // Beginning time of the certificate. BeginTime pulumi.StringPtrInput // Content of the certificate, and URL encoding. When the certificate is basic authentication, use the `user:xxx password:xxx` format, where the password is encrypted with `htpasswd` or `openssl`; When the certificate is `CA` or `SSL`, the format is `pem`. Content pulumi.StringPtrInput // Creation time of the certificate. CreateTime pulumi.StringPtrInput // Ending time of the certificate. EndTime pulumi.StringPtrInput // Issuer name of the certificate. IssuerCn pulumi.StringPtrInput // Key of the `SSL` certificate. Key pulumi.StringPtrInput // Name of the certificate. Name pulumi.StringPtrInput // Subject name of the certificate. SubjectCn pulumi.StringPtrInput // Type of the certificate. Valid value: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type pulumi.StringPtrInput }
func (CertificateState) ElementType ¶
func (CertificateState) ElementType() reflect.Type
type DomainErrorPage ¶
type DomainErrorPage struct { pulumi.CustomResourceState // New response body. Body pulumi.StringOutput `pulumi:"body"` // Response headers to be removed. ClearHeaders pulumi.StringArrayOutput `pulumi:"clearHeaders"` // HTTP domain. Domain pulumi.StringOutput `pulumi:"domain"` // Original error codes. ErrorCodes pulumi.IntArrayOutput `pulumi:"errorCodes"` // ID of the layer7 listener. ListenerId pulumi.StringOutput `pulumi:"listenerId"` // New error code. NewErrorCode pulumi.IntPtrOutput `pulumi:"newErrorCode"` // Response headers to be set. SetHeaders pulumi.MapOutput `pulumi:"setHeaders"` }
Provide a resource to custom error page info for a GAAP HTTP domain.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } fooHttpDomain, err := Gaap.NewHttpDomain(ctx, "fooHttpDomain", &Gaap.HttpDomainArgs{ ListenerId: fooLayer7Listener.ID(), Domain: pulumi.String("www.qq.com"), }) if err != nil { return err } _, err = Gaap.NewDomainErrorPage(ctx, "fooDomainErrorPage", &Gaap.DomainErrorPageArgs{ ListenerId: fooLayer7Listener.ID(), Domain: fooHttpDomain.Domain, ErrorCodes: pulumi.IntArray{ pulumi.Int(404), pulumi.Int(503), }, Body: pulumi.String("bad request"), }) if err != nil { return err } return nil }) }
```
func GetDomainErrorPage ¶
func GetDomainErrorPage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DomainErrorPageState, opts ...pulumi.ResourceOption) (*DomainErrorPage, error)
GetDomainErrorPage gets an existing DomainErrorPage 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 NewDomainErrorPage ¶
func NewDomainErrorPage(ctx *pulumi.Context, name string, args *DomainErrorPageArgs, opts ...pulumi.ResourceOption) (*DomainErrorPage, error)
NewDomainErrorPage registers a new resource with the given unique name, arguments, and options.
func (*DomainErrorPage) ElementType ¶
func (*DomainErrorPage) ElementType() reflect.Type
func (*DomainErrorPage) ToDomainErrorPageOutput ¶
func (i *DomainErrorPage) ToDomainErrorPageOutput() DomainErrorPageOutput
func (*DomainErrorPage) ToDomainErrorPageOutputWithContext ¶
func (i *DomainErrorPage) ToDomainErrorPageOutputWithContext(ctx context.Context) DomainErrorPageOutput
type DomainErrorPageArgs ¶
type DomainErrorPageArgs struct { // New response body. Body pulumi.StringInput // Response headers to be removed. ClearHeaders pulumi.StringArrayInput // HTTP domain. Domain pulumi.StringInput // Original error codes. ErrorCodes pulumi.IntArrayInput // ID of the layer7 listener. ListenerId pulumi.StringInput // New error code. NewErrorCode pulumi.IntPtrInput // Response headers to be set. SetHeaders pulumi.MapInput }
The set of arguments for constructing a DomainErrorPage resource.
func (DomainErrorPageArgs) ElementType ¶
func (DomainErrorPageArgs) ElementType() reflect.Type
type DomainErrorPageArray ¶
type DomainErrorPageArray []DomainErrorPageInput
func (DomainErrorPageArray) ElementType ¶
func (DomainErrorPageArray) ElementType() reflect.Type
func (DomainErrorPageArray) ToDomainErrorPageArrayOutput ¶
func (i DomainErrorPageArray) ToDomainErrorPageArrayOutput() DomainErrorPageArrayOutput
func (DomainErrorPageArray) ToDomainErrorPageArrayOutputWithContext ¶
func (i DomainErrorPageArray) ToDomainErrorPageArrayOutputWithContext(ctx context.Context) DomainErrorPageArrayOutput
type DomainErrorPageArrayInput ¶
type DomainErrorPageArrayInput interface { pulumi.Input ToDomainErrorPageArrayOutput() DomainErrorPageArrayOutput ToDomainErrorPageArrayOutputWithContext(context.Context) DomainErrorPageArrayOutput }
DomainErrorPageArrayInput is an input type that accepts DomainErrorPageArray and DomainErrorPageArrayOutput values. You can construct a concrete instance of `DomainErrorPageArrayInput` via:
DomainErrorPageArray{ DomainErrorPageArgs{...} }
type DomainErrorPageArrayOutput ¶
type DomainErrorPageArrayOutput struct{ *pulumi.OutputState }
func (DomainErrorPageArrayOutput) ElementType ¶
func (DomainErrorPageArrayOutput) ElementType() reflect.Type
func (DomainErrorPageArrayOutput) Index ¶
func (o DomainErrorPageArrayOutput) Index(i pulumi.IntInput) DomainErrorPageOutput
func (DomainErrorPageArrayOutput) ToDomainErrorPageArrayOutput ¶
func (o DomainErrorPageArrayOutput) ToDomainErrorPageArrayOutput() DomainErrorPageArrayOutput
func (DomainErrorPageArrayOutput) ToDomainErrorPageArrayOutputWithContext ¶
func (o DomainErrorPageArrayOutput) ToDomainErrorPageArrayOutputWithContext(ctx context.Context) DomainErrorPageArrayOutput
type DomainErrorPageInput ¶
type DomainErrorPageInput interface { pulumi.Input ToDomainErrorPageOutput() DomainErrorPageOutput ToDomainErrorPageOutputWithContext(ctx context.Context) DomainErrorPageOutput }
type DomainErrorPageMap ¶
type DomainErrorPageMap map[string]DomainErrorPageInput
func (DomainErrorPageMap) ElementType ¶
func (DomainErrorPageMap) ElementType() reflect.Type
func (DomainErrorPageMap) ToDomainErrorPageMapOutput ¶
func (i DomainErrorPageMap) ToDomainErrorPageMapOutput() DomainErrorPageMapOutput
func (DomainErrorPageMap) ToDomainErrorPageMapOutputWithContext ¶
func (i DomainErrorPageMap) ToDomainErrorPageMapOutputWithContext(ctx context.Context) DomainErrorPageMapOutput
type DomainErrorPageMapInput ¶
type DomainErrorPageMapInput interface { pulumi.Input ToDomainErrorPageMapOutput() DomainErrorPageMapOutput ToDomainErrorPageMapOutputWithContext(context.Context) DomainErrorPageMapOutput }
DomainErrorPageMapInput is an input type that accepts DomainErrorPageMap and DomainErrorPageMapOutput values. You can construct a concrete instance of `DomainErrorPageMapInput` via:
DomainErrorPageMap{ "key": DomainErrorPageArgs{...} }
type DomainErrorPageMapOutput ¶
type DomainErrorPageMapOutput struct{ *pulumi.OutputState }
func (DomainErrorPageMapOutput) ElementType ¶
func (DomainErrorPageMapOutput) ElementType() reflect.Type
func (DomainErrorPageMapOutput) MapIndex ¶
func (o DomainErrorPageMapOutput) MapIndex(k pulumi.StringInput) DomainErrorPageOutput
func (DomainErrorPageMapOutput) ToDomainErrorPageMapOutput ¶
func (o DomainErrorPageMapOutput) ToDomainErrorPageMapOutput() DomainErrorPageMapOutput
func (DomainErrorPageMapOutput) ToDomainErrorPageMapOutputWithContext ¶
func (o DomainErrorPageMapOutput) ToDomainErrorPageMapOutputWithContext(ctx context.Context) DomainErrorPageMapOutput
type DomainErrorPageOutput ¶
type DomainErrorPageOutput struct{ *pulumi.OutputState }
func (DomainErrorPageOutput) Body ¶
func (o DomainErrorPageOutput) Body() pulumi.StringOutput
New response body.
func (DomainErrorPageOutput) ClearHeaders ¶
func (o DomainErrorPageOutput) ClearHeaders() pulumi.StringArrayOutput
Response headers to be removed.
func (DomainErrorPageOutput) Domain ¶
func (o DomainErrorPageOutput) Domain() pulumi.StringOutput
HTTP domain.
func (DomainErrorPageOutput) ElementType ¶
func (DomainErrorPageOutput) ElementType() reflect.Type
func (DomainErrorPageOutput) ErrorCodes ¶
func (o DomainErrorPageOutput) ErrorCodes() pulumi.IntArrayOutput
Original error codes.
func (DomainErrorPageOutput) ListenerId ¶
func (o DomainErrorPageOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener.
func (DomainErrorPageOutput) NewErrorCode ¶
func (o DomainErrorPageOutput) NewErrorCode() pulumi.IntPtrOutput
New error code.
func (DomainErrorPageOutput) SetHeaders ¶
func (o DomainErrorPageOutput) SetHeaders() pulumi.MapOutput
Response headers to be set.
func (DomainErrorPageOutput) ToDomainErrorPageOutput ¶
func (o DomainErrorPageOutput) ToDomainErrorPageOutput() DomainErrorPageOutput
func (DomainErrorPageOutput) ToDomainErrorPageOutputWithContext ¶
func (o DomainErrorPageOutput) ToDomainErrorPageOutputWithContext(ctx context.Context) DomainErrorPageOutput
type DomainErrorPageState ¶
type DomainErrorPageState struct { // New response body. Body pulumi.StringPtrInput // Response headers to be removed. ClearHeaders pulumi.StringArrayInput // HTTP domain. Domain pulumi.StringPtrInput // Original error codes. ErrorCodes pulumi.IntArrayInput // ID of the layer7 listener. ListenerId pulumi.StringPtrInput // New error code. NewErrorCode pulumi.IntPtrInput // Response headers to be set. SetHeaders pulumi.MapInput }
func (DomainErrorPageState) ElementType ¶
func (DomainErrorPageState) ElementType() reflect.Type
type GetCertificatesArgs ¶
type GetCertificatesArgs struct { // ID of the certificate to be queried. Id *string `pulumi:"id"` // Name of the certificate to be queried. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // Type of the certificate to be queried. Valid values: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type *string `pulumi:"type"` }
A collection of arguments for invoking getCertificates.
type GetCertificatesCertificate ¶
type GetCertificatesCertificate struct { // Beginning time of the certificate. BeginTime string `pulumi:"beginTime"` // Creation time of the certificate. CreateTime string `pulumi:"createTime"` // Ending time of the certificate. EndTime string `pulumi:"endTime"` // ID of the certificate to be queried. Id string `pulumi:"id"` // Issuer name of the certificate. IssuerCn string `pulumi:"issuerCn"` // Name of the certificate to be queried. Name string `pulumi:"name"` // Subject name of the certificate. SubjectCn string `pulumi:"subjectCn"` // Type of the certificate to be queried. Valid values: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type string `pulumi:"type"` }
type GetCertificatesCertificateArgs ¶
type GetCertificatesCertificateArgs struct { // Beginning time of the certificate. BeginTime pulumi.StringInput `pulumi:"beginTime"` // Creation time of the certificate. CreateTime pulumi.StringInput `pulumi:"createTime"` // Ending time of the certificate. EndTime pulumi.StringInput `pulumi:"endTime"` // ID of the certificate to be queried. Id pulumi.StringInput `pulumi:"id"` // Issuer name of the certificate. IssuerCn pulumi.StringInput `pulumi:"issuerCn"` // Name of the certificate to be queried. Name pulumi.StringInput `pulumi:"name"` // Subject name of the certificate. SubjectCn pulumi.StringInput `pulumi:"subjectCn"` // Type of the certificate to be queried. Valid values: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type pulumi.StringInput `pulumi:"type"` }
func (GetCertificatesCertificateArgs) ElementType ¶
func (GetCertificatesCertificateArgs) ElementType() reflect.Type
func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput ¶
func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext ¶
func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
type GetCertificatesCertificateArray ¶
type GetCertificatesCertificateArray []GetCertificatesCertificateInput
func (GetCertificatesCertificateArray) ElementType ¶
func (GetCertificatesCertificateArray) ElementType() reflect.Type
func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput ¶
func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext ¶
func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
type GetCertificatesCertificateArrayInput ¶
type GetCertificatesCertificateArrayInput interface { pulumi.Input ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput ToGetCertificatesCertificateArrayOutputWithContext(context.Context) GetCertificatesCertificateArrayOutput }
GetCertificatesCertificateArrayInput is an input type that accepts GetCertificatesCertificateArray and GetCertificatesCertificateArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateArrayInput` via:
GetCertificatesCertificateArray{ GetCertificatesCertificateArgs{...} }
type GetCertificatesCertificateArrayOutput ¶
type GetCertificatesCertificateArrayOutput struct{ *pulumi.OutputState }
func (GetCertificatesCertificateArrayOutput) ElementType ¶
func (GetCertificatesCertificateArrayOutput) ElementType() reflect.Type
func (GetCertificatesCertificateArrayOutput) Index ¶
func (o GetCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertificateOutput
func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput ¶
func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext ¶
func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
type GetCertificatesCertificateInput ¶
type GetCertificatesCertificateInput interface { pulumi.Input ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput ToGetCertificatesCertificateOutputWithContext(context.Context) GetCertificatesCertificateOutput }
GetCertificatesCertificateInput is an input type that accepts GetCertificatesCertificateArgs and GetCertificatesCertificateOutput values. You can construct a concrete instance of `GetCertificatesCertificateInput` via:
GetCertificatesCertificateArgs{...}
type GetCertificatesCertificateOutput ¶
type GetCertificatesCertificateOutput struct{ *pulumi.OutputState }
func (GetCertificatesCertificateOutput) BeginTime ¶
func (o GetCertificatesCertificateOutput) BeginTime() pulumi.StringOutput
Beginning time of the certificate.
func (GetCertificatesCertificateOutput) CreateTime ¶
func (o GetCertificatesCertificateOutput) CreateTime() pulumi.StringOutput
Creation time of the certificate.
func (GetCertificatesCertificateOutput) ElementType ¶
func (GetCertificatesCertificateOutput) ElementType() reflect.Type
func (GetCertificatesCertificateOutput) EndTime ¶
func (o GetCertificatesCertificateOutput) EndTime() pulumi.StringOutput
Ending time of the certificate.
func (GetCertificatesCertificateOutput) Id ¶
func (o GetCertificatesCertificateOutput) Id() pulumi.StringOutput
ID of the certificate to be queried.
func (GetCertificatesCertificateOutput) IssuerCn ¶
func (o GetCertificatesCertificateOutput) IssuerCn() pulumi.StringOutput
Issuer name of the certificate.
func (GetCertificatesCertificateOutput) Name ¶
func (o GetCertificatesCertificateOutput) Name() pulumi.StringOutput
Name of the certificate to be queried.
func (GetCertificatesCertificateOutput) SubjectCn ¶
func (o GetCertificatesCertificateOutput) SubjectCn() pulumi.StringOutput
Subject name of the certificate.
func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput ¶
func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext ¶
func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
func (GetCertificatesCertificateOutput) Type ¶
func (o GetCertificatesCertificateOutput) Type() pulumi.StringOutput
Type of the certificate to be queried. Valid values: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate.
type GetCertificatesOutputArgs ¶
type GetCertificatesOutputArgs struct { // ID of the certificate to be queried. Id pulumi.StringPtrInput `pulumi:"id"` // Name of the certificate to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // Type of the certificate to be queried. Valid values: `BASIC`, `CLIENT`, `SERVER`, `REALSERVER` and `PROXY`. `BASIC` means basic certificate; `CLIENT` means client CA certificate; `SERVER` means server SSL certificate; `REALSERVER` means realserver CA certificate; `PROXY` means proxy SSL certificate. Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking getCertificates.
func (GetCertificatesOutputArgs) ElementType ¶
func (GetCertificatesOutputArgs) ElementType() reflect.Type
type GetCertificatesResult ¶
type GetCertificatesResult struct { // An information list of certificate. Each element contains the following attributes: Certificates []GetCertificatesCertificate `pulumi:"certificates"` // ID of the certificate. Id *string `pulumi:"id"` // Name of the certificate. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Type of the certificate. Type *string `pulumi:"type"` }
A collection of values returned by getCertificates.
func GetCertificates ¶
func GetCertificates(ctx *pulumi.Context, args *GetCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCertificatesResult, error)
Use this data source to query GAAP certificate.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooCertificate, err := Gaap.NewCertificate(ctx, "fooCertificate", &Gaap.CertificateArgs{ Type: pulumi.String("BASIC"), Content: pulumi.String("test:tx2KGdo3zJg/."), }) if err != nil { return err } _ = Gaap.GetCertificatesOutput(ctx, gaap.GetCertificatesOutputArgs{ Id: fooCertificate.ID(), }, nil) return nil }) }
```
type GetCertificatesResultOutput ¶
type GetCertificatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCertificates.
func GetCertificatesOutput ¶
func GetCertificatesOutput(ctx *pulumi.Context, args GetCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetCertificatesResultOutput
func (GetCertificatesResultOutput) Certificates ¶
func (o GetCertificatesResultOutput) Certificates() GetCertificatesCertificateArrayOutput
An information list of certificate. Each element contains the following attributes:
func (GetCertificatesResultOutput) ElementType ¶
func (GetCertificatesResultOutput) ElementType() reflect.Type
func (GetCertificatesResultOutput) Id ¶
func (o GetCertificatesResultOutput) Id() pulumi.StringPtrOutput
ID of the certificate.
func (GetCertificatesResultOutput) Name ¶
func (o GetCertificatesResultOutput) Name() pulumi.StringPtrOutput
Name of the certificate.
func (GetCertificatesResultOutput) ResultOutputFile ¶
func (o GetCertificatesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetCertificatesResultOutput) ToGetCertificatesResultOutput ¶
func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput
func (GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext ¶
func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput
func (GetCertificatesResultOutput) Type ¶
func (o GetCertificatesResultOutput) Type() pulumi.StringPtrOutput
Type of the certificate.
type GetDomainErrorPagesArgs ¶
type GetDomainErrorPagesArgs struct { // HTTP domain to be queried. Domain string `pulumi:"domain"` // List of the error page info ID to be queried. Ids []string `pulumi:"ids"` // ID of the layer7 listener to be queried. ListenerId string `pulumi:"listenerId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getDomainErrorPages.
type GetDomainErrorPagesErrorPageInfoList ¶
type GetDomainErrorPagesErrorPageInfoList struct { // New response body. Body string `pulumi:"body"` // Response headers to be removed. ClearHeaders []string `pulumi:"clearHeaders"` // HTTP domain to be queried. Domain string `pulumi:"domain"` // Original error codes. ErrorCodes []int `pulumi:"errorCodes"` // ID of the error page info. Id string `pulumi:"id"` // ID of the layer7 listener to be queried. ListenerId string `pulumi:"listenerId"` // New error code. NewErrorCodes int `pulumi:"newErrorCodes"` // Response headers to be set. SetHeaders map[string]interface{} `pulumi:"setHeaders"` }
type GetDomainErrorPagesErrorPageInfoListArgs ¶
type GetDomainErrorPagesErrorPageInfoListArgs struct { // New response body. Body pulumi.StringInput `pulumi:"body"` // Response headers to be removed. ClearHeaders pulumi.StringArrayInput `pulumi:"clearHeaders"` // HTTP domain to be queried. Domain pulumi.StringInput `pulumi:"domain"` // Original error codes. ErrorCodes pulumi.IntArrayInput `pulumi:"errorCodes"` // ID of the error page info. Id pulumi.StringInput `pulumi:"id"` // ID of the layer7 listener to be queried. ListenerId pulumi.StringInput `pulumi:"listenerId"` // New error code. NewErrorCodes pulumi.IntInput `pulumi:"newErrorCodes"` // Response headers to be set. SetHeaders pulumi.MapInput `pulumi:"setHeaders"` }
func (GetDomainErrorPagesErrorPageInfoListArgs) ElementType ¶
func (GetDomainErrorPagesErrorPageInfoListArgs) ElementType() reflect.Type
func (GetDomainErrorPagesErrorPageInfoListArgs) ToGetDomainErrorPagesErrorPageInfoListOutput ¶
func (i GetDomainErrorPagesErrorPageInfoListArgs) ToGetDomainErrorPagesErrorPageInfoListOutput() GetDomainErrorPagesErrorPageInfoListOutput
func (GetDomainErrorPagesErrorPageInfoListArgs) ToGetDomainErrorPagesErrorPageInfoListOutputWithContext ¶
func (i GetDomainErrorPagesErrorPageInfoListArgs) ToGetDomainErrorPagesErrorPageInfoListOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListOutput
type GetDomainErrorPagesErrorPageInfoListArray ¶
type GetDomainErrorPagesErrorPageInfoListArray []GetDomainErrorPagesErrorPageInfoListInput
func (GetDomainErrorPagesErrorPageInfoListArray) ElementType ¶
func (GetDomainErrorPagesErrorPageInfoListArray) ElementType() reflect.Type
func (GetDomainErrorPagesErrorPageInfoListArray) ToGetDomainErrorPagesErrorPageInfoListArrayOutput ¶
func (i GetDomainErrorPagesErrorPageInfoListArray) ToGetDomainErrorPagesErrorPageInfoListArrayOutput() GetDomainErrorPagesErrorPageInfoListArrayOutput
func (GetDomainErrorPagesErrorPageInfoListArray) ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext ¶
func (i GetDomainErrorPagesErrorPageInfoListArray) ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListArrayOutput
type GetDomainErrorPagesErrorPageInfoListArrayInput ¶
type GetDomainErrorPagesErrorPageInfoListArrayInput interface { pulumi.Input ToGetDomainErrorPagesErrorPageInfoListArrayOutput() GetDomainErrorPagesErrorPageInfoListArrayOutput ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext(context.Context) GetDomainErrorPagesErrorPageInfoListArrayOutput }
GetDomainErrorPagesErrorPageInfoListArrayInput is an input type that accepts GetDomainErrorPagesErrorPageInfoListArray and GetDomainErrorPagesErrorPageInfoListArrayOutput values. You can construct a concrete instance of `GetDomainErrorPagesErrorPageInfoListArrayInput` via:
GetDomainErrorPagesErrorPageInfoListArray{ GetDomainErrorPagesErrorPageInfoListArgs{...} }
type GetDomainErrorPagesErrorPageInfoListArrayOutput ¶
type GetDomainErrorPagesErrorPageInfoListArrayOutput struct{ *pulumi.OutputState }
func (GetDomainErrorPagesErrorPageInfoListArrayOutput) ElementType ¶
func (GetDomainErrorPagesErrorPageInfoListArrayOutput) ElementType() reflect.Type
func (GetDomainErrorPagesErrorPageInfoListArrayOutput) ToGetDomainErrorPagesErrorPageInfoListArrayOutput ¶
func (o GetDomainErrorPagesErrorPageInfoListArrayOutput) ToGetDomainErrorPagesErrorPageInfoListArrayOutput() GetDomainErrorPagesErrorPageInfoListArrayOutput
func (GetDomainErrorPagesErrorPageInfoListArrayOutput) ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext ¶
func (o GetDomainErrorPagesErrorPageInfoListArrayOutput) ToGetDomainErrorPagesErrorPageInfoListArrayOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListArrayOutput
type GetDomainErrorPagesErrorPageInfoListInput ¶
type GetDomainErrorPagesErrorPageInfoListInput interface { pulumi.Input ToGetDomainErrorPagesErrorPageInfoListOutput() GetDomainErrorPagesErrorPageInfoListOutput ToGetDomainErrorPagesErrorPageInfoListOutputWithContext(context.Context) GetDomainErrorPagesErrorPageInfoListOutput }
GetDomainErrorPagesErrorPageInfoListInput is an input type that accepts GetDomainErrorPagesErrorPageInfoListArgs and GetDomainErrorPagesErrorPageInfoListOutput values. You can construct a concrete instance of `GetDomainErrorPagesErrorPageInfoListInput` via:
GetDomainErrorPagesErrorPageInfoListArgs{...}
type GetDomainErrorPagesErrorPageInfoListOutput ¶
type GetDomainErrorPagesErrorPageInfoListOutput struct{ *pulumi.OutputState }
func (GetDomainErrorPagesErrorPageInfoListOutput) Body ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) Body() pulumi.StringOutput
New response body.
func (GetDomainErrorPagesErrorPageInfoListOutput) ClearHeaders ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) ClearHeaders() pulumi.StringArrayOutput
Response headers to be removed.
func (GetDomainErrorPagesErrorPageInfoListOutput) Domain ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) Domain() pulumi.StringOutput
HTTP domain to be queried.
func (GetDomainErrorPagesErrorPageInfoListOutput) ElementType ¶
func (GetDomainErrorPagesErrorPageInfoListOutput) ElementType() reflect.Type
func (GetDomainErrorPagesErrorPageInfoListOutput) ErrorCodes ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) ErrorCodes() pulumi.IntArrayOutput
Original error codes.
func (GetDomainErrorPagesErrorPageInfoListOutput) Id ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) Id() pulumi.StringOutput
ID of the error page info.
func (GetDomainErrorPagesErrorPageInfoListOutput) ListenerId ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener to be queried.
func (GetDomainErrorPagesErrorPageInfoListOutput) NewErrorCodes ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) NewErrorCodes() pulumi.IntOutput
New error code.
func (GetDomainErrorPagesErrorPageInfoListOutput) SetHeaders ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) SetHeaders() pulumi.MapOutput
Response headers to be set.
func (GetDomainErrorPagesErrorPageInfoListOutput) ToGetDomainErrorPagesErrorPageInfoListOutput ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) ToGetDomainErrorPagesErrorPageInfoListOutput() GetDomainErrorPagesErrorPageInfoListOutput
func (GetDomainErrorPagesErrorPageInfoListOutput) ToGetDomainErrorPagesErrorPageInfoListOutputWithContext ¶
func (o GetDomainErrorPagesErrorPageInfoListOutput) ToGetDomainErrorPagesErrorPageInfoListOutputWithContext(ctx context.Context) GetDomainErrorPagesErrorPageInfoListOutput
type GetDomainErrorPagesOutputArgs ¶
type GetDomainErrorPagesOutputArgs struct { // HTTP domain to be queried. Domain pulumi.StringInput `pulumi:"domain"` // List of the error page info ID to be queried. Ids pulumi.StringArrayInput `pulumi:"ids"` // ID of the layer7 listener to be queried. ListenerId pulumi.StringInput `pulumi:"listenerId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getDomainErrorPages.
func (GetDomainErrorPagesOutputArgs) ElementType ¶
func (GetDomainErrorPagesOutputArgs) ElementType() reflect.Type
type GetDomainErrorPagesResult ¶
type GetDomainErrorPagesResult struct { // HTTP domain. Domain string `pulumi:"domain"` // An information list of error page info detail. Each element contains the following attributes: ErrorPageInfoLists []GetDomainErrorPagesErrorPageInfoList `pulumi:"errorPageInfoLists"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // ID of the layer7 listener. ListenerId string `pulumi:"listenerId"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getDomainErrorPages.
func GetDomainErrorPages ¶
func GetDomainErrorPages(ctx *pulumi.Context, args *GetDomainErrorPagesArgs, opts ...pulumi.InvokeOption) (*GetDomainErrorPagesResult, error)
Use this data source to query custom GAAP HTTP domain error page info list.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: pulumi.String(fmt.Sprintf("%v%v", "%", "s")), }) if err != nil { return err } fooHttpDomain, err := Gaap.NewHttpDomain(ctx, "fooHttpDomain", &Gaap.HttpDomainArgs{ ListenerId: fooLayer7Listener.ID(), Domain: pulumi.String("www.qq.com"), }) if err != nil { return err } fooDomainErrorPage, err := Gaap.NewDomainErrorPage(ctx, "fooDomainErrorPage", &Gaap.DomainErrorPageArgs{ ListenerId: fooLayer7Listener.ID(), Domain: fooHttpDomain.Domain, ErrorCodes: pulumi.IntArray{ pulumi.Int(406), pulumi.Int(504), }, NewErrorCode: pulumi.Int(502), Body: pulumi.String("bad request"), ClearHeaders: pulumi.StringArray{ pulumi.String("Content-Length"), pulumi.String("X-TEST"), }, SetHeaders: pulumi.AnyMap{ "X-TEST": pulumi.Any("test"), }, }) if err != nil { return err } _ = Gaap.GetDomainErrorPagesOutput(ctx, gaap.GetDomainErrorPagesOutputArgs{ ListenerId: fooDomainErrorPage.ListenerId, Domain: fooDomainErrorPage.Domain, }, nil) return nil }) }
```
type GetDomainErrorPagesResultOutput ¶
type GetDomainErrorPagesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDomainErrorPages.
func GetDomainErrorPagesOutput ¶
func GetDomainErrorPagesOutput(ctx *pulumi.Context, args GetDomainErrorPagesOutputArgs, opts ...pulumi.InvokeOption) GetDomainErrorPagesResultOutput
func (GetDomainErrorPagesResultOutput) Domain ¶
func (o GetDomainErrorPagesResultOutput) Domain() pulumi.StringOutput
HTTP domain.
func (GetDomainErrorPagesResultOutput) ElementType ¶
func (GetDomainErrorPagesResultOutput) ElementType() reflect.Type
func (GetDomainErrorPagesResultOutput) ErrorPageInfoLists ¶
func (o GetDomainErrorPagesResultOutput) ErrorPageInfoLists() GetDomainErrorPagesErrorPageInfoListArrayOutput
An information list of error page info detail. Each element contains the following attributes:
func (GetDomainErrorPagesResultOutput) Id ¶
func (o GetDomainErrorPagesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDomainErrorPagesResultOutput) Ids ¶
func (o GetDomainErrorPagesResultOutput) Ids() pulumi.StringArrayOutput
func (GetDomainErrorPagesResultOutput) ListenerId ¶
func (o GetDomainErrorPagesResultOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener.
func (GetDomainErrorPagesResultOutput) ResultOutputFile ¶
func (o GetDomainErrorPagesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetDomainErrorPagesResultOutput) ToGetDomainErrorPagesResultOutput ¶
func (o GetDomainErrorPagesResultOutput) ToGetDomainErrorPagesResultOutput() GetDomainErrorPagesResultOutput
func (GetDomainErrorPagesResultOutput) ToGetDomainErrorPagesResultOutputWithContext ¶
func (o GetDomainErrorPagesResultOutput) ToGetDomainErrorPagesResultOutputWithContext(ctx context.Context) GetDomainErrorPagesResultOutput
type GetHttpDomainsArgs ¶
type GetHttpDomainsArgs struct { // Forward domain of the layer7 listener to be queried. Domain string `pulumi:"domain"` // ID of the layer7 listener to be queried. ListenerId string `pulumi:"listenerId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getHttpDomains.
type GetHttpDomainsDomain ¶
type GetHttpDomainsDomain struct { // Indicates whether basic authentication is enable. BasicAuth bool `pulumi:"basicAuth"` // ID of the basic authentication. BasicAuthId string `pulumi:"basicAuthId"` // ID of the server certificate. CertificateId string `pulumi:"certificateId"` // (**Deprecated**) It has been deprecated from version 1.26.0. Use `clientCertificateIds` instead. ID of the client certificate. // // Deprecated: It has been deprecated from version 1.26.0. Use `client_certificate_ids` instead. ClientCertificateId string `pulumi:"clientCertificateId"` // ID list of the client certificate. ClientCertificateIds []string `pulumi:"clientCertificateIds"` // Forward domain of the layer7 listener to be queried. Domain string `pulumi:"domain"` // Indicates whether SSL certificate authentication is enable. GaapAuth bool `pulumi:"gaapAuth"` // ID of the SSL certificate. GaapAuthId string `pulumi:"gaapAuthId"` // Indicates whether realserver authentication is enable. RealserverAuth bool `pulumi:"realserverAuth"` // CA certificate domain of the realserver. RealserverCertificateDomain string `pulumi:"realserverCertificateDomain"` // (**Deprecated**) It has been deprecated from version 1.28.0. Use `realserverCertificateIds` instead. CA certificate ID of the realserver. // // Deprecated: It has been deprecated from version 1.28.0. Use `realserver_certificate_ids` instead. RealserverCertificateId string `pulumi:"realserverCertificateId"` // CA certificate ID list of the realserver. RealserverCertificateIds []string `pulumi:"realserverCertificateIds"` }
type GetHttpDomainsDomainArgs ¶
type GetHttpDomainsDomainArgs struct { // Indicates whether basic authentication is enable. BasicAuth pulumi.BoolInput `pulumi:"basicAuth"` // ID of the basic authentication. BasicAuthId pulumi.StringInput `pulumi:"basicAuthId"` // ID of the server certificate. CertificateId pulumi.StringInput `pulumi:"certificateId"` // (**Deprecated**) It has been deprecated from version 1.26.0. Use `clientCertificateIds` instead. ID of the client certificate. // // Deprecated: It has been deprecated from version 1.26.0. Use `client_certificate_ids` instead. ClientCertificateId pulumi.StringInput `pulumi:"clientCertificateId"` // ID list of the client certificate. ClientCertificateIds pulumi.StringArrayInput `pulumi:"clientCertificateIds"` // Forward domain of the layer7 listener to be queried. Domain pulumi.StringInput `pulumi:"domain"` // Indicates whether SSL certificate authentication is enable. GaapAuth pulumi.BoolInput `pulumi:"gaapAuth"` // ID of the SSL certificate. GaapAuthId pulumi.StringInput `pulumi:"gaapAuthId"` // Indicates whether realserver authentication is enable. RealserverAuth pulumi.BoolInput `pulumi:"realserverAuth"` // CA certificate domain of the realserver. RealserverCertificateDomain pulumi.StringInput `pulumi:"realserverCertificateDomain"` // (**Deprecated**) It has been deprecated from version 1.28.0. Use `realserverCertificateIds` instead. CA certificate ID of the realserver. // // Deprecated: It has been deprecated from version 1.28.0. Use `realserver_certificate_ids` instead. RealserverCertificateId pulumi.StringInput `pulumi:"realserverCertificateId"` // CA certificate ID list of the realserver. RealserverCertificateIds pulumi.StringArrayInput `pulumi:"realserverCertificateIds"` }
func (GetHttpDomainsDomainArgs) ElementType ¶
func (GetHttpDomainsDomainArgs) ElementType() reflect.Type
func (GetHttpDomainsDomainArgs) ToGetHttpDomainsDomainOutput ¶
func (i GetHttpDomainsDomainArgs) ToGetHttpDomainsDomainOutput() GetHttpDomainsDomainOutput
func (GetHttpDomainsDomainArgs) ToGetHttpDomainsDomainOutputWithContext ¶
func (i GetHttpDomainsDomainArgs) ToGetHttpDomainsDomainOutputWithContext(ctx context.Context) GetHttpDomainsDomainOutput
type GetHttpDomainsDomainArray ¶
type GetHttpDomainsDomainArray []GetHttpDomainsDomainInput
func (GetHttpDomainsDomainArray) ElementType ¶
func (GetHttpDomainsDomainArray) ElementType() reflect.Type
func (GetHttpDomainsDomainArray) ToGetHttpDomainsDomainArrayOutput ¶
func (i GetHttpDomainsDomainArray) ToGetHttpDomainsDomainArrayOutput() GetHttpDomainsDomainArrayOutput
func (GetHttpDomainsDomainArray) ToGetHttpDomainsDomainArrayOutputWithContext ¶
func (i GetHttpDomainsDomainArray) ToGetHttpDomainsDomainArrayOutputWithContext(ctx context.Context) GetHttpDomainsDomainArrayOutput
type GetHttpDomainsDomainArrayInput ¶
type GetHttpDomainsDomainArrayInput interface { pulumi.Input ToGetHttpDomainsDomainArrayOutput() GetHttpDomainsDomainArrayOutput ToGetHttpDomainsDomainArrayOutputWithContext(context.Context) GetHttpDomainsDomainArrayOutput }
GetHttpDomainsDomainArrayInput is an input type that accepts GetHttpDomainsDomainArray and GetHttpDomainsDomainArrayOutput values. You can construct a concrete instance of `GetHttpDomainsDomainArrayInput` via:
GetHttpDomainsDomainArray{ GetHttpDomainsDomainArgs{...} }
type GetHttpDomainsDomainArrayOutput ¶
type GetHttpDomainsDomainArrayOutput struct{ *pulumi.OutputState }
func (GetHttpDomainsDomainArrayOutput) ElementType ¶
func (GetHttpDomainsDomainArrayOutput) ElementType() reflect.Type
func (GetHttpDomainsDomainArrayOutput) Index ¶
func (o GetHttpDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetHttpDomainsDomainOutput
func (GetHttpDomainsDomainArrayOutput) ToGetHttpDomainsDomainArrayOutput ¶
func (o GetHttpDomainsDomainArrayOutput) ToGetHttpDomainsDomainArrayOutput() GetHttpDomainsDomainArrayOutput
func (GetHttpDomainsDomainArrayOutput) ToGetHttpDomainsDomainArrayOutputWithContext ¶
func (o GetHttpDomainsDomainArrayOutput) ToGetHttpDomainsDomainArrayOutputWithContext(ctx context.Context) GetHttpDomainsDomainArrayOutput
type GetHttpDomainsDomainInput ¶
type GetHttpDomainsDomainInput interface { pulumi.Input ToGetHttpDomainsDomainOutput() GetHttpDomainsDomainOutput ToGetHttpDomainsDomainOutputWithContext(context.Context) GetHttpDomainsDomainOutput }
GetHttpDomainsDomainInput is an input type that accepts GetHttpDomainsDomainArgs and GetHttpDomainsDomainOutput values. You can construct a concrete instance of `GetHttpDomainsDomainInput` via:
GetHttpDomainsDomainArgs{...}
type GetHttpDomainsDomainOutput ¶
type GetHttpDomainsDomainOutput struct{ *pulumi.OutputState }
func (GetHttpDomainsDomainOutput) BasicAuth ¶
func (o GetHttpDomainsDomainOutput) BasicAuth() pulumi.BoolOutput
Indicates whether basic authentication is enable.
func (GetHttpDomainsDomainOutput) BasicAuthId ¶
func (o GetHttpDomainsDomainOutput) BasicAuthId() pulumi.StringOutput
ID of the basic authentication.
func (GetHttpDomainsDomainOutput) CertificateId ¶
func (o GetHttpDomainsDomainOutput) CertificateId() pulumi.StringOutput
ID of the server certificate.
func (GetHttpDomainsDomainOutput) ClientCertificateId
deprecated
func (o GetHttpDomainsDomainOutput) ClientCertificateId() pulumi.StringOutput
(**Deprecated**) It has been deprecated from version 1.26.0. Use `clientCertificateIds` instead. ID of the client certificate.
Deprecated: It has been deprecated from version 1.26.0. Use `client_certificate_ids` instead.
func (GetHttpDomainsDomainOutput) ClientCertificateIds ¶
func (o GetHttpDomainsDomainOutput) ClientCertificateIds() pulumi.StringArrayOutput
ID list of the client certificate.
func (GetHttpDomainsDomainOutput) Domain ¶
func (o GetHttpDomainsDomainOutput) Domain() pulumi.StringOutput
Forward domain of the layer7 listener to be queried.
func (GetHttpDomainsDomainOutput) ElementType ¶
func (GetHttpDomainsDomainOutput) ElementType() reflect.Type
func (GetHttpDomainsDomainOutput) GaapAuth ¶
func (o GetHttpDomainsDomainOutput) GaapAuth() pulumi.BoolOutput
Indicates whether SSL certificate authentication is enable.
func (GetHttpDomainsDomainOutput) GaapAuthId ¶
func (o GetHttpDomainsDomainOutput) GaapAuthId() pulumi.StringOutput
ID of the SSL certificate.
func (GetHttpDomainsDomainOutput) RealserverAuth ¶
func (o GetHttpDomainsDomainOutput) RealserverAuth() pulumi.BoolOutput
Indicates whether realserver authentication is enable.
func (GetHttpDomainsDomainOutput) RealserverCertificateDomain ¶
func (o GetHttpDomainsDomainOutput) RealserverCertificateDomain() pulumi.StringOutput
CA certificate domain of the realserver.
func (GetHttpDomainsDomainOutput) RealserverCertificateId
deprecated
func (o GetHttpDomainsDomainOutput) RealserverCertificateId() pulumi.StringOutput
(**Deprecated**) It has been deprecated from version 1.28.0. Use `realserverCertificateIds` instead. CA certificate ID of the realserver.
Deprecated: It has been deprecated from version 1.28.0. Use `realserver_certificate_ids` instead.
func (GetHttpDomainsDomainOutput) RealserverCertificateIds ¶
func (o GetHttpDomainsDomainOutput) RealserverCertificateIds() pulumi.StringArrayOutput
CA certificate ID list of the realserver.
func (GetHttpDomainsDomainOutput) ToGetHttpDomainsDomainOutput ¶
func (o GetHttpDomainsDomainOutput) ToGetHttpDomainsDomainOutput() GetHttpDomainsDomainOutput
func (GetHttpDomainsDomainOutput) ToGetHttpDomainsDomainOutputWithContext ¶
func (o GetHttpDomainsDomainOutput) ToGetHttpDomainsDomainOutputWithContext(ctx context.Context) GetHttpDomainsDomainOutput
type GetHttpDomainsOutputArgs ¶
type GetHttpDomainsOutputArgs struct { // Forward domain of the layer7 listener to be queried. Domain pulumi.StringInput `pulumi:"domain"` // ID of the layer7 listener to be queried. ListenerId pulumi.StringInput `pulumi:"listenerId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getHttpDomains.
func (GetHttpDomainsOutputArgs) ElementType ¶
func (GetHttpDomainsOutputArgs) ElementType() reflect.Type
type GetHttpDomainsResult ¶
type GetHttpDomainsResult struct { // Forward domain of the layer7 listener. Domain string `pulumi:"domain"` // An information list of forward domain of the layer7 listeners. Each element contains the following attributes: Domains []GetHttpDomainsDomain `pulumi:"domains"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ListenerId string `pulumi:"listenerId"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getHttpDomains.
func GetHttpDomains ¶
func GetHttpDomains(ctx *pulumi.Context, args *GetHttpDomainsArgs, opts ...pulumi.InvokeOption) (*GetHttpDomainsResult, error)
Use this data source to query forward domain of layer7 listeners.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } fooHttpDomain, err := Gaap.NewHttpDomain(ctx, "fooHttpDomain", &Gaap.HttpDomainArgs{ ListenerId: fooLayer7Listener.ID(), Domain: pulumi.String("www.qq.com"), }) if err != nil { return err } _ = Gaap.GetHttpDomainsOutput(ctx, gaap.GetHttpDomainsOutputArgs{ ListenerId: fooLayer7Listener.ID(), Domain: fooHttpDomain.Domain, }, nil) return nil }) }
```
type GetHttpDomainsResultOutput ¶
type GetHttpDomainsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHttpDomains.
func GetHttpDomainsOutput ¶
func GetHttpDomainsOutput(ctx *pulumi.Context, args GetHttpDomainsOutputArgs, opts ...pulumi.InvokeOption) GetHttpDomainsResultOutput
func (GetHttpDomainsResultOutput) Domain ¶
func (o GetHttpDomainsResultOutput) Domain() pulumi.StringOutput
Forward domain of the layer7 listener.
func (GetHttpDomainsResultOutput) Domains ¶
func (o GetHttpDomainsResultOutput) Domains() GetHttpDomainsDomainArrayOutput
An information list of forward domain of the layer7 listeners. Each element contains the following attributes:
func (GetHttpDomainsResultOutput) ElementType ¶
func (GetHttpDomainsResultOutput) ElementType() reflect.Type
func (GetHttpDomainsResultOutput) Id ¶
func (o GetHttpDomainsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHttpDomainsResultOutput) ListenerId ¶
func (o GetHttpDomainsResultOutput) ListenerId() pulumi.StringOutput
func (GetHttpDomainsResultOutput) ResultOutputFile ¶
func (o GetHttpDomainsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetHttpDomainsResultOutput) ToGetHttpDomainsResultOutput ¶
func (o GetHttpDomainsResultOutput) ToGetHttpDomainsResultOutput() GetHttpDomainsResultOutput
func (GetHttpDomainsResultOutput) ToGetHttpDomainsResultOutputWithContext ¶
func (o GetHttpDomainsResultOutput) ToGetHttpDomainsResultOutputWithContext(ctx context.Context) GetHttpDomainsResultOutput
type GetHttpRulesArgs ¶
type GetHttpRulesArgs struct { // Forward domain of the layer7 listener to be queried. Domain *string `pulumi:"domain"` // Requested host which is forwarded to the realserver by the listener to be queried. ForwardHost *string `pulumi:"forwardHost"` // ID of the layer7 listener to be queried. ListenerId string `pulumi:"listenerId"` // Path of the forward rule to be queried. Path *string `pulumi:"path"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getHttpRules.
type GetHttpRulesOutputArgs ¶
type GetHttpRulesOutputArgs struct { // Forward domain of the layer7 listener to be queried. Domain pulumi.StringPtrInput `pulumi:"domain"` // Requested host which is forwarded to the realserver by the listener to be queried. ForwardHost pulumi.StringPtrInput `pulumi:"forwardHost"` // ID of the layer7 listener to be queried. ListenerId pulumi.StringInput `pulumi:"listenerId"` // Path of the forward rule to be queried. Path pulumi.StringPtrInput `pulumi:"path"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getHttpRules.
func (GetHttpRulesOutputArgs) ElementType ¶
func (GetHttpRulesOutputArgs) ElementType() reflect.Type
type GetHttpRulesResult ¶
type GetHttpRulesResult struct { // Domain of the GAAP realserver. Domain *string `pulumi:"domain"` // Requested host which is forwarded to the realserver by the listener. ForwardHost *string `pulumi:"forwardHost"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ID of the layer7 listener. ListenerId string `pulumi:"listenerId"` // Path of the forward rule. Path *string `pulumi:"path"` ResultOutputFile *string `pulumi:"resultOutputFile"` // An information list of forward rule of the layer7 listeners. Each element contains the following attributes: Rules []GetHttpRulesRule `pulumi:"rules"` }
A collection of values returned by getHttpRules.
func GetHttpRules ¶
func GetHttpRules(ctx *pulumi.Context, args *GetHttpRulesArgs, opts ...pulumi.InvokeOption) (*GetHttpRulesResult, error)
Use this data source to query forward rule of layer7 listeners.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } fooRealserver, err := Gaap.NewRealserver(ctx, "fooRealserver", &Gaap.RealserverArgs{ Ip: pulumi.String("1.1.1.1"), }) if err != nil { return err } fooHttpRule, err := Gaap.NewHttpRule(ctx, "fooHttpRule", &Gaap.HttpRuleArgs{ ListenerId: fooLayer7Listener.ID(), Domain: pulumi.String("www.qq.com"), Path: pulumi.String("/"), RealserverType: pulumi.String("IP"), HealthCheck: pulumi.Bool(true), Realservers: gaap.HttpRuleRealserverArray{ &gaap.HttpRuleRealserverArgs{ Id: fooRealserver.ID(), Ip: fooRealserver.Ip, Port: pulumi.Int(80), }, }, }) if err != nil { return err } _ = Gaap.GetHttpRulesOutput(ctx, gaap.GetHttpRulesOutputArgs{ ListenerId: fooLayer7Listener.ID(), Domain: fooHttpRule.Domain, }, nil) return nil }) }
```
type GetHttpRulesResultOutput ¶
type GetHttpRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHttpRules.
func GetHttpRulesOutput ¶
func GetHttpRulesOutput(ctx *pulumi.Context, args GetHttpRulesOutputArgs, opts ...pulumi.InvokeOption) GetHttpRulesResultOutput
func (GetHttpRulesResultOutput) Domain ¶
func (o GetHttpRulesResultOutput) Domain() pulumi.StringPtrOutput
Domain of the GAAP realserver.
func (GetHttpRulesResultOutput) ElementType ¶
func (GetHttpRulesResultOutput) ElementType() reflect.Type
func (GetHttpRulesResultOutput) ForwardHost ¶
func (o GetHttpRulesResultOutput) ForwardHost() pulumi.StringPtrOutput
Requested host which is forwarded to the realserver by the listener.
func (GetHttpRulesResultOutput) Id ¶
func (o GetHttpRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHttpRulesResultOutput) ListenerId ¶
func (o GetHttpRulesResultOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener.
func (GetHttpRulesResultOutput) Path ¶
func (o GetHttpRulesResultOutput) Path() pulumi.StringPtrOutput
Path of the forward rule.
func (GetHttpRulesResultOutput) ResultOutputFile ¶
func (o GetHttpRulesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetHttpRulesResultOutput) Rules ¶
func (o GetHttpRulesResultOutput) Rules() GetHttpRulesRuleArrayOutput
An information list of forward rule of the layer7 listeners. Each element contains the following attributes:
func (GetHttpRulesResultOutput) ToGetHttpRulesResultOutput ¶
func (o GetHttpRulesResultOutput) ToGetHttpRulesResultOutput() GetHttpRulesResultOutput
func (GetHttpRulesResultOutput) ToGetHttpRulesResultOutputWithContext ¶
func (o GetHttpRulesResultOutput) ToGetHttpRulesResultOutputWithContext(ctx context.Context) GetHttpRulesResultOutput
type GetHttpRulesRule ¶
type GetHttpRulesRule struct { // Timeout of the health check response. ConnectTimeout int `pulumi:"connectTimeout"` // Forward domain of the layer7 listener to be queried. Domain string `pulumi:"domain"` // Requested host which is forwarded to the realserver by the listener to be queried. ForwardHost string `pulumi:"forwardHost"` // Indicates whether health check is enable. HealthCheck bool `pulumi:"healthCheck"` // Method of the health check. HealthCheckMethod string `pulumi:"healthCheckMethod"` // Path of health check. HealthCheckPath string `pulumi:"healthCheckPath"` // Return code of confirmed normal. HealthCheckStatusCodes []int `pulumi:"healthCheckStatusCodes"` // ID of the GAAP realserver. Id string `pulumi:"id"` // Interval of the health check. Interval int `pulumi:"interval"` // ID of the layer7 listener to be queried. ListenerId string `pulumi:"listenerId"` // Path of the forward rule to be queried. Path string `pulumi:"path"` // Type of the realserver. RealserverType string `pulumi:"realserverType"` // An information list of GAAP realserver. Each element contains the following attributes: Realservers []GetHttpRulesRuleRealserver `pulumi:"realservers"` // Scheduling policy of the forward rule. Scheduler string `pulumi:"scheduler"` // ServerNameIndication (SNI). Sni string `pulumi:"sni"` // ServerNameIndication (SNI) switch. SniSwitch string `pulumi:"sniSwitch"` }
type GetHttpRulesRuleArgs ¶
type GetHttpRulesRuleArgs struct { // Timeout of the health check response. ConnectTimeout pulumi.IntInput `pulumi:"connectTimeout"` // Forward domain of the layer7 listener to be queried. Domain pulumi.StringInput `pulumi:"domain"` // Requested host which is forwarded to the realserver by the listener to be queried. ForwardHost pulumi.StringInput `pulumi:"forwardHost"` // Indicates whether health check is enable. HealthCheck pulumi.BoolInput `pulumi:"healthCheck"` // Method of the health check. HealthCheckMethod pulumi.StringInput `pulumi:"healthCheckMethod"` // Path of health check. HealthCheckPath pulumi.StringInput `pulumi:"healthCheckPath"` // Return code of confirmed normal. HealthCheckStatusCodes pulumi.IntArrayInput `pulumi:"healthCheckStatusCodes"` // ID of the GAAP realserver. Id pulumi.StringInput `pulumi:"id"` // Interval of the health check. Interval pulumi.IntInput `pulumi:"interval"` // ID of the layer7 listener to be queried. ListenerId pulumi.StringInput `pulumi:"listenerId"` // Path of the forward rule to be queried. Path pulumi.StringInput `pulumi:"path"` // Type of the realserver. RealserverType pulumi.StringInput `pulumi:"realserverType"` // An information list of GAAP realserver. Each element contains the following attributes: Realservers GetHttpRulesRuleRealserverArrayInput `pulumi:"realservers"` // Scheduling policy of the forward rule. Scheduler pulumi.StringInput `pulumi:"scheduler"` // ServerNameIndication (SNI). Sni pulumi.StringInput `pulumi:"sni"` // ServerNameIndication (SNI) switch. SniSwitch pulumi.StringInput `pulumi:"sniSwitch"` }
func (GetHttpRulesRuleArgs) ElementType ¶
func (GetHttpRulesRuleArgs) ElementType() reflect.Type
func (GetHttpRulesRuleArgs) ToGetHttpRulesRuleOutput ¶
func (i GetHttpRulesRuleArgs) ToGetHttpRulesRuleOutput() GetHttpRulesRuleOutput
func (GetHttpRulesRuleArgs) ToGetHttpRulesRuleOutputWithContext ¶
func (i GetHttpRulesRuleArgs) ToGetHttpRulesRuleOutputWithContext(ctx context.Context) GetHttpRulesRuleOutput
type GetHttpRulesRuleArray ¶
type GetHttpRulesRuleArray []GetHttpRulesRuleInput
func (GetHttpRulesRuleArray) ElementType ¶
func (GetHttpRulesRuleArray) ElementType() reflect.Type
func (GetHttpRulesRuleArray) ToGetHttpRulesRuleArrayOutput ¶
func (i GetHttpRulesRuleArray) ToGetHttpRulesRuleArrayOutput() GetHttpRulesRuleArrayOutput
func (GetHttpRulesRuleArray) ToGetHttpRulesRuleArrayOutputWithContext ¶
func (i GetHttpRulesRuleArray) ToGetHttpRulesRuleArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleArrayOutput
type GetHttpRulesRuleArrayInput ¶
type GetHttpRulesRuleArrayInput interface { pulumi.Input ToGetHttpRulesRuleArrayOutput() GetHttpRulesRuleArrayOutput ToGetHttpRulesRuleArrayOutputWithContext(context.Context) GetHttpRulesRuleArrayOutput }
GetHttpRulesRuleArrayInput is an input type that accepts GetHttpRulesRuleArray and GetHttpRulesRuleArrayOutput values. You can construct a concrete instance of `GetHttpRulesRuleArrayInput` via:
GetHttpRulesRuleArray{ GetHttpRulesRuleArgs{...} }
type GetHttpRulesRuleArrayOutput ¶
type GetHttpRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetHttpRulesRuleArrayOutput) ElementType ¶
func (GetHttpRulesRuleArrayOutput) ElementType() reflect.Type
func (GetHttpRulesRuleArrayOutput) Index ¶
func (o GetHttpRulesRuleArrayOutput) Index(i pulumi.IntInput) GetHttpRulesRuleOutput
func (GetHttpRulesRuleArrayOutput) ToGetHttpRulesRuleArrayOutput ¶
func (o GetHttpRulesRuleArrayOutput) ToGetHttpRulesRuleArrayOutput() GetHttpRulesRuleArrayOutput
func (GetHttpRulesRuleArrayOutput) ToGetHttpRulesRuleArrayOutputWithContext ¶
func (o GetHttpRulesRuleArrayOutput) ToGetHttpRulesRuleArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleArrayOutput
type GetHttpRulesRuleInput ¶
type GetHttpRulesRuleInput interface { pulumi.Input ToGetHttpRulesRuleOutput() GetHttpRulesRuleOutput ToGetHttpRulesRuleOutputWithContext(context.Context) GetHttpRulesRuleOutput }
GetHttpRulesRuleInput is an input type that accepts GetHttpRulesRuleArgs and GetHttpRulesRuleOutput values. You can construct a concrete instance of `GetHttpRulesRuleInput` via:
GetHttpRulesRuleArgs{...}
type GetHttpRulesRuleOutput ¶
type GetHttpRulesRuleOutput struct{ *pulumi.OutputState }
func (GetHttpRulesRuleOutput) ConnectTimeout ¶
func (o GetHttpRulesRuleOutput) ConnectTimeout() pulumi.IntOutput
Timeout of the health check response.
func (GetHttpRulesRuleOutput) Domain ¶
func (o GetHttpRulesRuleOutput) Domain() pulumi.StringOutput
Forward domain of the layer7 listener to be queried.
func (GetHttpRulesRuleOutput) ElementType ¶
func (GetHttpRulesRuleOutput) ElementType() reflect.Type
func (GetHttpRulesRuleOutput) ForwardHost ¶
func (o GetHttpRulesRuleOutput) ForwardHost() pulumi.StringOutput
Requested host which is forwarded to the realserver by the listener to be queried.
func (GetHttpRulesRuleOutput) HealthCheck ¶
func (o GetHttpRulesRuleOutput) HealthCheck() pulumi.BoolOutput
Indicates whether health check is enable.
func (GetHttpRulesRuleOutput) HealthCheckMethod ¶
func (o GetHttpRulesRuleOutput) HealthCheckMethod() pulumi.StringOutput
Method of the health check.
func (GetHttpRulesRuleOutput) HealthCheckPath ¶
func (o GetHttpRulesRuleOutput) HealthCheckPath() pulumi.StringOutput
Path of health check.
func (GetHttpRulesRuleOutput) HealthCheckStatusCodes ¶
func (o GetHttpRulesRuleOutput) HealthCheckStatusCodes() pulumi.IntArrayOutput
Return code of confirmed normal.
func (GetHttpRulesRuleOutput) Id ¶
func (o GetHttpRulesRuleOutput) Id() pulumi.StringOutput
ID of the GAAP realserver.
func (GetHttpRulesRuleOutput) Interval ¶
func (o GetHttpRulesRuleOutput) Interval() pulumi.IntOutput
Interval of the health check.
func (GetHttpRulesRuleOutput) ListenerId ¶
func (o GetHttpRulesRuleOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener to be queried.
func (GetHttpRulesRuleOutput) Path ¶
func (o GetHttpRulesRuleOutput) Path() pulumi.StringOutput
Path of the forward rule to be queried.
func (GetHttpRulesRuleOutput) RealserverType ¶
func (o GetHttpRulesRuleOutput) RealserverType() pulumi.StringOutput
Type of the realserver.
func (GetHttpRulesRuleOutput) Realservers ¶
func (o GetHttpRulesRuleOutput) Realservers() GetHttpRulesRuleRealserverArrayOutput
An information list of GAAP realserver. Each element contains the following attributes:
func (GetHttpRulesRuleOutput) Scheduler ¶
func (o GetHttpRulesRuleOutput) Scheduler() pulumi.StringOutput
Scheduling policy of the forward rule.
func (GetHttpRulesRuleOutput) Sni ¶
func (o GetHttpRulesRuleOutput) Sni() pulumi.StringOutput
ServerNameIndication (SNI).
func (GetHttpRulesRuleOutput) SniSwitch ¶
func (o GetHttpRulesRuleOutput) SniSwitch() pulumi.StringOutput
ServerNameIndication (SNI) switch.
func (GetHttpRulesRuleOutput) ToGetHttpRulesRuleOutput ¶
func (o GetHttpRulesRuleOutput) ToGetHttpRulesRuleOutput() GetHttpRulesRuleOutput
func (GetHttpRulesRuleOutput) ToGetHttpRulesRuleOutputWithContext ¶
func (o GetHttpRulesRuleOutput) ToGetHttpRulesRuleOutputWithContext(ctx context.Context) GetHttpRulesRuleOutput
type GetHttpRulesRuleRealserver ¶
type GetHttpRulesRuleRealserver struct { // Forward domain of the layer7 listener to be queried. Domain string `pulumi:"domain"` // ID of the GAAP realserver. Id string `pulumi:"id"` // IP of the GAAP realserver. Ip string `pulumi:"ip"` // Port of the GAAP realserver. Port int `pulumi:"port"` // Status of the GAAP realserver. Status int `pulumi:"status"` // Scheduling weight. Weight int `pulumi:"weight"` }
type GetHttpRulesRuleRealserverArgs ¶
type GetHttpRulesRuleRealserverArgs struct { // Forward domain of the layer7 listener to be queried. Domain pulumi.StringInput `pulumi:"domain"` // ID of the GAAP realserver. Id pulumi.StringInput `pulumi:"id"` // IP of the GAAP realserver. Ip pulumi.StringInput `pulumi:"ip"` // Port of the GAAP realserver. Port pulumi.IntInput `pulumi:"port"` // Status of the GAAP realserver. Status pulumi.IntInput `pulumi:"status"` // Scheduling weight. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetHttpRulesRuleRealserverArgs) ElementType ¶
func (GetHttpRulesRuleRealserverArgs) ElementType() reflect.Type
func (GetHttpRulesRuleRealserverArgs) ToGetHttpRulesRuleRealserverOutput ¶
func (i GetHttpRulesRuleRealserverArgs) ToGetHttpRulesRuleRealserverOutput() GetHttpRulesRuleRealserverOutput
func (GetHttpRulesRuleRealserverArgs) ToGetHttpRulesRuleRealserverOutputWithContext ¶
func (i GetHttpRulesRuleRealserverArgs) ToGetHttpRulesRuleRealserverOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverOutput
type GetHttpRulesRuleRealserverArray ¶
type GetHttpRulesRuleRealserverArray []GetHttpRulesRuleRealserverInput
func (GetHttpRulesRuleRealserverArray) ElementType ¶
func (GetHttpRulesRuleRealserverArray) ElementType() reflect.Type
func (GetHttpRulesRuleRealserverArray) ToGetHttpRulesRuleRealserverArrayOutput ¶
func (i GetHttpRulesRuleRealserverArray) ToGetHttpRulesRuleRealserverArrayOutput() GetHttpRulesRuleRealserverArrayOutput
func (GetHttpRulesRuleRealserverArray) ToGetHttpRulesRuleRealserverArrayOutputWithContext ¶
func (i GetHttpRulesRuleRealserverArray) ToGetHttpRulesRuleRealserverArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverArrayOutput
type GetHttpRulesRuleRealserverArrayInput ¶
type GetHttpRulesRuleRealserverArrayInput interface { pulumi.Input ToGetHttpRulesRuleRealserverArrayOutput() GetHttpRulesRuleRealserverArrayOutput ToGetHttpRulesRuleRealserverArrayOutputWithContext(context.Context) GetHttpRulesRuleRealserverArrayOutput }
GetHttpRulesRuleRealserverArrayInput is an input type that accepts GetHttpRulesRuleRealserverArray and GetHttpRulesRuleRealserverArrayOutput values. You can construct a concrete instance of `GetHttpRulesRuleRealserverArrayInput` via:
GetHttpRulesRuleRealserverArray{ GetHttpRulesRuleRealserverArgs{...} }
type GetHttpRulesRuleRealserverArrayOutput ¶
type GetHttpRulesRuleRealserverArrayOutput struct{ *pulumi.OutputState }
func (GetHttpRulesRuleRealserverArrayOutput) ElementType ¶
func (GetHttpRulesRuleRealserverArrayOutput) ElementType() reflect.Type
func (GetHttpRulesRuleRealserverArrayOutput) Index ¶
func (o GetHttpRulesRuleRealserverArrayOutput) Index(i pulumi.IntInput) GetHttpRulesRuleRealserverOutput
func (GetHttpRulesRuleRealserverArrayOutput) ToGetHttpRulesRuleRealserverArrayOutput ¶
func (o GetHttpRulesRuleRealserverArrayOutput) ToGetHttpRulesRuleRealserverArrayOutput() GetHttpRulesRuleRealserverArrayOutput
func (GetHttpRulesRuleRealserverArrayOutput) ToGetHttpRulesRuleRealserverArrayOutputWithContext ¶
func (o GetHttpRulesRuleRealserverArrayOutput) ToGetHttpRulesRuleRealserverArrayOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverArrayOutput
type GetHttpRulesRuleRealserverInput ¶
type GetHttpRulesRuleRealserverInput interface { pulumi.Input ToGetHttpRulesRuleRealserverOutput() GetHttpRulesRuleRealserverOutput ToGetHttpRulesRuleRealserverOutputWithContext(context.Context) GetHttpRulesRuleRealserverOutput }
GetHttpRulesRuleRealserverInput is an input type that accepts GetHttpRulesRuleRealserverArgs and GetHttpRulesRuleRealserverOutput values. You can construct a concrete instance of `GetHttpRulesRuleRealserverInput` via:
GetHttpRulesRuleRealserverArgs{...}
type GetHttpRulesRuleRealserverOutput ¶
type GetHttpRulesRuleRealserverOutput struct{ *pulumi.OutputState }
func (GetHttpRulesRuleRealserverOutput) Domain ¶
func (o GetHttpRulesRuleRealserverOutput) Domain() pulumi.StringOutput
Forward domain of the layer7 listener to be queried.
func (GetHttpRulesRuleRealserverOutput) ElementType ¶
func (GetHttpRulesRuleRealserverOutput) ElementType() reflect.Type
func (GetHttpRulesRuleRealserverOutput) Id ¶
func (o GetHttpRulesRuleRealserverOutput) Id() pulumi.StringOutput
ID of the GAAP realserver.
func (GetHttpRulesRuleRealserverOutput) Ip ¶
func (o GetHttpRulesRuleRealserverOutput) Ip() pulumi.StringOutput
IP of the GAAP realserver.
func (GetHttpRulesRuleRealserverOutput) Port ¶
func (o GetHttpRulesRuleRealserverOutput) Port() pulumi.IntOutput
Port of the GAAP realserver.
func (GetHttpRulesRuleRealserverOutput) Status ¶
func (o GetHttpRulesRuleRealserverOutput) Status() pulumi.IntOutput
Status of the GAAP realserver.
func (GetHttpRulesRuleRealserverOutput) ToGetHttpRulesRuleRealserverOutput ¶
func (o GetHttpRulesRuleRealserverOutput) ToGetHttpRulesRuleRealserverOutput() GetHttpRulesRuleRealserverOutput
func (GetHttpRulesRuleRealserverOutput) ToGetHttpRulesRuleRealserverOutputWithContext ¶
func (o GetHttpRulesRuleRealserverOutput) ToGetHttpRulesRuleRealserverOutputWithContext(ctx context.Context) GetHttpRulesRuleRealserverOutput
func (GetHttpRulesRuleRealserverOutput) Weight ¶
func (o GetHttpRulesRuleRealserverOutput) Weight() pulumi.IntOutput
Scheduling weight.
type GetLayer4ListenersArgs ¶
type GetLayer4ListenersArgs struct { // ID of the layer4 listener to be queried. ListenerId *string `pulumi:"listenerId"` // Name of the layer4 listener to be queried. ListenerName *string `pulumi:"listenerName"` // Port of the layer4 listener to be queried. Port *int `pulumi:"port"` // Protocol of the layer4 listener to be queried. Valid values: `TCP` and `UDP`. Protocol string `pulumi:"protocol"` // ID of the GAAP proxy to be queried. ProxyId *string `pulumi:"proxyId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getLayer4Listeners.
type GetLayer4ListenersListener ¶
type GetLayer4ListenersListener struct { // Timeout of the health check response. ConnectTimeout int `pulumi:"connectTimeout"` // Creation time of the layer4 listener. CreateTime string `pulumi:"createTime"` // Indicates whether health check is enable. HealthCheck bool `pulumi:"healthCheck"` // ID of the layer4 listener. Id string `pulumi:"id"` // Interval of the health check. Interval int `pulumi:"interval"` // Name of the layer4 listener. Name string `pulumi:"name"` // Port of the layer4 listener to be queried. Port int `pulumi:"port"` // Protocol of the layer4 listener to be queried. Valid values: `TCP` and `UDP`. Protocol string `pulumi:"protocol"` // Type of the realserver. RealserverType string `pulumi:"realserverType"` // Scheduling policy of the layer4 listener. Scheduler string `pulumi:"scheduler"` // Status of the layer4 listener. Status int `pulumi:"status"` }
type GetLayer4ListenersListenerArgs ¶
type GetLayer4ListenersListenerArgs struct { // Timeout of the health check response. ConnectTimeout pulumi.IntInput `pulumi:"connectTimeout"` // Creation time of the layer4 listener. CreateTime pulumi.StringInput `pulumi:"createTime"` // Indicates whether health check is enable. HealthCheck pulumi.BoolInput `pulumi:"healthCheck"` // ID of the layer4 listener. Id pulumi.StringInput `pulumi:"id"` // Interval of the health check. Interval pulumi.IntInput `pulumi:"interval"` // Name of the layer4 listener. Name pulumi.StringInput `pulumi:"name"` // Port of the layer4 listener to be queried. Port pulumi.IntInput `pulumi:"port"` // Protocol of the layer4 listener to be queried. Valid values: `TCP` and `UDP`. Protocol pulumi.StringInput `pulumi:"protocol"` // Type of the realserver. RealserverType pulumi.StringInput `pulumi:"realserverType"` // Scheduling policy of the layer4 listener. Scheduler pulumi.StringInput `pulumi:"scheduler"` // Status of the layer4 listener. Status pulumi.IntInput `pulumi:"status"` }
func (GetLayer4ListenersListenerArgs) ElementType ¶
func (GetLayer4ListenersListenerArgs) ElementType() reflect.Type
func (GetLayer4ListenersListenerArgs) ToGetLayer4ListenersListenerOutput ¶
func (i GetLayer4ListenersListenerArgs) ToGetLayer4ListenersListenerOutput() GetLayer4ListenersListenerOutput
func (GetLayer4ListenersListenerArgs) ToGetLayer4ListenersListenerOutputWithContext ¶
func (i GetLayer4ListenersListenerArgs) ToGetLayer4ListenersListenerOutputWithContext(ctx context.Context) GetLayer4ListenersListenerOutput
type GetLayer4ListenersListenerArray ¶
type GetLayer4ListenersListenerArray []GetLayer4ListenersListenerInput
func (GetLayer4ListenersListenerArray) ElementType ¶
func (GetLayer4ListenersListenerArray) ElementType() reflect.Type
func (GetLayer4ListenersListenerArray) ToGetLayer4ListenersListenerArrayOutput ¶
func (i GetLayer4ListenersListenerArray) ToGetLayer4ListenersListenerArrayOutput() GetLayer4ListenersListenerArrayOutput
func (GetLayer4ListenersListenerArray) ToGetLayer4ListenersListenerArrayOutputWithContext ¶
func (i GetLayer4ListenersListenerArray) ToGetLayer4ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer4ListenersListenerArrayOutput
type GetLayer4ListenersListenerArrayInput ¶
type GetLayer4ListenersListenerArrayInput interface { pulumi.Input ToGetLayer4ListenersListenerArrayOutput() GetLayer4ListenersListenerArrayOutput ToGetLayer4ListenersListenerArrayOutputWithContext(context.Context) GetLayer4ListenersListenerArrayOutput }
GetLayer4ListenersListenerArrayInput is an input type that accepts GetLayer4ListenersListenerArray and GetLayer4ListenersListenerArrayOutput values. You can construct a concrete instance of `GetLayer4ListenersListenerArrayInput` via:
GetLayer4ListenersListenerArray{ GetLayer4ListenersListenerArgs{...} }
type GetLayer4ListenersListenerArrayOutput ¶
type GetLayer4ListenersListenerArrayOutput struct{ *pulumi.OutputState }
func (GetLayer4ListenersListenerArrayOutput) ElementType ¶
func (GetLayer4ListenersListenerArrayOutput) ElementType() reflect.Type
func (GetLayer4ListenersListenerArrayOutput) Index ¶
func (o GetLayer4ListenersListenerArrayOutput) Index(i pulumi.IntInput) GetLayer4ListenersListenerOutput
func (GetLayer4ListenersListenerArrayOutput) ToGetLayer4ListenersListenerArrayOutput ¶
func (o GetLayer4ListenersListenerArrayOutput) ToGetLayer4ListenersListenerArrayOutput() GetLayer4ListenersListenerArrayOutput
func (GetLayer4ListenersListenerArrayOutput) ToGetLayer4ListenersListenerArrayOutputWithContext ¶
func (o GetLayer4ListenersListenerArrayOutput) ToGetLayer4ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer4ListenersListenerArrayOutput
type GetLayer4ListenersListenerInput ¶
type GetLayer4ListenersListenerInput interface { pulumi.Input ToGetLayer4ListenersListenerOutput() GetLayer4ListenersListenerOutput ToGetLayer4ListenersListenerOutputWithContext(context.Context) GetLayer4ListenersListenerOutput }
GetLayer4ListenersListenerInput is an input type that accepts GetLayer4ListenersListenerArgs and GetLayer4ListenersListenerOutput values. You can construct a concrete instance of `GetLayer4ListenersListenerInput` via:
GetLayer4ListenersListenerArgs{...}
type GetLayer4ListenersListenerOutput ¶
type GetLayer4ListenersListenerOutput struct{ *pulumi.OutputState }
func (GetLayer4ListenersListenerOutput) ConnectTimeout ¶
func (o GetLayer4ListenersListenerOutput) ConnectTimeout() pulumi.IntOutput
Timeout of the health check response.
func (GetLayer4ListenersListenerOutput) CreateTime ¶
func (o GetLayer4ListenersListenerOutput) CreateTime() pulumi.StringOutput
Creation time of the layer4 listener.
func (GetLayer4ListenersListenerOutput) ElementType ¶
func (GetLayer4ListenersListenerOutput) ElementType() reflect.Type
func (GetLayer4ListenersListenerOutput) HealthCheck ¶
func (o GetLayer4ListenersListenerOutput) HealthCheck() pulumi.BoolOutput
Indicates whether health check is enable.
func (GetLayer4ListenersListenerOutput) Id ¶
func (o GetLayer4ListenersListenerOutput) Id() pulumi.StringOutput
ID of the layer4 listener.
func (GetLayer4ListenersListenerOutput) Interval ¶
func (o GetLayer4ListenersListenerOutput) Interval() pulumi.IntOutput
Interval of the health check.
func (GetLayer4ListenersListenerOutput) Name ¶
func (o GetLayer4ListenersListenerOutput) Name() pulumi.StringOutput
Name of the layer4 listener.
func (GetLayer4ListenersListenerOutput) Port ¶
func (o GetLayer4ListenersListenerOutput) Port() pulumi.IntOutput
Port of the layer4 listener to be queried.
func (GetLayer4ListenersListenerOutput) Protocol ¶
func (o GetLayer4ListenersListenerOutput) Protocol() pulumi.StringOutput
Protocol of the layer4 listener to be queried. Valid values: `TCP` and `UDP`.
func (GetLayer4ListenersListenerOutput) RealserverType ¶
func (o GetLayer4ListenersListenerOutput) RealserverType() pulumi.StringOutput
Type of the realserver.
func (GetLayer4ListenersListenerOutput) Scheduler ¶
func (o GetLayer4ListenersListenerOutput) Scheduler() pulumi.StringOutput
Scheduling policy of the layer4 listener.
func (GetLayer4ListenersListenerOutput) Status ¶
func (o GetLayer4ListenersListenerOutput) Status() pulumi.IntOutput
Status of the layer4 listener.
func (GetLayer4ListenersListenerOutput) ToGetLayer4ListenersListenerOutput ¶
func (o GetLayer4ListenersListenerOutput) ToGetLayer4ListenersListenerOutput() GetLayer4ListenersListenerOutput
func (GetLayer4ListenersListenerOutput) ToGetLayer4ListenersListenerOutputWithContext ¶
func (o GetLayer4ListenersListenerOutput) ToGetLayer4ListenersListenerOutputWithContext(ctx context.Context) GetLayer4ListenersListenerOutput
type GetLayer4ListenersOutputArgs ¶
type GetLayer4ListenersOutputArgs struct { // ID of the layer4 listener to be queried. ListenerId pulumi.StringPtrInput `pulumi:"listenerId"` // Name of the layer4 listener to be queried. ListenerName pulumi.StringPtrInput `pulumi:"listenerName"` // Port of the layer4 listener to be queried. Port pulumi.IntPtrInput `pulumi:"port"` // Protocol of the layer4 listener to be queried. Valid values: `TCP` and `UDP`. Protocol pulumi.StringInput `pulumi:"protocol"` // ID of the GAAP proxy to be queried. ProxyId pulumi.StringPtrInput `pulumi:"proxyId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getLayer4Listeners.
func (GetLayer4ListenersOutputArgs) ElementType ¶
func (GetLayer4ListenersOutputArgs) ElementType() reflect.Type
type GetLayer4ListenersResult ¶
type GetLayer4ListenersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ListenerId *string `pulumi:"listenerId"` ListenerName *string `pulumi:"listenerName"` // An information list of layer4 listeners. Each element contains the following attributes: Listeners []GetLayer4ListenersListener `pulumi:"listeners"` // Port of the layer4 listener. Port *int `pulumi:"port"` // Protocol of the layer4 listener. Protocol string `pulumi:"protocol"` ProxyId *string `pulumi:"proxyId"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getLayer4Listeners.
func GetLayer4Listeners ¶
func GetLayer4Listeners(ctx *pulumi.Context, args *GetLayer4ListenersArgs, opts ...pulumi.InvokeOption) (*GetLayer4ListenersResult, error)
Use this data source to query gaap layer4 listeners.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooRealserver, err := Gaap.NewRealserver(ctx, "fooRealserver", &Gaap.RealserverArgs{ Ip: pulumi.String("1.1.1.1"), }) if err != nil { return err } fooLayer4Listener, err := Gaap.NewLayer4Listener(ctx, "fooLayer4Listener", &Gaap.Layer4ListenerArgs{ Protocol: pulumi.String("TCP"), Port: pulumi.Int(80), RealserverType: pulumi.String("IP"), ProxyId: fooProxy.ID(), HealthCheck: pulumi.Bool(true), Interval: pulumi.Int(5), ConnectTimeout: pulumi.Int(2), RealserverBindSets: gaap.Layer4ListenerRealserverBindSetArray{ &gaap.Layer4ListenerRealserverBindSetArgs{ Id: fooRealserver.ID(), Ip: fooRealserver.Ip, Port: pulumi.Int(80), }, }, }) if err != nil { return err } _ = Gaap.GetLayer4ListenersOutput(ctx, gaap.GetLayer4ListenersOutputArgs{ Protocol: pulumi.String("TCP"), ProxyId: fooProxy.ID(), ListenerId: fooLayer4Listener.ID(), }, nil) return nil }) }
```
type GetLayer4ListenersResultOutput ¶
type GetLayer4ListenersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLayer4Listeners.
func GetLayer4ListenersOutput ¶
func GetLayer4ListenersOutput(ctx *pulumi.Context, args GetLayer4ListenersOutputArgs, opts ...pulumi.InvokeOption) GetLayer4ListenersResultOutput
func (GetLayer4ListenersResultOutput) ElementType ¶
func (GetLayer4ListenersResultOutput) ElementType() reflect.Type
func (GetLayer4ListenersResultOutput) Id ¶
func (o GetLayer4ListenersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLayer4ListenersResultOutput) ListenerId ¶
func (o GetLayer4ListenersResultOutput) ListenerId() pulumi.StringPtrOutput
func (GetLayer4ListenersResultOutput) ListenerName ¶
func (o GetLayer4ListenersResultOutput) ListenerName() pulumi.StringPtrOutput
func (GetLayer4ListenersResultOutput) Listeners ¶
func (o GetLayer4ListenersResultOutput) Listeners() GetLayer4ListenersListenerArrayOutput
An information list of layer4 listeners. Each element contains the following attributes:
func (GetLayer4ListenersResultOutput) Port ¶
func (o GetLayer4ListenersResultOutput) Port() pulumi.IntPtrOutput
Port of the layer4 listener.
func (GetLayer4ListenersResultOutput) Protocol ¶
func (o GetLayer4ListenersResultOutput) Protocol() pulumi.StringOutput
Protocol of the layer4 listener.
func (GetLayer4ListenersResultOutput) ProxyId ¶
func (o GetLayer4ListenersResultOutput) ProxyId() pulumi.StringPtrOutput
func (GetLayer4ListenersResultOutput) ResultOutputFile ¶
func (o GetLayer4ListenersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetLayer4ListenersResultOutput) ToGetLayer4ListenersResultOutput ¶
func (o GetLayer4ListenersResultOutput) ToGetLayer4ListenersResultOutput() GetLayer4ListenersResultOutput
func (GetLayer4ListenersResultOutput) ToGetLayer4ListenersResultOutputWithContext ¶
func (o GetLayer4ListenersResultOutput) ToGetLayer4ListenersResultOutputWithContext(ctx context.Context) GetLayer4ListenersResultOutput
type GetLayer7ListenersArgs ¶
type GetLayer7ListenersArgs struct { // ID of the layer7 listener to be queried. ListenerId *string `pulumi:"listenerId"` // Name of the layer7 listener to be queried. ListenerName *string `pulumi:"listenerName"` // Port of the layer7 listener to be queried. Port *int `pulumi:"port"` // Protocol of the layer7 listener to be queried. Valid values: `HTTP` and `HTTPS`. Protocol string `pulumi:"protocol"` // ID of the GAAP proxy to be queried. ProxyId *string `pulumi:"proxyId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getLayer7Listeners.
type GetLayer7ListenersListener ¶
type GetLayer7ListenersListener struct { // Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. AuthType int `pulumi:"authType"` // Certificate ID of the layer7 listener. CertificateId string `pulumi:"certificateId"` // (**Deprecated**) It has been deprecated from version 1.26.0. Use `clientCertificateIds` instead. ID of the client certificate. // // Deprecated: It has been deprecated from version 1.26.0. Use `client_certificate_ids` instead. ClientCertificateId string `pulumi:"clientCertificateId"` // ID list of the client certificate. ClientCertificateIds []string `pulumi:"clientCertificateIds"` // Creation time of the layer7 listener. CreateTime string `pulumi:"createTime"` // Protocol type of the forwarding. ForwardProtocol string `pulumi:"forwardProtocol"` // ID of the layer7 listener. Id string `pulumi:"id"` // Name of the layer7 listener. Name string `pulumi:"name"` // Port of the layer7 listener to be queried. Port int `pulumi:"port"` // Protocol of the layer7 listener to be queried. Valid values: `HTTP` and `HTTPS`. Protocol string `pulumi:"protocol"` // Status of the layer7 listener. Status int `pulumi:"status"` }
type GetLayer7ListenersListenerArgs ¶
type GetLayer7ListenersListenerArgs struct { // Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. AuthType pulumi.IntInput `pulumi:"authType"` // Certificate ID of the layer7 listener. CertificateId pulumi.StringInput `pulumi:"certificateId"` // (**Deprecated**) It has been deprecated from version 1.26.0. Use `clientCertificateIds` instead. ID of the client certificate. // // Deprecated: It has been deprecated from version 1.26.0. Use `client_certificate_ids` instead. ClientCertificateId pulumi.StringInput `pulumi:"clientCertificateId"` // ID list of the client certificate. ClientCertificateIds pulumi.StringArrayInput `pulumi:"clientCertificateIds"` // Creation time of the layer7 listener. CreateTime pulumi.StringInput `pulumi:"createTime"` // Protocol type of the forwarding. ForwardProtocol pulumi.StringInput `pulumi:"forwardProtocol"` // ID of the layer7 listener. Id pulumi.StringInput `pulumi:"id"` // Name of the layer7 listener. Name pulumi.StringInput `pulumi:"name"` // Port of the layer7 listener to be queried. Port pulumi.IntInput `pulumi:"port"` // Protocol of the layer7 listener to be queried. Valid values: `HTTP` and `HTTPS`. Protocol pulumi.StringInput `pulumi:"protocol"` // Status of the layer7 listener. Status pulumi.IntInput `pulumi:"status"` }
func (GetLayer7ListenersListenerArgs) ElementType ¶
func (GetLayer7ListenersListenerArgs) ElementType() reflect.Type
func (GetLayer7ListenersListenerArgs) ToGetLayer7ListenersListenerOutput ¶
func (i GetLayer7ListenersListenerArgs) ToGetLayer7ListenersListenerOutput() GetLayer7ListenersListenerOutput
func (GetLayer7ListenersListenerArgs) ToGetLayer7ListenersListenerOutputWithContext ¶
func (i GetLayer7ListenersListenerArgs) ToGetLayer7ListenersListenerOutputWithContext(ctx context.Context) GetLayer7ListenersListenerOutput
type GetLayer7ListenersListenerArray ¶
type GetLayer7ListenersListenerArray []GetLayer7ListenersListenerInput
func (GetLayer7ListenersListenerArray) ElementType ¶
func (GetLayer7ListenersListenerArray) ElementType() reflect.Type
func (GetLayer7ListenersListenerArray) ToGetLayer7ListenersListenerArrayOutput ¶
func (i GetLayer7ListenersListenerArray) ToGetLayer7ListenersListenerArrayOutput() GetLayer7ListenersListenerArrayOutput
func (GetLayer7ListenersListenerArray) ToGetLayer7ListenersListenerArrayOutputWithContext ¶
func (i GetLayer7ListenersListenerArray) ToGetLayer7ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer7ListenersListenerArrayOutput
type GetLayer7ListenersListenerArrayInput ¶
type GetLayer7ListenersListenerArrayInput interface { pulumi.Input ToGetLayer7ListenersListenerArrayOutput() GetLayer7ListenersListenerArrayOutput ToGetLayer7ListenersListenerArrayOutputWithContext(context.Context) GetLayer7ListenersListenerArrayOutput }
GetLayer7ListenersListenerArrayInput is an input type that accepts GetLayer7ListenersListenerArray and GetLayer7ListenersListenerArrayOutput values. You can construct a concrete instance of `GetLayer7ListenersListenerArrayInput` via:
GetLayer7ListenersListenerArray{ GetLayer7ListenersListenerArgs{...} }
type GetLayer7ListenersListenerArrayOutput ¶
type GetLayer7ListenersListenerArrayOutput struct{ *pulumi.OutputState }
func (GetLayer7ListenersListenerArrayOutput) ElementType ¶
func (GetLayer7ListenersListenerArrayOutput) ElementType() reflect.Type
func (GetLayer7ListenersListenerArrayOutput) Index ¶
func (o GetLayer7ListenersListenerArrayOutput) Index(i pulumi.IntInput) GetLayer7ListenersListenerOutput
func (GetLayer7ListenersListenerArrayOutput) ToGetLayer7ListenersListenerArrayOutput ¶
func (o GetLayer7ListenersListenerArrayOutput) ToGetLayer7ListenersListenerArrayOutput() GetLayer7ListenersListenerArrayOutput
func (GetLayer7ListenersListenerArrayOutput) ToGetLayer7ListenersListenerArrayOutputWithContext ¶
func (o GetLayer7ListenersListenerArrayOutput) ToGetLayer7ListenersListenerArrayOutputWithContext(ctx context.Context) GetLayer7ListenersListenerArrayOutput
type GetLayer7ListenersListenerInput ¶
type GetLayer7ListenersListenerInput interface { pulumi.Input ToGetLayer7ListenersListenerOutput() GetLayer7ListenersListenerOutput ToGetLayer7ListenersListenerOutputWithContext(context.Context) GetLayer7ListenersListenerOutput }
GetLayer7ListenersListenerInput is an input type that accepts GetLayer7ListenersListenerArgs and GetLayer7ListenersListenerOutput values. You can construct a concrete instance of `GetLayer7ListenersListenerInput` via:
GetLayer7ListenersListenerArgs{...}
type GetLayer7ListenersListenerOutput ¶
type GetLayer7ListenersListenerOutput struct{ *pulumi.OutputState }
func (GetLayer7ListenersListenerOutput) AuthType ¶
func (o GetLayer7ListenersListenerOutput) AuthType() pulumi.IntOutput
Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication.
func (GetLayer7ListenersListenerOutput) CertificateId ¶
func (o GetLayer7ListenersListenerOutput) CertificateId() pulumi.StringOutput
Certificate ID of the layer7 listener.
func (GetLayer7ListenersListenerOutput) ClientCertificateId
deprecated
func (o GetLayer7ListenersListenerOutput) ClientCertificateId() pulumi.StringOutput
(**Deprecated**) It has been deprecated from version 1.26.0. Use `clientCertificateIds` instead. ID of the client certificate.
Deprecated: It has been deprecated from version 1.26.0. Use `client_certificate_ids` instead.
func (GetLayer7ListenersListenerOutput) ClientCertificateIds ¶
func (o GetLayer7ListenersListenerOutput) ClientCertificateIds() pulumi.StringArrayOutput
ID list of the client certificate.
func (GetLayer7ListenersListenerOutput) CreateTime ¶
func (o GetLayer7ListenersListenerOutput) CreateTime() pulumi.StringOutput
Creation time of the layer7 listener.
func (GetLayer7ListenersListenerOutput) ElementType ¶
func (GetLayer7ListenersListenerOutput) ElementType() reflect.Type
func (GetLayer7ListenersListenerOutput) ForwardProtocol ¶
func (o GetLayer7ListenersListenerOutput) ForwardProtocol() pulumi.StringOutput
Protocol type of the forwarding.
func (GetLayer7ListenersListenerOutput) Id ¶
func (o GetLayer7ListenersListenerOutput) Id() pulumi.StringOutput
ID of the layer7 listener.
func (GetLayer7ListenersListenerOutput) Name ¶
func (o GetLayer7ListenersListenerOutput) Name() pulumi.StringOutput
Name of the layer7 listener.
func (GetLayer7ListenersListenerOutput) Port ¶
func (o GetLayer7ListenersListenerOutput) Port() pulumi.IntOutput
Port of the layer7 listener to be queried.
func (GetLayer7ListenersListenerOutput) Protocol ¶
func (o GetLayer7ListenersListenerOutput) Protocol() pulumi.StringOutput
Protocol of the layer7 listener to be queried. Valid values: `HTTP` and `HTTPS`.
func (GetLayer7ListenersListenerOutput) Status ¶
func (o GetLayer7ListenersListenerOutput) Status() pulumi.IntOutput
Status of the layer7 listener.
func (GetLayer7ListenersListenerOutput) ToGetLayer7ListenersListenerOutput ¶
func (o GetLayer7ListenersListenerOutput) ToGetLayer7ListenersListenerOutput() GetLayer7ListenersListenerOutput
func (GetLayer7ListenersListenerOutput) ToGetLayer7ListenersListenerOutputWithContext ¶
func (o GetLayer7ListenersListenerOutput) ToGetLayer7ListenersListenerOutputWithContext(ctx context.Context) GetLayer7ListenersListenerOutput
type GetLayer7ListenersOutputArgs ¶
type GetLayer7ListenersOutputArgs struct { // ID of the layer7 listener to be queried. ListenerId pulumi.StringPtrInput `pulumi:"listenerId"` // Name of the layer7 listener to be queried. ListenerName pulumi.StringPtrInput `pulumi:"listenerName"` // Port of the layer7 listener to be queried. Port pulumi.IntPtrInput `pulumi:"port"` // Protocol of the layer7 listener to be queried. Valid values: `HTTP` and `HTTPS`. Protocol pulumi.StringInput `pulumi:"protocol"` // ID of the GAAP proxy to be queried. ProxyId pulumi.StringPtrInput `pulumi:"proxyId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getLayer7Listeners.
func (GetLayer7ListenersOutputArgs) ElementType ¶
func (GetLayer7ListenersOutputArgs) ElementType() reflect.Type
type GetLayer7ListenersResult ¶
type GetLayer7ListenersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ListenerId *string `pulumi:"listenerId"` ListenerName *string `pulumi:"listenerName"` // An information list of layer7 listeners. Each element contains the following attributes: Listeners []GetLayer7ListenersListener `pulumi:"listeners"` // Port of the layer7 listener. Port *int `pulumi:"port"` // Protocol of the layer7 listener. Protocol string `pulumi:"protocol"` ProxyId *string `pulumi:"proxyId"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getLayer7Listeners.
func GetLayer7Listeners ¶
func GetLayer7Listeners(ctx *pulumi.Context, args *GetLayer7ListenersArgs, opts ...pulumi.InvokeOption) (*GetLayer7ListenersResult, error)
Use this data source to query gaap layer7 listeners.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } _ = Gaap.GetLayer7ListenersOutput(ctx, gaap.GetLayer7ListenersOutputArgs{ Protocol: pulumi.String("HTTP"), ProxyId: fooProxy.ID(), ListenerId: fooLayer7Listener.ID(), }, nil) return nil }) }
```
type GetLayer7ListenersResultOutput ¶
type GetLayer7ListenersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLayer7Listeners.
func GetLayer7ListenersOutput ¶
func GetLayer7ListenersOutput(ctx *pulumi.Context, args GetLayer7ListenersOutputArgs, opts ...pulumi.InvokeOption) GetLayer7ListenersResultOutput
func (GetLayer7ListenersResultOutput) ElementType ¶
func (GetLayer7ListenersResultOutput) ElementType() reflect.Type
func (GetLayer7ListenersResultOutput) Id ¶
func (o GetLayer7ListenersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLayer7ListenersResultOutput) ListenerId ¶
func (o GetLayer7ListenersResultOutput) ListenerId() pulumi.StringPtrOutput
func (GetLayer7ListenersResultOutput) ListenerName ¶
func (o GetLayer7ListenersResultOutput) ListenerName() pulumi.StringPtrOutput
func (GetLayer7ListenersResultOutput) Listeners ¶
func (o GetLayer7ListenersResultOutput) Listeners() GetLayer7ListenersListenerArrayOutput
An information list of layer7 listeners. Each element contains the following attributes:
func (GetLayer7ListenersResultOutput) Port ¶
func (o GetLayer7ListenersResultOutput) Port() pulumi.IntPtrOutput
Port of the layer7 listener.
func (GetLayer7ListenersResultOutput) Protocol ¶
func (o GetLayer7ListenersResultOutput) Protocol() pulumi.StringOutput
Protocol of the layer7 listener.
func (GetLayer7ListenersResultOutput) ProxyId ¶
func (o GetLayer7ListenersResultOutput) ProxyId() pulumi.StringPtrOutput
func (GetLayer7ListenersResultOutput) ResultOutputFile ¶
func (o GetLayer7ListenersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetLayer7ListenersResultOutput) ToGetLayer7ListenersResultOutput ¶
func (o GetLayer7ListenersResultOutput) ToGetLayer7ListenersResultOutput() GetLayer7ListenersResultOutput
func (GetLayer7ListenersResultOutput) ToGetLayer7ListenersResultOutputWithContext ¶
func (o GetLayer7ListenersResultOutput) ToGetLayer7ListenersResultOutputWithContext(ctx context.Context) GetLayer7ListenersResultOutput
type GetProxiesArgs ¶
type GetProxiesArgs struct { // Access region of the GAAP proxy to be queried. Conflict with `ids`. AccessRegion *string `pulumi:"accessRegion"` // ID of the GAAP proxy to be queried. Conflict with `projectId`, `accessRegion` and `realserverRegion`. Ids []string `pulumi:"ids"` // Project ID of the GAAP proxy to be queried. Conflict with `ids`. ProjectId *int `pulumi:"projectId"` // Region of the GAAP realserver to be queried. Conflict with `ids`. RealserverRegion *string `pulumi:"realserverRegion"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getProxies.
type GetProxiesOutputArgs ¶
type GetProxiesOutputArgs struct { // Access region of the GAAP proxy to be queried. Conflict with `ids`. AccessRegion pulumi.StringPtrInput `pulumi:"accessRegion"` // ID of the GAAP proxy to be queried. Conflict with `projectId`, `accessRegion` and `realserverRegion`. Ids pulumi.StringArrayInput `pulumi:"ids"` // Project ID of the GAAP proxy to be queried. Conflict with `ids`. ProjectId pulumi.IntPtrInput `pulumi:"projectId"` // Region of the GAAP realserver to be queried. Conflict with `ids`. RealserverRegion pulumi.StringPtrInput `pulumi:"realserverRegion"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getProxies.
func (GetProxiesOutputArgs) ElementType ¶
func (GetProxiesOutputArgs) ElementType() reflect.Type
type GetProxiesProxy ¶
type GetProxiesProxy struct { // Access region of the GAAP proxy to be queried. Conflict with `ids`. AccessRegion string `pulumi:"accessRegion"` // Maximum bandwidth of the GAAP proxy, unit is Mbps. Bandwidth int `pulumi:"bandwidth"` // Maximum concurrency of the GAAP proxy, unit is 10k. Concurrent int `pulumi:"concurrent"` // Creation time of the GAAP proxy. CreateTime string `pulumi:"createTime"` // Access domain of the GAAP proxy. Domain string `pulumi:"domain"` // Forwarding IP of the GAAP proxy. ForwardIp string `pulumi:"forwardIp"` // ID of the GAAP proxy. Id string `pulumi:"id"` // Access domain of the GAAP proxy. Ip string `pulumi:"ip"` // Name of the GAAP proxy. Name string `pulumi:"name"` // Security policy ID of the GAAP proxy. PolicyId string `pulumi:"policyId"` // Project ID of the GAAP proxy to be queried. Conflict with `ids`. ProjectId int `pulumi:"projectId"` // Region of the GAAP realserver to be queried. Conflict with `ids`. RealserverRegion string `pulumi:"realserverRegion"` // Indicates whether GAAP proxy can scalable. Scalable bool `pulumi:"scalable"` // Status of the GAAP proxy. Status string `pulumi:"status"` // Supported protocols of the GAAP proxy. SupportProtocols []string `pulumi:"supportProtocols"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags map[string]interface{} `pulumi:"tags"` // Version of the GAAP proxy. Version string `pulumi:"version"` }
type GetProxiesProxyArgs ¶
type GetProxiesProxyArgs struct { // Access region of the GAAP proxy to be queried. Conflict with `ids`. AccessRegion pulumi.StringInput `pulumi:"accessRegion"` // Maximum bandwidth of the GAAP proxy, unit is Mbps. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // Maximum concurrency of the GAAP proxy, unit is 10k. Concurrent pulumi.IntInput `pulumi:"concurrent"` // Creation time of the GAAP proxy. CreateTime pulumi.StringInput `pulumi:"createTime"` // Access domain of the GAAP proxy. Domain pulumi.StringInput `pulumi:"domain"` // Forwarding IP of the GAAP proxy. ForwardIp pulumi.StringInput `pulumi:"forwardIp"` // ID of the GAAP proxy. Id pulumi.StringInput `pulumi:"id"` // Access domain of the GAAP proxy. Ip pulumi.StringInput `pulumi:"ip"` // Name of the GAAP proxy. Name pulumi.StringInput `pulumi:"name"` // Security policy ID of the GAAP proxy. PolicyId pulumi.StringInput `pulumi:"policyId"` // Project ID of the GAAP proxy to be queried. Conflict with `ids`. ProjectId pulumi.IntInput `pulumi:"projectId"` // Region of the GAAP realserver to be queried. Conflict with `ids`. RealserverRegion pulumi.StringInput `pulumi:"realserverRegion"` // Indicates whether GAAP proxy can scalable. Scalable pulumi.BoolInput `pulumi:"scalable"` // Status of the GAAP proxy. Status pulumi.StringInput `pulumi:"status"` // Supported protocols of the GAAP proxy. SupportProtocols pulumi.StringArrayInput `pulumi:"supportProtocols"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags pulumi.MapInput `pulumi:"tags"` // Version of the GAAP proxy. Version pulumi.StringInput `pulumi:"version"` }
func (GetProxiesProxyArgs) ElementType ¶
func (GetProxiesProxyArgs) ElementType() reflect.Type
func (GetProxiesProxyArgs) ToGetProxiesProxyOutput ¶
func (i GetProxiesProxyArgs) ToGetProxiesProxyOutput() GetProxiesProxyOutput
func (GetProxiesProxyArgs) ToGetProxiesProxyOutputWithContext ¶
func (i GetProxiesProxyArgs) ToGetProxiesProxyOutputWithContext(ctx context.Context) GetProxiesProxyOutput
type GetProxiesProxyArray ¶
type GetProxiesProxyArray []GetProxiesProxyInput
func (GetProxiesProxyArray) ElementType ¶
func (GetProxiesProxyArray) ElementType() reflect.Type
func (GetProxiesProxyArray) ToGetProxiesProxyArrayOutput ¶
func (i GetProxiesProxyArray) ToGetProxiesProxyArrayOutput() GetProxiesProxyArrayOutput
func (GetProxiesProxyArray) ToGetProxiesProxyArrayOutputWithContext ¶
func (i GetProxiesProxyArray) ToGetProxiesProxyArrayOutputWithContext(ctx context.Context) GetProxiesProxyArrayOutput
type GetProxiesProxyArrayInput ¶
type GetProxiesProxyArrayInput interface { pulumi.Input ToGetProxiesProxyArrayOutput() GetProxiesProxyArrayOutput ToGetProxiesProxyArrayOutputWithContext(context.Context) GetProxiesProxyArrayOutput }
GetProxiesProxyArrayInput is an input type that accepts GetProxiesProxyArray and GetProxiesProxyArrayOutput values. You can construct a concrete instance of `GetProxiesProxyArrayInput` via:
GetProxiesProxyArray{ GetProxiesProxyArgs{...} }
type GetProxiesProxyArrayOutput ¶
type GetProxiesProxyArrayOutput struct{ *pulumi.OutputState }
func (GetProxiesProxyArrayOutput) ElementType ¶
func (GetProxiesProxyArrayOutput) ElementType() reflect.Type
func (GetProxiesProxyArrayOutput) Index ¶
func (o GetProxiesProxyArrayOutput) Index(i pulumi.IntInput) GetProxiesProxyOutput
func (GetProxiesProxyArrayOutput) ToGetProxiesProxyArrayOutput ¶
func (o GetProxiesProxyArrayOutput) ToGetProxiesProxyArrayOutput() GetProxiesProxyArrayOutput
func (GetProxiesProxyArrayOutput) ToGetProxiesProxyArrayOutputWithContext ¶
func (o GetProxiesProxyArrayOutput) ToGetProxiesProxyArrayOutputWithContext(ctx context.Context) GetProxiesProxyArrayOutput
type GetProxiesProxyInput ¶
type GetProxiesProxyInput interface { pulumi.Input ToGetProxiesProxyOutput() GetProxiesProxyOutput ToGetProxiesProxyOutputWithContext(context.Context) GetProxiesProxyOutput }
GetProxiesProxyInput is an input type that accepts GetProxiesProxyArgs and GetProxiesProxyOutput values. You can construct a concrete instance of `GetProxiesProxyInput` via:
GetProxiesProxyArgs{...}
type GetProxiesProxyOutput ¶
type GetProxiesProxyOutput struct{ *pulumi.OutputState }
func (GetProxiesProxyOutput) AccessRegion ¶
func (o GetProxiesProxyOutput) AccessRegion() pulumi.StringOutput
Access region of the GAAP proxy to be queried. Conflict with `ids`.
func (GetProxiesProxyOutput) Bandwidth ¶
func (o GetProxiesProxyOutput) Bandwidth() pulumi.IntOutput
Maximum bandwidth of the GAAP proxy, unit is Mbps.
func (GetProxiesProxyOutput) Concurrent ¶
func (o GetProxiesProxyOutput) Concurrent() pulumi.IntOutput
Maximum concurrency of the GAAP proxy, unit is 10k.
func (GetProxiesProxyOutput) CreateTime ¶
func (o GetProxiesProxyOutput) CreateTime() pulumi.StringOutput
Creation time of the GAAP proxy.
func (GetProxiesProxyOutput) Domain ¶
func (o GetProxiesProxyOutput) Domain() pulumi.StringOutput
Access domain of the GAAP proxy.
func (GetProxiesProxyOutput) ElementType ¶
func (GetProxiesProxyOutput) ElementType() reflect.Type
func (GetProxiesProxyOutput) ForwardIp ¶
func (o GetProxiesProxyOutput) ForwardIp() pulumi.StringOutput
Forwarding IP of the GAAP proxy.
func (GetProxiesProxyOutput) Id ¶
func (o GetProxiesProxyOutput) Id() pulumi.StringOutput
ID of the GAAP proxy.
func (GetProxiesProxyOutput) Ip ¶
func (o GetProxiesProxyOutput) Ip() pulumi.StringOutput
Access domain of the GAAP proxy.
func (GetProxiesProxyOutput) Name ¶
func (o GetProxiesProxyOutput) Name() pulumi.StringOutput
Name of the GAAP proxy.
func (GetProxiesProxyOutput) PolicyId ¶
func (o GetProxiesProxyOutput) PolicyId() pulumi.StringOutput
Security policy ID of the GAAP proxy.
func (GetProxiesProxyOutput) ProjectId ¶
func (o GetProxiesProxyOutput) ProjectId() pulumi.IntOutput
Project ID of the GAAP proxy to be queried. Conflict with `ids`.
func (GetProxiesProxyOutput) RealserverRegion ¶
func (o GetProxiesProxyOutput) RealserverRegion() pulumi.StringOutput
Region of the GAAP realserver to be queried. Conflict with `ids`.
func (GetProxiesProxyOutput) Scalable ¶
func (o GetProxiesProxyOutput) Scalable() pulumi.BoolOutput
Indicates whether GAAP proxy can scalable.
func (GetProxiesProxyOutput) Status ¶
func (o GetProxiesProxyOutput) Status() pulumi.StringOutput
Status of the GAAP proxy.
func (GetProxiesProxyOutput) SupportProtocols ¶
func (o GetProxiesProxyOutput) SupportProtocols() pulumi.StringArrayOutput
Supported protocols of the GAAP proxy.
func (GetProxiesProxyOutput) Tags ¶
func (o GetProxiesProxyOutput) Tags() pulumi.MapOutput
Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
func (GetProxiesProxyOutput) ToGetProxiesProxyOutput ¶
func (o GetProxiesProxyOutput) ToGetProxiesProxyOutput() GetProxiesProxyOutput
func (GetProxiesProxyOutput) ToGetProxiesProxyOutputWithContext ¶
func (o GetProxiesProxyOutput) ToGetProxiesProxyOutputWithContext(ctx context.Context) GetProxiesProxyOutput
func (GetProxiesProxyOutput) Version ¶
func (o GetProxiesProxyOutput) Version() pulumi.StringOutput
Version of the GAAP proxy.
type GetProxiesResult ¶
type GetProxiesResult struct { // Access region of the GAAP proxy. AccessRegion *string `pulumi:"accessRegion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // ID of the project within the GAAP proxy, '0' means is default project. ProjectId *int `pulumi:"projectId"` // An information list of GAAP proxy. Each element contains the following attributes: Proxies []GetProxiesProxy `pulumi:"proxies"` // Region of the GAAP realserver. RealserverRegion *string `pulumi:"realserverRegion"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Tags of the GAAP proxy. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getProxies.
func GetProxies ¶
func GetProxies(ctx *pulumi.Context, args *GetProxiesArgs, opts ...pulumi.InvokeOption) (*GetProxiesResult, error)
Use this data source to query gaap proxies.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } _ = Gaap.GetProxiesOutput(ctx, gaap.GetProxiesOutputArgs{ Ids: pulumi.StringArray{ fooProxy.ID(), }, }, nil) return nil }) }
```
type GetProxiesResultOutput ¶
type GetProxiesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getProxies.
func GetProxiesOutput ¶
func GetProxiesOutput(ctx *pulumi.Context, args GetProxiesOutputArgs, opts ...pulumi.InvokeOption) GetProxiesResultOutput
func (GetProxiesResultOutput) AccessRegion ¶
func (o GetProxiesResultOutput) AccessRegion() pulumi.StringPtrOutput
Access region of the GAAP proxy.
func (GetProxiesResultOutput) ElementType ¶
func (GetProxiesResultOutput) ElementType() reflect.Type
func (GetProxiesResultOutput) Id ¶
func (o GetProxiesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetProxiesResultOutput) Ids ¶
func (o GetProxiesResultOutput) Ids() pulumi.StringArrayOutput
func (GetProxiesResultOutput) ProjectId ¶
func (o GetProxiesResultOutput) ProjectId() pulumi.IntPtrOutput
ID of the project within the GAAP proxy, '0' means is default project.
func (GetProxiesResultOutput) Proxies ¶
func (o GetProxiesResultOutput) Proxies() GetProxiesProxyArrayOutput
An information list of GAAP proxy. Each element contains the following attributes:
func (GetProxiesResultOutput) RealserverRegion ¶
func (o GetProxiesResultOutput) RealserverRegion() pulumi.StringPtrOutput
Region of the GAAP realserver.
func (GetProxiesResultOutput) ResultOutputFile ¶
func (o GetProxiesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetProxiesResultOutput) Tags ¶
func (o GetProxiesResultOutput) Tags() pulumi.MapOutput
Tags of the GAAP proxy.
func (GetProxiesResultOutput) ToGetProxiesResultOutput ¶
func (o GetProxiesResultOutput) ToGetProxiesResultOutput() GetProxiesResultOutput
func (GetProxiesResultOutput) ToGetProxiesResultOutputWithContext ¶
func (o GetProxiesResultOutput) ToGetProxiesResultOutputWithContext(ctx context.Context) GetProxiesResultOutput
type GetRealserversArgs ¶
type GetRealserversArgs struct { // Domain of the GAAP realserver to be queried, conflict with `ip`. Domain *string `pulumi:"domain"` // IP of the GAAP realserver to be queried, conflict with `domain`. Ip *string `pulumi:"ip"` // Name of the GAAP realserver to be queried, the maximum length is 30. Name *string `pulumi:"name"` // ID of the project within the GAAP realserver to be queried, default value is `-1`, no set means all projects. ProjectId *int `pulumi:"projectId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getRealservers.
type GetRealserversOutputArgs ¶
type GetRealserversOutputArgs struct { // Domain of the GAAP realserver to be queried, conflict with `ip`. Domain pulumi.StringPtrInput `pulumi:"domain"` // IP of the GAAP realserver to be queried, conflict with `domain`. Ip pulumi.StringPtrInput `pulumi:"ip"` // Name of the GAAP realserver to be queried, the maximum length is 30. Name pulumi.StringPtrInput `pulumi:"name"` // ID of the project within the GAAP realserver to be queried, default value is `-1`, no set means all projects. ProjectId pulumi.IntPtrInput `pulumi:"projectId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getRealservers.
func (GetRealserversOutputArgs) ElementType ¶
func (GetRealserversOutputArgs) ElementType() reflect.Type
type GetRealserversRealserver ¶
type GetRealserversRealserver struct { // Domain of the GAAP realserver to be queried, conflict with `ip`. Domain string `pulumi:"domain"` // ID of the GAAP realserver. Id string `pulumi:"id"` // IP of the GAAP realserver to be queried, conflict with `domain`. Ip string `pulumi:"ip"` // Name of the GAAP realserver to be queried, the maximum length is 30. Name string `pulumi:"name"` // ID of the project within the GAAP realserver to be queried, default value is `-1`, no set means all projects. ProjectId int `pulumi:"projectId"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags map[string]interface{} `pulumi:"tags"` }
type GetRealserversRealserverArgs ¶
type GetRealserversRealserverArgs struct { // Domain of the GAAP realserver to be queried, conflict with `ip`. Domain pulumi.StringInput `pulumi:"domain"` // ID of the GAAP realserver. Id pulumi.StringInput `pulumi:"id"` // IP of the GAAP realserver to be queried, conflict with `domain`. Ip pulumi.StringInput `pulumi:"ip"` // Name of the GAAP realserver to be queried, the maximum length is 30. Name pulumi.StringInput `pulumi:"name"` // ID of the project within the GAAP realserver to be queried, default value is `-1`, no set means all projects. ProjectId pulumi.IntInput `pulumi:"projectId"` // Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetRealserversRealserverArgs) ElementType ¶
func (GetRealserversRealserverArgs) ElementType() reflect.Type
func (GetRealserversRealserverArgs) ToGetRealserversRealserverOutput ¶
func (i GetRealserversRealserverArgs) ToGetRealserversRealserverOutput() GetRealserversRealserverOutput
func (GetRealserversRealserverArgs) ToGetRealserversRealserverOutputWithContext ¶
func (i GetRealserversRealserverArgs) ToGetRealserversRealserverOutputWithContext(ctx context.Context) GetRealserversRealserverOutput
type GetRealserversRealserverArray ¶
type GetRealserversRealserverArray []GetRealserversRealserverInput
func (GetRealserversRealserverArray) ElementType ¶
func (GetRealserversRealserverArray) ElementType() reflect.Type
func (GetRealserversRealserverArray) ToGetRealserversRealserverArrayOutput ¶
func (i GetRealserversRealserverArray) ToGetRealserversRealserverArrayOutput() GetRealserversRealserverArrayOutput
func (GetRealserversRealserverArray) ToGetRealserversRealserverArrayOutputWithContext ¶
func (i GetRealserversRealserverArray) ToGetRealserversRealserverArrayOutputWithContext(ctx context.Context) GetRealserversRealserverArrayOutput
type GetRealserversRealserverArrayInput ¶
type GetRealserversRealserverArrayInput interface { pulumi.Input ToGetRealserversRealserverArrayOutput() GetRealserversRealserverArrayOutput ToGetRealserversRealserverArrayOutputWithContext(context.Context) GetRealserversRealserverArrayOutput }
GetRealserversRealserverArrayInput is an input type that accepts GetRealserversRealserverArray and GetRealserversRealserverArrayOutput values. You can construct a concrete instance of `GetRealserversRealserverArrayInput` via:
GetRealserversRealserverArray{ GetRealserversRealserverArgs{...} }
type GetRealserversRealserverArrayOutput ¶
type GetRealserversRealserverArrayOutput struct{ *pulumi.OutputState }
func (GetRealserversRealserverArrayOutput) ElementType ¶
func (GetRealserversRealserverArrayOutput) ElementType() reflect.Type
func (GetRealserversRealserverArrayOutput) Index ¶
func (o GetRealserversRealserverArrayOutput) Index(i pulumi.IntInput) GetRealserversRealserverOutput
func (GetRealserversRealserverArrayOutput) ToGetRealserversRealserverArrayOutput ¶
func (o GetRealserversRealserverArrayOutput) ToGetRealserversRealserverArrayOutput() GetRealserversRealserverArrayOutput
func (GetRealserversRealserverArrayOutput) ToGetRealserversRealserverArrayOutputWithContext ¶
func (o GetRealserversRealserverArrayOutput) ToGetRealserversRealserverArrayOutputWithContext(ctx context.Context) GetRealserversRealserverArrayOutput
type GetRealserversRealserverInput ¶
type GetRealserversRealserverInput interface { pulumi.Input ToGetRealserversRealserverOutput() GetRealserversRealserverOutput ToGetRealserversRealserverOutputWithContext(context.Context) GetRealserversRealserverOutput }
GetRealserversRealserverInput is an input type that accepts GetRealserversRealserverArgs and GetRealserversRealserverOutput values. You can construct a concrete instance of `GetRealserversRealserverInput` via:
GetRealserversRealserverArgs{...}
type GetRealserversRealserverOutput ¶
type GetRealserversRealserverOutput struct{ *pulumi.OutputState }
func (GetRealserversRealserverOutput) Domain ¶
func (o GetRealserversRealserverOutput) Domain() pulumi.StringOutput
Domain of the GAAP realserver to be queried, conflict with `ip`.
func (GetRealserversRealserverOutput) ElementType ¶
func (GetRealserversRealserverOutput) ElementType() reflect.Type
func (GetRealserversRealserverOutput) Id ¶
func (o GetRealserversRealserverOutput) Id() pulumi.StringOutput
ID of the GAAP realserver.
func (GetRealserversRealserverOutput) Ip ¶
func (o GetRealserversRealserverOutput) Ip() pulumi.StringOutput
IP of the GAAP realserver to be queried, conflict with `domain`.
func (GetRealserversRealserverOutput) Name ¶
func (o GetRealserversRealserverOutput) Name() pulumi.StringOutput
Name of the GAAP realserver to be queried, the maximum length is 30.
func (GetRealserversRealserverOutput) ProjectId ¶
func (o GetRealserversRealserverOutput) ProjectId() pulumi.IntOutput
ID of the project within the GAAP realserver to be queried, default value is `-1`, no set means all projects.
func (GetRealserversRealserverOutput) Tags ¶
func (o GetRealserversRealserverOutput) Tags() pulumi.MapOutput
Tags of the GAAP proxy to be queried. Support up to 5, display the information as long as it matches one.
func (GetRealserversRealserverOutput) ToGetRealserversRealserverOutput ¶
func (o GetRealserversRealserverOutput) ToGetRealserversRealserverOutput() GetRealserversRealserverOutput
func (GetRealserversRealserverOutput) ToGetRealserversRealserverOutputWithContext ¶
func (o GetRealserversRealserverOutput) ToGetRealserversRealserverOutputWithContext(ctx context.Context) GetRealserversRealserverOutput
type GetRealserversResult ¶
type GetRealserversResult struct { // Domain of the GAAP realserver. Domain *string `pulumi:"domain"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // IP of the GAAP realserver. Ip *string `pulumi:"ip"` // Name of the GAAP realserver. Name *string `pulumi:"name"` // ID of the project within the GAAP realserver. ProjectId *int `pulumi:"projectId"` // An information list of GAAP realserver. Each element contains the following attributes: Realservers []GetRealserversRealserver `pulumi:"realservers"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Tags of the GAAP realserver. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getRealservers.
func GetRealservers ¶
func GetRealservers(ctx *pulumi.Context, args *GetRealserversArgs, opts ...pulumi.InvokeOption) (*GetRealserversResult, error)
Use this data source to query gaap realservers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooRealserver, err := Gaap.NewRealserver(ctx, "fooRealserver", &Gaap.RealserverArgs{ Ip: pulumi.String("1.1.1.1"), }) if err != nil { return err } return nil }) }
```
type GetRealserversResultOutput ¶
type GetRealserversResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRealservers.
func GetRealserversOutput ¶
func GetRealserversOutput(ctx *pulumi.Context, args GetRealserversOutputArgs, opts ...pulumi.InvokeOption) GetRealserversResultOutput
func (GetRealserversResultOutput) Domain ¶
func (o GetRealserversResultOutput) Domain() pulumi.StringPtrOutput
Domain of the GAAP realserver.
func (GetRealserversResultOutput) ElementType ¶
func (GetRealserversResultOutput) ElementType() reflect.Type
func (GetRealserversResultOutput) Id ¶
func (o GetRealserversResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRealserversResultOutput) Ip ¶
func (o GetRealserversResultOutput) Ip() pulumi.StringPtrOutput
IP of the GAAP realserver.
func (GetRealserversResultOutput) Name ¶
func (o GetRealserversResultOutput) Name() pulumi.StringPtrOutput
Name of the GAAP realserver.
func (GetRealserversResultOutput) ProjectId ¶
func (o GetRealserversResultOutput) ProjectId() pulumi.IntPtrOutput
ID of the project within the GAAP realserver.
func (GetRealserversResultOutput) Realservers ¶
func (o GetRealserversResultOutput) Realservers() GetRealserversRealserverArrayOutput
An information list of GAAP realserver. Each element contains the following attributes:
func (GetRealserversResultOutput) ResultOutputFile ¶
func (o GetRealserversResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetRealserversResultOutput) Tags ¶
func (o GetRealserversResultOutput) Tags() pulumi.MapOutput
Tags of the GAAP realserver.
func (GetRealserversResultOutput) ToGetRealserversResultOutput ¶
func (o GetRealserversResultOutput) ToGetRealserversResultOutput() GetRealserversResultOutput
func (GetRealserversResultOutput) ToGetRealserversResultOutputWithContext ¶
func (o GetRealserversResultOutput) ToGetRealserversResultOutputWithContext(ctx context.Context) GetRealserversResultOutput
type GetSecurityPoliciesArgs ¶
type GetSecurityPoliciesArgs struct { // ID of the security policy to be queried. Id string `pulumi:"id"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getSecurityPolicies.
type GetSecurityPoliciesOutputArgs ¶
type GetSecurityPoliciesOutputArgs struct { // ID of the security policy to be queried. Id pulumi.StringInput `pulumi:"id"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getSecurityPolicies.
func (GetSecurityPoliciesOutputArgs) ElementType ¶
func (GetSecurityPoliciesOutputArgs) ElementType() reflect.Type
type GetSecurityPoliciesResult ¶
type GetSecurityPoliciesResult struct { // Default policy. Action string `pulumi:"action"` Id string `pulumi:"id"` // ID of the GAAP proxy. ProxyId string `pulumi:"proxyId"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Status of the security policy. Status string `pulumi:"status"` }
A collection of values returned by getSecurityPolicies.
func GetSecurityPolicies ¶
func GetSecurityPolicies(ctx *pulumi.Context, args *GetSecurityPoliciesArgs, opts ...pulumi.InvokeOption) (*GetSecurityPoliciesResult, error)
Use this data source to query security policies of GAAP proxy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooSecurityPolicy, err := Gaap.NewSecurityPolicy(ctx, "fooSecurityPolicy", &Gaap.SecurityPolicyArgs{ ProxyId: fooProxy.ID(), Action: pulumi.String("ACCEPT"), }) if err != nil { return err } _ = Gaap.GetSecurityPoliciesOutput(ctx, gaap.GetSecurityPoliciesOutputArgs{ Id: fooSecurityPolicy.ID(), }, nil) return nil }) }
```
type GetSecurityPoliciesResultOutput ¶
type GetSecurityPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityPolicies.
func GetSecurityPoliciesOutput ¶
func GetSecurityPoliciesOutput(ctx *pulumi.Context, args GetSecurityPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetSecurityPoliciesResultOutput
func (GetSecurityPoliciesResultOutput) Action ¶
func (o GetSecurityPoliciesResultOutput) Action() pulumi.StringOutput
Default policy.
func (GetSecurityPoliciesResultOutput) ElementType ¶
func (GetSecurityPoliciesResultOutput) ElementType() reflect.Type
func (GetSecurityPoliciesResultOutput) Id ¶
func (o GetSecurityPoliciesResultOutput) Id() pulumi.StringOutput
func (GetSecurityPoliciesResultOutput) ProxyId ¶
func (o GetSecurityPoliciesResultOutput) ProxyId() pulumi.StringOutput
ID of the GAAP proxy.
func (GetSecurityPoliciesResultOutput) ResultOutputFile ¶
func (o GetSecurityPoliciesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetSecurityPoliciesResultOutput) Status ¶
func (o GetSecurityPoliciesResultOutput) Status() pulumi.StringOutput
Status of the security policy.
func (GetSecurityPoliciesResultOutput) ToGetSecurityPoliciesResultOutput ¶
func (o GetSecurityPoliciesResultOutput) ToGetSecurityPoliciesResultOutput() GetSecurityPoliciesResultOutput
func (GetSecurityPoliciesResultOutput) ToGetSecurityPoliciesResultOutputWithContext ¶
func (o GetSecurityPoliciesResultOutput) ToGetSecurityPoliciesResultOutputWithContext(ctx context.Context) GetSecurityPoliciesResultOutput
type GetSecurityRulesArgs ¶
type GetSecurityRulesArgs struct { // Policy of the rule to be queried. Action *string `pulumi:"action"` // A network address block of the request source to be queried. CidrIp *string `pulumi:"cidrIp"` // Name of the security policy rule to be queried. Name *string `pulumi:"name"` // ID of the security policy to be queried. PolicyId string `pulumi:"policyId"` // Port of the security policy rule to be queried. Port *string `pulumi:"port"` // Protocol of the security policy rule to be queried. Protocol *string `pulumi:"protocol"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the security policy rules to be queried. RuleId *string `pulumi:"ruleId"` }
A collection of arguments for invoking getSecurityRules.
type GetSecurityRulesOutputArgs ¶
type GetSecurityRulesOutputArgs struct { // Policy of the rule to be queried. Action pulumi.StringPtrInput `pulumi:"action"` // A network address block of the request source to be queried. CidrIp pulumi.StringPtrInput `pulumi:"cidrIp"` // Name of the security policy rule to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // ID of the security policy to be queried. PolicyId pulumi.StringInput `pulumi:"policyId"` // Port of the security policy rule to be queried. Port pulumi.StringPtrInput `pulumi:"port"` // Protocol of the security policy rule to be queried. Protocol pulumi.StringPtrInput `pulumi:"protocol"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // ID of the security policy rules to be queried. RuleId pulumi.StringPtrInput `pulumi:"ruleId"` }
A collection of arguments for invoking getSecurityRules.
func (GetSecurityRulesOutputArgs) ElementType ¶
func (GetSecurityRulesOutputArgs) ElementType() reflect.Type
type GetSecurityRulesResult ¶
type GetSecurityRulesResult struct { // Policy of the rule. Action *string `pulumi:"action"` // A network address block of the request source. CidrIp *string `pulumi:"cidrIp"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Name of the security policy rule. Name *string `pulumi:"name"` PolicyId string `pulumi:"policyId"` // Port of the security policy rule. Port *string `pulumi:"port"` // Protocol of the security policy rule. Protocol *string `pulumi:"protocol"` ResultOutputFile *string `pulumi:"resultOutputFile"` RuleId *string `pulumi:"ruleId"` // An information list of security policy rule. Each element contains the following attributes: Rules []GetSecurityRulesRule `pulumi:"rules"` }
A collection of values returned by getSecurityRules.
func GetSecurityRules ¶
func GetSecurityRules(ctx *pulumi.Context, args *GetSecurityRulesArgs, opts ...pulumi.InvokeOption) (*GetSecurityRulesResult, error)
Use this data source to query security policy rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooSecurityPolicy, err := Gaap.NewSecurityPolicy(ctx, "fooSecurityPolicy", &Gaap.SecurityPolicyArgs{ ProxyId: fooProxy.ID(), Action: pulumi.String("ACCEPT"), }) if err != nil { return err } fooSecurityRule, err := Gaap.NewSecurityRule(ctx, "fooSecurityRule", &Gaap.SecurityRuleArgs{ PolicyId: fooSecurityPolicy.ID(), CidrIp: pulumi.String("1.1.1.1"), Action: pulumi.String("ACCEPT"), Protocol: pulumi.String("TCP"), Port: pulumi.String("80"), }) if err != nil { return err } return nil }) }
```
type GetSecurityRulesResultOutput ¶
type GetSecurityRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityRules.
func GetSecurityRulesOutput ¶
func GetSecurityRulesOutput(ctx *pulumi.Context, args GetSecurityRulesOutputArgs, opts ...pulumi.InvokeOption) GetSecurityRulesResultOutput
func (GetSecurityRulesResultOutput) Action ¶
func (o GetSecurityRulesResultOutput) Action() pulumi.StringPtrOutput
Policy of the rule.
func (GetSecurityRulesResultOutput) CidrIp ¶
func (o GetSecurityRulesResultOutput) CidrIp() pulumi.StringPtrOutput
A network address block of the request source.
func (GetSecurityRulesResultOutput) ElementType ¶
func (GetSecurityRulesResultOutput) ElementType() reflect.Type
func (GetSecurityRulesResultOutput) Id ¶
func (o GetSecurityRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecurityRulesResultOutput) Name ¶
func (o GetSecurityRulesResultOutput) Name() pulumi.StringPtrOutput
Name of the security policy rule.
func (GetSecurityRulesResultOutput) PolicyId ¶
func (o GetSecurityRulesResultOutput) PolicyId() pulumi.StringOutput
func (GetSecurityRulesResultOutput) Port ¶
func (o GetSecurityRulesResultOutput) Port() pulumi.StringPtrOutput
Port of the security policy rule.
func (GetSecurityRulesResultOutput) Protocol ¶
func (o GetSecurityRulesResultOutput) Protocol() pulumi.StringPtrOutput
Protocol of the security policy rule.
func (GetSecurityRulesResultOutput) ResultOutputFile ¶
func (o GetSecurityRulesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetSecurityRulesResultOutput) RuleId ¶
func (o GetSecurityRulesResultOutput) RuleId() pulumi.StringPtrOutput
func (GetSecurityRulesResultOutput) Rules ¶
func (o GetSecurityRulesResultOutput) Rules() GetSecurityRulesRuleArrayOutput
An information list of security policy rule. Each element contains the following attributes:
func (GetSecurityRulesResultOutput) ToGetSecurityRulesResultOutput ¶
func (o GetSecurityRulesResultOutput) ToGetSecurityRulesResultOutput() GetSecurityRulesResultOutput
func (GetSecurityRulesResultOutput) ToGetSecurityRulesResultOutputWithContext ¶
func (o GetSecurityRulesResultOutput) ToGetSecurityRulesResultOutputWithContext(ctx context.Context) GetSecurityRulesResultOutput
type GetSecurityRulesRule ¶
type GetSecurityRulesRule struct { // Policy of the rule to be queried. Action string `pulumi:"action"` // A network address block of the request source to be queried. CidrIp string `pulumi:"cidrIp"` // ID of the security policy rule. Id string `pulumi:"id"` // Name of the security policy rule to be queried. Name string `pulumi:"name"` // Port of the security policy rule to be queried. Port string `pulumi:"port"` // Protocol of the security policy rule to be queried. Protocol string `pulumi:"protocol"` }
type GetSecurityRulesRuleArgs ¶
type GetSecurityRulesRuleArgs struct { // Policy of the rule to be queried. Action pulumi.StringInput `pulumi:"action"` // A network address block of the request source to be queried. CidrIp pulumi.StringInput `pulumi:"cidrIp"` // ID of the security policy rule. Id pulumi.StringInput `pulumi:"id"` // Name of the security policy rule to be queried. Name pulumi.StringInput `pulumi:"name"` // Port of the security policy rule to be queried. Port pulumi.StringInput `pulumi:"port"` // Protocol of the security policy rule to be queried. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (GetSecurityRulesRuleArgs) ElementType ¶
func (GetSecurityRulesRuleArgs) ElementType() reflect.Type
func (GetSecurityRulesRuleArgs) ToGetSecurityRulesRuleOutput ¶
func (i GetSecurityRulesRuleArgs) ToGetSecurityRulesRuleOutput() GetSecurityRulesRuleOutput
func (GetSecurityRulesRuleArgs) ToGetSecurityRulesRuleOutputWithContext ¶
func (i GetSecurityRulesRuleArgs) ToGetSecurityRulesRuleOutputWithContext(ctx context.Context) GetSecurityRulesRuleOutput
type GetSecurityRulesRuleArray ¶
type GetSecurityRulesRuleArray []GetSecurityRulesRuleInput
func (GetSecurityRulesRuleArray) ElementType ¶
func (GetSecurityRulesRuleArray) ElementType() reflect.Type
func (GetSecurityRulesRuleArray) ToGetSecurityRulesRuleArrayOutput ¶
func (i GetSecurityRulesRuleArray) ToGetSecurityRulesRuleArrayOutput() GetSecurityRulesRuleArrayOutput
func (GetSecurityRulesRuleArray) ToGetSecurityRulesRuleArrayOutputWithContext ¶
func (i GetSecurityRulesRuleArray) ToGetSecurityRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityRulesRuleArrayOutput
type GetSecurityRulesRuleArrayInput ¶
type GetSecurityRulesRuleArrayInput interface { pulumi.Input ToGetSecurityRulesRuleArrayOutput() GetSecurityRulesRuleArrayOutput ToGetSecurityRulesRuleArrayOutputWithContext(context.Context) GetSecurityRulesRuleArrayOutput }
GetSecurityRulesRuleArrayInput is an input type that accepts GetSecurityRulesRuleArray and GetSecurityRulesRuleArrayOutput values. You can construct a concrete instance of `GetSecurityRulesRuleArrayInput` via:
GetSecurityRulesRuleArray{ GetSecurityRulesRuleArgs{...} }
type GetSecurityRulesRuleArrayOutput ¶
type GetSecurityRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityRulesRuleArrayOutput) ElementType ¶
func (GetSecurityRulesRuleArrayOutput) ElementType() reflect.Type
func (GetSecurityRulesRuleArrayOutput) Index ¶
func (o GetSecurityRulesRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityRulesRuleOutput
func (GetSecurityRulesRuleArrayOutput) ToGetSecurityRulesRuleArrayOutput ¶
func (o GetSecurityRulesRuleArrayOutput) ToGetSecurityRulesRuleArrayOutput() GetSecurityRulesRuleArrayOutput
func (GetSecurityRulesRuleArrayOutput) ToGetSecurityRulesRuleArrayOutputWithContext ¶
func (o GetSecurityRulesRuleArrayOutput) ToGetSecurityRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityRulesRuleArrayOutput
type GetSecurityRulesRuleInput ¶
type GetSecurityRulesRuleInput interface { pulumi.Input ToGetSecurityRulesRuleOutput() GetSecurityRulesRuleOutput ToGetSecurityRulesRuleOutputWithContext(context.Context) GetSecurityRulesRuleOutput }
GetSecurityRulesRuleInput is an input type that accepts GetSecurityRulesRuleArgs and GetSecurityRulesRuleOutput values. You can construct a concrete instance of `GetSecurityRulesRuleInput` via:
GetSecurityRulesRuleArgs{...}
type GetSecurityRulesRuleOutput ¶
type GetSecurityRulesRuleOutput struct{ *pulumi.OutputState }
func (GetSecurityRulesRuleOutput) Action ¶
func (o GetSecurityRulesRuleOutput) Action() pulumi.StringOutput
Policy of the rule to be queried.
func (GetSecurityRulesRuleOutput) CidrIp ¶
func (o GetSecurityRulesRuleOutput) CidrIp() pulumi.StringOutput
A network address block of the request source to be queried.
func (GetSecurityRulesRuleOutput) ElementType ¶
func (GetSecurityRulesRuleOutput) ElementType() reflect.Type
func (GetSecurityRulesRuleOutput) Id ¶
func (o GetSecurityRulesRuleOutput) Id() pulumi.StringOutput
ID of the security policy rule.
func (GetSecurityRulesRuleOutput) Name ¶
func (o GetSecurityRulesRuleOutput) Name() pulumi.StringOutput
Name of the security policy rule to be queried.
func (GetSecurityRulesRuleOutput) Port ¶
func (o GetSecurityRulesRuleOutput) Port() pulumi.StringOutput
Port of the security policy rule to be queried.
func (GetSecurityRulesRuleOutput) Protocol ¶
func (o GetSecurityRulesRuleOutput) Protocol() pulumi.StringOutput
Protocol of the security policy rule to be queried.
func (GetSecurityRulesRuleOutput) ToGetSecurityRulesRuleOutput ¶
func (o GetSecurityRulesRuleOutput) ToGetSecurityRulesRuleOutput() GetSecurityRulesRuleOutput
func (GetSecurityRulesRuleOutput) ToGetSecurityRulesRuleOutputWithContext ¶
func (o GetSecurityRulesRuleOutput) ToGetSecurityRulesRuleOutputWithContext(ctx context.Context) GetSecurityRulesRuleOutput
type HttpDomain ¶
type HttpDomain struct { pulumi.CustomResourceState // Indicates whether basic authentication is enable, default value is `false`. BasicAuth pulumi.BoolPtrOutput `pulumi:"basicAuth"` // ID of the basic authentication. BasicAuthId pulumi.StringOutput `pulumi:"basicAuthId"` // ID of the server certificate, default value is `default`. CertificateId pulumi.StringPtrOutput `pulumi:"certificateId"` // It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate, default value is `default`. // // Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ClientCertificateId pulumi.StringOutput `pulumi:"clientCertificateId"` // ID list of the poly client certificate. ClientCertificateIds pulumi.StringArrayOutput `pulumi:"clientCertificateIds"` // Forward domain of the layer7 listener. Domain pulumi.StringOutput `pulumi:"domain"` // Indicates whether SSL certificate authentication is enable, default value is `false`. GaapAuth pulumi.BoolPtrOutput `pulumi:"gaapAuth"` // ID of the SSL certificate. GaapAuthId pulumi.StringOutput `pulumi:"gaapAuthId"` // ID of the layer7 listener. ListenerId pulumi.StringOutput `pulumi:"listenerId"` // Indicates whether realserver authentication is enable, default value is `false`. RealserverAuth pulumi.BoolPtrOutput `pulumi:"realserverAuth"` // CA certificate domain of the realserver. It has been deprecated. RealserverCertificateDomain pulumi.StringOutput `pulumi:"realserverCertificateDomain"` // It has been deprecated from version 1.28.0. Set `realserverCertificateIds` instead. CA certificate ID of the realserver. // // Deprecated: It has been deprecated from version 1.28.0. Set `realserver_certificate_ids` instead. RealserverCertificateId pulumi.StringOutput `pulumi:"realserverCertificateId"` // CA certificate ID list of the realserver. RealserverCertificateIds pulumi.StringArrayOutput `pulumi:"realserverCertificateIds"` }
Provides a resource to create a forward domain of layer7 listener.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } _, err = Gaap.NewHttpDomain(ctx, "fooHttpDomain", &Gaap.HttpDomainArgs{ ListenerId: fooLayer7Listener.ID(), Domain: pulumi.String("www.qq.com"), }) if err != nil { return err } return nil }) }
```
## Import
GAAP http domain can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/httpDomain:HttpDomain tencentcloud_gaap_http_domain.foo listener-11112222+HTTP+www.qq.com
```
func GetHttpDomain ¶
func GetHttpDomain(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HttpDomainState, opts ...pulumi.ResourceOption) (*HttpDomain, error)
GetHttpDomain gets an existing HttpDomain 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 NewHttpDomain ¶
func NewHttpDomain(ctx *pulumi.Context, name string, args *HttpDomainArgs, opts ...pulumi.ResourceOption) (*HttpDomain, error)
NewHttpDomain registers a new resource with the given unique name, arguments, and options.
func (*HttpDomain) ElementType ¶
func (*HttpDomain) ElementType() reflect.Type
func (*HttpDomain) ToHttpDomainOutput ¶
func (i *HttpDomain) ToHttpDomainOutput() HttpDomainOutput
func (*HttpDomain) ToHttpDomainOutputWithContext ¶
func (i *HttpDomain) ToHttpDomainOutputWithContext(ctx context.Context) HttpDomainOutput
type HttpDomainArgs ¶
type HttpDomainArgs struct { // Indicates whether basic authentication is enable, default value is `false`. BasicAuth pulumi.BoolPtrInput // ID of the basic authentication. BasicAuthId pulumi.StringPtrInput // ID of the server certificate, default value is `default`. CertificateId pulumi.StringPtrInput // It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate, default value is `default`. // // Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ClientCertificateId pulumi.StringPtrInput // ID list of the poly client certificate. ClientCertificateIds pulumi.StringArrayInput // Forward domain of the layer7 listener. Domain pulumi.StringInput // Indicates whether SSL certificate authentication is enable, default value is `false`. GaapAuth pulumi.BoolPtrInput // ID of the SSL certificate. GaapAuthId pulumi.StringPtrInput // ID of the layer7 listener. ListenerId pulumi.StringInput // Indicates whether realserver authentication is enable, default value is `false`. RealserverAuth pulumi.BoolPtrInput // CA certificate domain of the realserver. It has been deprecated. RealserverCertificateDomain pulumi.StringPtrInput // It has been deprecated from version 1.28.0. Set `realserverCertificateIds` instead. CA certificate ID of the realserver. // // Deprecated: It has been deprecated from version 1.28.0. Set `realserver_certificate_ids` instead. RealserverCertificateId pulumi.StringPtrInput // CA certificate ID list of the realserver. RealserverCertificateIds pulumi.StringArrayInput }
The set of arguments for constructing a HttpDomain resource.
func (HttpDomainArgs) ElementType ¶
func (HttpDomainArgs) ElementType() reflect.Type
type HttpDomainArray ¶
type HttpDomainArray []HttpDomainInput
func (HttpDomainArray) ElementType ¶
func (HttpDomainArray) ElementType() reflect.Type
func (HttpDomainArray) ToHttpDomainArrayOutput ¶
func (i HttpDomainArray) ToHttpDomainArrayOutput() HttpDomainArrayOutput
func (HttpDomainArray) ToHttpDomainArrayOutputWithContext ¶
func (i HttpDomainArray) ToHttpDomainArrayOutputWithContext(ctx context.Context) HttpDomainArrayOutput
type HttpDomainArrayInput ¶
type HttpDomainArrayInput interface { pulumi.Input ToHttpDomainArrayOutput() HttpDomainArrayOutput ToHttpDomainArrayOutputWithContext(context.Context) HttpDomainArrayOutput }
HttpDomainArrayInput is an input type that accepts HttpDomainArray and HttpDomainArrayOutput values. You can construct a concrete instance of `HttpDomainArrayInput` via:
HttpDomainArray{ HttpDomainArgs{...} }
type HttpDomainArrayOutput ¶
type HttpDomainArrayOutput struct{ *pulumi.OutputState }
func (HttpDomainArrayOutput) ElementType ¶
func (HttpDomainArrayOutput) ElementType() reflect.Type
func (HttpDomainArrayOutput) Index ¶
func (o HttpDomainArrayOutput) Index(i pulumi.IntInput) HttpDomainOutput
func (HttpDomainArrayOutput) ToHttpDomainArrayOutput ¶
func (o HttpDomainArrayOutput) ToHttpDomainArrayOutput() HttpDomainArrayOutput
func (HttpDomainArrayOutput) ToHttpDomainArrayOutputWithContext ¶
func (o HttpDomainArrayOutput) ToHttpDomainArrayOutputWithContext(ctx context.Context) HttpDomainArrayOutput
type HttpDomainInput ¶
type HttpDomainInput interface { pulumi.Input ToHttpDomainOutput() HttpDomainOutput ToHttpDomainOutputWithContext(ctx context.Context) HttpDomainOutput }
type HttpDomainMap ¶
type HttpDomainMap map[string]HttpDomainInput
func (HttpDomainMap) ElementType ¶
func (HttpDomainMap) ElementType() reflect.Type
func (HttpDomainMap) ToHttpDomainMapOutput ¶
func (i HttpDomainMap) ToHttpDomainMapOutput() HttpDomainMapOutput
func (HttpDomainMap) ToHttpDomainMapOutputWithContext ¶
func (i HttpDomainMap) ToHttpDomainMapOutputWithContext(ctx context.Context) HttpDomainMapOutput
type HttpDomainMapInput ¶
type HttpDomainMapInput interface { pulumi.Input ToHttpDomainMapOutput() HttpDomainMapOutput ToHttpDomainMapOutputWithContext(context.Context) HttpDomainMapOutput }
HttpDomainMapInput is an input type that accepts HttpDomainMap and HttpDomainMapOutput values. You can construct a concrete instance of `HttpDomainMapInput` via:
HttpDomainMap{ "key": HttpDomainArgs{...} }
type HttpDomainMapOutput ¶
type HttpDomainMapOutput struct{ *pulumi.OutputState }
func (HttpDomainMapOutput) ElementType ¶
func (HttpDomainMapOutput) ElementType() reflect.Type
func (HttpDomainMapOutput) MapIndex ¶
func (o HttpDomainMapOutput) MapIndex(k pulumi.StringInput) HttpDomainOutput
func (HttpDomainMapOutput) ToHttpDomainMapOutput ¶
func (o HttpDomainMapOutput) ToHttpDomainMapOutput() HttpDomainMapOutput
func (HttpDomainMapOutput) ToHttpDomainMapOutputWithContext ¶
func (o HttpDomainMapOutput) ToHttpDomainMapOutputWithContext(ctx context.Context) HttpDomainMapOutput
type HttpDomainOutput ¶
type HttpDomainOutput struct{ *pulumi.OutputState }
func (HttpDomainOutput) BasicAuth ¶
func (o HttpDomainOutput) BasicAuth() pulumi.BoolPtrOutput
Indicates whether basic authentication is enable, default value is `false`.
func (HttpDomainOutput) BasicAuthId ¶
func (o HttpDomainOutput) BasicAuthId() pulumi.StringOutput
ID of the basic authentication.
func (HttpDomainOutput) CertificateId ¶
func (o HttpDomainOutput) CertificateId() pulumi.StringPtrOutput
ID of the server certificate, default value is `default`.
func (HttpDomainOutput) ClientCertificateId
deprecated
func (o HttpDomainOutput) ClientCertificateId() pulumi.StringOutput
It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate, default value is `default`.
Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead.
func (HttpDomainOutput) ClientCertificateIds ¶
func (o HttpDomainOutput) ClientCertificateIds() pulumi.StringArrayOutput
ID list of the poly client certificate.
func (HttpDomainOutput) Domain ¶
func (o HttpDomainOutput) Domain() pulumi.StringOutput
Forward domain of the layer7 listener.
func (HttpDomainOutput) ElementType ¶
func (HttpDomainOutput) ElementType() reflect.Type
func (HttpDomainOutput) GaapAuth ¶
func (o HttpDomainOutput) GaapAuth() pulumi.BoolPtrOutput
Indicates whether SSL certificate authentication is enable, default value is `false`.
func (HttpDomainOutput) GaapAuthId ¶
func (o HttpDomainOutput) GaapAuthId() pulumi.StringOutput
ID of the SSL certificate.
func (HttpDomainOutput) ListenerId ¶
func (o HttpDomainOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener.
func (HttpDomainOutput) RealserverAuth ¶
func (o HttpDomainOutput) RealserverAuth() pulumi.BoolPtrOutput
Indicates whether realserver authentication is enable, default value is `false`.
func (HttpDomainOutput) RealserverCertificateDomain ¶
func (o HttpDomainOutput) RealserverCertificateDomain() pulumi.StringOutput
CA certificate domain of the realserver. It has been deprecated.
func (HttpDomainOutput) RealserverCertificateId
deprecated
func (o HttpDomainOutput) RealserverCertificateId() pulumi.StringOutput
It has been deprecated from version 1.28.0. Set `realserverCertificateIds` instead. CA certificate ID of the realserver.
Deprecated: It has been deprecated from version 1.28.0. Set `realserver_certificate_ids` instead.
func (HttpDomainOutput) RealserverCertificateIds ¶
func (o HttpDomainOutput) RealserverCertificateIds() pulumi.StringArrayOutput
CA certificate ID list of the realserver.
func (HttpDomainOutput) ToHttpDomainOutput ¶
func (o HttpDomainOutput) ToHttpDomainOutput() HttpDomainOutput
func (HttpDomainOutput) ToHttpDomainOutputWithContext ¶
func (o HttpDomainOutput) ToHttpDomainOutputWithContext(ctx context.Context) HttpDomainOutput
type HttpDomainState ¶
type HttpDomainState struct { // Indicates whether basic authentication is enable, default value is `false`. BasicAuth pulumi.BoolPtrInput // ID of the basic authentication. BasicAuthId pulumi.StringPtrInput // ID of the server certificate, default value is `default`. CertificateId pulumi.StringPtrInput // It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate, default value is `default`. // // Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ClientCertificateId pulumi.StringPtrInput // ID list of the poly client certificate. ClientCertificateIds pulumi.StringArrayInput // Forward domain of the layer7 listener. Domain pulumi.StringPtrInput // Indicates whether SSL certificate authentication is enable, default value is `false`. GaapAuth pulumi.BoolPtrInput // ID of the SSL certificate. GaapAuthId pulumi.StringPtrInput // ID of the layer7 listener. ListenerId pulumi.StringPtrInput // Indicates whether realserver authentication is enable, default value is `false`. RealserverAuth pulumi.BoolPtrInput // CA certificate domain of the realserver. It has been deprecated. RealserverCertificateDomain pulumi.StringPtrInput // It has been deprecated from version 1.28.0. Set `realserverCertificateIds` instead. CA certificate ID of the realserver. // // Deprecated: It has been deprecated from version 1.28.0. Set `realserver_certificate_ids` instead. RealserverCertificateId pulumi.StringPtrInput // CA certificate ID list of the realserver. RealserverCertificateIds pulumi.StringArrayInput }
func (HttpDomainState) ElementType ¶
func (HttpDomainState) ElementType() reflect.Type
type HttpRule ¶
type HttpRule struct { pulumi.CustomResourceState // Timeout of the health check response, default value is 2s. ConnectTimeout pulumi.IntPtrOutput `pulumi:"connectTimeout"` // Forward domain of the forward rule. Domain pulumi.StringOutput `pulumi:"domain"` // The default value of requested host which is forwarded to the realserver by the listener is `default`. ForwardHost pulumi.StringPtrOutput `pulumi:"forwardHost"` // Indicates whether health check is enable. HealthCheck pulumi.BoolOutput `pulumi:"healthCheck"` // Method of the health check. Valid value: `GET` and `HEAD`. HealthCheckMethod pulumi.StringPtrOutput `pulumi:"healthCheckMethod"` // Path of health check. Maximum length is 80. HealthCheckPath pulumi.StringPtrOutput `pulumi:"healthCheckPath"` // Return code of confirmed normal. Valid value: `100`, `200`, `300`, `400` and `500`. HealthCheckStatusCodes pulumi.IntArrayOutput `pulumi:"healthCheckStatusCodes"` // Interval of the health check, default value is 5s. Interval pulumi.IntPtrOutput `pulumi:"interval"` // ID of the layer7 listener. ListenerId pulumi.StringOutput `pulumi:"listenerId"` // Path of the forward rule. Maximum length is 80. Path pulumi.StringOutput `pulumi:"path"` // Type of the realserver. Valid value: `IP` and `DOMAIN`. RealserverType pulumi.StringOutput `pulumi:"realserverType"` // An information list of GAAP realserver. Realservers HttpRuleRealserverArrayOutput `pulumi:"realservers"` // Scheduling policy of the forward rule, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. Scheduler pulumi.StringPtrOutput `pulumi:"scheduler"` // ServerNameIndication (SNI) is required when the SNI switch is turned on. Sni pulumi.StringOutput `pulumi:"sni"` // ServerNameIndication (SNI) switch. ON means on and OFF means off. SniSwitch pulumi.StringOutput `pulumi:"sniSwitch"` }
Provides a resource to create a forward rule of layer7 listener.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooLayer7Listener, err := Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } fooRealserver, err := Gaap.NewRealserver(ctx, "fooRealserver", &Gaap.RealserverArgs{ Ip: pulumi.String("1.1.1.1"), }) if err != nil { return err } bar, err := Gaap.NewRealserver(ctx, "bar", &Gaap.RealserverArgs{ Ip: pulumi.String("8.8.8.8"), }) if err != nil { return err } fooHttpDomain, err := Gaap.NewHttpDomain(ctx, "fooHttpDomain", &Gaap.HttpDomainArgs{ ListenerId: fooLayer7Listener.ID(), Domain: pulumi.String("www.qq.com"), }) if err != nil { return err } _, err = Gaap.NewHttpRule(ctx, "fooHttpRule", &Gaap.HttpRuleArgs{ ListenerId: fooLayer7Listener.ID(), Domain: fooHttpDomain.Domain, Path: pulumi.String("/"), RealserverType: pulumi.String("IP"), HealthCheck: pulumi.Bool(true), HealthCheckPath: pulumi.String("/"), HealthCheckMethod: pulumi.String("GET"), HealthCheckStatusCodes: pulumi.IntArray{ pulumi.Int(200), }, Realservers: gaap.HttpRuleRealserverArray{ &gaap.HttpRuleRealserverArgs{ Id: fooRealserver.ID(), Ip: fooRealserver.Ip, Port: pulumi.Int(80), }, &gaap.HttpRuleRealserverArgs{ Id: bar.ID(), Ip: bar.Ip, Port: pulumi.Int(80), }, }, }) if err != nil { return err } return nil }) }
```
## Import
GAAP http rule can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/httpRule:HttpRule tencentcloud_gaap_http_rule.foo rule-3bsuu01r
```
func GetHttpRule ¶
func GetHttpRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HttpRuleState, opts ...pulumi.ResourceOption) (*HttpRule, error)
GetHttpRule gets an existing HttpRule 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 NewHttpRule ¶
func NewHttpRule(ctx *pulumi.Context, name string, args *HttpRuleArgs, opts ...pulumi.ResourceOption) (*HttpRule, error)
NewHttpRule registers a new resource with the given unique name, arguments, and options.
func (*HttpRule) ElementType ¶
func (*HttpRule) ToHttpRuleOutput ¶
func (i *HttpRule) ToHttpRuleOutput() HttpRuleOutput
func (*HttpRule) ToHttpRuleOutputWithContext ¶
func (i *HttpRule) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput
type HttpRuleArgs ¶
type HttpRuleArgs struct { // Timeout of the health check response, default value is 2s. ConnectTimeout pulumi.IntPtrInput // Forward domain of the forward rule. Domain pulumi.StringInput // The default value of requested host which is forwarded to the realserver by the listener is `default`. ForwardHost pulumi.StringPtrInput // Indicates whether health check is enable. HealthCheck pulumi.BoolInput // Method of the health check. Valid value: `GET` and `HEAD`. HealthCheckMethod pulumi.StringPtrInput // Path of health check. Maximum length is 80. HealthCheckPath pulumi.StringPtrInput // Return code of confirmed normal. Valid value: `100`, `200`, `300`, `400` and `500`. HealthCheckStatusCodes pulumi.IntArrayInput // Interval of the health check, default value is 5s. Interval pulumi.IntPtrInput // ID of the layer7 listener. ListenerId pulumi.StringInput // Path of the forward rule. Maximum length is 80. Path pulumi.StringInput // Type of the realserver. Valid value: `IP` and `DOMAIN`. RealserverType pulumi.StringInput // An information list of GAAP realserver. Realservers HttpRuleRealserverArrayInput // Scheduling policy of the forward rule, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. Scheduler pulumi.StringPtrInput // ServerNameIndication (SNI) is required when the SNI switch is turned on. Sni pulumi.StringPtrInput // ServerNameIndication (SNI) switch. ON means on and OFF means off. SniSwitch pulumi.StringPtrInput }
The set of arguments for constructing a HttpRule resource.
func (HttpRuleArgs) ElementType ¶
func (HttpRuleArgs) ElementType() reflect.Type
type HttpRuleArray ¶
type HttpRuleArray []HttpRuleInput
func (HttpRuleArray) ElementType ¶
func (HttpRuleArray) ElementType() reflect.Type
func (HttpRuleArray) ToHttpRuleArrayOutput ¶
func (i HttpRuleArray) ToHttpRuleArrayOutput() HttpRuleArrayOutput
func (HttpRuleArray) ToHttpRuleArrayOutputWithContext ¶
func (i HttpRuleArray) ToHttpRuleArrayOutputWithContext(ctx context.Context) HttpRuleArrayOutput
type HttpRuleArrayInput ¶
type HttpRuleArrayInput interface { pulumi.Input ToHttpRuleArrayOutput() HttpRuleArrayOutput ToHttpRuleArrayOutputWithContext(context.Context) HttpRuleArrayOutput }
HttpRuleArrayInput is an input type that accepts HttpRuleArray and HttpRuleArrayOutput values. You can construct a concrete instance of `HttpRuleArrayInput` via:
HttpRuleArray{ HttpRuleArgs{...} }
type HttpRuleArrayOutput ¶
type HttpRuleArrayOutput struct{ *pulumi.OutputState }
func (HttpRuleArrayOutput) ElementType ¶
func (HttpRuleArrayOutput) ElementType() reflect.Type
func (HttpRuleArrayOutput) Index ¶
func (o HttpRuleArrayOutput) Index(i pulumi.IntInput) HttpRuleOutput
func (HttpRuleArrayOutput) ToHttpRuleArrayOutput ¶
func (o HttpRuleArrayOutput) ToHttpRuleArrayOutput() HttpRuleArrayOutput
func (HttpRuleArrayOutput) ToHttpRuleArrayOutputWithContext ¶
func (o HttpRuleArrayOutput) ToHttpRuleArrayOutputWithContext(ctx context.Context) HttpRuleArrayOutput
type HttpRuleInput ¶
type HttpRuleInput interface { pulumi.Input ToHttpRuleOutput() HttpRuleOutput ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput }
type HttpRuleMap ¶
type HttpRuleMap map[string]HttpRuleInput
func (HttpRuleMap) ElementType ¶
func (HttpRuleMap) ElementType() reflect.Type
func (HttpRuleMap) ToHttpRuleMapOutput ¶
func (i HttpRuleMap) ToHttpRuleMapOutput() HttpRuleMapOutput
func (HttpRuleMap) ToHttpRuleMapOutputWithContext ¶
func (i HttpRuleMap) ToHttpRuleMapOutputWithContext(ctx context.Context) HttpRuleMapOutput
type HttpRuleMapInput ¶
type HttpRuleMapInput interface { pulumi.Input ToHttpRuleMapOutput() HttpRuleMapOutput ToHttpRuleMapOutputWithContext(context.Context) HttpRuleMapOutput }
HttpRuleMapInput is an input type that accepts HttpRuleMap and HttpRuleMapOutput values. You can construct a concrete instance of `HttpRuleMapInput` via:
HttpRuleMap{ "key": HttpRuleArgs{...} }
type HttpRuleMapOutput ¶
type HttpRuleMapOutput struct{ *pulumi.OutputState }
func (HttpRuleMapOutput) ElementType ¶
func (HttpRuleMapOutput) ElementType() reflect.Type
func (HttpRuleMapOutput) MapIndex ¶
func (o HttpRuleMapOutput) MapIndex(k pulumi.StringInput) HttpRuleOutput
func (HttpRuleMapOutput) ToHttpRuleMapOutput ¶
func (o HttpRuleMapOutput) ToHttpRuleMapOutput() HttpRuleMapOutput
func (HttpRuleMapOutput) ToHttpRuleMapOutputWithContext ¶
func (o HttpRuleMapOutput) ToHttpRuleMapOutputWithContext(ctx context.Context) HttpRuleMapOutput
type HttpRuleOutput ¶
type HttpRuleOutput struct{ *pulumi.OutputState }
func (HttpRuleOutput) ConnectTimeout ¶
func (o HttpRuleOutput) ConnectTimeout() pulumi.IntPtrOutput
Timeout of the health check response, default value is 2s.
func (HttpRuleOutput) Domain ¶
func (o HttpRuleOutput) Domain() pulumi.StringOutput
Forward domain of the forward rule.
func (HttpRuleOutput) ElementType ¶
func (HttpRuleOutput) ElementType() reflect.Type
func (HttpRuleOutput) ForwardHost ¶
func (o HttpRuleOutput) ForwardHost() pulumi.StringPtrOutput
The default value of requested host which is forwarded to the realserver by the listener is `default`.
func (HttpRuleOutput) HealthCheck ¶
func (o HttpRuleOutput) HealthCheck() pulumi.BoolOutput
Indicates whether health check is enable.
func (HttpRuleOutput) HealthCheckMethod ¶
func (o HttpRuleOutput) HealthCheckMethod() pulumi.StringPtrOutput
Method of the health check. Valid value: `GET` and `HEAD`.
func (HttpRuleOutput) HealthCheckPath ¶
func (o HttpRuleOutput) HealthCheckPath() pulumi.StringPtrOutput
Path of health check. Maximum length is 80.
func (HttpRuleOutput) HealthCheckStatusCodes ¶
func (o HttpRuleOutput) HealthCheckStatusCodes() pulumi.IntArrayOutput
Return code of confirmed normal. Valid value: `100`, `200`, `300`, `400` and `500`.
func (HttpRuleOutput) Interval ¶
func (o HttpRuleOutput) Interval() pulumi.IntPtrOutput
Interval of the health check, default value is 5s.
func (HttpRuleOutput) ListenerId ¶
func (o HttpRuleOutput) ListenerId() pulumi.StringOutput
ID of the layer7 listener.
func (HttpRuleOutput) Path ¶
func (o HttpRuleOutput) Path() pulumi.StringOutput
Path of the forward rule. Maximum length is 80.
func (HttpRuleOutput) RealserverType ¶
func (o HttpRuleOutput) RealserverType() pulumi.StringOutput
Type of the realserver. Valid value: `IP` and `DOMAIN`.
func (HttpRuleOutput) Realservers ¶
func (o HttpRuleOutput) Realservers() HttpRuleRealserverArrayOutput
An information list of GAAP realserver.
func (HttpRuleOutput) Scheduler ¶
func (o HttpRuleOutput) Scheduler() pulumi.StringPtrOutput
Scheduling policy of the forward rule, default value is `rr`. Valid value: `rr`, `wrr` and `lc`.
func (HttpRuleOutput) Sni ¶
func (o HttpRuleOutput) Sni() pulumi.StringOutput
ServerNameIndication (SNI) is required when the SNI switch is turned on.
func (HttpRuleOutput) SniSwitch ¶
func (o HttpRuleOutput) SniSwitch() pulumi.StringOutput
ServerNameIndication (SNI) switch. ON means on and OFF means off.
func (HttpRuleOutput) ToHttpRuleOutput ¶
func (o HttpRuleOutput) ToHttpRuleOutput() HttpRuleOutput
func (HttpRuleOutput) ToHttpRuleOutputWithContext ¶
func (o HttpRuleOutput) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput
type HttpRuleRealserver ¶
type HttpRuleRealserver struct { // ID of the GAAP realserver. Id string `pulumi:"id"` // IP of the GAAP realserver. Ip string `pulumi:"ip"` // Port of the GAAP realserver. Port int `pulumi:"port"` // Scheduling weight, default value is `1`. Valid value ranges: (1~100). Weight *int `pulumi:"weight"` }
type HttpRuleRealserverArgs ¶
type HttpRuleRealserverArgs struct { // ID of the GAAP realserver. Id pulumi.StringInput `pulumi:"id"` // IP of the GAAP realserver. Ip pulumi.StringInput `pulumi:"ip"` // Port of the GAAP realserver. Port pulumi.IntInput `pulumi:"port"` // Scheduling weight, default value is `1`. Valid value ranges: (1~100). Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (HttpRuleRealserverArgs) ElementType ¶
func (HttpRuleRealserverArgs) ElementType() reflect.Type
func (HttpRuleRealserverArgs) ToHttpRuleRealserverOutput ¶
func (i HttpRuleRealserverArgs) ToHttpRuleRealserverOutput() HttpRuleRealserverOutput
func (HttpRuleRealserverArgs) ToHttpRuleRealserverOutputWithContext ¶
func (i HttpRuleRealserverArgs) ToHttpRuleRealserverOutputWithContext(ctx context.Context) HttpRuleRealserverOutput
type HttpRuleRealserverArray ¶
type HttpRuleRealserverArray []HttpRuleRealserverInput
func (HttpRuleRealserverArray) ElementType ¶
func (HttpRuleRealserverArray) ElementType() reflect.Type
func (HttpRuleRealserverArray) ToHttpRuleRealserverArrayOutput ¶
func (i HttpRuleRealserverArray) ToHttpRuleRealserverArrayOutput() HttpRuleRealserverArrayOutput
func (HttpRuleRealserverArray) ToHttpRuleRealserverArrayOutputWithContext ¶
func (i HttpRuleRealserverArray) ToHttpRuleRealserverArrayOutputWithContext(ctx context.Context) HttpRuleRealserverArrayOutput
type HttpRuleRealserverArrayInput ¶
type HttpRuleRealserverArrayInput interface { pulumi.Input ToHttpRuleRealserverArrayOutput() HttpRuleRealserverArrayOutput ToHttpRuleRealserverArrayOutputWithContext(context.Context) HttpRuleRealserverArrayOutput }
HttpRuleRealserverArrayInput is an input type that accepts HttpRuleRealserverArray and HttpRuleRealserverArrayOutput values. You can construct a concrete instance of `HttpRuleRealserverArrayInput` via:
HttpRuleRealserverArray{ HttpRuleRealserverArgs{...} }
type HttpRuleRealserverArrayOutput ¶
type HttpRuleRealserverArrayOutput struct{ *pulumi.OutputState }
func (HttpRuleRealserverArrayOutput) ElementType ¶
func (HttpRuleRealserverArrayOutput) ElementType() reflect.Type
func (HttpRuleRealserverArrayOutput) Index ¶
func (o HttpRuleRealserverArrayOutput) Index(i pulumi.IntInput) HttpRuleRealserverOutput
func (HttpRuleRealserverArrayOutput) ToHttpRuleRealserverArrayOutput ¶
func (o HttpRuleRealserverArrayOutput) ToHttpRuleRealserverArrayOutput() HttpRuleRealserverArrayOutput
func (HttpRuleRealserverArrayOutput) ToHttpRuleRealserverArrayOutputWithContext ¶
func (o HttpRuleRealserverArrayOutput) ToHttpRuleRealserverArrayOutputWithContext(ctx context.Context) HttpRuleRealserverArrayOutput
type HttpRuleRealserverInput ¶
type HttpRuleRealserverInput interface { pulumi.Input ToHttpRuleRealserverOutput() HttpRuleRealserverOutput ToHttpRuleRealserverOutputWithContext(context.Context) HttpRuleRealserverOutput }
HttpRuleRealserverInput is an input type that accepts HttpRuleRealserverArgs and HttpRuleRealserverOutput values. You can construct a concrete instance of `HttpRuleRealserverInput` via:
HttpRuleRealserverArgs{...}
type HttpRuleRealserverOutput ¶
type HttpRuleRealserverOutput struct{ *pulumi.OutputState }
func (HttpRuleRealserverOutput) ElementType ¶
func (HttpRuleRealserverOutput) ElementType() reflect.Type
func (HttpRuleRealserverOutput) Id ¶
func (o HttpRuleRealserverOutput) Id() pulumi.StringOutput
ID of the GAAP realserver.
func (HttpRuleRealserverOutput) Ip ¶
func (o HttpRuleRealserverOutput) Ip() pulumi.StringOutput
IP of the GAAP realserver.
func (HttpRuleRealserverOutput) Port ¶
func (o HttpRuleRealserverOutput) Port() pulumi.IntOutput
Port of the GAAP realserver.
func (HttpRuleRealserverOutput) ToHttpRuleRealserverOutput ¶
func (o HttpRuleRealserverOutput) ToHttpRuleRealserverOutput() HttpRuleRealserverOutput
func (HttpRuleRealserverOutput) ToHttpRuleRealserverOutputWithContext ¶
func (o HttpRuleRealserverOutput) ToHttpRuleRealserverOutputWithContext(ctx context.Context) HttpRuleRealserverOutput
func (HttpRuleRealserverOutput) Weight ¶
func (o HttpRuleRealserverOutput) Weight() pulumi.IntPtrOutput
Scheduling weight, default value is `1`. Valid value ranges: (1~100).
type HttpRuleState ¶
type HttpRuleState struct { // Timeout of the health check response, default value is 2s. ConnectTimeout pulumi.IntPtrInput // Forward domain of the forward rule. Domain pulumi.StringPtrInput // The default value of requested host which is forwarded to the realserver by the listener is `default`. ForwardHost pulumi.StringPtrInput // Indicates whether health check is enable. HealthCheck pulumi.BoolPtrInput // Method of the health check. Valid value: `GET` and `HEAD`. HealthCheckMethod pulumi.StringPtrInput // Path of health check. Maximum length is 80. HealthCheckPath pulumi.StringPtrInput // Return code of confirmed normal. Valid value: `100`, `200`, `300`, `400` and `500`. HealthCheckStatusCodes pulumi.IntArrayInput // Interval of the health check, default value is 5s. Interval pulumi.IntPtrInput // ID of the layer7 listener. ListenerId pulumi.StringPtrInput // Path of the forward rule. Maximum length is 80. Path pulumi.StringPtrInput // Type of the realserver. Valid value: `IP` and `DOMAIN`. RealserverType pulumi.StringPtrInput // An information list of GAAP realserver. Realservers HttpRuleRealserverArrayInput // Scheduling policy of the forward rule, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. Scheduler pulumi.StringPtrInput // ServerNameIndication (SNI) is required when the SNI switch is turned on. Sni pulumi.StringPtrInput // ServerNameIndication (SNI) switch. ON means on and OFF means off. SniSwitch pulumi.StringPtrInput }
func (HttpRuleState) ElementType ¶
func (HttpRuleState) ElementType() reflect.Type
type Layer4Listener ¶
type Layer4Listener struct { pulumi.CustomResourceState // The way the listener gets the client IP, 0 for TOA, 1 for Proxy Protocol, default value is 0. NOTES: Only supports listeners of `TCP` protocol. ClientIpMethod pulumi.IntPtrOutput `pulumi:"clientIpMethod"` // Timeout of the health check response, should less than interval, default value is 2s. NOTES: Only supports listeners of `TCP` protocol and require less than `interval`. ConnectTimeout pulumi.IntPtrOutput `pulumi:"connectTimeout"` // Creation time of the layer4 listener. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Indicates whether health check is enable, default value is `false`. NOTES: Only supports listeners of `TCP` protocol. HealthCheck pulumi.BoolPtrOutput `pulumi:"healthCheck"` // Interval of the health check, default value is 5s. NOTES: Only supports listeners of `TCP` protocol. Interval pulumi.IntPtrOutput `pulumi:"interval"` // Name of the layer4 listener, the maximum length is 30. Name pulumi.StringOutput `pulumi:"name"` // Port of the layer4 listener. Port pulumi.IntOutput `pulumi:"port"` // Protocol of the layer4 listener. Valid value: `TCP` and `UDP`. Protocol pulumi.StringOutput `pulumi:"protocol"` // ID of the GAAP proxy. ProxyId pulumi.StringOutput `pulumi:"proxyId"` // An information list of GAAP realserver. RealserverBindSets Layer4ListenerRealserverBindSetArrayOutput `pulumi:"realserverBindSets"` // Type of the realserver. Valid value: `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`. RealserverType pulumi.StringOutput `pulumi:"realserverType"` // Scheduling policy of the layer4 listener, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. Scheduler pulumi.StringPtrOutput `pulumi:"scheduler"` // Status of the layer4 listener. Status pulumi.IntOutput `pulumi:"status"` }
Provides a resource to create a layer4 listener of GAAP.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooRealserver, err := Gaap.NewRealserver(ctx, "fooRealserver", &Gaap.RealserverArgs{ Ip: pulumi.String("1.1.1.1"), }) if err != nil { return err } bar, err := Gaap.NewRealserver(ctx, "bar", &Gaap.RealserverArgs{ Ip: pulumi.String("119.29.29.29"), }) if err != nil { return err } _, err = Gaap.NewLayer4Listener(ctx, "fooLayer4Listener", &Gaap.Layer4ListenerArgs{ Protocol: pulumi.String("TCP"), Port: pulumi.Int(80), RealserverType: pulumi.String("IP"), ProxyId: fooProxy.ID(), HealthCheck: pulumi.Bool(true), RealserverBindSets: gaap.Layer4ListenerRealserverBindSetArray{ &gaap.Layer4ListenerRealserverBindSetArgs{ Id: fooRealserver.ID(), Ip: fooRealserver.Ip, Port: pulumi.Int(80), }, &gaap.Layer4ListenerRealserverBindSetArgs{ Id: bar.ID(), Ip: bar.Ip, Port: pulumi.Int(80), }, }, }) if err != nil { return err } return nil }) }
```
## Import
GAAP layer4 listener can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/layer4Listener:Layer4Listener tencentcloud_gaap_layer4_listener.foo listener-11112222
```
func GetLayer4Listener ¶
func GetLayer4Listener(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Layer4ListenerState, opts ...pulumi.ResourceOption) (*Layer4Listener, error)
GetLayer4Listener gets an existing Layer4Listener 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 NewLayer4Listener ¶
func NewLayer4Listener(ctx *pulumi.Context, name string, args *Layer4ListenerArgs, opts ...pulumi.ResourceOption) (*Layer4Listener, error)
NewLayer4Listener registers a new resource with the given unique name, arguments, and options.
func (*Layer4Listener) ElementType ¶
func (*Layer4Listener) ElementType() reflect.Type
func (*Layer4Listener) ToLayer4ListenerOutput ¶
func (i *Layer4Listener) ToLayer4ListenerOutput() Layer4ListenerOutput
func (*Layer4Listener) ToLayer4ListenerOutputWithContext ¶
func (i *Layer4Listener) ToLayer4ListenerOutputWithContext(ctx context.Context) Layer4ListenerOutput
type Layer4ListenerArgs ¶
type Layer4ListenerArgs struct { // The way the listener gets the client IP, 0 for TOA, 1 for Proxy Protocol, default value is 0. NOTES: Only supports listeners of `TCP` protocol. ClientIpMethod pulumi.IntPtrInput // Timeout of the health check response, should less than interval, default value is 2s. NOTES: Only supports listeners of `TCP` protocol and require less than `interval`. ConnectTimeout pulumi.IntPtrInput // Indicates whether health check is enable, default value is `false`. NOTES: Only supports listeners of `TCP` protocol. HealthCheck pulumi.BoolPtrInput // Interval of the health check, default value is 5s. NOTES: Only supports listeners of `TCP` protocol. Interval pulumi.IntPtrInput // Name of the layer4 listener, the maximum length is 30. Name pulumi.StringPtrInput // Port of the layer4 listener. Port pulumi.IntInput // Protocol of the layer4 listener. Valid value: `TCP` and `UDP`. Protocol pulumi.StringInput // ID of the GAAP proxy. ProxyId pulumi.StringInput // An information list of GAAP realserver. RealserverBindSets Layer4ListenerRealserverBindSetArrayInput // Type of the realserver. Valid value: `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`. RealserverType pulumi.StringInput // Scheduling policy of the layer4 listener, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. Scheduler pulumi.StringPtrInput }
The set of arguments for constructing a Layer4Listener resource.
func (Layer4ListenerArgs) ElementType ¶
func (Layer4ListenerArgs) ElementType() reflect.Type
type Layer4ListenerArray ¶
type Layer4ListenerArray []Layer4ListenerInput
func (Layer4ListenerArray) ElementType ¶
func (Layer4ListenerArray) ElementType() reflect.Type
func (Layer4ListenerArray) ToLayer4ListenerArrayOutput ¶
func (i Layer4ListenerArray) ToLayer4ListenerArrayOutput() Layer4ListenerArrayOutput
func (Layer4ListenerArray) ToLayer4ListenerArrayOutputWithContext ¶
func (i Layer4ListenerArray) ToLayer4ListenerArrayOutputWithContext(ctx context.Context) Layer4ListenerArrayOutput
type Layer4ListenerArrayInput ¶
type Layer4ListenerArrayInput interface { pulumi.Input ToLayer4ListenerArrayOutput() Layer4ListenerArrayOutput ToLayer4ListenerArrayOutputWithContext(context.Context) Layer4ListenerArrayOutput }
Layer4ListenerArrayInput is an input type that accepts Layer4ListenerArray and Layer4ListenerArrayOutput values. You can construct a concrete instance of `Layer4ListenerArrayInput` via:
Layer4ListenerArray{ Layer4ListenerArgs{...} }
type Layer4ListenerArrayOutput ¶
type Layer4ListenerArrayOutput struct{ *pulumi.OutputState }
func (Layer4ListenerArrayOutput) ElementType ¶
func (Layer4ListenerArrayOutput) ElementType() reflect.Type
func (Layer4ListenerArrayOutput) Index ¶
func (o Layer4ListenerArrayOutput) Index(i pulumi.IntInput) Layer4ListenerOutput
func (Layer4ListenerArrayOutput) ToLayer4ListenerArrayOutput ¶
func (o Layer4ListenerArrayOutput) ToLayer4ListenerArrayOutput() Layer4ListenerArrayOutput
func (Layer4ListenerArrayOutput) ToLayer4ListenerArrayOutputWithContext ¶
func (o Layer4ListenerArrayOutput) ToLayer4ListenerArrayOutputWithContext(ctx context.Context) Layer4ListenerArrayOutput
type Layer4ListenerInput ¶
type Layer4ListenerInput interface { pulumi.Input ToLayer4ListenerOutput() Layer4ListenerOutput ToLayer4ListenerOutputWithContext(ctx context.Context) Layer4ListenerOutput }
type Layer4ListenerMap ¶
type Layer4ListenerMap map[string]Layer4ListenerInput
func (Layer4ListenerMap) ElementType ¶
func (Layer4ListenerMap) ElementType() reflect.Type
func (Layer4ListenerMap) ToLayer4ListenerMapOutput ¶
func (i Layer4ListenerMap) ToLayer4ListenerMapOutput() Layer4ListenerMapOutput
func (Layer4ListenerMap) ToLayer4ListenerMapOutputWithContext ¶
func (i Layer4ListenerMap) ToLayer4ListenerMapOutputWithContext(ctx context.Context) Layer4ListenerMapOutput
type Layer4ListenerMapInput ¶
type Layer4ListenerMapInput interface { pulumi.Input ToLayer4ListenerMapOutput() Layer4ListenerMapOutput ToLayer4ListenerMapOutputWithContext(context.Context) Layer4ListenerMapOutput }
Layer4ListenerMapInput is an input type that accepts Layer4ListenerMap and Layer4ListenerMapOutput values. You can construct a concrete instance of `Layer4ListenerMapInput` via:
Layer4ListenerMap{ "key": Layer4ListenerArgs{...} }
type Layer4ListenerMapOutput ¶
type Layer4ListenerMapOutput struct{ *pulumi.OutputState }
func (Layer4ListenerMapOutput) ElementType ¶
func (Layer4ListenerMapOutput) ElementType() reflect.Type
func (Layer4ListenerMapOutput) MapIndex ¶
func (o Layer4ListenerMapOutput) MapIndex(k pulumi.StringInput) Layer4ListenerOutput
func (Layer4ListenerMapOutput) ToLayer4ListenerMapOutput ¶
func (o Layer4ListenerMapOutput) ToLayer4ListenerMapOutput() Layer4ListenerMapOutput
func (Layer4ListenerMapOutput) ToLayer4ListenerMapOutputWithContext ¶
func (o Layer4ListenerMapOutput) ToLayer4ListenerMapOutputWithContext(ctx context.Context) Layer4ListenerMapOutput
type Layer4ListenerOutput ¶
type Layer4ListenerOutput struct{ *pulumi.OutputState }
func (Layer4ListenerOutput) ClientIpMethod ¶
func (o Layer4ListenerOutput) ClientIpMethod() pulumi.IntPtrOutput
The way the listener gets the client IP, 0 for TOA, 1 for Proxy Protocol, default value is 0. NOTES: Only supports listeners of `TCP` protocol.
func (Layer4ListenerOutput) ConnectTimeout ¶
func (o Layer4ListenerOutput) ConnectTimeout() pulumi.IntPtrOutput
Timeout of the health check response, should less than interval, default value is 2s. NOTES: Only supports listeners of `TCP` protocol and require less than `interval`.
func (Layer4ListenerOutput) CreateTime ¶
func (o Layer4ListenerOutput) CreateTime() pulumi.StringOutput
Creation time of the layer4 listener.
func (Layer4ListenerOutput) ElementType ¶
func (Layer4ListenerOutput) ElementType() reflect.Type
func (Layer4ListenerOutput) HealthCheck ¶
func (o Layer4ListenerOutput) HealthCheck() pulumi.BoolPtrOutput
Indicates whether health check is enable, default value is `false`. NOTES: Only supports listeners of `TCP` protocol.
func (Layer4ListenerOutput) Interval ¶
func (o Layer4ListenerOutput) Interval() pulumi.IntPtrOutput
Interval of the health check, default value is 5s. NOTES: Only supports listeners of `TCP` protocol.
func (Layer4ListenerOutput) Name ¶
func (o Layer4ListenerOutput) Name() pulumi.StringOutput
Name of the layer4 listener, the maximum length is 30.
func (Layer4ListenerOutput) Port ¶
func (o Layer4ListenerOutput) Port() pulumi.IntOutput
Port of the layer4 listener.
func (Layer4ListenerOutput) Protocol ¶
func (o Layer4ListenerOutput) Protocol() pulumi.StringOutput
Protocol of the layer4 listener. Valid value: `TCP` and `UDP`.
func (Layer4ListenerOutput) ProxyId ¶
func (o Layer4ListenerOutput) ProxyId() pulumi.StringOutput
ID of the GAAP proxy.
func (Layer4ListenerOutput) RealserverBindSets ¶
func (o Layer4ListenerOutput) RealserverBindSets() Layer4ListenerRealserverBindSetArrayOutput
An information list of GAAP realserver.
func (Layer4ListenerOutput) RealserverType ¶
func (o Layer4ListenerOutput) RealserverType() pulumi.StringOutput
Type of the realserver. Valid value: `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`.
func (Layer4ListenerOutput) Scheduler ¶
func (o Layer4ListenerOutput) Scheduler() pulumi.StringPtrOutput
Scheduling policy of the layer4 listener, default value is `rr`. Valid value: `rr`, `wrr` and `lc`.
func (Layer4ListenerOutput) Status ¶
func (o Layer4ListenerOutput) Status() pulumi.IntOutput
Status of the layer4 listener.
func (Layer4ListenerOutput) ToLayer4ListenerOutput ¶
func (o Layer4ListenerOutput) ToLayer4ListenerOutput() Layer4ListenerOutput
func (Layer4ListenerOutput) ToLayer4ListenerOutputWithContext ¶
func (o Layer4ListenerOutput) ToLayer4ListenerOutputWithContext(ctx context.Context) Layer4ListenerOutput
type Layer4ListenerRealserverBindSet ¶
type Layer4ListenerRealserverBindSet struct { // ID of the GAAP realserver. Id string `pulumi:"id"` // IP of the GAAP realserver. Ip string `pulumi:"ip"` // Port of the GAAP realserver. Port int `pulumi:"port"` // Scheduling weight, default value is `1`. The range of values is [1,100]. Weight *int `pulumi:"weight"` }
type Layer4ListenerRealserverBindSetArgs ¶
type Layer4ListenerRealserverBindSetArgs struct { // ID of the GAAP realserver. Id pulumi.StringInput `pulumi:"id"` // IP of the GAAP realserver. Ip pulumi.StringInput `pulumi:"ip"` // Port of the GAAP realserver. Port pulumi.IntInput `pulumi:"port"` // Scheduling weight, default value is `1`. The range of values is [1,100]. Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (Layer4ListenerRealserverBindSetArgs) ElementType ¶
func (Layer4ListenerRealserverBindSetArgs) ElementType() reflect.Type
func (Layer4ListenerRealserverBindSetArgs) ToLayer4ListenerRealserverBindSetOutput ¶
func (i Layer4ListenerRealserverBindSetArgs) ToLayer4ListenerRealserverBindSetOutput() Layer4ListenerRealserverBindSetOutput
func (Layer4ListenerRealserverBindSetArgs) ToLayer4ListenerRealserverBindSetOutputWithContext ¶
func (i Layer4ListenerRealserverBindSetArgs) ToLayer4ListenerRealserverBindSetOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetOutput
type Layer4ListenerRealserverBindSetArray ¶
type Layer4ListenerRealserverBindSetArray []Layer4ListenerRealserverBindSetInput
func (Layer4ListenerRealserverBindSetArray) ElementType ¶
func (Layer4ListenerRealserverBindSetArray) ElementType() reflect.Type
func (Layer4ListenerRealserverBindSetArray) ToLayer4ListenerRealserverBindSetArrayOutput ¶
func (i Layer4ListenerRealserverBindSetArray) ToLayer4ListenerRealserverBindSetArrayOutput() Layer4ListenerRealserverBindSetArrayOutput
func (Layer4ListenerRealserverBindSetArray) ToLayer4ListenerRealserverBindSetArrayOutputWithContext ¶
func (i Layer4ListenerRealserverBindSetArray) ToLayer4ListenerRealserverBindSetArrayOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetArrayOutput
type Layer4ListenerRealserverBindSetArrayInput ¶
type Layer4ListenerRealserverBindSetArrayInput interface { pulumi.Input ToLayer4ListenerRealserverBindSetArrayOutput() Layer4ListenerRealserverBindSetArrayOutput ToLayer4ListenerRealserverBindSetArrayOutputWithContext(context.Context) Layer4ListenerRealserverBindSetArrayOutput }
Layer4ListenerRealserverBindSetArrayInput is an input type that accepts Layer4ListenerRealserverBindSetArray and Layer4ListenerRealserverBindSetArrayOutput values. You can construct a concrete instance of `Layer4ListenerRealserverBindSetArrayInput` via:
Layer4ListenerRealserverBindSetArray{ Layer4ListenerRealserverBindSetArgs{...} }
type Layer4ListenerRealserverBindSetArrayOutput ¶
type Layer4ListenerRealserverBindSetArrayOutput struct{ *pulumi.OutputState }
func (Layer4ListenerRealserverBindSetArrayOutput) ElementType ¶
func (Layer4ListenerRealserverBindSetArrayOutput) ElementType() reflect.Type
func (Layer4ListenerRealserverBindSetArrayOutput) ToLayer4ListenerRealserverBindSetArrayOutput ¶
func (o Layer4ListenerRealserverBindSetArrayOutput) ToLayer4ListenerRealserverBindSetArrayOutput() Layer4ListenerRealserverBindSetArrayOutput
func (Layer4ListenerRealserverBindSetArrayOutput) ToLayer4ListenerRealserverBindSetArrayOutputWithContext ¶
func (o Layer4ListenerRealserverBindSetArrayOutput) ToLayer4ListenerRealserverBindSetArrayOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetArrayOutput
type Layer4ListenerRealserverBindSetInput ¶
type Layer4ListenerRealserverBindSetInput interface { pulumi.Input ToLayer4ListenerRealserverBindSetOutput() Layer4ListenerRealserverBindSetOutput ToLayer4ListenerRealserverBindSetOutputWithContext(context.Context) Layer4ListenerRealserverBindSetOutput }
Layer4ListenerRealserverBindSetInput is an input type that accepts Layer4ListenerRealserverBindSetArgs and Layer4ListenerRealserverBindSetOutput values. You can construct a concrete instance of `Layer4ListenerRealserverBindSetInput` via:
Layer4ListenerRealserverBindSetArgs{...}
type Layer4ListenerRealserverBindSetOutput ¶
type Layer4ListenerRealserverBindSetOutput struct{ *pulumi.OutputState }
func (Layer4ListenerRealserverBindSetOutput) ElementType ¶
func (Layer4ListenerRealserverBindSetOutput) ElementType() reflect.Type
func (Layer4ListenerRealserverBindSetOutput) Id ¶
func (o Layer4ListenerRealserverBindSetOutput) Id() pulumi.StringOutput
ID of the GAAP realserver.
func (Layer4ListenerRealserverBindSetOutput) Ip ¶
func (o Layer4ListenerRealserverBindSetOutput) Ip() pulumi.StringOutput
IP of the GAAP realserver.
func (Layer4ListenerRealserverBindSetOutput) Port ¶
func (o Layer4ListenerRealserverBindSetOutput) Port() pulumi.IntOutput
Port of the GAAP realserver.
func (Layer4ListenerRealserverBindSetOutput) ToLayer4ListenerRealserverBindSetOutput ¶
func (o Layer4ListenerRealserverBindSetOutput) ToLayer4ListenerRealserverBindSetOutput() Layer4ListenerRealserverBindSetOutput
func (Layer4ListenerRealserverBindSetOutput) ToLayer4ListenerRealserverBindSetOutputWithContext ¶
func (o Layer4ListenerRealserverBindSetOutput) ToLayer4ListenerRealserverBindSetOutputWithContext(ctx context.Context) Layer4ListenerRealserverBindSetOutput
func (Layer4ListenerRealserverBindSetOutput) Weight ¶
func (o Layer4ListenerRealserverBindSetOutput) Weight() pulumi.IntPtrOutput
Scheduling weight, default value is `1`. The range of values is [1,100].
type Layer4ListenerState ¶
type Layer4ListenerState struct { // The way the listener gets the client IP, 0 for TOA, 1 for Proxy Protocol, default value is 0. NOTES: Only supports listeners of `TCP` protocol. ClientIpMethod pulumi.IntPtrInput // Timeout of the health check response, should less than interval, default value is 2s. NOTES: Only supports listeners of `TCP` protocol and require less than `interval`. ConnectTimeout pulumi.IntPtrInput // Creation time of the layer4 listener. CreateTime pulumi.StringPtrInput // Indicates whether health check is enable, default value is `false`. NOTES: Only supports listeners of `TCP` protocol. HealthCheck pulumi.BoolPtrInput // Interval of the health check, default value is 5s. NOTES: Only supports listeners of `TCP` protocol. Interval pulumi.IntPtrInput // Name of the layer4 listener, the maximum length is 30. Name pulumi.StringPtrInput // Port of the layer4 listener. Port pulumi.IntPtrInput // Protocol of the layer4 listener. Valid value: `TCP` and `UDP`. Protocol pulumi.StringPtrInput // ID of the GAAP proxy. ProxyId pulumi.StringPtrInput // An information list of GAAP realserver. RealserverBindSets Layer4ListenerRealserverBindSetArrayInput // Type of the realserver. Valid value: `IP` and `DOMAIN`. NOTES: when the `protocol` is specified as `TCP` and the `scheduler` is specified as `wrr`, the item can only be set to `IP`. RealserverType pulumi.StringPtrInput // Scheduling policy of the layer4 listener, default value is `rr`. Valid value: `rr`, `wrr` and `lc`. Scheduler pulumi.StringPtrInput // Status of the layer4 listener. Status pulumi.IntPtrInput }
func (Layer4ListenerState) ElementType ¶
func (Layer4ListenerState) ElementType() reflect.Type
type Layer7Listener ¶
type Layer7Listener struct { pulumi.CustomResourceState // Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. AuthType pulumi.IntPtrOutput `pulumi:"authType"` // Certificate ID of the layer7 listener. NOTES: Only supports listeners of `HTTPS` protocol. CertificateId pulumi.StringPtrOutput `pulumi:"certificateId"` // It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. // // Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ClientCertificateId pulumi.StringOutput `pulumi:"clientCertificateId"` // ID list of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. ClientCertificateIds pulumi.StringArrayOutput `pulumi:"clientCertificateIds"` // Creation time of the layer7 listener. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Protocol type of the forwarding. Valid value: `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol. ForwardProtocol pulumi.StringPtrOutput `pulumi:"forwardProtocol"` // Name of the layer7 listener, the maximum length is 30. Name pulumi.StringOutput `pulumi:"name"` // Port of the layer7 listener. Port pulumi.IntOutput `pulumi:"port"` // Protocol of the layer7 listener. Valid value: `HTTP` and `HTTPS`. Protocol pulumi.StringOutput `pulumi:"protocol"` // ID of the GAAP proxy. ProxyId pulumi.StringOutput `pulumi:"proxyId"` // Status of the layer7 listener. Status pulumi.IntOutput `pulumi:"status"` }
Provides a resource to create a layer7 listener of GAAP.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } _, err = Gaap.NewLayer7Listener(ctx, "fooLayer7Listener", &Gaap.Layer7ListenerArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), ProxyId: fooProxy.ID(), }) if err != nil { return err } return nil }) }
```
## Import
GAAP layer7 listener can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/layer7Listener:Layer7Listener tencentcloud_gaap_layer7_listener.foo listener-11112222
```
func GetLayer7Listener ¶
func GetLayer7Listener(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Layer7ListenerState, opts ...pulumi.ResourceOption) (*Layer7Listener, error)
GetLayer7Listener gets an existing Layer7Listener 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 NewLayer7Listener ¶
func NewLayer7Listener(ctx *pulumi.Context, name string, args *Layer7ListenerArgs, opts ...pulumi.ResourceOption) (*Layer7Listener, error)
NewLayer7Listener registers a new resource with the given unique name, arguments, and options.
func (*Layer7Listener) ElementType ¶
func (*Layer7Listener) ElementType() reflect.Type
func (*Layer7Listener) ToLayer7ListenerOutput ¶
func (i *Layer7Listener) ToLayer7ListenerOutput() Layer7ListenerOutput
func (*Layer7Listener) ToLayer7ListenerOutputWithContext ¶
func (i *Layer7Listener) ToLayer7ListenerOutputWithContext(ctx context.Context) Layer7ListenerOutput
type Layer7ListenerArgs ¶
type Layer7ListenerArgs struct { // Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. AuthType pulumi.IntPtrInput // Certificate ID of the layer7 listener. NOTES: Only supports listeners of `HTTPS` protocol. CertificateId pulumi.StringPtrInput // It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. // // Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ClientCertificateId pulumi.StringPtrInput // ID list of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. ClientCertificateIds pulumi.StringArrayInput // Protocol type of the forwarding. Valid value: `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol. ForwardProtocol pulumi.StringPtrInput // Name of the layer7 listener, the maximum length is 30. Name pulumi.StringPtrInput // Port of the layer7 listener. Port pulumi.IntInput // Protocol of the layer7 listener. Valid value: `HTTP` and `HTTPS`. Protocol pulumi.StringInput // ID of the GAAP proxy. ProxyId pulumi.StringInput }
The set of arguments for constructing a Layer7Listener resource.
func (Layer7ListenerArgs) ElementType ¶
func (Layer7ListenerArgs) ElementType() reflect.Type
type Layer7ListenerArray ¶
type Layer7ListenerArray []Layer7ListenerInput
func (Layer7ListenerArray) ElementType ¶
func (Layer7ListenerArray) ElementType() reflect.Type
func (Layer7ListenerArray) ToLayer7ListenerArrayOutput ¶
func (i Layer7ListenerArray) ToLayer7ListenerArrayOutput() Layer7ListenerArrayOutput
func (Layer7ListenerArray) ToLayer7ListenerArrayOutputWithContext ¶
func (i Layer7ListenerArray) ToLayer7ListenerArrayOutputWithContext(ctx context.Context) Layer7ListenerArrayOutput
type Layer7ListenerArrayInput ¶
type Layer7ListenerArrayInput interface { pulumi.Input ToLayer7ListenerArrayOutput() Layer7ListenerArrayOutput ToLayer7ListenerArrayOutputWithContext(context.Context) Layer7ListenerArrayOutput }
Layer7ListenerArrayInput is an input type that accepts Layer7ListenerArray and Layer7ListenerArrayOutput values. You can construct a concrete instance of `Layer7ListenerArrayInput` via:
Layer7ListenerArray{ Layer7ListenerArgs{...} }
type Layer7ListenerArrayOutput ¶
type Layer7ListenerArrayOutput struct{ *pulumi.OutputState }
func (Layer7ListenerArrayOutput) ElementType ¶
func (Layer7ListenerArrayOutput) ElementType() reflect.Type
func (Layer7ListenerArrayOutput) Index ¶
func (o Layer7ListenerArrayOutput) Index(i pulumi.IntInput) Layer7ListenerOutput
func (Layer7ListenerArrayOutput) ToLayer7ListenerArrayOutput ¶
func (o Layer7ListenerArrayOutput) ToLayer7ListenerArrayOutput() Layer7ListenerArrayOutput
func (Layer7ListenerArrayOutput) ToLayer7ListenerArrayOutputWithContext ¶
func (o Layer7ListenerArrayOutput) ToLayer7ListenerArrayOutputWithContext(ctx context.Context) Layer7ListenerArrayOutput
type Layer7ListenerInput ¶
type Layer7ListenerInput interface { pulumi.Input ToLayer7ListenerOutput() Layer7ListenerOutput ToLayer7ListenerOutputWithContext(ctx context.Context) Layer7ListenerOutput }
type Layer7ListenerMap ¶
type Layer7ListenerMap map[string]Layer7ListenerInput
func (Layer7ListenerMap) ElementType ¶
func (Layer7ListenerMap) ElementType() reflect.Type
func (Layer7ListenerMap) ToLayer7ListenerMapOutput ¶
func (i Layer7ListenerMap) ToLayer7ListenerMapOutput() Layer7ListenerMapOutput
func (Layer7ListenerMap) ToLayer7ListenerMapOutputWithContext ¶
func (i Layer7ListenerMap) ToLayer7ListenerMapOutputWithContext(ctx context.Context) Layer7ListenerMapOutput
type Layer7ListenerMapInput ¶
type Layer7ListenerMapInput interface { pulumi.Input ToLayer7ListenerMapOutput() Layer7ListenerMapOutput ToLayer7ListenerMapOutputWithContext(context.Context) Layer7ListenerMapOutput }
Layer7ListenerMapInput is an input type that accepts Layer7ListenerMap and Layer7ListenerMapOutput values. You can construct a concrete instance of `Layer7ListenerMapInput` via:
Layer7ListenerMap{ "key": Layer7ListenerArgs{...} }
type Layer7ListenerMapOutput ¶
type Layer7ListenerMapOutput struct{ *pulumi.OutputState }
func (Layer7ListenerMapOutput) ElementType ¶
func (Layer7ListenerMapOutput) ElementType() reflect.Type
func (Layer7ListenerMapOutput) MapIndex ¶
func (o Layer7ListenerMapOutput) MapIndex(k pulumi.StringInput) Layer7ListenerOutput
func (Layer7ListenerMapOutput) ToLayer7ListenerMapOutput ¶
func (o Layer7ListenerMapOutput) ToLayer7ListenerMapOutput() Layer7ListenerMapOutput
func (Layer7ListenerMapOutput) ToLayer7ListenerMapOutputWithContext ¶
func (o Layer7ListenerMapOutput) ToLayer7ListenerMapOutputWithContext(ctx context.Context) Layer7ListenerMapOutput
type Layer7ListenerOutput ¶
type Layer7ListenerOutput struct{ *pulumi.OutputState }
func (Layer7ListenerOutput) AuthType ¶
func (o Layer7ListenerOutput) AuthType() pulumi.IntPtrOutput
Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol.
func (Layer7ListenerOutput) CertificateId ¶
func (o Layer7ListenerOutput) CertificateId() pulumi.StringPtrOutput
Certificate ID of the layer7 listener. NOTES: Only supports listeners of `HTTPS` protocol.
func (Layer7ListenerOutput) ClientCertificateId
deprecated
func (o Layer7ListenerOutput) ClientCertificateId() pulumi.StringOutput
It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol.
Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead.
func (Layer7ListenerOutput) ClientCertificateIds ¶
func (o Layer7ListenerOutput) ClientCertificateIds() pulumi.StringArrayOutput
ID list of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol.
func (Layer7ListenerOutput) CreateTime ¶
func (o Layer7ListenerOutput) CreateTime() pulumi.StringOutput
Creation time of the layer7 listener.
func (Layer7ListenerOutput) ElementType ¶
func (Layer7ListenerOutput) ElementType() reflect.Type
func (Layer7ListenerOutput) ForwardProtocol ¶
func (o Layer7ListenerOutput) ForwardProtocol() pulumi.StringPtrOutput
Protocol type of the forwarding. Valid value: `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol.
func (Layer7ListenerOutput) Name ¶
func (o Layer7ListenerOutput) Name() pulumi.StringOutput
Name of the layer7 listener, the maximum length is 30.
func (Layer7ListenerOutput) Port ¶
func (o Layer7ListenerOutput) Port() pulumi.IntOutput
Port of the layer7 listener.
func (Layer7ListenerOutput) Protocol ¶
func (o Layer7ListenerOutput) Protocol() pulumi.StringOutput
Protocol of the layer7 listener. Valid value: `HTTP` and `HTTPS`.
func (Layer7ListenerOutput) ProxyId ¶
func (o Layer7ListenerOutput) ProxyId() pulumi.StringOutput
ID of the GAAP proxy.
func (Layer7ListenerOutput) Status ¶
func (o Layer7ListenerOutput) Status() pulumi.IntOutput
Status of the layer7 listener.
func (Layer7ListenerOutput) ToLayer7ListenerOutput ¶
func (o Layer7ListenerOutput) ToLayer7ListenerOutput() Layer7ListenerOutput
func (Layer7ListenerOutput) ToLayer7ListenerOutputWithContext ¶
func (o Layer7ListenerOutput) ToLayer7ListenerOutputWithContext(ctx context.Context) Layer7ListenerOutput
type Layer7ListenerState ¶
type Layer7ListenerState struct { // Authentication type of the layer7 listener. `0` is one-way authentication and `1` is mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. AuthType pulumi.IntPtrInput // Certificate ID of the layer7 listener. NOTES: Only supports listeners of `HTTPS` protocol. CertificateId pulumi.StringPtrInput // It has been deprecated from version 1.26.0. Set `clientCertificateIds` instead. ID of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. // // Deprecated: It has been deprecated from version 1.26.0. Set `client_certificate_ids` instead. ClientCertificateId pulumi.StringPtrInput // ID list of the client certificate. Set only when `authType` is specified as mutual authentication. NOTES: Only supports listeners of `HTTPS` protocol. ClientCertificateIds pulumi.StringArrayInput // Creation time of the layer7 listener. CreateTime pulumi.StringPtrInput // Protocol type of the forwarding. Valid value: `HTTP` and `HTTPS`. NOTES: Only supports listeners of `HTTPS` protocol. ForwardProtocol pulumi.StringPtrInput // Name of the layer7 listener, the maximum length is 30. Name pulumi.StringPtrInput // Port of the layer7 listener. Port pulumi.IntPtrInput // Protocol of the layer7 listener. Valid value: `HTTP` and `HTTPS`. Protocol pulumi.StringPtrInput // ID of the GAAP proxy. ProxyId pulumi.StringPtrInput // Status of the layer7 listener. Status pulumi.IntPtrInput }
func (Layer7ListenerState) ElementType ¶
func (Layer7ListenerState) ElementType() reflect.Type
type Proxy ¶
type Proxy struct { pulumi.CustomResourceState // Access region of the GAAP proxy. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. AccessRegion pulumi.StringOutput `pulumi:"accessRegion"` // Maximum bandwidth of the GAAP proxy, unit is Mbps. Valid value: `10`, `20`, `50`, `100`, `200`, `500` and `1000`. Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // Maximum concurrency of the GAAP proxy, unit is 10k. Valid value: `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`. Concurrent pulumi.IntOutput `pulumi:"concurrent"` // Creation time of the GAAP proxy. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Access domain of the GAAP proxy. Domain pulumi.StringOutput `pulumi:"domain"` // Indicates whether GAAP proxy is enabled, default value is `true`. Enable pulumi.BoolPtrOutput `pulumi:"enable"` // Forwarding IP of the GAAP proxy. ForwardIp pulumi.StringOutput `pulumi:"forwardIp"` // Access IP of the GAAP proxy. Ip pulumi.StringOutput `pulumi:"ip"` // Name of the GAAP proxy, the maximum length is 30. Name pulumi.StringOutput `pulumi:"name"` // ID of the project within the GAAP proxy, `0` means is default project. ProjectId pulumi.IntPtrOutput `pulumi:"projectId"` // Region of the GAAP realserver. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. RealserverRegion pulumi.StringOutput `pulumi:"realserverRegion"` // Indicates whether GAAP proxy can scalable. Scalable pulumi.BoolOutput `pulumi:"scalable"` // Status of the GAAP proxy. Status pulumi.StringOutput `pulumi:"status"` // Supported protocols of the GAAP proxy. SupportProtocols pulumi.StringArrayOutput `pulumi:"supportProtocols"` // Tags of the GAAP proxy. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a resource to create a GAAP proxy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Gaap.NewProxy(ctx, "foo", &Gaap.ProxyArgs{ AccessRegion: pulumi.String("SouthChina"), Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), RealserverRegion: pulumi.String("NorthChina"), Tags: pulumi.AnyMap{ "test": pulumi.Any("test"), }, }) if err != nil { return err } return nil }) }
```
## Import
GAAP proxy can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/proxy:Proxy tencentcloud_gaap_proxy.foo link-11112222
```
func GetProxy ¶
func GetProxy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProxyState, opts ...pulumi.ResourceOption) (*Proxy, error)
GetProxy gets an existing Proxy 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 NewProxy ¶
func NewProxy(ctx *pulumi.Context, name string, args *ProxyArgs, opts ...pulumi.ResourceOption) (*Proxy, error)
NewProxy registers a new resource with the given unique name, arguments, and options.
func (*Proxy) ElementType ¶
func (*Proxy) ToProxyOutput ¶
func (i *Proxy) ToProxyOutput() ProxyOutput
func (*Proxy) ToProxyOutputWithContext ¶
func (i *Proxy) ToProxyOutputWithContext(ctx context.Context) ProxyOutput
type ProxyArgs ¶
type ProxyArgs struct { // Access region of the GAAP proxy. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. AccessRegion pulumi.StringInput // Maximum bandwidth of the GAAP proxy, unit is Mbps. Valid value: `10`, `20`, `50`, `100`, `200`, `500` and `1000`. Bandwidth pulumi.IntInput // Maximum concurrency of the GAAP proxy, unit is 10k. Valid value: `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`. Concurrent pulumi.IntInput // Indicates whether GAAP proxy is enabled, default value is `true`. Enable pulumi.BoolPtrInput // Name of the GAAP proxy, the maximum length is 30. Name pulumi.StringPtrInput // ID of the project within the GAAP proxy, `0` means is default project. ProjectId pulumi.IntPtrInput // Region of the GAAP realserver. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. RealserverRegion pulumi.StringInput // Tags of the GAAP proxy. Tags pulumi.MapInput }
The set of arguments for constructing a Proxy resource.
func (ProxyArgs) ElementType ¶
type ProxyArray ¶
type ProxyArray []ProxyInput
func (ProxyArray) ElementType ¶
func (ProxyArray) ElementType() reflect.Type
func (ProxyArray) ToProxyArrayOutput ¶
func (i ProxyArray) ToProxyArrayOutput() ProxyArrayOutput
func (ProxyArray) ToProxyArrayOutputWithContext ¶
func (i ProxyArray) ToProxyArrayOutputWithContext(ctx context.Context) ProxyArrayOutput
type ProxyArrayInput ¶
type ProxyArrayInput interface { pulumi.Input ToProxyArrayOutput() ProxyArrayOutput ToProxyArrayOutputWithContext(context.Context) ProxyArrayOutput }
ProxyArrayInput is an input type that accepts ProxyArray and ProxyArrayOutput values. You can construct a concrete instance of `ProxyArrayInput` via:
ProxyArray{ ProxyArgs{...} }
type ProxyArrayOutput ¶
type ProxyArrayOutput struct{ *pulumi.OutputState }
func (ProxyArrayOutput) ElementType ¶
func (ProxyArrayOutput) ElementType() reflect.Type
func (ProxyArrayOutput) Index ¶
func (o ProxyArrayOutput) Index(i pulumi.IntInput) ProxyOutput
func (ProxyArrayOutput) ToProxyArrayOutput ¶
func (o ProxyArrayOutput) ToProxyArrayOutput() ProxyArrayOutput
func (ProxyArrayOutput) ToProxyArrayOutputWithContext ¶
func (o ProxyArrayOutput) ToProxyArrayOutputWithContext(ctx context.Context) ProxyArrayOutput
type ProxyInput ¶
type ProxyInput interface { pulumi.Input ToProxyOutput() ProxyOutput ToProxyOutputWithContext(ctx context.Context) ProxyOutput }
type ProxyMap ¶
type ProxyMap map[string]ProxyInput
func (ProxyMap) ElementType ¶
func (ProxyMap) ToProxyMapOutput ¶
func (i ProxyMap) ToProxyMapOutput() ProxyMapOutput
func (ProxyMap) ToProxyMapOutputWithContext ¶
func (i ProxyMap) ToProxyMapOutputWithContext(ctx context.Context) ProxyMapOutput
type ProxyMapInput ¶
type ProxyMapInput interface { pulumi.Input ToProxyMapOutput() ProxyMapOutput ToProxyMapOutputWithContext(context.Context) ProxyMapOutput }
ProxyMapInput is an input type that accepts ProxyMap and ProxyMapOutput values. You can construct a concrete instance of `ProxyMapInput` via:
ProxyMap{ "key": ProxyArgs{...} }
type ProxyMapOutput ¶
type ProxyMapOutput struct{ *pulumi.OutputState }
func (ProxyMapOutput) ElementType ¶
func (ProxyMapOutput) ElementType() reflect.Type
func (ProxyMapOutput) MapIndex ¶
func (o ProxyMapOutput) MapIndex(k pulumi.StringInput) ProxyOutput
func (ProxyMapOutput) ToProxyMapOutput ¶
func (o ProxyMapOutput) ToProxyMapOutput() ProxyMapOutput
func (ProxyMapOutput) ToProxyMapOutputWithContext ¶
func (o ProxyMapOutput) ToProxyMapOutputWithContext(ctx context.Context) ProxyMapOutput
type ProxyOutput ¶
type ProxyOutput struct{ *pulumi.OutputState }
func (ProxyOutput) AccessRegion ¶
func (o ProxyOutput) AccessRegion() pulumi.StringOutput
Access region of the GAAP proxy. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`.
func (ProxyOutput) Bandwidth ¶
func (o ProxyOutput) Bandwidth() pulumi.IntOutput
Maximum bandwidth of the GAAP proxy, unit is Mbps. Valid value: `10`, `20`, `50`, `100`, `200`, `500` and `1000`.
func (ProxyOutput) Concurrent ¶
func (o ProxyOutput) Concurrent() pulumi.IntOutput
Maximum concurrency of the GAAP proxy, unit is 10k. Valid value: `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`.
func (ProxyOutput) CreateTime ¶
func (o ProxyOutput) CreateTime() pulumi.StringOutput
Creation time of the GAAP proxy.
func (ProxyOutput) Domain ¶
func (o ProxyOutput) Domain() pulumi.StringOutput
Access domain of the GAAP proxy.
func (ProxyOutput) ElementType ¶
func (ProxyOutput) ElementType() reflect.Type
func (ProxyOutput) Enable ¶
func (o ProxyOutput) Enable() pulumi.BoolPtrOutput
Indicates whether GAAP proxy is enabled, default value is `true`.
func (ProxyOutput) ForwardIp ¶
func (o ProxyOutput) ForwardIp() pulumi.StringOutput
Forwarding IP of the GAAP proxy.
func (ProxyOutput) Name ¶
func (o ProxyOutput) Name() pulumi.StringOutput
Name of the GAAP proxy, the maximum length is 30.
func (ProxyOutput) ProjectId ¶
func (o ProxyOutput) ProjectId() pulumi.IntPtrOutput
ID of the project within the GAAP proxy, `0` means is default project.
func (ProxyOutput) RealserverRegion ¶
func (o ProxyOutput) RealserverRegion() pulumi.StringOutput
Region of the GAAP realserver. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`.
func (ProxyOutput) Scalable ¶
func (o ProxyOutput) Scalable() pulumi.BoolOutput
Indicates whether GAAP proxy can scalable.
func (ProxyOutput) Status ¶
func (o ProxyOutput) Status() pulumi.StringOutput
Status of the GAAP proxy.
func (ProxyOutput) SupportProtocols ¶
func (o ProxyOutput) SupportProtocols() pulumi.StringArrayOutput
Supported protocols of the GAAP proxy.
func (ProxyOutput) ToProxyOutput ¶
func (o ProxyOutput) ToProxyOutput() ProxyOutput
func (ProxyOutput) ToProxyOutputWithContext ¶
func (o ProxyOutput) ToProxyOutputWithContext(ctx context.Context) ProxyOutput
type ProxyState ¶
type ProxyState struct { // Access region of the GAAP proxy. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. AccessRegion pulumi.StringPtrInput // Maximum bandwidth of the GAAP proxy, unit is Mbps. Valid value: `10`, `20`, `50`, `100`, `200`, `500` and `1000`. Bandwidth pulumi.IntPtrInput // Maximum concurrency of the GAAP proxy, unit is 10k. Valid value: `2`, `5`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` and `100`. Concurrent pulumi.IntPtrInput // Creation time of the GAAP proxy. CreateTime pulumi.StringPtrInput // Access domain of the GAAP proxy. Domain pulumi.StringPtrInput // Indicates whether GAAP proxy is enabled, default value is `true`. Enable pulumi.BoolPtrInput // Forwarding IP of the GAAP proxy. ForwardIp pulumi.StringPtrInput // Access IP of the GAAP proxy. Ip pulumi.StringPtrInput // Name of the GAAP proxy, the maximum length is 30. Name pulumi.StringPtrInput // ID of the project within the GAAP proxy, `0` means is default project. ProjectId pulumi.IntPtrInput // Region of the GAAP realserver. Valid value: `NorthChina`, `EastChina`, `SouthChina`, `SouthwestChina`, `Hongkong`, `SL_TAIWAN`, `SoutheastAsia`, `Korea`, `SL_India`, `SL_Australia`, `Europe`, `SL_UK`, `SL_SouthAmerica`, `NorthAmerica`, `SL_MiddleUSA`, `Canada`, `SL_VIET`, `WestIndia`, `Thailand`, `Virginia`, `Russia`, `Japan` and `SL_Indonesia`. RealserverRegion pulumi.StringPtrInput // Indicates whether GAAP proxy can scalable. Scalable pulumi.BoolPtrInput // Status of the GAAP proxy. Status pulumi.StringPtrInput // Supported protocols of the GAAP proxy. SupportProtocols pulumi.StringArrayInput // Tags of the GAAP proxy. Tags pulumi.MapInput }
func (ProxyState) ElementType ¶
func (ProxyState) ElementType() reflect.Type
type Realserver ¶
type Realserver struct { pulumi.CustomResourceState // Domain of the GAAP realserver, conflict with `ip`. Domain pulumi.StringPtrOutput `pulumi:"domain"` // IP of the GAAP realserver, conflict with `domain`. Ip pulumi.StringPtrOutput `pulumi:"ip"` // Name of the GAAP realserver, the maximum length is 30. Name pulumi.StringOutput `pulumi:"name"` // ID of the project within the GAAP realserver, '0' means is default project. ProjectId pulumi.IntPtrOutput `pulumi:"projectId"` // Tags of the GAAP realserver. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a resource to create a GAAP realserver.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Gaap.NewRealserver(ctx, "foo", &Gaap.RealserverArgs{ Ip: pulumi.String("1.1.1.1"), Tags: pulumi.AnyMap{ "test": pulumi.Any("test"), }, }) if err != nil { return err } return nil }) }
```
## Import
GAAP realserver can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/realserver:Realserver tencentcloud_gaap_realserver.foo rs-4ftghy6
```
func GetRealserver ¶
func GetRealserver(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RealserverState, opts ...pulumi.ResourceOption) (*Realserver, error)
GetRealserver gets an existing Realserver 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 NewRealserver ¶
func NewRealserver(ctx *pulumi.Context, name string, args *RealserverArgs, opts ...pulumi.ResourceOption) (*Realserver, error)
NewRealserver registers a new resource with the given unique name, arguments, and options.
func (*Realserver) ElementType ¶
func (*Realserver) ElementType() reflect.Type
func (*Realserver) ToRealserverOutput ¶
func (i *Realserver) ToRealserverOutput() RealserverOutput
func (*Realserver) ToRealserverOutputWithContext ¶
func (i *Realserver) ToRealserverOutputWithContext(ctx context.Context) RealserverOutput
type RealserverArgs ¶
type RealserverArgs struct { // Domain of the GAAP realserver, conflict with `ip`. Domain pulumi.StringPtrInput // IP of the GAAP realserver, conflict with `domain`. Ip pulumi.StringPtrInput // Name of the GAAP realserver, the maximum length is 30. Name pulumi.StringPtrInput // ID of the project within the GAAP realserver, '0' means is default project. ProjectId pulumi.IntPtrInput // Tags of the GAAP realserver. Tags pulumi.MapInput }
The set of arguments for constructing a Realserver resource.
func (RealserverArgs) ElementType ¶
func (RealserverArgs) ElementType() reflect.Type
type RealserverArray ¶
type RealserverArray []RealserverInput
func (RealserverArray) ElementType ¶
func (RealserverArray) ElementType() reflect.Type
func (RealserverArray) ToRealserverArrayOutput ¶
func (i RealserverArray) ToRealserverArrayOutput() RealserverArrayOutput
func (RealserverArray) ToRealserverArrayOutputWithContext ¶
func (i RealserverArray) ToRealserverArrayOutputWithContext(ctx context.Context) RealserverArrayOutput
type RealserverArrayInput ¶
type RealserverArrayInput interface { pulumi.Input ToRealserverArrayOutput() RealserverArrayOutput ToRealserverArrayOutputWithContext(context.Context) RealserverArrayOutput }
RealserverArrayInput is an input type that accepts RealserverArray and RealserverArrayOutput values. You can construct a concrete instance of `RealserverArrayInput` via:
RealserverArray{ RealserverArgs{...} }
type RealserverArrayOutput ¶
type RealserverArrayOutput struct{ *pulumi.OutputState }
func (RealserverArrayOutput) ElementType ¶
func (RealserverArrayOutput) ElementType() reflect.Type
func (RealserverArrayOutput) Index ¶
func (o RealserverArrayOutput) Index(i pulumi.IntInput) RealserverOutput
func (RealserverArrayOutput) ToRealserverArrayOutput ¶
func (o RealserverArrayOutput) ToRealserverArrayOutput() RealserverArrayOutput
func (RealserverArrayOutput) ToRealserverArrayOutputWithContext ¶
func (o RealserverArrayOutput) ToRealserverArrayOutputWithContext(ctx context.Context) RealserverArrayOutput
type RealserverInput ¶
type RealserverInput interface { pulumi.Input ToRealserverOutput() RealserverOutput ToRealserverOutputWithContext(ctx context.Context) RealserverOutput }
type RealserverMap ¶
type RealserverMap map[string]RealserverInput
func (RealserverMap) ElementType ¶
func (RealserverMap) ElementType() reflect.Type
func (RealserverMap) ToRealserverMapOutput ¶
func (i RealserverMap) ToRealserverMapOutput() RealserverMapOutput
func (RealserverMap) ToRealserverMapOutputWithContext ¶
func (i RealserverMap) ToRealserverMapOutputWithContext(ctx context.Context) RealserverMapOutput
type RealserverMapInput ¶
type RealserverMapInput interface { pulumi.Input ToRealserverMapOutput() RealserverMapOutput ToRealserverMapOutputWithContext(context.Context) RealserverMapOutput }
RealserverMapInput is an input type that accepts RealserverMap and RealserverMapOutput values. You can construct a concrete instance of `RealserverMapInput` via:
RealserverMap{ "key": RealserverArgs{...} }
type RealserverMapOutput ¶
type RealserverMapOutput struct{ *pulumi.OutputState }
func (RealserverMapOutput) ElementType ¶
func (RealserverMapOutput) ElementType() reflect.Type
func (RealserverMapOutput) MapIndex ¶
func (o RealserverMapOutput) MapIndex(k pulumi.StringInput) RealserverOutput
func (RealserverMapOutput) ToRealserverMapOutput ¶
func (o RealserverMapOutput) ToRealserverMapOutput() RealserverMapOutput
func (RealserverMapOutput) ToRealserverMapOutputWithContext ¶
func (o RealserverMapOutput) ToRealserverMapOutputWithContext(ctx context.Context) RealserverMapOutput
type RealserverOutput ¶
type RealserverOutput struct{ *pulumi.OutputState }
func (RealserverOutput) Domain ¶
func (o RealserverOutput) Domain() pulumi.StringPtrOutput
Domain of the GAAP realserver, conflict with `ip`.
func (RealserverOutput) ElementType ¶
func (RealserverOutput) ElementType() reflect.Type
func (RealserverOutput) Ip ¶
func (o RealserverOutput) Ip() pulumi.StringPtrOutput
IP of the GAAP realserver, conflict with `domain`.
func (RealserverOutput) Name ¶
func (o RealserverOutput) Name() pulumi.StringOutput
Name of the GAAP realserver, the maximum length is 30.
func (RealserverOutput) ProjectId ¶
func (o RealserverOutput) ProjectId() pulumi.IntPtrOutput
ID of the project within the GAAP realserver, '0' means is default project.
func (RealserverOutput) Tags ¶
func (o RealserverOutput) Tags() pulumi.MapOutput
Tags of the GAAP realserver.
func (RealserverOutput) ToRealserverOutput ¶
func (o RealserverOutput) ToRealserverOutput() RealserverOutput
func (RealserverOutput) ToRealserverOutputWithContext ¶
func (o RealserverOutput) ToRealserverOutputWithContext(ctx context.Context) RealserverOutput
type RealserverState ¶
type RealserverState struct { // Domain of the GAAP realserver, conflict with `ip`. Domain pulumi.StringPtrInput // IP of the GAAP realserver, conflict with `domain`. Ip pulumi.StringPtrInput // Name of the GAAP realserver, the maximum length is 30. Name pulumi.StringPtrInput // ID of the project within the GAAP realserver, '0' means is default project. ProjectId pulumi.IntPtrInput // Tags of the GAAP realserver. Tags pulumi.MapInput }
func (RealserverState) ElementType ¶
func (RealserverState) ElementType() reflect.Type
type SecurityPolicy ¶
type SecurityPolicy struct { pulumi.CustomResourceState // Default policy. Valid value: `ACCEPT` and `DROP`. Action pulumi.StringOutput `pulumi:"action"` // Indicates whether policy is enable, default value is `true`. Enable pulumi.BoolPtrOutput `pulumi:"enable"` // ID of the GAAP proxy. ProxyId pulumi.StringOutput `pulumi:"proxyId"` }
Provides a resource to create a security policy of GAAP proxy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } _, err = Gaap.NewSecurityPolicy(ctx, "fooSecurityPolicy", &Gaap.SecurityPolicyArgs{ ProxyId: fooProxy.ID(), Action: pulumi.String("DROP"), }) if err != nil { return err } return nil }) }
```
## Import
GAAP security policy can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/securityPolicy:SecurityPolicy tencentcloud_gaap_security_policy.foo pl-xxxx
```
func GetSecurityPolicy ¶
func GetSecurityPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityPolicyState, opts ...pulumi.ResourceOption) (*SecurityPolicy, error)
GetSecurityPolicy gets an existing SecurityPolicy 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 NewSecurityPolicy ¶
func NewSecurityPolicy(ctx *pulumi.Context, name string, args *SecurityPolicyArgs, opts ...pulumi.ResourceOption) (*SecurityPolicy, error)
NewSecurityPolicy registers a new resource with the given unique name, arguments, and options.
func (*SecurityPolicy) ElementType ¶
func (*SecurityPolicy) ElementType() reflect.Type
func (*SecurityPolicy) ToSecurityPolicyOutput ¶
func (i *SecurityPolicy) ToSecurityPolicyOutput() SecurityPolicyOutput
func (*SecurityPolicy) ToSecurityPolicyOutputWithContext ¶
func (i *SecurityPolicy) ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput
type SecurityPolicyArgs ¶
type SecurityPolicyArgs struct { // Default policy. Valid value: `ACCEPT` and `DROP`. Action pulumi.StringInput // Indicates whether policy is enable, default value is `true`. Enable pulumi.BoolPtrInput // ID of the GAAP proxy. ProxyId pulumi.StringInput }
The set of arguments for constructing a SecurityPolicy resource.
func (SecurityPolicyArgs) ElementType ¶
func (SecurityPolicyArgs) ElementType() reflect.Type
type SecurityPolicyArray ¶
type SecurityPolicyArray []SecurityPolicyInput
func (SecurityPolicyArray) ElementType ¶
func (SecurityPolicyArray) ElementType() reflect.Type
func (SecurityPolicyArray) ToSecurityPolicyArrayOutput ¶
func (i SecurityPolicyArray) ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput
func (SecurityPolicyArray) ToSecurityPolicyArrayOutputWithContext ¶
func (i SecurityPolicyArray) ToSecurityPolicyArrayOutputWithContext(ctx context.Context) SecurityPolicyArrayOutput
type SecurityPolicyArrayInput ¶
type SecurityPolicyArrayInput interface { pulumi.Input ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput ToSecurityPolicyArrayOutputWithContext(context.Context) SecurityPolicyArrayOutput }
SecurityPolicyArrayInput is an input type that accepts SecurityPolicyArray and SecurityPolicyArrayOutput values. You can construct a concrete instance of `SecurityPolicyArrayInput` via:
SecurityPolicyArray{ SecurityPolicyArgs{...} }
type SecurityPolicyArrayOutput ¶
type SecurityPolicyArrayOutput struct{ *pulumi.OutputState }
func (SecurityPolicyArrayOutput) ElementType ¶
func (SecurityPolicyArrayOutput) ElementType() reflect.Type
func (SecurityPolicyArrayOutput) Index ¶
func (o SecurityPolicyArrayOutput) Index(i pulumi.IntInput) SecurityPolicyOutput
func (SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutput ¶
func (o SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutput() SecurityPolicyArrayOutput
func (SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutputWithContext ¶
func (o SecurityPolicyArrayOutput) ToSecurityPolicyArrayOutputWithContext(ctx context.Context) SecurityPolicyArrayOutput
type SecurityPolicyInput ¶
type SecurityPolicyInput interface { pulumi.Input ToSecurityPolicyOutput() SecurityPolicyOutput ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput }
type SecurityPolicyMap ¶
type SecurityPolicyMap map[string]SecurityPolicyInput
func (SecurityPolicyMap) ElementType ¶
func (SecurityPolicyMap) ElementType() reflect.Type
func (SecurityPolicyMap) ToSecurityPolicyMapOutput ¶
func (i SecurityPolicyMap) ToSecurityPolicyMapOutput() SecurityPolicyMapOutput
func (SecurityPolicyMap) ToSecurityPolicyMapOutputWithContext ¶
func (i SecurityPolicyMap) ToSecurityPolicyMapOutputWithContext(ctx context.Context) SecurityPolicyMapOutput
type SecurityPolicyMapInput ¶
type SecurityPolicyMapInput interface { pulumi.Input ToSecurityPolicyMapOutput() SecurityPolicyMapOutput ToSecurityPolicyMapOutputWithContext(context.Context) SecurityPolicyMapOutput }
SecurityPolicyMapInput is an input type that accepts SecurityPolicyMap and SecurityPolicyMapOutput values. You can construct a concrete instance of `SecurityPolicyMapInput` via:
SecurityPolicyMap{ "key": SecurityPolicyArgs{...} }
type SecurityPolicyMapOutput ¶
type SecurityPolicyMapOutput struct{ *pulumi.OutputState }
func (SecurityPolicyMapOutput) ElementType ¶
func (SecurityPolicyMapOutput) ElementType() reflect.Type
func (SecurityPolicyMapOutput) MapIndex ¶
func (o SecurityPolicyMapOutput) MapIndex(k pulumi.StringInput) SecurityPolicyOutput
func (SecurityPolicyMapOutput) ToSecurityPolicyMapOutput ¶
func (o SecurityPolicyMapOutput) ToSecurityPolicyMapOutput() SecurityPolicyMapOutput
func (SecurityPolicyMapOutput) ToSecurityPolicyMapOutputWithContext ¶
func (o SecurityPolicyMapOutput) ToSecurityPolicyMapOutputWithContext(ctx context.Context) SecurityPolicyMapOutput
type SecurityPolicyOutput ¶
type SecurityPolicyOutput struct{ *pulumi.OutputState }
func (SecurityPolicyOutput) Action ¶
func (o SecurityPolicyOutput) Action() pulumi.StringOutput
Default policy. Valid value: `ACCEPT` and `DROP`.
func (SecurityPolicyOutput) ElementType ¶
func (SecurityPolicyOutput) ElementType() reflect.Type
func (SecurityPolicyOutput) Enable ¶
func (o SecurityPolicyOutput) Enable() pulumi.BoolPtrOutput
Indicates whether policy is enable, default value is `true`.
func (SecurityPolicyOutput) ProxyId ¶
func (o SecurityPolicyOutput) ProxyId() pulumi.StringOutput
ID of the GAAP proxy.
func (SecurityPolicyOutput) ToSecurityPolicyOutput ¶
func (o SecurityPolicyOutput) ToSecurityPolicyOutput() SecurityPolicyOutput
func (SecurityPolicyOutput) ToSecurityPolicyOutputWithContext ¶
func (o SecurityPolicyOutput) ToSecurityPolicyOutputWithContext(ctx context.Context) SecurityPolicyOutput
type SecurityPolicyState ¶
type SecurityPolicyState struct { // Default policy. Valid value: `ACCEPT` and `DROP`. Action pulumi.StringPtrInput // Indicates whether policy is enable, default value is `true`. Enable pulumi.BoolPtrInput // ID of the GAAP proxy. ProxyId pulumi.StringPtrInput }
func (SecurityPolicyState) ElementType ¶
func (SecurityPolicyState) ElementType() reflect.Type
type SecurityRule ¶
type SecurityRule struct { pulumi.CustomResourceState // Policy of the rule. Valid value: `ACCEPT` and `DROP`. Action pulumi.StringOutput `pulumi:"action"` // A network address block of the request source. CidrIp pulumi.StringOutput `pulumi:"cidrIp"` // Name of the security policy rule. Maximum length is 30. Name pulumi.StringOutput `pulumi:"name"` // ID of the security policy. PolicyId pulumi.StringOutput `pulumi:"policyId"` // Target port. Default value is `ALL`. Valid examples: `80`, `80,443` and `3306-20000`. Port pulumi.StringPtrOutput `pulumi:"port"` // Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`. Protocol pulumi.StringPtrOutput `pulumi:"protocol"` }
Provides a resource to create a security policy rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Gaap"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooProxy, err := Gaap.NewProxy(ctx, "fooProxy", &Gaap.ProxyArgs{ Bandwidth: pulumi.Int(10), Concurrent: pulumi.Int(2), AccessRegion: pulumi.String("SouthChina"), RealserverRegion: pulumi.String("NorthChina"), }) if err != nil { return err } fooSecurityPolicy, err := Gaap.NewSecurityPolicy(ctx, "fooSecurityPolicy", &Gaap.SecurityPolicyArgs{ ProxyId: fooProxy.ID(), Action: pulumi.String("ACCEPT"), }) if err != nil { return err } _, err = Gaap.NewSecurityRule(ctx, "fooSecurityRule", &Gaap.SecurityRuleArgs{ PolicyId: fooSecurityPolicy.ID(), CidrIp: pulumi.String("1.1.1.1"), Action: pulumi.String("ACCEPT"), Protocol: pulumi.String("TCP"), }) if err != nil { return err } return nil }) }
```
## Import
GAAP security rule can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Gaap/securityRule:SecurityRule tencentcloud_gaap_security_rule.foo sr-xxxxxxxx
```
func GetSecurityRule ¶
func GetSecurityRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityRuleState, opts ...pulumi.ResourceOption) (*SecurityRule, error)
GetSecurityRule gets an existing SecurityRule 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 NewSecurityRule ¶
func NewSecurityRule(ctx *pulumi.Context, name string, args *SecurityRuleArgs, opts ...pulumi.ResourceOption) (*SecurityRule, error)
NewSecurityRule registers a new resource with the given unique name, arguments, and options.
func (*SecurityRule) ElementType ¶
func (*SecurityRule) ElementType() reflect.Type
func (*SecurityRule) ToSecurityRuleOutput ¶
func (i *SecurityRule) ToSecurityRuleOutput() SecurityRuleOutput
func (*SecurityRule) ToSecurityRuleOutputWithContext ¶
func (i *SecurityRule) ToSecurityRuleOutputWithContext(ctx context.Context) SecurityRuleOutput
type SecurityRuleArgs ¶
type SecurityRuleArgs struct { // Policy of the rule. Valid value: `ACCEPT` and `DROP`. Action pulumi.StringInput // A network address block of the request source. CidrIp pulumi.StringInput // Name of the security policy rule. Maximum length is 30. Name pulumi.StringPtrInput // ID of the security policy. PolicyId pulumi.StringInput // Target port. Default value is `ALL`. Valid examples: `80`, `80,443` and `3306-20000`. Port pulumi.StringPtrInput // Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`. Protocol pulumi.StringPtrInput }
The set of arguments for constructing a SecurityRule resource.
func (SecurityRuleArgs) ElementType ¶
func (SecurityRuleArgs) ElementType() reflect.Type
type SecurityRuleArray ¶
type SecurityRuleArray []SecurityRuleInput
func (SecurityRuleArray) ElementType ¶
func (SecurityRuleArray) ElementType() reflect.Type
func (SecurityRuleArray) ToSecurityRuleArrayOutput ¶
func (i SecurityRuleArray) ToSecurityRuleArrayOutput() SecurityRuleArrayOutput
func (SecurityRuleArray) ToSecurityRuleArrayOutputWithContext ¶
func (i SecurityRuleArray) ToSecurityRuleArrayOutputWithContext(ctx context.Context) SecurityRuleArrayOutput
type SecurityRuleArrayInput ¶
type SecurityRuleArrayInput interface { pulumi.Input ToSecurityRuleArrayOutput() SecurityRuleArrayOutput ToSecurityRuleArrayOutputWithContext(context.Context) SecurityRuleArrayOutput }
SecurityRuleArrayInput is an input type that accepts SecurityRuleArray and SecurityRuleArrayOutput values. You can construct a concrete instance of `SecurityRuleArrayInput` via:
SecurityRuleArray{ SecurityRuleArgs{...} }
type SecurityRuleArrayOutput ¶
type SecurityRuleArrayOutput struct{ *pulumi.OutputState }
func (SecurityRuleArrayOutput) ElementType ¶
func (SecurityRuleArrayOutput) ElementType() reflect.Type
func (SecurityRuleArrayOutput) Index ¶
func (o SecurityRuleArrayOutput) Index(i pulumi.IntInput) SecurityRuleOutput
func (SecurityRuleArrayOutput) ToSecurityRuleArrayOutput ¶
func (o SecurityRuleArrayOutput) ToSecurityRuleArrayOutput() SecurityRuleArrayOutput
func (SecurityRuleArrayOutput) ToSecurityRuleArrayOutputWithContext ¶
func (o SecurityRuleArrayOutput) ToSecurityRuleArrayOutputWithContext(ctx context.Context) SecurityRuleArrayOutput
type SecurityRuleInput ¶
type SecurityRuleInput interface { pulumi.Input ToSecurityRuleOutput() SecurityRuleOutput ToSecurityRuleOutputWithContext(ctx context.Context) SecurityRuleOutput }
type SecurityRuleMap ¶
type SecurityRuleMap map[string]SecurityRuleInput
func (SecurityRuleMap) ElementType ¶
func (SecurityRuleMap) ElementType() reflect.Type
func (SecurityRuleMap) ToSecurityRuleMapOutput ¶
func (i SecurityRuleMap) ToSecurityRuleMapOutput() SecurityRuleMapOutput
func (SecurityRuleMap) ToSecurityRuleMapOutputWithContext ¶
func (i SecurityRuleMap) ToSecurityRuleMapOutputWithContext(ctx context.Context) SecurityRuleMapOutput
type SecurityRuleMapInput ¶
type SecurityRuleMapInput interface { pulumi.Input ToSecurityRuleMapOutput() SecurityRuleMapOutput ToSecurityRuleMapOutputWithContext(context.Context) SecurityRuleMapOutput }
SecurityRuleMapInput is an input type that accepts SecurityRuleMap and SecurityRuleMapOutput values. You can construct a concrete instance of `SecurityRuleMapInput` via:
SecurityRuleMap{ "key": SecurityRuleArgs{...} }
type SecurityRuleMapOutput ¶
type SecurityRuleMapOutput struct{ *pulumi.OutputState }
func (SecurityRuleMapOutput) ElementType ¶
func (SecurityRuleMapOutput) ElementType() reflect.Type
func (SecurityRuleMapOutput) MapIndex ¶
func (o SecurityRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityRuleOutput
func (SecurityRuleMapOutput) ToSecurityRuleMapOutput ¶
func (o SecurityRuleMapOutput) ToSecurityRuleMapOutput() SecurityRuleMapOutput
func (SecurityRuleMapOutput) ToSecurityRuleMapOutputWithContext ¶
func (o SecurityRuleMapOutput) ToSecurityRuleMapOutputWithContext(ctx context.Context) SecurityRuleMapOutput
type SecurityRuleOutput ¶
type SecurityRuleOutput struct{ *pulumi.OutputState }
func (SecurityRuleOutput) Action ¶
func (o SecurityRuleOutput) Action() pulumi.StringOutput
Policy of the rule. Valid value: `ACCEPT` and `DROP`.
func (SecurityRuleOutput) CidrIp ¶
func (o SecurityRuleOutput) CidrIp() pulumi.StringOutput
A network address block of the request source.
func (SecurityRuleOutput) ElementType ¶
func (SecurityRuleOutput) ElementType() reflect.Type
func (SecurityRuleOutput) Name ¶
func (o SecurityRuleOutput) Name() pulumi.StringOutput
Name of the security policy rule. Maximum length is 30.
func (SecurityRuleOutput) PolicyId ¶
func (o SecurityRuleOutput) PolicyId() pulumi.StringOutput
ID of the security policy.
func (SecurityRuleOutput) Port ¶
func (o SecurityRuleOutput) Port() pulumi.StringPtrOutput
Target port. Default value is `ALL`. Valid examples: `80`, `80,443` and `3306-20000`.
func (SecurityRuleOutput) Protocol ¶
func (o SecurityRuleOutput) Protocol() pulumi.StringPtrOutput
Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`.
func (SecurityRuleOutput) ToSecurityRuleOutput ¶
func (o SecurityRuleOutput) ToSecurityRuleOutput() SecurityRuleOutput
func (SecurityRuleOutput) ToSecurityRuleOutputWithContext ¶
func (o SecurityRuleOutput) ToSecurityRuleOutputWithContext(ctx context.Context) SecurityRuleOutput
type SecurityRuleState ¶
type SecurityRuleState struct { // Policy of the rule. Valid value: `ACCEPT` and `DROP`. Action pulumi.StringPtrInput // A network address block of the request source. CidrIp pulumi.StringPtrInput // Name of the security policy rule. Maximum length is 30. Name pulumi.StringPtrInput // ID of the security policy. PolicyId pulumi.StringPtrInput // Target port. Default value is `ALL`. Valid examples: `80`, `80,443` and `3306-20000`. Port pulumi.StringPtrInput // Protocol of the security policy rule. Default value is `ALL`. Valid value: `TCP`, `UDP` and `ALL`. Protocol pulumi.StringPtrInput }
func (SecurityRuleState) ElementType ¶
func (SecurityRuleState) ElementType() reflect.Type
Source Files
¶
- certificate.go
- domainErrorPage.go
- getCertificates.go
- getDomainErrorPages.go
- getHttpDomains.go
- getHttpRules.go
- getLayer4Listeners.go
- getLayer7Listeners.go
- getProxies.go
- getRealservers.go
- getSecurityPolicies.go
- getSecurityRules.go
- httpDomain.go
- httpRule.go
- init.go
- layer4Listener.go
- layer7Listener.go
- proxy.go
- pulumiTypes.go
- pulumiUtilities.go
- realserver.go
- securityPolicy.go
- securityRule.go