1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecs
  5. EipAddress
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

alicloud.ecs.EipAddress

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

    Import

    EIP Address can be imported using the id, e.g.

     $ pulumi import alicloud:ecs/eipAddress:EipAddress example <id>
    

    Create EipAddress Resource

    new EipAddress(name: string, args?: EipAddressArgs, opts?: CustomResourceOptions);
    @overload
    def EipAddress(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   activity_id: Optional[str] = None,
                   address_name: Optional[str] = None,
                   auto_pay: Optional[bool] = None,
                   bandwidth: Optional[str] = None,
                   deletion_protection: Optional[bool] = None,
                   description: Optional[str] = None,
                   high_definition_monitor_log_status: Optional[str] = None,
                   instance_charge_type: Optional[str] = None,
                   internet_charge_type: Optional[str] = None,
                   isp: Optional[str] = None,
                   log_project: Optional[str] = None,
                   log_store: Optional[str] = None,
                   name: Optional[str] = None,
                   netmode: Optional[str] = None,
                   payment_type: Optional[str] = None,
                   period: Optional[int] = None,
                   pricing_cycle: Optional[str] = None,
                   public_ip_address_pool_id: Optional[str] = None,
                   resource_group_id: Optional[str] = None,
                   security_protection_types: Optional[Sequence[str]] = None,
                   tags: Optional[Mapping[str, Any]] = None,
                   zone: Optional[str] = None)
    @overload
    def EipAddress(resource_name: str,
                   args: Optional[EipAddressArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    func NewEipAddress(ctx *Context, name string, args *EipAddressArgs, opts ...ResourceOption) (*EipAddress, error)
    public EipAddress(string name, EipAddressArgs? args = null, CustomResourceOptions? opts = null)
    public EipAddress(String name, EipAddressArgs args)
    public EipAddress(String name, EipAddressArgs args, CustomResourceOptions options)
    
    type: alicloud:ecs:EipAddress
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args EipAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EipAddressArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EipAddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EipAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EipAddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EipAddress Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EipAddress resource accepts the following input properties:

    ActivityId string

    Special activity ID. This parameter is not required.

    AddressName string

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    AutoPay bool

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    Bandwidth string

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    DeletionProtection bool

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    Description string

    The description of the EIP.

    HighDefinitionMonitorLogStatus string

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    InstanceChargeType string

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    Isp string

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    LogProject string

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    LogStore string

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    Name string

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string

    The type of the network. Valid value is public (Internet).

    PaymentType string

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    Period int

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    PricingCycle string

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    PublicIpAddressPoolId string

    The ID of the IP address pool to which the EIP belongs.

    ResourceGroupId string

    The ID of the resource group.

    SecurityProtectionTypes List<string>

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Tags Dictionary<string, object>

    The tag of the resource.

    Zone string

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    ActivityId string

    Special activity ID. This parameter is not required.

    AddressName string

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    AutoPay bool

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    Bandwidth string

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    DeletionProtection bool

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    Description string

    The description of the EIP.

    HighDefinitionMonitorLogStatus string

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    InstanceChargeType string

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    Isp string

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    LogProject string

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    LogStore string

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    Name string

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string

    The type of the network. Valid value is public (Internet).

    PaymentType string

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    Period int

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    PricingCycle string

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    PublicIpAddressPoolId string

    The ID of the IP address pool to which the EIP belongs.

    ResourceGroupId string

    The ID of the resource group.

    SecurityProtectionTypes []string

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Tags map[string]interface{}

    The tag of the resource.

    Zone string

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String

    Special activity ID. This parameter is not required.

    addressName String

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    autoPay Boolean

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth String

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    deletionProtection Boolean

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description String

    The description of the EIP.

    highDefinitionMonitorLogStatus String

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instanceChargeType String

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    isp String

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    logProject String

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    logStore String

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name String

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String

    The type of the network. Valid value is public (Internet).

    paymentType String

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period Integer

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricingCycle String

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    publicIpAddressPoolId String

    The ID of the IP address pool to which the EIP belongs.

    resourceGroupId String

    The ID of the resource group.

    securityProtectionTypes List<String>

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags Map<String,Object>

    The tag of the resource.

    zone String

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId string

    Special activity ID. This parameter is not required.

    addressName string

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    autoPay boolean

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth string

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    deletionProtection boolean

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description string

    The description of the EIP.

    highDefinitionMonitorLogStatus string

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instanceChargeType string

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType string

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    isp string

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    logProject string

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    logStore string

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name string

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode string

    The type of the network. Valid value is public (Internet).

    paymentType string

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period number

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricingCycle string

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    publicIpAddressPoolId string

    The ID of the IP address pool to which the EIP belongs.

    resourceGroupId string

    The ID of the resource group.

    securityProtectionTypes string[]

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags {[key: string]: any}

    The tag of the resource.

    zone string

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activity_id str

    Special activity ID. This parameter is not required.

    address_name str

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    auto_pay bool

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth str

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    deletion_protection bool

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description str

    The description of the EIP.

    high_definition_monitor_log_status str

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instance_charge_type str

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internet_charge_type str

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    isp str

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    log_project str

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    log_store str

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name str

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode str

    The type of the network. Valid value is public (Internet).

    payment_type str

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period int

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricing_cycle str

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    public_ip_address_pool_id str

    The ID of the IP address pool to which the EIP belongs.

    resource_group_id str

    The ID of the resource group.

    security_protection_types Sequence[str]

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags Mapping[str, Any]

    The tag of the resource.

    zone str

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String

    Special activity ID. This parameter is not required.

    addressName String

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    autoPay Boolean

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth String

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    deletionProtection Boolean

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description String

    The description of the EIP.

    highDefinitionMonitorLogStatus String

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instanceChargeType String

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    isp String

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    logProject String

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    logStore String

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name String

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String

    The type of the network. Valid value is public (Internet).

    paymentType String

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period Number

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricingCycle String

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    publicIpAddressPoolId String

    The ID of the IP address pool to which the EIP belongs.

    resourceGroupId String

    The ID of the resource group.

    securityProtectionTypes List<String>

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    tags Map<Any>

    The tag of the resource.

    zone String

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EipAddress resource produces the following output properties:

    CreateTime string

    The time when the EIP was created.

    Id string

    The provider-assigned unique ID for this managed resource.

    IpAddress string

    The IP address of the EIP.

    Status string

    The status of the EIP.

    CreateTime string

    The time when the EIP was created.

    Id string

    The provider-assigned unique ID for this managed resource.

    IpAddress string

    The IP address of the EIP.

    Status string

    The status of the EIP.

    createTime String

    The time when the EIP was created.

    id String

    The provider-assigned unique ID for this managed resource.

    ipAddress String

    The IP address of the EIP.

    status String

    The status of the EIP.

    createTime string

    The time when the EIP was created.

    id string

    The provider-assigned unique ID for this managed resource.

    ipAddress string

    The IP address of the EIP.

    status string

    The status of the EIP.

    create_time str

    The time when the EIP was created.

    id str

    The provider-assigned unique ID for this managed resource.

    ip_address str

    The IP address of the EIP.

    status str

    The status of the EIP.

    createTime String

    The time when the EIP was created.

    id String

    The provider-assigned unique ID for this managed resource.

    ipAddress String

    The IP address of the EIP.

    status String

    The status of the EIP.

    Look up Existing EipAddress Resource

    Get an existing EipAddress resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EipAddressState, opts?: CustomResourceOptions): EipAddress
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activity_id: Optional[str] = None,
            address_name: Optional[str] = None,
            auto_pay: Optional[bool] = None,
            bandwidth: Optional[str] = None,
            create_time: Optional[str] = None,
            deletion_protection: Optional[bool] = None,
            description: Optional[str] = None,
            high_definition_monitor_log_status: Optional[str] = None,
            instance_charge_type: Optional[str] = None,
            internet_charge_type: Optional[str] = None,
            ip_address: Optional[str] = None,
            isp: Optional[str] = None,
            log_project: Optional[str] = None,
            log_store: Optional[str] = None,
            name: Optional[str] = None,
            netmode: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            pricing_cycle: Optional[str] = None,
            public_ip_address_pool_id: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            security_protection_types: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            zone: Optional[str] = None) -> EipAddress
    func GetEipAddress(ctx *Context, name string, id IDInput, state *EipAddressState, opts ...ResourceOption) (*EipAddress, error)
    public static EipAddress Get(string name, Input<string> id, EipAddressState? state, CustomResourceOptions? opts = null)
    public static EipAddress get(String name, Output<String> id, EipAddressState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActivityId string

    Special activity ID. This parameter is not required.

    AddressName string

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    AutoPay bool

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    Bandwidth string

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    CreateTime string

    The time when the EIP was created.

    DeletionProtection bool

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    Description string

    The description of the EIP.

    HighDefinitionMonitorLogStatus string

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    InstanceChargeType string

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    IpAddress string

    The IP address of the EIP.

    Isp string

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    LogProject string

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    LogStore string

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    Name string

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string

    The type of the network. Valid value is public (Internet).

    PaymentType string

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    Period int

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    PricingCycle string

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    PublicIpAddressPoolId string

    The ID of the IP address pool to which the EIP belongs.

    ResourceGroupId string

    The ID of the resource group.

    SecurityProtectionTypes List<string>

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Status string

    The status of the EIP.

    Tags Dictionary<string, object>

    The tag of the resource.

    Zone string

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    ActivityId string

    Special activity ID. This parameter is not required.

    AddressName string

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    AutoPay bool

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    Bandwidth string

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    CreateTime string

    The time when the EIP was created.

    DeletionProtection bool

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    Description string

    The description of the EIP.

    HighDefinitionMonitorLogStatus string

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    InstanceChargeType string

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    InternetChargeType string

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    IpAddress string

    The IP address of the EIP.

    Isp string

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    LogProject string

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    LogStore string

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    Name string

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    Netmode string

    The type of the network. Valid value is public (Internet).

    PaymentType string

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    Period int

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    PricingCycle string

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    PublicIpAddressPoolId string

    The ID of the IP address pool to which the EIP belongs.

    ResourceGroupId string

    The ID of the resource group.

    SecurityProtectionTypes []string

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    Status string

    The status of the EIP.

    Tags map[string]interface{}

    The tag of the resource.

    Zone string

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String

    Special activity ID. This parameter is not required.

    addressName String

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    autoPay Boolean

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth String

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    createTime String

    The time when the EIP was created.

    deletionProtection Boolean

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description String

    The description of the EIP.

    highDefinitionMonitorLogStatus String

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instanceChargeType String

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    ipAddress String

    The IP address of the EIP.

    isp String

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    logProject String

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    logStore String

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name String

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String

    The type of the network. Valid value is public (Internet).

    paymentType String

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period Integer

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricingCycle String

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    publicIpAddressPoolId String

    The ID of the IP address pool to which the EIP belongs.

    resourceGroupId String

    The ID of the resource group.

    securityProtectionTypes List<String>

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status String

    The status of the EIP.

    tags Map<String,Object>

    The tag of the resource.

    zone String

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId string

    Special activity ID. This parameter is not required.

    addressName string

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    autoPay boolean

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth string

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    createTime string

    The time when the EIP was created.

    deletionProtection boolean

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description string

    The description of the EIP.

    highDefinitionMonitorLogStatus string

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instanceChargeType string

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType string

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    ipAddress string

    The IP address of the EIP.

    isp string

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    logProject string

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    logStore string

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name string

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode string

    The type of the network. Valid value is public (Internet).

    paymentType string

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period number

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricingCycle string

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    publicIpAddressPoolId string

    The ID of the IP address pool to which the EIP belongs.

    resourceGroupId string

    The ID of the resource group.

    securityProtectionTypes string[]

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status string

    The status of the EIP.

    tags {[key: string]: any}

    The tag of the resource.

    zone string

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activity_id str

    Special activity ID. This parameter is not required.

    address_name str

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    auto_pay bool

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth str

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    create_time str

    The time when the EIP was created.

    deletion_protection bool

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description str

    The description of the EIP.

    high_definition_monitor_log_status str

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instance_charge_type str

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internet_charge_type str

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    ip_address str

    The IP address of the EIP.

    isp str

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    log_project str

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    log_store str

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name str

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode str

    The type of the network. Valid value is public (Internet).

    payment_type str

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period int

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricing_cycle str

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    public_ip_address_pool_id str

    The ID of the IP address pool to which the EIP belongs.

    resource_group_id str

    The ID of the resource group.

    security_protection_types Sequence[str]

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status str

    The status of the EIP.

    tags Mapping[str, Any]

    The tag of the resource.

    zone str

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    activityId String

    Special activity ID. This parameter is not required.

    addressName String

    The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

    autoPay Boolean

    Whether to pay automatically. Valid values: true and false. Default value: true. When auto_pay is true, The order will be automatically paid. When auto_pay is false, The order needs to go to the order center to complete the payment. NOTE: When payment_type is Subscription, this parameter is valid.

    bandwidth String

    The maximum bandwidth of the EIP. Valid values: 1 to 200. Unit: Mbit/s. Default value: 5.

    createTime String

    The time when the EIP was created.

    deletionProtection Boolean

    Whether the delete protection function is turned on.

    • true: enabled.
    • false: not enabled.
    description String

    The description of the EIP.

    highDefinitionMonitorLogStatus String

    Whether the second-level monitoring is enabled for the EIP.

    • OFF: not enabled.
    • ON: enabled.
    instanceChargeType String

    . Field 'instance_charge_type' has been deprecated from provider version 1.126.0. New field 'payment_type' instead.

    Deprecated:

    Field 'instance_charge_type' has been deprecated since provider version 1.126.0. New field 'payment_type' instead.

    internetChargeType String

    Renewal Payment type.

    • PayByBandwidth: billed by fixed bandwidth.
    • PayByTraffic: Billing by traffic.
    ipAddress String

    The IP address of the EIP.

    isp String

    The line type. You can set this parameter only when you create a PayAsYouGo EIP. Valid values:

    logProject String

    The Name of the logging service LogProject. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    logStore String

    The Name of the logging service LogStore. Current parameter is required when configuring high precision second-by-second monitoring for EIP.

    name String

    . Field 'name' has been deprecated from provider version 1.126.0. New field 'address_name' instead.

    Deprecated:

    Field 'name' has been deprecated since provider version 1.126.0. New field 'address_name' instead.

    netmode String

    The type of the network. Valid value is public (Internet).

    paymentType String

    The billing method of the EIP. Valid values: Subscription, PayAsYouGo.

    period Number

    When the PricingCycle is set to Month, the Period value ranges from 1 to 9.When the PricingCycle is set to Year, the Period range is 1 to 5.If the value of the InstanceChargeType parameter is PrePaid, this parameter is required. If the value of the InstanceChargeType parameter is PostPaid, this parameter is not filled in.

    pricingCycle String

    Value:Month (default): Pay monthly.Year: Pay per Year.This parameter is required when the value of the InstanceChargeType parameter is Subscription(PrePaid). This parameter is optional when the value of the InstanceChargeType parameter is PayAsYouGo(PostPaid).

    publicIpAddressPoolId String

    The ID of the IP address pool to which the EIP belongs.

    resourceGroupId String

    The ID of the resource group.

    securityProtectionTypes List<String>

    Security protection level.

    • When the return is empty, the basic DDoS protection is specified.
    • When antidos_enhanced is returned, it indicates DDoS protection (enhanced version).
    status String

    The status of the EIP.

    tags Map<Any>

    The tag of the resource.

    zone String

    The zone of the EIP.This parameter is returned only for whitelist users that are visible to the zone.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi