com.pulumi.alicloud.dns.inputs.AddressPoolAddressArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.alicloud.dns.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class AddressPoolAddressArgs extends com.pulumi.resources.ResourceArgs {
public static final AddressPoolAddressArgs Empty = new AddressPoolAddressArgs();
/**
* The address that you want to add to the address pool.
*
*/
@Import(name="address", required=true)
private Output address;
/**
* @return The address that you want to add to the address pool.
*
*/
public Output address() {
return this.address;
}
/**
* The source region of the address. expressed as a JSON string. The structure is as follows:
* * `LineCodes`: List of home lineCodes.
* * `lineCodeRectifyType`: The rectification type of the line code. Default value: `AUTO`. Valid values: `NO_NEED`: no need for rectification. `RECTIFIED`: rectified. `AUTO`: automatic rectification.
*
*/
@Import(name="attributeInfo", required=true)
private Output attributeInfo;
/**
* @return The source region of the address. expressed as a JSON string. The structure is as follows:
* * `LineCodes`: List of home lineCodes.
* * `lineCodeRectifyType`: The rectification type of the line code. Default value: `AUTO`. Valid values: `NO_NEED`: no need for rectification. `RECTIFIED`: rectified. `AUTO`: automatic rectification.
*
*/
public Output attributeInfo() {
return this.attributeInfo;
}
/**
* The weight of the address. **NOTE:** The attribute is valid when the attribute `lba_strategy` is `RATIO`.
*
*/
@Import(name="lbaWeight")
private @Nullable Output lbaWeight;
/**
* @return The weight of the address. **NOTE:** The attribute is valid when the attribute `lba_strategy` is `RATIO`.
*
*/
public Optional