Show / Hide Table of Contents

Class ReservedInstanceState

Inheritance
System.Object
InputArgs
ResourceArgs
ReservedInstanceState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ReservedInstanceState : ResourceArgs

Constructors

View Source

ReservedInstanceState()

Declaration
public ReservedInstanceState()

Properties

View Source

Description

Description of the RI. 2 to 256 English or Chinese characters. It cannot start with http:// or https://.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceAmount

Number of instances allocated to an RI (An RI is a coupon that includes one or more allocated instances.).

Declaration
public Input<int> InstanceAmount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

InstanceType

Instance type of the RI. For more information, see Instance type families.

Declaration
public Input<string> InstanceType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

Name of the RI. The name must be a string of 2 to 128 characters in length and can contain letters, numbers, colons (:), underscores (_), and hyphens. It must start with a letter. It cannot start with http:// or https://.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

OfferingType

Payment type of the RI. Optional values: No Upfront: No upfront payment is required., Partial Upfront: A portion of upfront payment is required.All Upfront: Full upfront payment is required.

Declaration
public Input<string> OfferingType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Period

Declaration
public Input<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

PeriodUnit

Term unit. Optional value: Year.

Declaration
public Input<string> PeriodUnit { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Platform

The operating system type of the image used by the instance. Optional values: Windows, Linux. Default is Linux.

Declaration
public Input<string> Platform { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResourceGroupId

Resource group ID.

Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Scope

Scope of the RI. Optional values: Region: region-level, Zone: zone-level. Default is Region.

Declaration
public Input<string> Scope { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ZoneId

ID of the zone to which the RI belongs. When Scope is set to Zone, this parameter is required. For information about the zone list, see DescribeZones.

Declaration
public Input<string> ZoneId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.