1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cddc
  5. DedicatedHost
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

alicloud.cddc.DedicatedHost

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

    Import

    ApsaraDB for MyBase Dedicated Host can be imported using the id, e.g.

    $ pulumi import alicloud:cddc/dedicatedHost:DedicatedHost example <dedicated_host_group_id>:<dedicated_host_id>
    

    Create DedicatedHost Resource

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

    Constructor syntax

    new DedicatedHost(name: string, args: DedicatedHostArgs, opts?: CustomResourceOptions);
    @overload
    def DedicatedHost(resource_name: str,
                      args: DedicatedHostArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def DedicatedHost(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      payment_type: Optional[str] = None,
                      zone_id: Optional[str] = None,
                      dedicated_host_group_id: Optional[str] = None,
                      host_class: Optional[str] = None,
                      vswitch_id: Optional[str] = None,
                      os_password: Optional[str] = None,
                      allocation_status: Optional[str] = None,
                      image_category: Optional[str] = None,
                      period: Optional[str] = None,
                      tags: Optional[Mapping[str, Any]] = None,
                      used_time: Optional[int] = None,
                      host_name: Optional[str] = None,
                      auto_renew: Optional[bool] = None)
    func NewDedicatedHost(ctx *Context, name string, args DedicatedHostArgs, opts ...ResourceOption) (*DedicatedHost, error)
    public DedicatedHost(string name, DedicatedHostArgs args, CustomResourceOptions? opts = null)
    public DedicatedHost(String name, DedicatedHostArgs args)
    public DedicatedHost(String name, DedicatedHostArgs args, CustomResourceOptions options)
    
    type: alicloud:cddc:DedicatedHost
    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 DedicatedHostArgs
    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 DedicatedHostArgs
    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 DedicatedHostArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DedicatedHostArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DedicatedHostArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var dedicatedHostResource = new AliCloud.Cddc.DedicatedHost("dedicatedHostResource", new()
    {
        PaymentType = "string",
        ZoneId = "string",
        DedicatedHostGroupId = "string",
        HostClass = "string",
        VswitchId = "string",
        OsPassword = "string",
        AllocationStatus = "string",
        ImageCategory = "string",
        Period = "string",
        Tags = 
        {
            { "string", "any" },
        },
        UsedTime = 0,
        HostName = "string",
        AutoRenew = false,
    });
    
    example, err := cddc.NewDedicatedHost(ctx, "dedicatedHostResource", &cddc.DedicatedHostArgs{
    	PaymentType:          pulumi.String("string"),
    	ZoneId:               pulumi.String("string"),
    	DedicatedHostGroupId: pulumi.String("string"),
    	HostClass:            pulumi.String("string"),
    	VswitchId:            pulumi.String("string"),
    	OsPassword:           pulumi.String("string"),
    	AllocationStatus:     pulumi.String("string"),
    	ImageCategory:        pulumi.String("string"),
    	Period:               pulumi.String("string"),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	UsedTime:  pulumi.Int(0),
    	HostName:  pulumi.String("string"),
    	AutoRenew: pulumi.Bool(false),
    })
    
    var dedicatedHostResource = new DedicatedHost("dedicatedHostResource", DedicatedHostArgs.builder()
        .paymentType("string")
        .zoneId("string")
        .dedicatedHostGroupId("string")
        .hostClass("string")
        .vswitchId("string")
        .osPassword("string")
        .allocationStatus("string")
        .imageCategory("string")
        .period("string")
        .tags(Map.of("string", "any"))
        .usedTime(0)
        .hostName("string")
        .autoRenew(false)
        .build());
    
    dedicated_host_resource = alicloud.cddc.DedicatedHost("dedicatedHostResource",
        payment_type="string",
        zone_id="string",
        dedicated_host_group_id="string",
        host_class="string",
        vswitch_id="string",
        os_password="string",
        allocation_status="string",
        image_category="string",
        period="string",
        tags={
            "string": "any",
        },
        used_time=0,
        host_name="string",
        auto_renew=False)
    
    const dedicatedHostResource = new alicloud.cddc.DedicatedHost("dedicatedHostResource", {
        paymentType: "string",
        zoneId: "string",
        dedicatedHostGroupId: "string",
        hostClass: "string",
        vswitchId: "string",
        osPassword: "string",
        allocationStatus: "string",
        imageCategory: "string",
        period: "string",
        tags: {
            string: "any",
        },
        usedTime: 0,
        hostName: "string",
        autoRenew: false,
    });
    
    type: alicloud:cddc:DedicatedHost
    properties:
        allocationStatus: string
        autoRenew: false
        dedicatedHostGroupId: string
        hostClass: string
        hostName: string
        imageCategory: string
        osPassword: string
        paymentType: string
        period: string
        tags:
            string: any
        usedTime: 0
        vswitchId: string
        zoneId: string
    

    DedicatedHost 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 DedicatedHost resource accepts the following input properties:

    DedicatedHostGroupId string
    The ID of the dedicated cluster.
    HostClass string
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    PaymentType string
    The payment type of the resource. Valid values: Subscription.
    VswitchId string
    The ID of the vSwitch to which the host is connected.
    ZoneId string
    The ID of the zone.
    AllocationStatus string
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    AutoRenew bool
    Specifies whether to enable the auto-renewal feature.
    HostName string
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    ImageCategory string
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    OsPassword string
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    Period string
    The unit of the subscription duration. Valid values: Year, Month, Week.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    UsedTime int
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    DedicatedHostGroupId string
    The ID of the dedicated cluster.
    HostClass string
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    PaymentType string
    The payment type of the resource. Valid values: Subscription.
    VswitchId string
    The ID of the vSwitch to which the host is connected.
    ZoneId string
    The ID of the zone.
    AllocationStatus string
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    AutoRenew bool
    Specifies whether to enable the auto-renewal feature.
    HostName string
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    ImageCategory string
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    OsPassword string
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    Period string
    The unit of the subscription duration. Valid values: Year, Month, Week.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    UsedTime int
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    dedicatedHostGroupId String
    The ID of the dedicated cluster.
    hostClass String
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    paymentType String
    The payment type of the resource. Valid values: Subscription.
    vswitchId String
    The ID of the vSwitch to which the host is connected.
    zoneId String
    The ID of the zone.
    allocationStatus String
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    autoRenew Boolean
    Specifies whether to enable the auto-renewal feature.
    hostName String
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    imageCategory String
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    osPassword String
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    period String
    The unit of the subscription duration. Valid values: Year, Month, Week.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    usedTime Integer
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    dedicatedHostGroupId string
    The ID of the dedicated cluster.
    hostClass string
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    paymentType string
    The payment type of the resource. Valid values: Subscription.
    vswitchId string
    The ID of the vSwitch to which the host is connected.
    zoneId string
    The ID of the zone.
    allocationStatus string
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    autoRenew boolean
    Specifies whether to enable the auto-renewal feature.
    hostName string
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    imageCategory string
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    osPassword string
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    period string
    The unit of the subscription duration. Valid values: Year, Month, Week.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    usedTime number
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    dedicated_host_group_id str
    The ID of the dedicated cluster.
    host_class str
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    payment_type str
    The payment type of the resource. Valid values: Subscription.
    vswitch_id str
    The ID of the vSwitch to which the host is connected.
    zone_id str
    The ID of the zone.
    allocation_status str
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    auto_renew bool
    Specifies whether to enable the auto-renewal feature.
    host_name str
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    image_category str
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    os_password str
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    period str
    The unit of the subscription duration. Valid values: Year, Month, Week.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    used_time int
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    dedicatedHostGroupId String
    The ID of the dedicated cluster.
    hostClass String
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    paymentType String
    The payment type of the resource. Valid values: Subscription.
    vswitchId String
    The ID of the vSwitch to which the host is connected.
    zoneId String
    The ID of the zone.
    allocationStatus String
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    autoRenew Boolean
    Specifies whether to enable the auto-renewal feature.
    hostName String
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    imageCategory String
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    osPassword String
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    period String
    The unit of the subscription duration. Valid values: Year, Month, Week.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    usedTime Number
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.

    Outputs

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

    DedicatedHostId string
    The ID of the host.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    DedicatedHostId string
    The ID of the host.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    dedicatedHostId String
    The ID of the host.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    dedicatedHostId string
    The ID of the host.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    dedicated_host_id str
    The ID of the host.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    dedicatedHostId String
    The ID of the host.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.

    Look up Existing DedicatedHost Resource

    Get an existing DedicatedHost 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?: DedicatedHostState, opts?: CustomResourceOptions): DedicatedHost
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocation_status: Optional[str] = None,
            auto_renew: Optional[bool] = None,
            dedicated_host_group_id: Optional[str] = None,
            dedicated_host_id: Optional[str] = None,
            host_class: Optional[str] = None,
            host_name: Optional[str] = None,
            image_category: Optional[str] = None,
            os_password: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            used_time: Optional[int] = None,
            vswitch_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> DedicatedHost
    func GetDedicatedHost(ctx *Context, name string, id IDInput, state *DedicatedHostState, opts ...ResourceOption) (*DedicatedHost, error)
    public static DedicatedHost Get(string name, Input<string> id, DedicatedHostState? state, CustomResourceOptions? opts = null)
    public static DedicatedHost get(String name, Output<String> id, DedicatedHostState 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:
    AllocationStatus string
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    AutoRenew bool
    Specifies whether to enable the auto-renewal feature.
    DedicatedHostGroupId string
    The ID of the dedicated cluster.
    DedicatedHostId string
    The ID of the host.
    HostClass string
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    HostName string
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    ImageCategory string
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    OsPassword string
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    PaymentType string
    The payment type of the resource. Valid values: Subscription.
    Period string
    The unit of the subscription duration. Valid values: Year, Month, Week.
    Status string
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    UsedTime int
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    VswitchId string
    The ID of the vSwitch to which the host is connected.
    ZoneId string
    The ID of the zone.
    AllocationStatus string
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    AutoRenew bool
    Specifies whether to enable the auto-renewal feature.
    DedicatedHostGroupId string
    The ID of the dedicated cluster.
    DedicatedHostId string
    The ID of the host.
    HostClass string
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    HostName string
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    ImageCategory string
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    OsPassword string
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    PaymentType string
    The payment type of the resource. Valid values: Subscription.
    Period string
    The unit of the subscription duration. Valid values: Year, Month, Week.
    Status string
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    UsedTime int
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    VswitchId string
    The ID of the vSwitch to which the host is connected.
    ZoneId string
    The ID of the zone.
    allocationStatus String
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    autoRenew Boolean
    Specifies whether to enable the auto-renewal feature.
    dedicatedHostGroupId String
    The ID of the dedicated cluster.
    dedicatedHostId String
    The ID of the host.
    hostClass String
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    hostName String
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    imageCategory String
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    osPassword String
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    paymentType String
    The payment type of the resource. Valid values: Subscription.
    period String
    The unit of the subscription duration. Valid values: Year, Month, Week.
    status String
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    usedTime Integer
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    vswitchId String
    The ID of the vSwitch to which the host is connected.
    zoneId String
    The ID of the zone.
    allocationStatus string
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    autoRenew boolean
    Specifies whether to enable the auto-renewal feature.
    dedicatedHostGroupId string
    The ID of the dedicated cluster.
    dedicatedHostId string
    The ID of the host.
    hostClass string
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    hostName string
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    imageCategory string
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    osPassword string
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    paymentType string
    The payment type of the resource. Valid values: Subscription.
    period string
    The unit of the subscription duration. Valid values: Year, Month, Week.
    status string
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    usedTime number
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    vswitchId string
    The ID of the vSwitch to which the host is connected.
    zoneId string
    The ID of the zone.
    allocation_status str
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    auto_renew bool
    Specifies whether to enable the auto-renewal feature.
    dedicated_host_group_id str
    The ID of the dedicated cluster.
    dedicated_host_id str
    The ID of the host.
    host_class str
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    host_name str
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    image_category str
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    os_password str
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    payment_type str
    The payment type of the resource. Valid values: Subscription.
    period str
    The unit of the subscription duration. Valid values: Year, Month, Week.
    status str
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    used_time int
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    vswitch_id str
    The ID of the vSwitch to which the host is connected.
    zone_id str
    The ID of the zone.
    allocationStatus String
    Specifies whether instances can be created on the host. Valid values: Allocatable or Suspended. Allocatable: Instances can be created on the host. Suspended: Instances cannot be created on the host.
    autoRenew Boolean
    Specifies whether to enable the auto-renewal feature.
    dedicatedHostGroupId String
    The ID of the dedicated cluster.
    dedicatedHostId String
    The ID of the host.
    hostClass String
    The instance type of the host. For more information about the supported instance types of hosts, see Host specification details.
    hostName String
    The name of the host. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
    imageCategory String
    Host Image Category. Valid values: WindowsWithMssqlEntAlwaysonLicense, WindowsWithMssqlStdLicense, WindowsWithMssqlEntLicense, WindowsWithMssqlWebLicense, AliLinux.
    osPassword String
    Host password. NOTE: The creation of a host password is supported only when the database type is Tair-PMem.
    paymentType String
    The payment type of the resource. Valid values: Subscription.
    period String
    The unit of the subscription duration. Valid values: Year, Month, Week.
    status String
    The state of the host. Valid values: 0: The host is being created. 1: The host is running. 2: The host is faulty. 3: The host is ready for deactivation. 4: The host is being maintained. 5: The host is deactivated. 6: The host is restarting. 7: The host is locked.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    usedTime Number
    The subscription duration of the host. Valid values:

    • If the Period parameter is set to Year, the value of the UsedTime parameter ranges from 1 to 5.
    • If the Period parameter is set to Month, the value of the UsedTime parameter ranges from 1 to 9.
    • If the Period parameter is set to Week, the value of the UsedTime parameter ranges from 1, 2 and 3.
    vswitchId String
    The ID of the vSwitch to which the host is connected.
    zoneId String
    The ID of the zone.

    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.57.0 published on Saturday, Jun 15, 2024 by Pulumi