1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. esa
  5. RatePlanInstance
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.esa.RatePlanInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Import

    ESA Rate Plan Instance can be imported using the id, e.g.

    $ pulumi import alicloud:esa/ratePlanInstance:RatePlanInstance example <id>
    

    Create RatePlanInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RatePlanInstance(name: string, args?: RatePlanInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def RatePlanInstance(resource_name: str,
                         args: Optional[RatePlanInstanceArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def RatePlanInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         auto_pay: Optional[bool] = None,
                         auto_renew: Optional[bool] = None,
                         coverage: Optional[str] = None,
                         payment_type: Optional[str] = None,
                         period: Optional[int] = None,
                         plan_name: Optional[str] = None,
                         type: Optional[str] = None)
    func NewRatePlanInstance(ctx *Context, name string, args *RatePlanInstanceArgs, opts ...ResourceOption) (*RatePlanInstance, error)
    public RatePlanInstance(string name, RatePlanInstanceArgs? args = null, CustomResourceOptions? opts = null)
    public RatePlanInstance(String name, RatePlanInstanceArgs args)
    public RatePlanInstance(String name, RatePlanInstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:esa:RatePlanInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RatePlanInstanceArgs
    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 RatePlanInstanceArgs
    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 RatePlanInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RatePlanInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RatePlanInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ratePlanInstanceResource = new AliCloud.Esa.RatePlanInstance("ratePlanInstanceResource", new()
    {
        AutoPay = false,
        AutoRenew = false,
        Coverage = "string",
        PaymentType = "string",
        Period = 0,
        PlanName = "string",
        Type = "string",
    });
    
    example, err := esa.NewRatePlanInstance(ctx, "ratePlanInstanceResource", &esa.RatePlanInstanceArgs{
    	AutoPay:     pulumi.Bool(false),
    	AutoRenew:   pulumi.Bool(false),
    	Coverage:    pulumi.String("string"),
    	PaymentType: pulumi.String("string"),
    	Period:      pulumi.Int(0),
    	PlanName:    pulumi.String("string"),
    	Type:        pulumi.String("string"),
    })
    
    var ratePlanInstanceResource = new RatePlanInstance("ratePlanInstanceResource", RatePlanInstanceArgs.builder()
        .autoPay(false)
        .autoRenew(false)
        .coverage("string")
        .paymentType("string")
        .period(0)
        .planName("string")
        .type("string")
        .build());
    
    rate_plan_instance_resource = alicloud.esa.RatePlanInstance("ratePlanInstanceResource",
        auto_pay=False,
        auto_renew=False,
        coverage="string",
        payment_type="string",
        period=0,
        plan_name="string",
        type="string")
    
    const ratePlanInstanceResource = new alicloud.esa.RatePlanInstance("ratePlanInstanceResource", {
        autoPay: false,
        autoRenew: false,
        coverage: "string",
        paymentType: "string",
        period: 0,
        planName: "string",
        type: "string",
    });
    
    type: alicloud:esa:RatePlanInstance
    properties:
        autoPay: false
        autoRenew: false
        coverage: string
        paymentType: string
        period: 0
        planName: string
        type: string
    

    RatePlanInstance Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RatePlanInstance resource accepts the following input properties:

    AutoPay bool
    Whether to pay automatically.
    AutoRenew bool

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    Coverage string

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    PaymentType string
    The payment type of the resource, Valid vales: Subscription.
    Period int
    Purchase cycle (in months).
    PlanName string
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    Type string

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    AutoPay bool
    Whether to pay automatically.
    AutoRenew bool

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    Coverage string

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    PaymentType string
    The payment type of the resource, Valid vales: Subscription.
    Period int
    Purchase cycle (in months).
    PlanName string
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    Type string

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    autoPay Boolean
    Whether to pay automatically.
    autoRenew Boolean

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage String

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    paymentType String
    The payment type of the resource, Valid vales: Subscription.
    period Integer
    Purchase cycle (in months).
    planName String
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    type String

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    autoPay boolean
    Whether to pay automatically.
    autoRenew boolean

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage string

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    paymentType string
    The payment type of the resource, Valid vales: Subscription.
    period number
    Purchase cycle (in months).
    planName string
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    type string

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    auto_pay bool
    Whether to pay automatically.
    auto_renew bool

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage str

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    payment_type str
    The payment type of the resource, Valid vales: Subscription.
    period int
    Purchase cycle (in months).
    plan_name str
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    type str

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    autoPay Boolean
    Whether to pay automatically.
    autoRenew Boolean

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage String

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    paymentType String
    The payment type of the resource, Valid vales: Subscription.
    period Number
    Purchase cycle (in months).
    planName String
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    type String

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    Outputs

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

    CreateTime string
    The new purchase time of the package instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceStatus string
    Renewing: renewing
    Status string
    The status of the resource
    CreateTime string
    The new purchase time of the package instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceStatus string
    Renewing: renewing
    Status string
    The status of the resource
    createTime String
    The new purchase time of the package instance.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceStatus String
    Renewing: renewing
    status String
    The status of the resource
    createTime string
    The new purchase time of the package instance.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceStatus string
    Renewing: renewing
    status string
    The status of the resource
    create_time str
    The new purchase time of the package instance.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_status str
    Renewing: renewing
    status str
    The status of the resource
    createTime String
    The new purchase time of the package instance.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceStatus String
    Renewing: renewing
    status String
    The status of the resource

    Look up Existing RatePlanInstance Resource

    Get an existing RatePlanInstance 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?: RatePlanInstanceState, opts?: CustomResourceOptions): RatePlanInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_pay: Optional[bool] = None,
            auto_renew: Optional[bool] = None,
            coverage: Optional[str] = None,
            create_time: Optional[str] = None,
            instance_status: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            plan_name: Optional[str] = None,
            status: Optional[str] = None,
            type: Optional[str] = None) -> RatePlanInstance
    func GetRatePlanInstance(ctx *Context, name string, id IDInput, state *RatePlanInstanceState, opts ...ResourceOption) (*RatePlanInstance, error)
    public static RatePlanInstance Get(string name, Input<string> id, RatePlanInstanceState? state, CustomResourceOptions? opts = null)
    public static RatePlanInstance get(String name, Output<String> id, RatePlanInstanceState 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:
    AutoPay bool
    Whether to pay automatically.
    AutoRenew bool

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    Coverage string

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    CreateTime string
    The new purchase time of the package instance.
    InstanceStatus string
    Renewing: renewing
    PaymentType string
    The payment type of the resource, Valid vales: Subscription.
    Period int
    Purchase cycle (in months).
    PlanName string
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    Status string
    The status of the resource
    Type string

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    AutoPay bool
    Whether to pay automatically.
    AutoRenew bool

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    Coverage string

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    CreateTime string
    The new purchase time of the package instance.
    InstanceStatus string
    Renewing: renewing
    PaymentType string
    The payment type of the resource, Valid vales: Subscription.
    Period int
    Purchase cycle (in months).
    PlanName string
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    Status string
    The status of the resource
    Type string

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    autoPay Boolean
    Whether to pay automatically.
    autoRenew Boolean

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage String

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    createTime String
    The new purchase time of the package instance.
    instanceStatus String
    Renewing: renewing
    paymentType String
    The payment type of the resource, Valid vales: Subscription.
    period Integer
    Purchase cycle (in months).
    planName String
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    status String
    The status of the resource
    type String

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    autoPay boolean
    Whether to pay automatically.
    autoRenew boolean

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage string

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    createTime string
    The new purchase time of the package instance.
    instanceStatus string
    Renewing: renewing
    paymentType string
    The payment type of the resource, Valid vales: Subscription.
    period number
    Purchase cycle (in months).
    planName string
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    status string
    The status of the resource
    type string

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    auto_pay bool
    Whether to pay automatically.
    auto_renew bool

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage str

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    create_time str
    The new purchase time of the package instance.
    instance_status str
    Renewing: renewing
    payment_type str
    The payment type of the resource, Valid vales: Subscription.
    period int
    Purchase cycle (in months).
    plan_name str
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    status str
    The status of the resource
    type str

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    autoPay Boolean
    Whether to pay automatically.
    autoRenew Boolean

    Auto Renew:

    true: Automatic renewal.

    false: Do not renew automatically.

    coverage String

    Acceleration area:

    domestic: Mainland China only.

    global: global.

    overseas: Global (excluding Mainland China).

    createTime String
    The new purchase time of the package instance.
    instanceStatus String
    Renewing: renewing
    paymentType String
    The payment type of the resource, Valid vales: Subscription.
    period Number
    Purchase cycle (in months).
    planName String
    The plan name, which is obtained from the DescribeRatePlanPrice interface.
    status String
    The status of the resource
    type String

    Site access type:

    NS:NS access.

    CNAME:CNAME access.

    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.66.0 published on Friday, Nov 15, 2024 by Pulumi