Package com.pulumi.alicloud.alb
Class LoadBalancerCommonBandwidthPackageAttachment
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.alicloud.alb.LoadBalancerCommonBandwidthPackageAttachment
-
public class LoadBalancerCommonBandwidthPackageAttachment extends com.pulumi.resources.CustomResource
Provides a Alb Load Balancer Common Bandwidth Package Attachment resource. For information about Alb Load Balancer Common Bandwidth Package Attachment and how to use it, see [What is Load Balancer Common Bandwidth Package Attachment](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-attachcommonbandwidthpackagetoloadbalancer). > **NOTE:** Available since v1.200.0. ## Import Alb Load Balancer Common Bandwidth Package Attachment can be imported using the id, e.g. ```sh $ pulumi import alicloud:alb/loadBalancerCommonBandwidthPackageAttachment:LoadBalancerCommonBandwidthPackageAttachment example <load_balancer_id>:<bandwidth_package_id> ```
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerCommonBandwidthPackageAttachment(java.lang.String name)
LoadBalancerCommonBandwidthPackageAttachment(java.lang.String name, LoadBalancerCommonBandwidthPackageAttachmentArgs args)
LoadBalancerCommonBandwidthPackageAttachment(java.lang.String name, LoadBalancerCommonBandwidthPackageAttachmentArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
bandwidthPackageId()
com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>
dryRun()
static LoadBalancerCommonBandwidthPackageAttachment
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, LoadBalancerCommonBandwidthPackageAttachmentState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
loadBalancerId()
com.pulumi.core.Output<java.lang.String>
status()
-
-
-
Constructor Detail
-
LoadBalancerCommonBandwidthPackageAttachment
public LoadBalancerCommonBandwidthPackageAttachment(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
LoadBalancerCommonBandwidthPackageAttachment
public LoadBalancerCommonBandwidthPackageAttachment(java.lang.String name, LoadBalancerCommonBandwidthPackageAttachmentArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
LoadBalancerCommonBandwidthPackageAttachment
public LoadBalancerCommonBandwidthPackageAttachment(java.lang.String name, LoadBalancerCommonBandwidthPackageAttachmentArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
bandwidthPackageId
public com.pulumi.core.Output<java.lang.String> bandwidthPackageId()
- Returns:
- The ID of the bound shared bandwidth package.
-
dryRun
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> dryRun()
- Returns:
- Whether to PreCheck this request only. Value:-**true**: sends a check request and does not bind the shared bandwidth package to the load balancing instance. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.-**false** (default): Sends a normal request, returns the HTTP 2xx status code after the check, and directly performs the operation.
-
loadBalancerId
public com.pulumi.core.Output<java.lang.String> loadBalancerId()
- Returns:
- The ID of the applied server load balancer instance.
-
status
public com.pulumi.core.Output<java.lang.String> status()
- Returns:
- The status of the Application Load balancing instance. Value:-**Inactive**: Stopped, indicating that the instance listener will no longer forward traffic.-**Active**: running.-**Provisioning**: The project is being created.-**Configuring**: The configuration is being changed.-**CreateFailed**: The instance cannot be deleted without any charge.
-
get
public static LoadBalancerCommonBandwidthPackageAttachment get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable LoadBalancerCommonBandwidthPackageAttachmentState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-