Skip to content

ILoadBalancer

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb.datasource.LoadBalancer, github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb.datasource.ILoadBalancer

Represents a LoadBalancer.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrAddress interface{} Attribute Address: The service IP address of the CLB instance.
AttrAddressIpVersion interface{} Attribute AddressIpVersion: The version of the IP address.
AttrAddressType interface{} Attribute AddressType: The address type of the CLB instance.
AttrAutoReleaseTime interface{} Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
AttrBackendServers interface{} Attribute BackendServers: The backend servers of the CLB instance.
AttrBandwidth interface{} Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.
AttrCreateTime interface{} Attribute CreateTime: The time when the CLB instance was created.
AttrCreateTimeStamp interface{} Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
AttrDeleteProtection interface{} Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
AttrEndTime interface{} Attribute EndTime: The time when the CLB instance expires.
AttrEndTimeStamp interface{} Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
AttrInstanceChargeType interface{} Attribute InstanceChargeType: Instance billing method.
AttrInternetChargeType interface{} Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
AttrListenerPortsAndProtocal interface{} Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
AttrListenerPortsAndProtocol interface{} Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
AttrLoadBalancerId interface{} Attribute LoadBalancerId: The CLB instance ID.
AttrLoadBalancerName interface{} Attribute LoadBalancerName: The name of the CLB instance.
AttrLoadBalancerSpec interface{} Attribute LoadBalancerSpec: The specification of the CLB instance.
AttrMasterZoneId interface{} Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.
AttrModificationProtectionReason interface{} Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
AttrModificationProtectionStatus interface{} Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
AttrNetworkType interface{} Attribute NetworkType: The network type of the CLB instance.
AttrPaymentType interface{} Attribute PaymentType: Load balancing instance payment type.
AttrRegionIdAlias interface{} Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
AttrRenewalCycUnit interface{} Attribute RenewalCycUnit: The auto-renewal cycle.
AttrRenewalDuration interface{} Attribute RenewalDuration: The auto-renewal duration.
AttrRenewalStatus interface{} Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
AttrResourceGroupId interface{} Attribute ResourceGroupId: The resource group ID.
AttrSlaveZoneId interface{} Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.
AttrTags interface{} Attribute Tags: The tags of the CLB instance.
AttrVpcId interface{} Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.
AttrVSwitchId interface{} Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.
Props LoadBalancerProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrAddressRequired

func AttrAddress() interface{}
  • Type: interface{}

Attribute Address: The service IP address of the CLB instance.


AttrAddressIpVersionRequired

func AttrAddressIpVersion() interface{}
  • Type: interface{}

Attribute AddressIpVersion: The version of the IP address.

Valid values: ipv4 and ipv6.


AttrAddressTypeRequired

func AttrAddressType() interface{}
  • Type: interface{}

Attribute AddressType: The address type of the CLB instance.


AttrAutoReleaseTimeRequired

func AttrAutoReleaseTime() interface{}
  • Type: interface{}

Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.


AttrBackendServersRequired

func AttrBackendServers() interface{}
  • Type: interface{}

Attribute BackendServers: The backend servers of the CLB instance.


AttrBandwidthRequired

func AttrBandwidth() interface{}
  • Type: interface{}

Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

Attribute CreateTime: The time when the CLB instance was created.


AttrCreateTimeStampRequired

func AttrCreateTimeStamp() interface{}
  • Type: interface{}

Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.


AttrDeleteProtectionRequired

func AttrDeleteProtection() interface{}
  • Type: interface{}

Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.


AttrEndTimeRequired

func AttrEndTime() interface{}
  • Type: interface{}

Attribute EndTime: The time when the CLB instance expires.


AttrEndTimeStampRequired

func AttrEndTimeStamp() interface{}
  • Type: interface{}

Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.


AttrInstanceChargeTypeRequired

func AttrInstanceChargeType() interface{}
  • Type: interface{}

Attribute InstanceChargeType: Instance billing method.


AttrInternetChargeTypeRequired

func AttrInternetChargeType() interface{}
  • Type: interface{}

Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.


AttrListenerPortsAndProtocalRequired

func AttrListenerPortsAndProtocal() interface{}
  • Type: interface{}

Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.


AttrListenerPortsAndProtocolRequired

func AttrListenerPortsAndProtocol() interface{}
  • Type: interface{}

Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.


AttrLoadBalancerIdRequired

func AttrLoadBalancerId() interface{}
  • Type: interface{}

Attribute LoadBalancerId: The CLB instance ID.


AttrLoadBalancerNameRequired

func AttrLoadBalancerName() interface{}
  • Type: interface{}

Attribute LoadBalancerName: The name of the CLB instance.


AttrLoadBalancerSpecRequired

func AttrLoadBalancerSpec() interface{}
  • Type: interface{}

Attribute LoadBalancerSpec: The specification of the CLB instance.


AttrMasterZoneIdRequired

func AttrMasterZoneId() interface{}
  • Type: interface{}

Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.


AttrModificationProtectionReasonRequired

func AttrModificationProtectionReason() interface{}
  • Type: interface{}

Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.


AttrModificationProtectionStatusRequired

func AttrModificationProtectionStatus() interface{}
  • Type: interface{}

Attribute ModificationProtectionStatus: Load balancing modifies the protection state.


AttrNetworkTypeRequired

func AttrNetworkType() interface{}
  • Type: interface{}

Attribute NetworkType: The network type of the CLB instance.


AttrPaymentTypeRequired

func AttrPaymentType() interface{}
  • Type: interface{}

Attribute PaymentType: Load balancing instance payment type.


AttrRegionIdAliasRequired

func AttrRegionIdAlias() interface{}
  • Type: interface{}

Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.


AttrRenewalCycUnitRequired

func AttrRenewalCycUnit() interface{}
  • Type: interface{}

Attribute RenewalCycUnit: The auto-renewal cycle.

Valid values: Year and Month. Default value: Month.


AttrRenewalDurationRequired

func AttrRenewalDuration() interface{}
  • Type: interface{}

Attribute RenewalDuration: The auto-renewal duration.

This parameter is valid only if RenewalStatus is set to AutoRenewal.


AttrRenewalStatusRequired

func AttrRenewalStatus() interface{}
  • Type: interface{}

Attribute RenewalStatus: Indicates whether auto-renewal is enabled.


AttrResourceGroupIdRequired

func AttrResourceGroupId() interface{}
  • Type: interface{}

Attribute ResourceGroupId: The resource group ID.


AttrSlaveZoneIdRequired

func AttrSlaveZoneId() interface{}
  • Type: interface{}

Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.


AttrTagsRequired

func AttrTags() interface{}
  • Type: interface{}

Attribute Tags: The tags of the CLB instance.


AttrVpcIdRequired

func AttrVpcId() interface{}
  • Type: interface{}

Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.


AttrVSwitchIdRequired

func AttrVSwitchId() interface{}
  • Type: interface{}

Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.


PropsRequired

func Props() LoadBalancerProps