Class 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 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.