Documentation ¶
Index ¶
- type Lb
- func (r *Lb) ChargeType() *pulumi.StringOutput
- func (r *Lb) CreateTime() *pulumi.StringOutput
- func (r *Lb) ExpireTime() *pulumi.StringOutput
- func (r *Lb) ID() *pulumi.IDOutput
- func (r *Lb) Internal() *pulumi.BoolOutput
- func (r *Lb) IpSets() *pulumi.ArrayOutput
- func (r *Lb) Name() *pulumi.StringOutput
- func (r *Lb) PrivateIp() *pulumi.StringOutput
- func (r *Lb) Remark() *pulumi.StringOutput
- func (r *Lb) SubnetId() *pulumi.StringOutput
- func (r *Lb) Tag() *pulumi.StringOutput
- func (r *Lb) URN() *pulumi.URNOutput
- func (r *Lb) VpcId() *pulumi.StringOutput
- type LbArgs
- type LbAttachment
- func (r *LbAttachment) ID() *pulumi.IDOutput
- func (r *LbAttachment) ListenerId() *pulumi.StringOutput
- func (r *LbAttachment) LoadBalancerId() *pulumi.StringOutput
- func (r *LbAttachment) Port() *pulumi.IntOutput
- func (r *LbAttachment) PrivateIp() *pulumi.StringOutput
- func (r *LbAttachment) ResourceId() *pulumi.StringOutput
- func (r *LbAttachment) ResourceType() *pulumi.StringOutput
- func (r *LbAttachment) Status() *pulumi.StringOutput
- func (r *LbAttachment) URN() *pulumi.URNOutput
- type LbAttachmentArgs
- type LbAttachmentState
- type LbListener
- func (r *LbListener) Domain() *pulumi.StringOutput
- func (r *LbListener) HealthCheckType() *pulumi.StringOutput
- func (r *LbListener) ID() *pulumi.IDOutput
- func (r *LbListener) IdleTimeout() *pulumi.IntOutput
- func (r *LbListener) ListenType() *pulumi.StringOutput
- func (r *LbListener) LoadBalancerId() *pulumi.StringOutput
- func (r *LbListener) Method() *pulumi.StringOutput
- func (r *LbListener) Name() *pulumi.StringOutput
- func (r *LbListener) Path() *pulumi.StringOutput
- func (r *LbListener) Persistence() *pulumi.StringOutput
- func (r *LbListener) PersistenceType() *pulumi.StringOutput
- func (r *LbListener) Port() *pulumi.IntOutput
- func (r *LbListener) Protocol() *pulumi.StringOutput
- func (r *LbListener) Status() *pulumi.StringOutput
- func (r *LbListener) URN() *pulumi.URNOutput
- type LbListenerArgs
- type LbListenerState
- type LbRule
- func (r *LbRule) BackendIds() *pulumi.ArrayOutput
- func (r *LbRule) Domain() *pulumi.StringOutput
- func (r *LbRule) ID() *pulumi.IDOutput
- func (r *LbRule) ListenerId() *pulumi.StringOutput
- func (r *LbRule) LoadBalancerId() *pulumi.StringOutput
- func (r *LbRule) Path() *pulumi.StringOutput
- func (r *LbRule) URN() *pulumi.URNOutput
- type LbRuleArgs
- type LbRuleState
- type LbSsl
- func (r *LbSsl) CaCert() *pulumi.StringOutput
- func (r *LbSsl) CreateTime() *pulumi.StringOutput
- func (r *LbSsl) ID() *pulumi.IDOutput
- func (r *LbSsl) Name() *pulumi.StringOutput
- func (r *LbSsl) PrivateKey() *pulumi.StringOutput
- func (r *LbSsl) URN() *pulumi.URNOutput
- func (r *LbSsl) UserCert() *pulumi.StringOutput
- type LbSslArgs
- type LbSslAttachment
- type LbSslAttachmentArgs
- type LbSslAttachmentState
- type LbSslState
- type LbState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lb ¶
type Lb struct {
// contains filtered or unexported fields
}
Provides a Load Balancer resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/lb.html.markdown.
func GetLb ¶
func GetLb(ctx *pulumi.Context, name string, id pulumi.ID, state *LbState, opts ...pulumi.ResourceOpt) (*Lb, error)
GetLb gets an existing Lb 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 (*Lb) ChargeType ¶
func (r *Lb) ChargeType() *pulumi.StringOutput
**Deprecated**, argument `chargeType` is deprecated for optimizing parameters.
func (*Lb) CreateTime ¶
func (r *Lb) CreateTime() *pulumi.StringOutput
The time of creation for load balancer, formatted in RFC3339 time string.
func (*Lb) ExpireTime ¶
func (r *Lb) ExpireTime() *pulumi.StringOutput
**Deprecated** attribute `expireTime` is deprecated for optimizing outputs.
func (*Lb) Internal ¶
func (r *Lb) Internal() *pulumi.BoolOutput
Indicate whether the load balancer is intranet mode.(Default: `"false"`)
func (*Lb) IpSets ¶
func (r *Lb) IpSets() *pulumi.ArrayOutput
It is a nested type which documented below.
func (*Lb) Name ¶
func (r *Lb) Name() *pulumi.StringOutput
func (*Lb) PrivateIp ¶
func (r *Lb) PrivateIp() *pulumi.StringOutput
The IP address of intranet IP. It is `""` if `internal` is `false`.
func (*Lb) Remark ¶
func (r *Lb) Remark() *pulumi.StringOutput
The remarks of the load balancer. (Default: `""`).
func (*Lb) SubnetId ¶
func (r *Lb) SubnetId() *pulumi.StringOutput
The ID of subnet that intranet load balancer belongs to. This argument is not required if default subnet.
func (*Lb) Tag ¶
func (r *Lb) Tag() *pulumi.StringOutput
A tag assigned to load balancer, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
func (*Lb) VpcId ¶
func (r *Lb) VpcId() *pulumi.StringOutput
The ID of the VPC linked to the Load balancer, This argument is not required if default VPC.
type LbArgs ¶
type LbArgs struct { // **Deprecated**, argument `chargeType` is deprecated for optimizing parameters. ChargeType interface{} // Indicate whether the load balancer is intranet mode.(Default: `"false"`) Internal interface{} Name interface{} // The remarks of the load balancer. (Default: `""`). Remark interface{} // The ID of subnet that intranet load balancer belongs to. This argument is not required if default subnet. SubnetId interface{} // A tag assigned to load balancer, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). Tag interface{} // The ID of the VPC linked to the Load balancer, This argument is not required if default VPC. VpcId interface{} }
The set of arguments for constructing a Lb resource.
type LbAttachment ¶
type LbAttachment struct {
// contains filtered or unexported fields
}
Provides a Load Balancer Attachment resource for attaching Load Balancer to UHost Instance, etc.
> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/lb_attachment.html.markdown.
func GetLbAttachment ¶
func GetLbAttachment(ctx *pulumi.Context, name string, id pulumi.ID, state *LbAttachmentState, opts ...pulumi.ResourceOpt) (*LbAttachment, error)
GetLbAttachment gets an existing LbAttachment 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 NewLbAttachment ¶
func NewLbAttachment(ctx *pulumi.Context, name string, args *LbAttachmentArgs, opts ...pulumi.ResourceOpt) (*LbAttachment, error)
NewLbAttachment registers a new resource with the given unique name, arguments, and options.
func (*LbAttachment) ID ¶
func (r *LbAttachment) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LbAttachment) ListenerId ¶
func (r *LbAttachment) ListenerId() *pulumi.StringOutput
The ID of a listener server.
func (*LbAttachment) LoadBalancerId ¶
func (r *LbAttachment) LoadBalancerId() *pulumi.StringOutput
The ID of a load balancer.
func (*LbAttachment) Port ¶
func (r *LbAttachment) Port() *pulumi.IntOutput
Port opened on the backend server to receive requests, range: 1-65535, (Default: `80`).
func (*LbAttachment) PrivateIp ¶
func (r *LbAttachment) PrivateIp() *pulumi.StringOutput
The private ip address for backend servers.
func (*LbAttachment) ResourceId ¶
func (r *LbAttachment) ResourceId() *pulumi.StringOutput
The ID of a backend server.
func (*LbAttachment) ResourceType ¶
func (r *LbAttachment) ResourceType() *pulumi.StringOutput
**Deprecated**, attribute `resourceType` is deprecated for optimizing parameters.
func (*LbAttachment) Status ¶
func (r *LbAttachment) Status() *pulumi.StringOutput
The status of backend servers. Possible values are: `normalRunning`, `exceptionRunning`.
func (*LbAttachment) URN ¶
func (r *LbAttachment) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LbAttachmentArgs ¶
type LbAttachmentArgs struct { // The ID of a listener server. ListenerId interface{} // The ID of a load balancer. LoadBalancerId interface{} // Port opened on the backend server to receive requests, range: 1-65535, (Default: `80`). Port interface{} // The ID of a backend server. ResourceId interface{} // **Deprecated**, attribute `resourceType` is deprecated for optimizing parameters. ResourceType interface{} }
The set of arguments for constructing a LbAttachment resource.
type LbAttachmentState ¶
type LbAttachmentState struct { // The ID of a listener server. ListenerId interface{} // The ID of a load balancer. LoadBalancerId interface{} // Port opened on the backend server to receive requests, range: 1-65535, (Default: `80`). Port interface{} // The private ip address for backend servers. PrivateIp interface{} // The ID of a backend server. ResourceId interface{} // **Deprecated**, attribute `resourceType` is deprecated for optimizing parameters. ResourceType interface{} // The status of backend servers. Possible values are: `normalRunning`, `exceptionRunning`. Status interface{} }
Input properties used for looking up and filtering LbAttachment resources.
type LbListener ¶
type LbListener struct {
// contains filtered or unexported fields
}
Provides a Load Balancer Listener resource.
> **Note** This `listenType` only support when `protocol` is `tcp` in the extranet mode and the default value is `requestProxy`. In addition, in the extranet mode, the `listenType` is `requestProxy` if `protocol`is `http` or `https`, the `listenType` is `packetsTransmit` if `protocol`is `udp`. In the intranet mode, the `listenType` is `packetsTransmit`.
> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/lb_listener.html.markdown.
func GetLbListener ¶
func GetLbListener(ctx *pulumi.Context, name string, id pulumi.ID, state *LbListenerState, opts ...pulumi.ResourceOpt) (*LbListener, error)
GetLbListener gets an existing LbListener 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 NewLbListener ¶
func NewLbListener(ctx *pulumi.Context, name string, args *LbListenerArgs, opts ...pulumi.ResourceOpt) (*LbListener, error)
NewLbListener registers a new resource with the given unique name, arguments, and options.
func (*LbListener) Domain ¶
func (r *LbListener) Domain() *pulumi.StringOutput
Health check domain checking.
func (*LbListener) HealthCheckType ¶
func (r *LbListener) HealthCheckType() *pulumi.StringOutput
Health check method. Possible values are `port` as port checking and `path` as http checking.
func (*LbListener) ID ¶
func (r *LbListener) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LbListener) IdleTimeout ¶
func (r *LbListener) IdleTimeout() *pulumi.IntOutput
Amount of time in seconds to wait for the response for in between two sessions if `listenType` is `requestProxy`, range: 0-86400. (Default: `60`). Amount of time in seconds to wait for one session if `listenType` is `packetsTransmit`, range: 60-900. The session will be closed as soon as no response if it is `0`.
func (*LbListener) ListenType ¶
func (r *LbListener) ListenType() *pulumi.StringOutput
The type of listener. Possible values are `requestProxy` and `packetsTransmit`. When `packetsTransmit` was specified, you need to config the instances by yourself if the instances attach to the load balancer. You may refer to [configuration instruction](https://docs.ucloud.cn/network/ulb/guide/fu-wu-jie-dian-xiang-guan-cao-zuo/editrealserver).
func (*LbListener) LoadBalancerId ¶
func (r *LbListener) LoadBalancerId() *pulumi.StringOutput
The ID of load balancer instance.
func (*LbListener) Method ¶
func (r *LbListener) Method() *pulumi.StringOutput
The load balancer method in which the listener is. Possible values are: `roundrobin`, `source`, `consistentHash`, `sourcePort` , `consistentHashPort`, `weightRoundrobin` and `leastconn`. (Default: `roundrobin`). - The `consistentHash`, `sourcePort` , `consistentHashPort`, `roundrobin`, `source` and `weightRoundrobin` are valid if `listenType` is `packetsTransmit`. - The `roundrobin`, `source` and `weightRoundrobin` and `leastconn` are valid if `listenType` is `requestProxy`.
func (*LbListener) Name ¶
func (r *LbListener) Name() *pulumi.StringOutput
func (*LbListener) Path ¶
func (r *LbListener) Path() *pulumi.StringOutput
Health check path checking.
func (*LbListener) Persistence ¶
func (r *LbListener) Persistence() *pulumi.StringOutput
Indicate whether the persistence session is enabled, it is invalid if `persistenceType` is `none`, an auto-generated string will be exported if `persistenceType` is `serverInsert`, a custom string will be exported if `persistenceType` is `userDefined`.
func (*LbListener) PersistenceType ¶
func (r *LbListener) PersistenceType() *pulumi.StringOutput
The type of session persistence of listener. Possible values are: `none` as disabled, `serverInsert` as auto-generated key and `userDefined` as customized key. (Default: `none`).
func (*LbListener) Port ¶
func (r *LbListener) Port() *pulumi.IntOutput
Port opened on the listeners to receive requests, range: 1-65535. The default value: `80` as `protocol` is `http`, `443` as `protocol` is `https`, `1024` as `protocol` is `tcp` or `udp`.
func (*LbListener) Protocol ¶
func (r *LbListener) Protocol() *pulumi.StringOutput
Listener protocol. Possible values: `http`, `https`, `tcp` if `listenType` is `requestProxy`, `tcp` and `udp` if `listenType` is `packetsTransmit`.
func (*LbListener) Status ¶
func (r *LbListener) Status() *pulumi.StringOutput
Listener status. Possible values are: `allNormal` for all resource functioning well, `partNormal` for partial resource functioning well and `allException` for all resource functioning exceptional.
func (*LbListener) URN ¶
func (r *LbListener) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LbListenerArgs ¶
type LbListenerArgs struct { // Health check domain checking. Domain interface{} // Health check method. Possible values are `port` as port checking and `path` as http checking. HealthCheckType interface{} // Amount of time in seconds to wait for the response for in between two sessions if `listenType` is `requestProxy`, range: 0-86400. (Default: `60`). Amount of time in seconds to wait for one session if `listenType` is `packetsTransmit`, range: 60-900. The session will be closed as soon as no response if it is `0`. IdleTimeout interface{} // The type of listener. Possible values are `requestProxy` and `packetsTransmit`. When `packetsTransmit` was specified, you need to config the instances by yourself if the instances attach to the load balancer. You may refer to [configuration instruction](https://docs.ucloud.cn/network/ulb/guide/fu-wu-jie-dian-xiang-guan-cao-zuo/editrealserver). ListenType interface{} // The ID of load balancer instance. LoadBalancerId interface{} // The load balancer method in which the listener is. Possible values are: `roundrobin`, `source`, `consistentHash`, `sourcePort` , `consistentHashPort`, `weightRoundrobin` and `leastconn`. (Default: `roundrobin`). // - The `consistentHash`, `sourcePort` , `consistentHashPort`, `roundrobin`, `source` and `weightRoundrobin` are valid if `listenType` is `packetsTransmit`. // - The `roundrobin`, `source` and `weightRoundrobin` and `leastconn` are valid if `listenType` is `requestProxy`. Method interface{} Name interface{} // Health check path checking. Path interface{} // Indicate whether the persistence session is enabled, it is invalid if `persistenceType` is `none`, an auto-generated string will be exported if `persistenceType` is `serverInsert`, a custom string will be exported if `persistenceType` is `userDefined`. Persistence interface{} // The type of session persistence of listener. Possible values are: `none` as disabled, `serverInsert` as auto-generated key and `userDefined` as customized key. (Default: `none`). PersistenceType interface{} // Port opened on the listeners to receive requests, range: 1-65535. The default value: `80` as `protocol` is `http`, `443` as `protocol` is `https`, `1024` as `protocol` is `tcp` or `udp`. Port interface{} // Listener protocol. Possible values: `http`, `https`, `tcp` if `listenType` is `requestProxy`, `tcp` and `udp` if `listenType` is `packetsTransmit`. Protocol interface{} }
The set of arguments for constructing a LbListener resource.
type LbListenerState ¶
type LbListenerState struct { // Health check domain checking. Domain interface{} // Health check method. Possible values are `port` as port checking and `path` as http checking. HealthCheckType interface{} // Amount of time in seconds to wait for the response for in between two sessions if `listenType` is `requestProxy`, range: 0-86400. (Default: `60`). Amount of time in seconds to wait for one session if `listenType` is `packetsTransmit`, range: 60-900. The session will be closed as soon as no response if it is `0`. IdleTimeout interface{} // The type of listener. Possible values are `requestProxy` and `packetsTransmit`. When `packetsTransmit` was specified, you need to config the instances by yourself if the instances attach to the load balancer. You may refer to [configuration instruction](https://docs.ucloud.cn/network/ulb/guide/fu-wu-jie-dian-xiang-guan-cao-zuo/editrealserver). ListenType interface{} // The ID of load balancer instance. LoadBalancerId interface{} // The load balancer method in which the listener is. Possible values are: `roundrobin`, `source`, `consistentHash`, `sourcePort` , `consistentHashPort`, `weightRoundrobin` and `leastconn`. (Default: `roundrobin`). // - The `consistentHash`, `sourcePort` , `consistentHashPort`, `roundrobin`, `source` and `weightRoundrobin` are valid if `listenType` is `packetsTransmit`. // - The `roundrobin`, `source` and `weightRoundrobin` and `leastconn` are valid if `listenType` is `requestProxy`. Method interface{} Name interface{} // Health check path checking. Path interface{} // Indicate whether the persistence session is enabled, it is invalid if `persistenceType` is `none`, an auto-generated string will be exported if `persistenceType` is `serverInsert`, a custom string will be exported if `persistenceType` is `userDefined`. Persistence interface{} // The type of session persistence of listener. Possible values are: `none` as disabled, `serverInsert` as auto-generated key and `userDefined` as customized key. (Default: `none`). PersistenceType interface{} // Port opened on the listeners to receive requests, range: 1-65535. The default value: `80` as `protocol` is `http`, `443` as `protocol` is `https`, `1024` as `protocol` is `tcp` or `udp`. Port interface{} // Listener protocol. Possible values: `http`, `https`, `tcp` if `listenType` is `requestProxy`, `tcp` and `udp` if `listenType` is `packetsTransmit`. Protocol interface{} // Listener status. Possible values are: `allNormal` for all resource functioning well, `partNormal` for partial resource functioning well and `allException` for all resource functioning exceptional. Status interface{} }
Input properties used for looking up and filtering LbListener resources.
type LbRule ¶
type LbRule struct {
// contains filtered or unexported fields
}
Provides a Load Balancer Rule resource to add content forwarding policies for Load Balancer backend resource.
> **Note** The Load Balancer Rule can only be define while the `protocol` of lb listener is one of HTTP and HTTPS. In addition, should set one of `domain` and `path` if defined.
> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/lb_rule.html.markdown.
func GetLbRule ¶
func GetLbRule(ctx *pulumi.Context, name string, id pulumi.ID, state *LbRuleState, opts ...pulumi.ResourceOpt) (*LbRule, error)
GetLbRule gets an existing LbRule 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 NewLbRule ¶
func NewLbRule(ctx *pulumi.Context, name string, args *LbRuleArgs, opts ...pulumi.ResourceOpt) (*LbRule, error)
NewLbRule registers a new resource with the given unique name, arguments, and options.
func (*LbRule) BackendIds ¶
func (r *LbRule) BackendIds() *pulumi.ArrayOutput
The IDs of the backend servers where rule applies, this argument is populated base on the `backendId` responded from `lbAttachment` create.
func (*LbRule) Domain ¶
func (r *LbRule) Domain() *pulumi.StringOutput
The domain of content forward matching fields. `path` and `domain` cannot coexist. `path` and `domain` must be filled in one.
func (*LbRule) ListenerId ¶
func (r *LbRule) ListenerId() *pulumi.StringOutput
The ID of a listener server.
func (*LbRule) LoadBalancerId ¶
func (r *LbRule) LoadBalancerId() *pulumi.StringOutput
The ID of a load balancer.
func (*LbRule) Path ¶
func (r *LbRule) Path() *pulumi.StringOutput
The path of Content forward matching fields. `path` and `domain` cannot coexist. `path` and `domain` must be filled in one.
type LbRuleArgs ¶
type LbRuleArgs struct { // The IDs of the backend servers where rule applies, this argument is populated base on the `backendId` responded from `lbAttachment` create. BackendIds interface{} // The domain of content forward matching fields. `path` and `domain` cannot coexist. `path` and `domain` must be filled in one. Domain interface{} // The ID of a listener server. ListenerId interface{} // The ID of a load balancer. LoadBalancerId interface{} // The path of Content forward matching fields. `path` and `domain` cannot coexist. `path` and `domain` must be filled in one. Path interface{} }
The set of arguments for constructing a LbRule resource.
type LbRuleState ¶
type LbRuleState struct { // The IDs of the backend servers where rule applies, this argument is populated base on the `backendId` responded from `lbAttachment` create. BackendIds interface{} // The domain of content forward matching fields. `path` and `domain` cannot coexist. `path` and `domain` must be filled in one. Domain interface{} // The ID of a listener server. ListenerId interface{} // The ID of a load balancer. LoadBalancerId interface{} // The path of Content forward matching fields. `path` and `domain` cannot coexist. `path` and `domain` must be filled in one. Path interface{} }
Input properties used for looking up and filtering LbRule resources.
type LbSsl ¶
type LbSsl struct {
// contains filtered or unexported fields
}
Provides a Load Balancer SSL certificate resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/lb_ssl.html.markdown.
func GetLbSsl ¶
func GetLbSsl(ctx *pulumi.Context, name string, id pulumi.ID, state *LbSslState, opts ...pulumi.ResourceOpt) (*LbSsl, error)
GetLbSsl gets an existing LbSsl 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 NewLbSsl ¶
func NewLbSsl(ctx *pulumi.Context, name string, args *LbSslArgs, opts ...pulumi.ResourceOpt) (*LbSsl, error)
NewLbSsl registers a new resource with the given unique name, arguments, and options.
func (*LbSsl) CaCert ¶
func (r *LbSsl) CaCert() *pulumi.StringOutput
The content of the CA certificate about ssl certificate.
func (*LbSsl) CreateTime ¶
func (r *LbSsl) CreateTime() *pulumi.StringOutput
The time of creation for lb ssl, formatted in RFC3339 time string.
func (*LbSsl) Name ¶
func (r *LbSsl) Name() *pulumi.StringOutput
func (*LbSsl) PrivateKey ¶
func (r *LbSsl) PrivateKey() *pulumi.StringOutput
The content of the private key about ssl certificate.
func (*LbSsl) UserCert ¶
func (r *LbSsl) UserCert() *pulumi.StringOutput
The content of the user certificate about ssl certificate.
type LbSslArgs ¶
type LbSslArgs struct { // The content of the CA certificate about ssl certificate. CaCert interface{} Name interface{} // The content of the private key about ssl certificate. PrivateKey interface{} // The content of the user certificate about ssl certificate. UserCert interface{} }
The set of arguments for constructing a LbSsl resource.
type LbSslAttachment ¶
type LbSslAttachment struct {
// contains filtered or unexported fields
}
Provides a Load Balancer SSL attachment resource for attaching SSL certificate to Load Balancer Listener.
> This content is derived from https://github.com/terraform-providers/terraform-provider-ucloud/blob/master/website/docs/r/lb_ssl_attachment.html.markdown.
func GetLbSslAttachment ¶
func GetLbSslAttachment(ctx *pulumi.Context, name string, id pulumi.ID, state *LbSslAttachmentState, opts ...pulumi.ResourceOpt) (*LbSslAttachment, error)
GetLbSslAttachment gets an existing LbSslAttachment 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 NewLbSslAttachment ¶
func NewLbSslAttachment(ctx *pulumi.Context, name string, args *LbSslAttachmentArgs, opts ...pulumi.ResourceOpt) (*LbSslAttachment, error)
NewLbSslAttachment registers a new resource with the given unique name, arguments, and options.
func (*LbSslAttachment) ID ¶
func (r *LbSslAttachment) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LbSslAttachment) ListenerId ¶
func (r *LbSslAttachment) ListenerId() *pulumi.StringOutput
The ID of listener servers.
func (*LbSslAttachment) LoadBalancerId ¶
func (r *LbSslAttachment) LoadBalancerId() *pulumi.StringOutput
func (*LbSslAttachment) SslId ¶
func (r *LbSslAttachment) SslId() *pulumi.StringOutput
The ID of SSL certificate.
func (*LbSslAttachment) URN ¶
func (r *LbSslAttachment) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LbSslAttachmentArgs ¶
type LbSslAttachmentArgs struct { // The ID of listener servers. ListenerId interface{} LoadBalancerId interface{} // The ID of SSL certificate. SslId interface{} }
The set of arguments for constructing a LbSslAttachment resource.
type LbSslAttachmentState ¶
type LbSslAttachmentState struct { // The ID of listener servers. ListenerId interface{} LoadBalancerId interface{} // The ID of SSL certificate. SslId interface{} }
Input properties used for looking up and filtering LbSslAttachment resources.
type LbSslState ¶
type LbSslState struct { // The content of the CA certificate about ssl certificate. CaCert interface{} // The time of creation for lb ssl, formatted in RFC3339 time string. CreateTime interface{} Name interface{} // The content of the private key about ssl certificate. PrivateKey interface{} // The content of the user certificate about ssl certificate. UserCert interface{} }
Input properties used for looking up and filtering LbSsl resources.
type LbState ¶
type LbState struct { // **Deprecated**, argument `chargeType` is deprecated for optimizing parameters. ChargeType interface{} // The time of creation for load balancer, formatted in RFC3339 time string. CreateTime interface{} // **Deprecated** attribute `expireTime` is deprecated for optimizing outputs. ExpireTime interface{} // Indicate whether the load balancer is intranet mode.(Default: `"false"`) Internal interface{} // It is a nested type which documented below. IpSets interface{} Name interface{} // The IP address of intranet IP. It is `""` if `internal` is `false`. PrivateIp interface{} // The remarks of the load balancer. (Default: `""`). Remark interface{} // The ID of subnet that intranet load balancer belongs to. This argument is not required if default subnet. SubnetId interface{} // A tag assigned to load balancer, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). Tag interface{} // The ID of the VPC linked to the Load balancer, This argument is not required if default VPC. VpcId interface{} }
Input properties used for looking up and filtering Lb resources.