Documentation
¶
Index ¶
- type AutoProvisioningGroup
- type AutoProvisioningGroupArgs
- type AutoProvisioningGroupArray
- func (AutoProvisioningGroupArray) ElementType() reflect.Type
- func (i AutoProvisioningGroupArray) ToAutoProvisioningGroupArrayOutput() AutoProvisioningGroupArrayOutput
- func (i AutoProvisioningGroupArray) ToAutoProvisioningGroupArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupArrayOutput
- type AutoProvisioningGroupArrayInput
- type AutoProvisioningGroupArrayOutput
- func (AutoProvisioningGroupArrayOutput) ElementType() reflect.Type
- func (o AutoProvisioningGroupArrayOutput) Index(i pulumi.IntInput) AutoProvisioningGroupOutput
- func (o AutoProvisioningGroupArrayOutput) ToAutoProvisioningGroupArrayOutput() AutoProvisioningGroupArrayOutput
- func (o AutoProvisioningGroupArrayOutput) ToAutoProvisioningGroupArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupArrayOutput
- type AutoProvisioningGroupInput
- type AutoProvisioningGroupLaunchTemplateConfig
- type AutoProvisioningGroupLaunchTemplateConfigArgs
- func (AutoProvisioningGroupLaunchTemplateConfigArgs) ElementType() reflect.Type
- func (i AutoProvisioningGroupLaunchTemplateConfigArgs) ToAutoProvisioningGroupLaunchTemplateConfigOutput() AutoProvisioningGroupLaunchTemplateConfigOutput
- func (i AutoProvisioningGroupLaunchTemplateConfigArgs) ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigOutput
- type AutoProvisioningGroupLaunchTemplateConfigArray
- func (AutoProvisioningGroupLaunchTemplateConfigArray) ElementType() reflect.Type
- func (i AutoProvisioningGroupLaunchTemplateConfigArray) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput() AutoProvisioningGroupLaunchTemplateConfigArrayOutput
- func (i AutoProvisioningGroupLaunchTemplateConfigArray) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigArrayOutput
- type AutoProvisioningGroupLaunchTemplateConfigArrayInput
- type AutoProvisioningGroupLaunchTemplateConfigArrayOutput
- func (AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ElementType() reflect.Type
- func (o AutoProvisioningGroupLaunchTemplateConfigArrayOutput) Index(i pulumi.IntInput) AutoProvisioningGroupLaunchTemplateConfigOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput() AutoProvisioningGroupLaunchTemplateConfigArrayOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigArrayOutput
- type AutoProvisioningGroupLaunchTemplateConfigInput
- type AutoProvisioningGroupLaunchTemplateConfigOutput
- func (AutoProvisioningGroupLaunchTemplateConfigOutput) ElementType() reflect.Type
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) InstanceType() pulumi.StringPtrOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) MaxPrice() pulumi.StringOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) Priority() pulumi.StringPtrOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) ToAutoProvisioningGroupLaunchTemplateConfigOutput() AutoProvisioningGroupLaunchTemplateConfigOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) VswitchId() pulumi.StringOutput
- func (o AutoProvisioningGroupLaunchTemplateConfigOutput) WeightedCapacity() pulumi.StringOutput
- type AutoProvisioningGroupMap
- type AutoProvisioningGroupMapInput
- type AutoProvisioningGroupMapOutput
- func (AutoProvisioningGroupMapOutput) ElementType() reflect.Type
- func (o AutoProvisioningGroupMapOutput) MapIndex(k pulumi.StringInput) AutoProvisioningGroupOutput
- func (o AutoProvisioningGroupMapOutput) ToAutoProvisioningGroupMapOutput() AutoProvisioningGroupMapOutput
- func (o AutoProvisioningGroupMapOutput) ToAutoProvisioningGroupMapOutputWithContext(ctx context.Context) AutoProvisioningGroupMapOutput
- type AutoProvisioningGroupOutput
- type AutoProvisioningGroupState
- type AutoSnapshotPolicy
- type AutoSnapshotPolicyArgs
- type AutoSnapshotPolicyArray
- type AutoSnapshotPolicyArrayInput
- type AutoSnapshotPolicyArrayOutput
- func (AutoSnapshotPolicyArrayOutput) ElementType() reflect.Type
- func (o AutoSnapshotPolicyArrayOutput) Index(i pulumi.IntInput) AutoSnapshotPolicyOutput
- func (o AutoSnapshotPolicyArrayOutput) ToAutoSnapshotPolicyArrayOutput() AutoSnapshotPolicyArrayOutput
- func (o AutoSnapshotPolicyArrayOutput) ToAutoSnapshotPolicyArrayOutputWithContext(ctx context.Context) AutoSnapshotPolicyArrayOutput
- type AutoSnapshotPolicyInput
- type AutoSnapshotPolicyMap
- type AutoSnapshotPolicyMapInput
- type AutoSnapshotPolicyMapOutput
- func (AutoSnapshotPolicyMapOutput) ElementType() reflect.Type
- func (o AutoSnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) AutoSnapshotPolicyOutput
- func (o AutoSnapshotPolicyMapOutput) ToAutoSnapshotPolicyMapOutput() AutoSnapshotPolicyMapOutput
- func (o AutoSnapshotPolicyMapOutput) ToAutoSnapshotPolicyMapOutputWithContext(ctx context.Context) AutoSnapshotPolicyMapOutput
- type AutoSnapshotPolicyOutput
- type AutoSnapshotPolicyState
- type Command
- type CommandArgs
- type CommandArray
- type CommandArrayInput
- type CommandArrayOutput
- type CommandInput
- type CommandMap
- type CommandMapInput
- type CommandMapOutput
- type CommandOutput
- type CommandState
- type CopyImage
- type CopyImageArgs
- type CopyImageArray
- type CopyImageArrayInput
- type CopyImageArrayOutput
- func (CopyImageArrayOutput) ElementType() reflect.Type
- func (o CopyImageArrayOutput) Index(i pulumi.IntInput) CopyImageOutput
- func (o CopyImageArrayOutput) ToCopyImageArrayOutput() CopyImageArrayOutput
- func (o CopyImageArrayOutput) ToCopyImageArrayOutputWithContext(ctx context.Context) CopyImageArrayOutput
- type CopyImageInput
- type CopyImageMap
- type CopyImageMapInput
- type CopyImageMapOutput
- type CopyImageOutput
- type CopyImageState
- type DedicatedHost
- type DedicatedHostArgs
- type DedicatedHostArray
- type DedicatedHostArrayInput
- type DedicatedHostArrayOutput
- func (DedicatedHostArrayOutput) ElementType() reflect.Type
- func (o DedicatedHostArrayOutput) Index(i pulumi.IntInput) DedicatedHostOutput
- func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
- func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
- type DedicatedHostInput
- type DedicatedHostMap
- type DedicatedHostMapInput
- type DedicatedHostMapOutput
- func (DedicatedHostMapOutput) ElementType() reflect.Type
- func (o DedicatedHostMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostOutput
- func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput
- func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
- type DedicatedHostNetworkAttribute
- type DedicatedHostNetworkAttributeArgs
- func (DedicatedHostNetworkAttributeArgs) ElementType() reflect.Type
- func (i DedicatedHostNetworkAttributeArgs) ToDedicatedHostNetworkAttributeOutput() DedicatedHostNetworkAttributeOutput
- func (i DedicatedHostNetworkAttributeArgs) ToDedicatedHostNetworkAttributeOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeOutput
- type DedicatedHostNetworkAttributeArray
- func (DedicatedHostNetworkAttributeArray) ElementType() reflect.Type
- func (i DedicatedHostNetworkAttributeArray) ToDedicatedHostNetworkAttributeArrayOutput() DedicatedHostNetworkAttributeArrayOutput
- func (i DedicatedHostNetworkAttributeArray) ToDedicatedHostNetworkAttributeArrayOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeArrayOutput
- type DedicatedHostNetworkAttributeArrayInput
- type DedicatedHostNetworkAttributeArrayOutput
- func (DedicatedHostNetworkAttributeArrayOutput) ElementType() reflect.Type
- func (o DedicatedHostNetworkAttributeArrayOutput) Index(i pulumi.IntInput) DedicatedHostNetworkAttributeOutput
- func (o DedicatedHostNetworkAttributeArrayOutput) ToDedicatedHostNetworkAttributeArrayOutput() DedicatedHostNetworkAttributeArrayOutput
- func (o DedicatedHostNetworkAttributeArrayOutput) ToDedicatedHostNetworkAttributeArrayOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeArrayOutput
- type DedicatedHostNetworkAttributeInput
- type DedicatedHostNetworkAttributeOutput
- func (DedicatedHostNetworkAttributeOutput) ElementType() reflect.Type
- func (o DedicatedHostNetworkAttributeOutput) SlbUdpTimeout() pulumi.IntPtrOutput
- func (o DedicatedHostNetworkAttributeOutput) ToDedicatedHostNetworkAttributeOutput() DedicatedHostNetworkAttributeOutput
- func (o DedicatedHostNetworkAttributeOutput) ToDedicatedHostNetworkAttributeOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeOutput
- func (o DedicatedHostNetworkAttributeOutput) UdpTimeout() pulumi.IntPtrOutput
- type DedicatedHostOutput
- type DedicatedHostState
- type Disk
- type DiskArgs
- type DiskArray
- type DiskArrayInput
- type DiskArrayOutput
- type DiskAttachment
- type DiskAttachmentArgs
- type DiskAttachmentArray
- type DiskAttachmentArrayInput
- type DiskAttachmentArrayOutput
- func (DiskAttachmentArrayOutput) ElementType() reflect.Type
- func (o DiskAttachmentArrayOutput) Index(i pulumi.IntInput) DiskAttachmentOutput
- func (o DiskAttachmentArrayOutput) ToDiskAttachmentArrayOutput() DiskAttachmentArrayOutput
- func (o DiskAttachmentArrayOutput) ToDiskAttachmentArrayOutputWithContext(ctx context.Context) DiskAttachmentArrayOutput
- type DiskAttachmentInput
- type DiskAttachmentMap
- type DiskAttachmentMapInput
- type DiskAttachmentMapOutput
- func (DiskAttachmentMapOutput) ElementType() reflect.Type
- func (o DiskAttachmentMapOutput) MapIndex(k pulumi.StringInput) DiskAttachmentOutput
- func (o DiskAttachmentMapOutput) ToDiskAttachmentMapOutput() DiskAttachmentMapOutput
- func (o DiskAttachmentMapOutput) ToDiskAttachmentMapOutputWithContext(ctx context.Context) DiskAttachmentMapOutput
- type DiskAttachmentOutput
- type DiskAttachmentState
- type DiskInput
- type DiskMap
- type DiskMapInput
- type DiskMapOutput
- type DiskOutput
- type DiskState
- type EcsAutoSnapshotPolicyAttachment
- func GetEcsAutoSnapshotPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*EcsAutoSnapshotPolicyAttachment, error)
- func NewEcsAutoSnapshotPolicyAttachment(ctx *pulumi.Context, name string, args *EcsAutoSnapshotPolicyAttachmentArgs, ...) (*EcsAutoSnapshotPolicyAttachment, error)
- func (*EcsAutoSnapshotPolicyAttachment) ElementType() reflect.Type
- func (i *EcsAutoSnapshotPolicyAttachment) ToEcsAutoSnapshotPolicyAttachmentOutput() EcsAutoSnapshotPolicyAttachmentOutput
- func (i *EcsAutoSnapshotPolicyAttachment) ToEcsAutoSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentOutput
- type EcsAutoSnapshotPolicyAttachmentArgs
- type EcsAutoSnapshotPolicyAttachmentArray
- func (EcsAutoSnapshotPolicyAttachmentArray) ElementType() reflect.Type
- func (i EcsAutoSnapshotPolicyAttachmentArray) ToEcsAutoSnapshotPolicyAttachmentArrayOutput() EcsAutoSnapshotPolicyAttachmentArrayOutput
- func (i EcsAutoSnapshotPolicyAttachmentArray) ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentArrayOutput
- type EcsAutoSnapshotPolicyAttachmentArrayInput
- type EcsAutoSnapshotPolicyAttachmentArrayOutput
- func (EcsAutoSnapshotPolicyAttachmentArrayOutput) ElementType() reflect.Type
- func (o EcsAutoSnapshotPolicyAttachmentArrayOutput) Index(i pulumi.IntInput) EcsAutoSnapshotPolicyAttachmentOutput
- func (o EcsAutoSnapshotPolicyAttachmentArrayOutput) ToEcsAutoSnapshotPolicyAttachmentArrayOutput() EcsAutoSnapshotPolicyAttachmentArrayOutput
- func (o EcsAutoSnapshotPolicyAttachmentArrayOutput) ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentArrayOutput
- type EcsAutoSnapshotPolicyAttachmentInput
- type EcsAutoSnapshotPolicyAttachmentMap
- func (EcsAutoSnapshotPolicyAttachmentMap) ElementType() reflect.Type
- func (i EcsAutoSnapshotPolicyAttachmentMap) ToEcsAutoSnapshotPolicyAttachmentMapOutput() EcsAutoSnapshotPolicyAttachmentMapOutput
- func (i EcsAutoSnapshotPolicyAttachmentMap) ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentMapOutput
- type EcsAutoSnapshotPolicyAttachmentMapInput
- type EcsAutoSnapshotPolicyAttachmentMapOutput
- func (EcsAutoSnapshotPolicyAttachmentMapOutput) ElementType() reflect.Type
- func (o EcsAutoSnapshotPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsAutoSnapshotPolicyAttachmentOutput
- func (o EcsAutoSnapshotPolicyAttachmentMapOutput) ToEcsAutoSnapshotPolicyAttachmentMapOutput() EcsAutoSnapshotPolicyAttachmentMapOutput
- func (o EcsAutoSnapshotPolicyAttachmentMapOutput) ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentMapOutput
- type EcsAutoSnapshotPolicyAttachmentOutput
- func (EcsAutoSnapshotPolicyAttachmentOutput) ElementType() reflect.Type
- func (o EcsAutoSnapshotPolicyAttachmentOutput) ToEcsAutoSnapshotPolicyAttachmentOutput() EcsAutoSnapshotPolicyAttachmentOutput
- func (o EcsAutoSnapshotPolicyAttachmentOutput) ToEcsAutoSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentOutput
- type EcsAutoSnapshotPolicyAttachmentState
- type EcsDedicatedHostCluster
- type EcsDedicatedHostClusterArgs
- type EcsDedicatedHostClusterArray
- func (EcsDedicatedHostClusterArray) ElementType() reflect.Type
- func (i EcsDedicatedHostClusterArray) ToEcsDedicatedHostClusterArrayOutput() EcsDedicatedHostClusterArrayOutput
- func (i EcsDedicatedHostClusterArray) ToEcsDedicatedHostClusterArrayOutputWithContext(ctx context.Context) EcsDedicatedHostClusterArrayOutput
- type EcsDedicatedHostClusterArrayInput
- type EcsDedicatedHostClusterArrayOutput
- func (EcsDedicatedHostClusterArrayOutput) ElementType() reflect.Type
- func (o EcsDedicatedHostClusterArrayOutput) Index(i pulumi.IntInput) EcsDedicatedHostClusterOutput
- func (o EcsDedicatedHostClusterArrayOutput) ToEcsDedicatedHostClusterArrayOutput() EcsDedicatedHostClusterArrayOutput
- func (o EcsDedicatedHostClusterArrayOutput) ToEcsDedicatedHostClusterArrayOutputWithContext(ctx context.Context) EcsDedicatedHostClusterArrayOutput
- type EcsDedicatedHostClusterInput
- type EcsDedicatedHostClusterMap
- func (EcsDedicatedHostClusterMap) ElementType() reflect.Type
- func (i EcsDedicatedHostClusterMap) ToEcsDedicatedHostClusterMapOutput() EcsDedicatedHostClusterMapOutput
- func (i EcsDedicatedHostClusterMap) ToEcsDedicatedHostClusterMapOutputWithContext(ctx context.Context) EcsDedicatedHostClusterMapOutput
- type EcsDedicatedHostClusterMapInput
- type EcsDedicatedHostClusterMapOutput
- func (EcsDedicatedHostClusterMapOutput) ElementType() reflect.Type
- func (o EcsDedicatedHostClusterMapOutput) MapIndex(k pulumi.StringInput) EcsDedicatedHostClusterOutput
- func (o EcsDedicatedHostClusterMapOutput) ToEcsDedicatedHostClusterMapOutput() EcsDedicatedHostClusterMapOutput
- func (o EcsDedicatedHostClusterMapOutput) ToEcsDedicatedHostClusterMapOutputWithContext(ctx context.Context) EcsDedicatedHostClusterMapOutput
- type EcsDedicatedHostClusterOutput
- type EcsDedicatedHostClusterState
- type EcsDeploymentSet
- type EcsDeploymentSetArgs
- type EcsDeploymentSetArray
- type EcsDeploymentSetArrayInput
- type EcsDeploymentSetArrayOutput
- func (EcsDeploymentSetArrayOutput) ElementType() reflect.Type
- func (o EcsDeploymentSetArrayOutput) Index(i pulumi.IntInput) EcsDeploymentSetOutput
- func (o EcsDeploymentSetArrayOutput) ToEcsDeploymentSetArrayOutput() EcsDeploymentSetArrayOutput
- func (o EcsDeploymentSetArrayOutput) ToEcsDeploymentSetArrayOutputWithContext(ctx context.Context) EcsDeploymentSetArrayOutput
- type EcsDeploymentSetInput
- type EcsDeploymentSetMap
- type EcsDeploymentSetMapInput
- type EcsDeploymentSetMapOutput
- func (EcsDeploymentSetMapOutput) ElementType() reflect.Type
- func (o EcsDeploymentSetMapOutput) MapIndex(k pulumi.StringInput) EcsDeploymentSetOutput
- func (o EcsDeploymentSetMapOutput) ToEcsDeploymentSetMapOutput() EcsDeploymentSetMapOutput
- func (o EcsDeploymentSetMapOutput) ToEcsDeploymentSetMapOutputWithContext(ctx context.Context) EcsDeploymentSetMapOutput
- type EcsDeploymentSetOutput
- type EcsDeploymentSetState
- type EcsDisk
- type EcsDiskArgs
- type EcsDiskArray
- type EcsDiskArrayInput
- type EcsDiskArrayOutput
- type EcsDiskAttachment
- type EcsDiskAttachmentArgs
- type EcsDiskAttachmentArray
- type EcsDiskAttachmentArrayInput
- type EcsDiskAttachmentArrayOutput
- func (EcsDiskAttachmentArrayOutput) ElementType() reflect.Type
- func (o EcsDiskAttachmentArrayOutput) Index(i pulumi.IntInput) EcsDiskAttachmentOutput
- func (o EcsDiskAttachmentArrayOutput) ToEcsDiskAttachmentArrayOutput() EcsDiskAttachmentArrayOutput
- func (o EcsDiskAttachmentArrayOutput) ToEcsDiskAttachmentArrayOutputWithContext(ctx context.Context) EcsDiskAttachmentArrayOutput
- type EcsDiskAttachmentInput
- type EcsDiskAttachmentMap
- type EcsDiskAttachmentMapInput
- type EcsDiskAttachmentMapOutput
- func (EcsDiskAttachmentMapOutput) ElementType() reflect.Type
- func (o EcsDiskAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsDiskAttachmentOutput
- func (o EcsDiskAttachmentMapOutput) ToEcsDiskAttachmentMapOutput() EcsDiskAttachmentMapOutput
- func (o EcsDiskAttachmentMapOutput) ToEcsDiskAttachmentMapOutputWithContext(ctx context.Context) EcsDiskAttachmentMapOutput
- type EcsDiskAttachmentOutput
- type EcsDiskAttachmentState
- type EcsDiskInput
- type EcsDiskMap
- type EcsDiskMapInput
- type EcsDiskMapOutput
- type EcsDiskOutput
- type EcsDiskState
- type EcsKeyPair
- type EcsKeyPairArgs
- type EcsKeyPairArray
- type EcsKeyPairArrayInput
- type EcsKeyPairArrayOutput
- func (EcsKeyPairArrayOutput) ElementType() reflect.Type
- func (o EcsKeyPairArrayOutput) Index(i pulumi.IntInput) EcsKeyPairOutput
- func (o EcsKeyPairArrayOutput) ToEcsKeyPairArrayOutput() EcsKeyPairArrayOutput
- func (o EcsKeyPairArrayOutput) ToEcsKeyPairArrayOutputWithContext(ctx context.Context) EcsKeyPairArrayOutput
- type EcsKeyPairAttachment
- type EcsKeyPairAttachmentArgs
- type EcsKeyPairAttachmentArray
- type EcsKeyPairAttachmentArrayInput
- type EcsKeyPairAttachmentArrayOutput
- func (EcsKeyPairAttachmentArrayOutput) ElementType() reflect.Type
- func (o EcsKeyPairAttachmentArrayOutput) Index(i pulumi.IntInput) EcsKeyPairAttachmentOutput
- func (o EcsKeyPairAttachmentArrayOutput) ToEcsKeyPairAttachmentArrayOutput() EcsKeyPairAttachmentArrayOutput
- func (o EcsKeyPairAttachmentArrayOutput) ToEcsKeyPairAttachmentArrayOutputWithContext(ctx context.Context) EcsKeyPairAttachmentArrayOutput
- type EcsKeyPairAttachmentInput
- type EcsKeyPairAttachmentMap
- type EcsKeyPairAttachmentMapInput
- type EcsKeyPairAttachmentMapOutput
- func (EcsKeyPairAttachmentMapOutput) ElementType() reflect.Type
- func (o EcsKeyPairAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsKeyPairAttachmentOutput
- func (o EcsKeyPairAttachmentMapOutput) ToEcsKeyPairAttachmentMapOutput() EcsKeyPairAttachmentMapOutput
- func (o EcsKeyPairAttachmentMapOutput) ToEcsKeyPairAttachmentMapOutputWithContext(ctx context.Context) EcsKeyPairAttachmentMapOutput
- type EcsKeyPairAttachmentOutput
- type EcsKeyPairAttachmentState
- type EcsKeyPairInput
- type EcsKeyPairMap
- type EcsKeyPairMapInput
- type EcsKeyPairMapOutput
- func (EcsKeyPairMapOutput) ElementType() reflect.Type
- func (o EcsKeyPairMapOutput) MapIndex(k pulumi.StringInput) EcsKeyPairOutput
- func (o EcsKeyPairMapOutput) ToEcsKeyPairMapOutput() EcsKeyPairMapOutput
- func (o EcsKeyPairMapOutput) ToEcsKeyPairMapOutputWithContext(ctx context.Context) EcsKeyPairMapOutput
- type EcsKeyPairOutput
- type EcsKeyPairState
- type EcsLaunchTemplate
- type EcsLaunchTemplateArgs
- type EcsLaunchTemplateArray
- type EcsLaunchTemplateArrayInput
- type EcsLaunchTemplateArrayOutput
- func (EcsLaunchTemplateArrayOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateArrayOutput) Index(i pulumi.IntInput) EcsLaunchTemplateOutput
- func (o EcsLaunchTemplateArrayOutput) ToEcsLaunchTemplateArrayOutput() EcsLaunchTemplateArrayOutput
- func (o EcsLaunchTemplateArrayOutput) ToEcsLaunchTemplateArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateArrayOutput
- type EcsLaunchTemplateDataDisk
- type EcsLaunchTemplateDataDiskArgs
- func (EcsLaunchTemplateDataDiskArgs) ElementType() reflect.Type
- func (i EcsLaunchTemplateDataDiskArgs) ToEcsLaunchTemplateDataDiskOutput() EcsLaunchTemplateDataDiskOutput
- func (i EcsLaunchTemplateDataDiskArgs) ToEcsLaunchTemplateDataDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskOutput
- type EcsLaunchTemplateDataDiskArray
- func (EcsLaunchTemplateDataDiskArray) ElementType() reflect.Type
- func (i EcsLaunchTemplateDataDiskArray) ToEcsLaunchTemplateDataDiskArrayOutput() EcsLaunchTemplateDataDiskArrayOutput
- func (i EcsLaunchTemplateDataDiskArray) ToEcsLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskArrayOutput
- type EcsLaunchTemplateDataDiskArrayInput
- type EcsLaunchTemplateDataDiskArrayOutput
- func (EcsLaunchTemplateDataDiskArrayOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateDataDiskArrayOutput) Index(i pulumi.IntInput) EcsLaunchTemplateDataDiskOutput
- func (o EcsLaunchTemplateDataDiskArrayOutput) ToEcsLaunchTemplateDataDiskArrayOutput() EcsLaunchTemplateDataDiskArrayOutput
- func (o EcsLaunchTemplateDataDiskArrayOutput) ToEcsLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskArrayOutput
- type EcsLaunchTemplateDataDiskInput
- type EcsLaunchTemplateDataDiskOutput
- func (o EcsLaunchTemplateDataDiskOutput) Category() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) Description() pulumi.StringPtrOutput
- func (EcsLaunchTemplateDataDiskOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateDataDiskOutput) Encrypted() pulumi.BoolPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) Name() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) Size() pulumi.IntPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateDataDiskOutput) ToEcsLaunchTemplateDataDiskOutput() EcsLaunchTemplateDataDiskOutput
- func (o EcsLaunchTemplateDataDiskOutput) ToEcsLaunchTemplateDataDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskOutput
- type EcsLaunchTemplateInput
- type EcsLaunchTemplateMap
- type EcsLaunchTemplateMapInput
- type EcsLaunchTemplateMapOutput
- func (EcsLaunchTemplateMapOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateMapOutput) MapIndex(k pulumi.StringInput) EcsLaunchTemplateOutput
- func (o EcsLaunchTemplateMapOutput) ToEcsLaunchTemplateMapOutput() EcsLaunchTemplateMapOutput
- func (o EcsLaunchTemplateMapOutput) ToEcsLaunchTemplateMapOutputWithContext(ctx context.Context) EcsLaunchTemplateMapOutput
- type EcsLaunchTemplateNetworkInterfaces
- type EcsLaunchTemplateNetworkInterfacesArgs
- func (EcsLaunchTemplateNetworkInterfacesArgs) ElementType() reflect.Type
- func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesOutput() EcsLaunchTemplateNetworkInterfacesOutput
- func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesOutput
- func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput
- func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput
- type EcsLaunchTemplateNetworkInterfacesInput
- type EcsLaunchTemplateNetworkInterfacesOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) Description() pulumi.StringPtrOutput
- func (EcsLaunchTemplateNetworkInterfacesOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateNetworkInterfacesOutput) Name() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) PrimaryIp() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesOutput() EcsLaunchTemplateNetworkInterfacesOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesOutput) VswitchId() pulumi.StringPtrOutput
- type EcsLaunchTemplateNetworkInterfacesPtrInput
- type EcsLaunchTemplateNetworkInterfacesPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) Description() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) Elem() EcsLaunchTemplateNetworkInterfacesOutput
- func (EcsLaunchTemplateNetworkInterfacesPtrOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) Name() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) PrimaryIp() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput
- func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) VswitchId() pulumi.StringPtrOutput
- type EcsLaunchTemplateOutput
- type EcsLaunchTemplateState
- type EcsLaunchTemplateSystemDisk
- type EcsLaunchTemplateSystemDiskArgs
- func (EcsLaunchTemplateSystemDiskArgs) ElementType() reflect.Type
- func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskOutput() EcsLaunchTemplateSystemDiskOutput
- func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskOutput
- func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput
- func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskPtrOutput
- type EcsLaunchTemplateSystemDiskInput
- type EcsLaunchTemplateSystemDiskOutput
- func (o EcsLaunchTemplateSystemDiskOutput) Category() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) Description() pulumi.StringPtrOutput
- func (EcsLaunchTemplateSystemDiskOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateSystemDiskOutput) Iops() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) Name() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) Size() pulumi.IntPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskOutput() EcsLaunchTemplateSystemDiskOutput
- func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskOutput
- func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput
- func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskPtrOutput
- type EcsLaunchTemplateSystemDiskPtrInput
- type EcsLaunchTemplateSystemDiskPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) Category() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) Description() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) Elem() EcsLaunchTemplateSystemDiskOutput
- func (EcsLaunchTemplateSystemDiskPtrOutput) ElementType() reflect.Type
- func (o EcsLaunchTemplateSystemDiskPtrOutput) Iops() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) Name() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) Size() pulumi.IntPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput
- func (o EcsLaunchTemplateSystemDiskPtrOutput) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskPtrOutput
- type EcsNetworkInterface
- type EcsNetworkInterfaceArgs
- type EcsNetworkInterfaceArray
- type EcsNetworkInterfaceArrayInput
- type EcsNetworkInterfaceArrayOutput
- func (EcsNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o EcsNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) EcsNetworkInterfaceOutput
- func (o EcsNetworkInterfaceArrayOutput) ToEcsNetworkInterfaceArrayOutput() EcsNetworkInterfaceArrayOutput
- func (o EcsNetworkInterfaceArrayOutput) ToEcsNetworkInterfaceArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceArrayOutput
- type EcsNetworkInterfaceAttachment
- func (*EcsNetworkInterfaceAttachment) ElementType() reflect.Type
- func (i *EcsNetworkInterfaceAttachment) ToEcsNetworkInterfaceAttachmentOutput() EcsNetworkInterfaceAttachmentOutput
- func (i *EcsNetworkInterfaceAttachment) ToEcsNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentOutput
- type EcsNetworkInterfaceAttachmentArgs
- type EcsNetworkInterfaceAttachmentArray
- func (EcsNetworkInterfaceAttachmentArray) ElementType() reflect.Type
- func (i EcsNetworkInterfaceAttachmentArray) ToEcsNetworkInterfaceAttachmentArrayOutput() EcsNetworkInterfaceAttachmentArrayOutput
- func (i EcsNetworkInterfaceAttachmentArray) ToEcsNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentArrayOutput
- type EcsNetworkInterfaceAttachmentArrayInput
- type EcsNetworkInterfaceAttachmentArrayOutput
- func (EcsNetworkInterfaceAttachmentArrayOutput) ElementType() reflect.Type
- func (o EcsNetworkInterfaceAttachmentArrayOutput) Index(i pulumi.IntInput) EcsNetworkInterfaceAttachmentOutput
- func (o EcsNetworkInterfaceAttachmentArrayOutput) ToEcsNetworkInterfaceAttachmentArrayOutput() EcsNetworkInterfaceAttachmentArrayOutput
- func (o EcsNetworkInterfaceAttachmentArrayOutput) ToEcsNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentArrayOutput
- type EcsNetworkInterfaceAttachmentInput
- type EcsNetworkInterfaceAttachmentMap
- func (EcsNetworkInterfaceAttachmentMap) ElementType() reflect.Type
- func (i EcsNetworkInterfaceAttachmentMap) ToEcsNetworkInterfaceAttachmentMapOutput() EcsNetworkInterfaceAttachmentMapOutput
- func (i EcsNetworkInterfaceAttachmentMap) ToEcsNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentMapOutput
- type EcsNetworkInterfaceAttachmentMapInput
- type EcsNetworkInterfaceAttachmentMapOutput
- func (EcsNetworkInterfaceAttachmentMapOutput) ElementType() reflect.Type
- func (o EcsNetworkInterfaceAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsNetworkInterfaceAttachmentOutput
- func (o EcsNetworkInterfaceAttachmentMapOutput) ToEcsNetworkInterfaceAttachmentMapOutput() EcsNetworkInterfaceAttachmentMapOutput
- func (o EcsNetworkInterfaceAttachmentMapOutput) ToEcsNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentMapOutput
- type EcsNetworkInterfaceAttachmentOutput
- func (EcsNetworkInterfaceAttachmentOutput) ElementType() reflect.Type
- func (o EcsNetworkInterfaceAttachmentOutput) ToEcsNetworkInterfaceAttachmentOutput() EcsNetworkInterfaceAttachmentOutput
- func (o EcsNetworkInterfaceAttachmentOutput) ToEcsNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentOutput
- type EcsNetworkInterfaceAttachmentState
- type EcsNetworkInterfaceInput
- type EcsNetworkInterfaceMap
- type EcsNetworkInterfaceMapInput
- type EcsNetworkInterfaceMapOutput
- func (EcsNetworkInterfaceMapOutput) ElementType() reflect.Type
- func (o EcsNetworkInterfaceMapOutput) MapIndex(k pulumi.StringInput) EcsNetworkInterfaceOutput
- func (o EcsNetworkInterfaceMapOutput) ToEcsNetworkInterfaceMapOutput() EcsNetworkInterfaceMapOutput
- func (o EcsNetworkInterfaceMapOutput) ToEcsNetworkInterfaceMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceMapOutput
- type EcsNetworkInterfaceOutput
- type EcsNetworkInterfaceState
- type EcsPrefixList
- type EcsPrefixListArgs
- type EcsPrefixListArray
- type EcsPrefixListArrayInput
- type EcsPrefixListArrayOutput
- func (EcsPrefixListArrayOutput) ElementType() reflect.Type
- func (o EcsPrefixListArrayOutput) Index(i pulumi.IntInput) EcsPrefixListOutput
- func (o EcsPrefixListArrayOutput) ToEcsPrefixListArrayOutput() EcsPrefixListArrayOutput
- func (o EcsPrefixListArrayOutput) ToEcsPrefixListArrayOutputWithContext(ctx context.Context) EcsPrefixListArrayOutput
- type EcsPrefixListEntry
- type EcsPrefixListEntryArgs
- type EcsPrefixListEntryArray
- type EcsPrefixListEntryArrayInput
- type EcsPrefixListEntryArrayOutput
- func (EcsPrefixListEntryArrayOutput) ElementType() reflect.Type
- func (o EcsPrefixListEntryArrayOutput) Index(i pulumi.IntInput) EcsPrefixListEntryOutput
- func (o EcsPrefixListEntryArrayOutput) ToEcsPrefixListEntryArrayOutput() EcsPrefixListEntryArrayOutput
- func (o EcsPrefixListEntryArrayOutput) ToEcsPrefixListEntryArrayOutputWithContext(ctx context.Context) EcsPrefixListEntryArrayOutput
- type EcsPrefixListEntryInput
- type EcsPrefixListEntryOutput
- func (o EcsPrefixListEntryOutput) Cidr() pulumi.StringPtrOutput
- func (o EcsPrefixListEntryOutput) Description() pulumi.StringPtrOutput
- func (EcsPrefixListEntryOutput) ElementType() reflect.Type
- func (o EcsPrefixListEntryOutput) ToEcsPrefixListEntryOutput() EcsPrefixListEntryOutput
- func (o EcsPrefixListEntryOutput) ToEcsPrefixListEntryOutputWithContext(ctx context.Context) EcsPrefixListEntryOutput
- type EcsPrefixListInput
- type EcsPrefixListMap
- type EcsPrefixListMapInput
- type EcsPrefixListMapOutput
- func (EcsPrefixListMapOutput) ElementType() reflect.Type
- func (o EcsPrefixListMapOutput) MapIndex(k pulumi.StringInput) EcsPrefixListOutput
- func (o EcsPrefixListMapOutput) ToEcsPrefixListMapOutput() EcsPrefixListMapOutput
- func (o EcsPrefixListMapOutput) ToEcsPrefixListMapOutputWithContext(ctx context.Context) EcsPrefixListMapOutput
- type EcsPrefixListOutput
- type EcsPrefixListState
- type EcsSessionManagerStatus
- type EcsSessionManagerStatusArgs
- type EcsSessionManagerStatusArray
- func (EcsSessionManagerStatusArray) ElementType() reflect.Type
- func (i EcsSessionManagerStatusArray) ToEcsSessionManagerStatusArrayOutput() EcsSessionManagerStatusArrayOutput
- func (i EcsSessionManagerStatusArray) ToEcsSessionManagerStatusArrayOutputWithContext(ctx context.Context) EcsSessionManagerStatusArrayOutput
- type EcsSessionManagerStatusArrayInput
- type EcsSessionManagerStatusArrayOutput
- func (EcsSessionManagerStatusArrayOutput) ElementType() reflect.Type
- func (o EcsSessionManagerStatusArrayOutput) Index(i pulumi.IntInput) EcsSessionManagerStatusOutput
- func (o EcsSessionManagerStatusArrayOutput) ToEcsSessionManagerStatusArrayOutput() EcsSessionManagerStatusArrayOutput
- func (o EcsSessionManagerStatusArrayOutput) ToEcsSessionManagerStatusArrayOutputWithContext(ctx context.Context) EcsSessionManagerStatusArrayOutput
- type EcsSessionManagerStatusInput
- type EcsSessionManagerStatusMap
- func (EcsSessionManagerStatusMap) ElementType() reflect.Type
- func (i EcsSessionManagerStatusMap) ToEcsSessionManagerStatusMapOutput() EcsSessionManagerStatusMapOutput
- func (i EcsSessionManagerStatusMap) ToEcsSessionManagerStatusMapOutputWithContext(ctx context.Context) EcsSessionManagerStatusMapOutput
- type EcsSessionManagerStatusMapInput
- type EcsSessionManagerStatusMapOutput
- func (EcsSessionManagerStatusMapOutput) ElementType() reflect.Type
- func (o EcsSessionManagerStatusMapOutput) MapIndex(k pulumi.StringInput) EcsSessionManagerStatusOutput
- func (o EcsSessionManagerStatusMapOutput) ToEcsSessionManagerStatusMapOutput() EcsSessionManagerStatusMapOutput
- func (o EcsSessionManagerStatusMapOutput) ToEcsSessionManagerStatusMapOutputWithContext(ctx context.Context) EcsSessionManagerStatusMapOutput
- type EcsSessionManagerStatusOutput
- type EcsSessionManagerStatusState
- type EcsSnapshot
- type EcsSnapshotArgs
- type EcsSnapshotArray
- type EcsSnapshotArrayInput
- type EcsSnapshotArrayOutput
- func (EcsSnapshotArrayOutput) ElementType() reflect.Type
- func (o EcsSnapshotArrayOutput) Index(i pulumi.IntInput) EcsSnapshotOutput
- func (o EcsSnapshotArrayOutput) ToEcsSnapshotArrayOutput() EcsSnapshotArrayOutput
- func (o EcsSnapshotArrayOutput) ToEcsSnapshotArrayOutputWithContext(ctx context.Context) EcsSnapshotArrayOutput
- type EcsSnapshotInput
- type EcsSnapshotMap
- type EcsSnapshotMapInput
- type EcsSnapshotMapOutput
- func (EcsSnapshotMapOutput) ElementType() reflect.Type
- func (o EcsSnapshotMapOutput) MapIndex(k pulumi.StringInput) EcsSnapshotOutput
- func (o EcsSnapshotMapOutput) ToEcsSnapshotMapOutput() EcsSnapshotMapOutput
- func (o EcsSnapshotMapOutput) ToEcsSnapshotMapOutputWithContext(ctx context.Context) EcsSnapshotMapOutput
- type EcsSnapshotOutput
- type EcsSnapshotState
- type Eipdeprecated
- type EipAddress
- type EipAddressArgs
- type EipAddressArray
- type EipAddressArrayInput
- type EipAddressArrayOutput
- func (EipAddressArrayOutput) ElementType() reflect.Type
- func (o EipAddressArrayOutput) Index(i pulumi.IntInput) EipAddressOutput
- func (o EipAddressArrayOutput) ToEipAddressArrayOutput() EipAddressArrayOutput
- func (o EipAddressArrayOutput) ToEipAddressArrayOutputWithContext(ctx context.Context) EipAddressArrayOutput
- type EipAddressInput
- type EipAddressMap
- type EipAddressMapInput
- type EipAddressMapOutput
- func (EipAddressMapOutput) ElementType() reflect.Type
- func (o EipAddressMapOutput) MapIndex(k pulumi.StringInput) EipAddressOutput
- func (o EipAddressMapOutput) ToEipAddressMapOutput() EipAddressMapOutput
- func (o EipAddressMapOutput) ToEipAddressMapOutputWithContext(ctx context.Context) EipAddressMapOutput
- type EipAddressOutput
- type EipAddressState
- type EipArgs
- type EipArray
- type EipArrayInput
- type EipArrayOutput
- type EipAssociation
- type EipAssociationArgs
- type EipAssociationArray
- type EipAssociationArrayInput
- type EipAssociationArrayOutput
- func (EipAssociationArrayOutput) ElementType() reflect.Type
- func (o EipAssociationArrayOutput) Index(i pulumi.IntInput) EipAssociationOutput
- func (o EipAssociationArrayOutput) ToEipAssociationArrayOutput() EipAssociationArrayOutput
- func (o EipAssociationArrayOutput) ToEipAssociationArrayOutputWithContext(ctx context.Context) EipAssociationArrayOutput
- type EipAssociationInput
- type EipAssociationMap
- type EipAssociationMapInput
- type EipAssociationMapOutput
- func (EipAssociationMapOutput) ElementType() reflect.Type
- func (o EipAssociationMapOutput) MapIndex(k pulumi.StringInput) EipAssociationOutput
- func (o EipAssociationMapOutput) ToEipAssociationMapOutput() EipAssociationMapOutput
- func (o EipAssociationMapOutput) ToEipAssociationMapOutputWithContext(ctx context.Context) EipAssociationMapOutput
- type EipAssociationOutput
- type EipAssociationState
- type EipInput
- type EipMap
- type EipMapInput
- type EipMapOutput
- type EipOutput
- type EipState
- type GetAutoSnapshotPoliciesArgs
- type GetAutoSnapshotPoliciesOutputArgs
- type GetAutoSnapshotPoliciesPolicy
- type GetAutoSnapshotPoliciesPolicyArgs
- func (GetAutoSnapshotPoliciesPolicyArgs) ElementType() reflect.Type
- func (i GetAutoSnapshotPoliciesPolicyArgs) ToGetAutoSnapshotPoliciesPolicyOutput() GetAutoSnapshotPoliciesPolicyOutput
- func (i GetAutoSnapshotPoliciesPolicyArgs) ToGetAutoSnapshotPoliciesPolicyOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyOutput
- type GetAutoSnapshotPoliciesPolicyArray
- func (GetAutoSnapshotPoliciesPolicyArray) ElementType() reflect.Type
- func (i GetAutoSnapshotPoliciesPolicyArray) ToGetAutoSnapshotPoliciesPolicyArrayOutput() GetAutoSnapshotPoliciesPolicyArrayOutput
- func (i GetAutoSnapshotPoliciesPolicyArray) ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyArrayOutput
- type GetAutoSnapshotPoliciesPolicyArrayInput
- type GetAutoSnapshotPoliciesPolicyArrayOutput
- func (GetAutoSnapshotPoliciesPolicyArrayOutput) ElementType() reflect.Type
- func (o GetAutoSnapshotPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetAutoSnapshotPoliciesPolicyOutput
- func (o GetAutoSnapshotPoliciesPolicyArrayOutput) ToGetAutoSnapshotPoliciesPolicyArrayOutput() GetAutoSnapshotPoliciesPolicyArrayOutput
- func (o GetAutoSnapshotPoliciesPolicyArrayOutput) ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyArrayOutput
- type GetAutoSnapshotPoliciesPolicyInput
- type GetAutoSnapshotPoliciesPolicyOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) AutoSnapshotPolicyId() pulumi.StringOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) CopiedSnapshotsRetentionDays() pulumi.IntOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) DiskNums() pulumi.IntOutput
- func (GetAutoSnapshotPoliciesPolicyOutput) ElementType() reflect.Type
- func (o GetAutoSnapshotPoliciesPolicyOutput) EnableCrossRegionCopy() pulumi.BoolOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) Id() pulumi.StringOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) Name() pulumi.StringOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) RetentionDays() pulumi.IntOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) Status() pulumi.StringOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) Tags() pulumi.MapOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) TargetCopyRegions() pulumi.StringArrayOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) TimePoints() pulumi.StringArrayOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) ToGetAutoSnapshotPoliciesPolicyOutput() GetAutoSnapshotPoliciesPolicyOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) ToGetAutoSnapshotPoliciesPolicyOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyOutput
- func (o GetAutoSnapshotPoliciesPolicyOutput) VolumeNums() pulumi.IntOutput
- type GetAutoSnapshotPoliciesResult
- type GetAutoSnapshotPoliciesResultOutput
- func (GetAutoSnapshotPoliciesResultOutput) ElementType() reflect.Type
- func (o GetAutoSnapshotPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetAutoSnapshotPoliciesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAutoSnapshotPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAutoSnapshotPoliciesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAutoSnapshotPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAutoSnapshotPoliciesResultOutput) Policies() GetAutoSnapshotPoliciesPolicyArrayOutput
- func (o GetAutoSnapshotPoliciesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetAutoSnapshotPoliciesResultOutput) Tags() pulumi.MapOutput
- func (o GetAutoSnapshotPoliciesResultOutput) ToGetAutoSnapshotPoliciesResultOutput() GetAutoSnapshotPoliciesResultOutput
- func (o GetAutoSnapshotPoliciesResultOutput) ToGetAutoSnapshotPoliciesResultOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesResultOutput
- type GetCommandsArgs
- type GetCommandsCommand
- type GetCommandsCommandArgs
- type GetCommandsCommandArray
- type GetCommandsCommandArrayInput
- type GetCommandsCommandArrayOutput
- func (GetCommandsCommandArrayOutput) ElementType() reflect.Type
- func (o GetCommandsCommandArrayOutput) Index(i pulumi.IntInput) GetCommandsCommandOutput
- func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput
- func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutputWithContext(ctx context.Context) GetCommandsCommandArrayOutput
- type GetCommandsCommandInput
- type GetCommandsCommandOutput
- func (o GetCommandsCommandOutput) CommandContent() pulumi.StringOutput
- func (o GetCommandsCommandOutput) CommandId() pulumi.StringOutput
- func (o GetCommandsCommandOutput) Description() pulumi.StringOutput
- func (GetCommandsCommandOutput) ElementType() reflect.Type
- func (o GetCommandsCommandOutput) EnableParameter() pulumi.BoolOutput
- func (o GetCommandsCommandOutput) Id() pulumi.StringOutput
- func (o GetCommandsCommandOutput) Name() pulumi.StringOutput
- func (o GetCommandsCommandOutput) ParameterNames() pulumi.StringArrayOutput
- func (o GetCommandsCommandOutput) Timeout() pulumi.IntOutput
- func (o GetCommandsCommandOutput) ToGetCommandsCommandOutput() GetCommandsCommandOutput
- func (o GetCommandsCommandOutput) ToGetCommandsCommandOutputWithContext(ctx context.Context) GetCommandsCommandOutput
- func (o GetCommandsCommandOutput) Type() pulumi.StringOutput
- func (o GetCommandsCommandOutput) WorkingDir() pulumi.StringOutput
- type GetCommandsOutputArgs
- type GetCommandsResult
- type GetCommandsResultOutput
- func (o GetCommandsResultOutput) CommandProvider() pulumi.StringPtrOutput
- func (o GetCommandsResultOutput) Commands() GetCommandsCommandArrayOutput
- func (o GetCommandsResultOutput) ContentEncoding() pulumi.StringPtrOutput
- func (o GetCommandsResultOutput) Description() pulumi.StringPtrOutput
- func (GetCommandsResultOutput) ElementType() reflect.Type
- func (o GetCommandsResultOutput) Id() pulumi.StringOutput
- func (o GetCommandsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetCommandsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetCommandsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetCommandsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetCommandsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetCommandsResultOutput) ToGetCommandsResultOutput() GetCommandsResultOutput
- func (o GetCommandsResultOutput) ToGetCommandsResultOutputWithContext(ctx context.Context) GetCommandsResultOutput
- func (o GetCommandsResultOutput) Type() pulumi.StringPtrOutput
- type GetDedicatedHostsArgs
- type GetDedicatedHostsHost
- type GetDedicatedHostsHostArgs
- type GetDedicatedHostsHostArray
- func (GetDedicatedHostsHostArray) ElementType() reflect.Type
- func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
- func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
- type GetDedicatedHostsHostArrayInput
- type GetDedicatedHostsHostArrayOutput
- func (GetDedicatedHostsHostArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
- func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
- type GetDedicatedHostsHostCapacity
- type GetDedicatedHostsHostCapacityArgs
- func (GetDedicatedHostsHostCapacityArgs) ElementType() reflect.Type
- func (i GetDedicatedHostsHostCapacityArgs) ToGetDedicatedHostsHostCapacityOutput() GetDedicatedHostsHostCapacityOutput
- func (i GetDedicatedHostsHostCapacityArgs) ToGetDedicatedHostsHostCapacityOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityOutput
- type GetDedicatedHostsHostCapacityArray
- func (GetDedicatedHostsHostCapacityArray) ElementType() reflect.Type
- func (i GetDedicatedHostsHostCapacityArray) ToGetDedicatedHostsHostCapacityArrayOutput() GetDedicatedHostsHostCapacityArrayOutput
- func (i GetDedicatedHostsHostCapacityArray) ToGetDedicatedHostsHostCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityArrayOutput
- type GetDedicatedHostsHostCapacityArrayInput
- type GetDedicatedHostsHostCapacityArrayOutput
- func (GetDedicatedHostsHostCapacityArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostCapacityArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostCapacityOutput
- func (o GetDedicatedHostsHostCapacityArrayOutput) ToGetDedicatedHostsHostCapacityArrayOutput() GetDedicatedHostsHostCapacityArrayOutput
- func (o GetDedicatedHostsHostCapacityArrayOutput) ToGetDedicatedHostsHostCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityArrayOutput
- type GetDedicatedHostsHostCapacityInput
- type GetDedicatedHostsHostCapacityOutput
- func (o GetDedicatedHostsHostCapacityOutput) AvailableLocalStorage() pulumi.IntOutput
- func (o GetDedicatedHostsHostCapacityOutput) AvailableMemory() pulumi.Float64Output
- func (o GetDedicatedHostsHostCapacityOutput) AvailableVcpus() pulumi.IntOutput
- func (o GetDedicatedHostsHostCapacityOutput) AvailableVgpus() pulumi.IntOutput
- func (GetDedicatedHostsHostCapacityOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostCapacityOutput) LocalStorageCategory() pulumi.StringOutput
- func (o GetDedicatedHostsHostCapacityOutput) ToGetDedicatedHostsHostCapacityOutput() GetDedicatedHostsHostCapacityOutput
- func (o GetDedicatedHostsHostCapacityOutput) ToGetDedicatedHostsHostCapacityOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityOutput
- func (o GetDedicatedHostsHostCapacityOutput) TotalLocalStorage() pulumi.IntOutput
- func (o GetDedicatedHostsHostCapacityOutput) TotalMemory() pulumi.Float64Output
- func (o GetDedicatedHostsHostCapacityOutput) TotalVcpus() pulumi.IntOutput
- func (o GetDedicatedHostsHostCapacityOutput) TotalVgpus() pulumi.IntOutput
- type GetDedicatedHostsHostInput
- type GetDedicatedHostsHostNetworkAttribute
- type GetDedicatedHostsHostNetworkAttributeArgs
- func (GetDedicatedHostsHostNetworkAttributeArgs) ElementType() reflect.Type
- func (i GetDedicatedHostsHostNetworkAttributeArgs) ToGetDedicatedHostsHostNetworkAttributeOutput() GetDedicatedHostsHostNetworkAttributeOutput
- func (i GetDedicatedHostsHostNetworkAttributeArgs) ToGetDedicatedHostsHostNetworkAttributeOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeOutput
- type GetDedicatedHostsHostNetworkAttributeArray
- func (GetDedicatedHostsHostNetworkAttributeArray) ElementType() reflect.Type
- func (i GetDedicatedHostsHostNetworkAttributeArray) ToGetDedicatedHostsHostNetworkAttributeArrayOutput() GetDedicatedHostsHostNetworkAttributeArrayOutput
- func (i GetDedicatedHostsHostNetworkAttributeArray) ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeArrayOutput
- type GetDedicatedHostsHostNetworkAttributeArrayInput
- type GetDedicatedHostsHostNetworkAttributeArrayOutput
- func (GetDedicatedHostsHostNetworkAttributeArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostNetworkAttributeArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostNetworkAttributeOutput
- func (o GetDedicatedHostsHostNetworkAttributeArrayOutput) ToGetDedicatedHostsHostNetworkAttributeArrayOutput() GetDedicatedHostsHostNetworkAttributeArrayOutput
- func (o GetDedicatedHostsHostNetworkAttributeArrayOutput) ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeArrayOutput
- type GetDedicatedHostsHostNetworkAttributeInput
- type GetDedicatedHostsHostNetworkAttributeOutput
- func (GetDedicatedHostsHostNetworkAttributeOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostNetworkAttributeOutput) SlbUdpTimeout() pulumi.IntOutput
- func (o GetDedicatedHostsHostNetworkAttributeOutput) ToGetDedicatedHostsHostNetworkAttributeOutput() GetDedicatedHostsHostNetworkAttributeOutput
- func (o GetDedicatedHostsHostNetworkAttributeOutput) ToGetDedicatedHostsHostNetworkAttributeOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeOutput
- func (o GetDedicatedHostsHostNetworkAttributeOutput) UdpTimeout() pulumi.IntOutput
- type GetDedicatedHostsHostOperationLock
- type GetDedicatedHostsHostOperationLockArgs
- func (GetDedicatedHostsHostOperationLockArgs) ElementType() reflect.Type
- func (i GetDedicatedHostsHostOperationLockArgs) ToGetDedicatedHostsHostOperationLockOutput() GetDedicatedHostsHostOperationLockOutput
- func (i GetDedicatedHostsHostOperationLockArgs) ToGetDedicatedHostsHostOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockOutput
- type GetDedicatedHostsHostOperationLockArray
- func (GetDedicatedHostsHostOperationLockArray) ElementType() reflect.Type
- func (i GetDedicatedHostsHostOperationLockArray) ToGetDedicatedHostsHostOperationLockArrayOutput() GetDedicatedHostsHostOperationLockArrayOutput
- func (i GetDedicatedHostsHostOperationLockArray) ToGetDedicatedHostsHostOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockArrayOutput
- type GetDedicatedHostsHostOperationLockArrayInput
- type GetDedicatedHostsHostOperationLockArrayOutput
- func (GetDedicatedHostsHostOperationLockArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostOperationLockArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostOperationLockOutput
- func (o GetDedicatedHostsHostOperationLockArrayOutput) ToGetDedicatedHostsHostOperationLockArrayOutput() GetDedicatedHostsHostOperationLockArrayOutput
- func (o GetDedicatedHostsHostOperationLockArrayOutput) ToGetDedicatedHostsHostOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockArrayOutput
- type GetDedicatedHostsHostOperationLockInput
- type GetDedicatedHostsHostOperationLockOutput
- func (GetDedicatedHostsHostOperationLockOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostOperationLockOutput) LockReason() pulumi.StringOutput
- func (o GetDedicatedHostsHostOperationLockOutput) ToGetDedicatedHostsHostOperationLockOutput() GetDedicatedHostsHostOperationLockOutput
- func (o GetDedicatedHostsHostOperationLockOutput) ToGetDedicatedHostsHostOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockOutput
- type GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostOutput) ActionOnMaintenance() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) AutoPlacement() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) AutoReleaseTime() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Capacities() GetDedicatedHostsHostCapacityArrayOutput
- func (o GetDedicatedHostsHostOutput) Cores() pulumi.IntOutput
- func (o GetDedicatedHostsHostOutput) CpuOverCommitRatio() pulumi.Float64Output
- func (o GetDedicatedHostsHostOutput) DedicatedHostId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) DedicatedHostName() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) DedicatedHostType() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Description() pulumi.StringOutput
- func (GetDedicatedHostsHostOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostOutput) ExpiredTime() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) GpuSpec() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) MachineId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) NetworkAttributes() GetDedicatedHostsHostNetworkAttributeArrayOutput
- func (o GetDedicatedHostsHostOutput) OperationLocks() GetDedicatedHostsHostOperationLockArrayOutput
- func (o GetDedicatedHostsHostOutput) PaymentType() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) PhysicalGpus() pulumi.IntOutput
- func (o GetDedicatedHostsHostOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) SaleCycle() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Sockets() pulumi.IntOutput
- func (o GetDedicatedHostsHostOutput) Status() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) SupportedCustomInstanceTypeFamilies() pulumi.StringArrayOutput
- func (o GetDedicatedHostsHostOutput) SupportedInstanceTypeFamilies() pulumi.StringArrayOutput
- func (o GetDedicatedHostsHostOutput) SupportedInstanceTypesLists() pulumi.StringArrayOutput
- func (o GetDedicatedHostsHostOutput) Tags() pulumi.MapOutput
- func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostOutput) ZoneId() pulumi.StringOutput
- type GetDedicatedHostsOperationLock
- type GetDedicatedHostsOperationLockArgs
- func (GetDedicatedHostsOperationLockArgs) ElementType() reflect.Type
- func (i GetDedicatedHostsOperationLockArgs) ToGetDedicatedHostsOperationLockOutput() GetDedicatedHostsOperationLockOutput
- func (i GetDedicatedHostsOperationLockArgs) ToGetDedicatedHostsOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockOutput
- type GetDedicatedHostsOperationLockArray
- func (GetDedicatedHostsOperationLockArray) ElementType() reflect.Type
- func (i GetDedicatedHostsOperationLockArray) ToGetDedicatedHostsOperationLockArrayOutput() GetDedicatedHostsOperationLockArrayOutput
- func (i GetDedicatedHostsOperationLockArray) ToGetDedicatedHostsOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockArrayOutput
- type GetDedicatedHostsOperationLockArrayInput
- type GetDedicatedHostsOperationLockArrayOutput
- func (GetDedicatedHostsOperationLockArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsOperationLockArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsOperationLockOutput
- func (o GetDedicatedHostsOperationLockArrayOutput) ToGetDedicatedHostsOperationLockArrayOutput() GetDedicatedHostsOperationLockArrayOutput
- func (o GetDedicatedHostsOperationLockArrayOutput) ToGetDedicatedHostsOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockArrayOutput
- type GetDedicatedHostsOperationLockInput
- type GetDedicatedHostsOperationLockOutput
- func (GetDedicatedHostsOperationLockOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsOperationLockOutput) LockReason() pulumi.StringPtrOutput
- func (o GetDedicatedHostsOperationLockOutput) ToGetDedicatedHostsOperationLockOutput() GetDedicatedHostsOperationLockOutput
- func (o GetDedicatedHostsOperationLockOutput) ToGetDedicatedHostsOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockOutput
- type GetDedicatedHostsOutputArgs
- type GetDedicatedHostsResult
- type GetDedicatedHostsResultOutput
- func (o GetDedicatedHostsResultOutput) DedicatedHostId() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) DedicatedHostName() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) DedicatedHostType() pulumi.StringPtrOutput
- func (GetDedicatedHostsResultOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsResultOutput) Hosts() GetDedicatedHostsHostArrayOutput
- func (o GetDedicatedHostsResultOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDedicatedHostsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDedicatedHostsResultOutput) OperationLocks() GetDedicatedHostsOperationLockArrayOutput
- func (o GetDedicatedHostsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) Tags() pulumi.MapOutput
- func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput() GetDedicatedHostsResultOutput
- func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext(ctx context.Context) GetDedicatedHostsResultOutput
- func (o GetDedicatedHostsResultOutput) ZoneId() pulumi.StringPtrOutput
- type GetDisksArgs
- type GetDisksDisk
- type GetDisksDiskArgs
- type GetDisksDiskArray
- type GetDisksDiskArrayInput
- type GetDisksDiskArrayOutput
- func (GetDisksDiskArrayOutput) ElementType() reflect.Type
- func (o GetDisksDiskArrayOutput) Index(i pulumi.IntInput) GetDisksDiskOutput
- func (o GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput
- func (o GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutputWithContext(ctx context.Context) GetDisksDiskArrayOutput
- type GetDisksDiskInput
- type GetDisksDiskMountInstance
- type GetDisksDiskMountInstanceArgs
- func (GetDisksDiskMountInstanceArgs) ElementType() reflect.Type
- func (i GetDisksDiskMountInstanceArgs) ToGetDisksDiskMountInstanceOutput() GetDisksDiskMountInstanceOutput
- func (i GetDisksDiskMountInstanceArgs) ToGetDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceOutput
- type GetDisksDiskMountInstanceArray
- func (GetDisksDiskMountInstanceArray) ElementType() reflect.Type
- func (i GetDisksDiskMountInstanceArray) ToGetDisksDiskMountInstanceArrayOutput() GetDisksDiskMountInstanceArrayOutput
- func (i GetDisksDiskMountInstanceArray) ToGetDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceArrayOutput
- type GetDisksDiskMountInstanceArrayInput
- type GetDisksDiskMountInstanceArrayOutput
- func (GetDisksDiskMountInstanceArrayOutput) ElementType() reflect.Type
- func (o GetDisksDiskMountInstanceArrayOutput) Index(i pulumi.IntInput) GetDisksDiskMountInstanceOutput
- func (o GetDisksDiskMountInstanceArrayOutput) ToGetDisksDiskMountInstanceArrayOutput() GetDisksDiskMountInstanceArrayOutput
- func (o GetDisksDiskMountInstanceArrayOutput) ToGetDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceArrayOutput
- type GetDisksDiskMountInstanceInput
- type GetDisksDiskMountInstanceOutput
- func (o GetDisksDiskMountInstanceOutput) AttachedTime() pulumi.StringOutput
- func (o GetDisksDiskMountInstanceOutput) Device() pulumi.StringOutput
- func (GetDisksDiskMountInstanceOutput) ElementType() reflect.Type
- func (o GetDisksDiskMountInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetDisksDiskMountInstanceOutput) ToGetDisksDiskMountInstanceOutput() GetDisksDiskMountInstanceOutput
- func (o GetDisksDiskMountInstanceOutput) ToGetDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceOutput
- type GetDisksDiskOperationLock
- type GetDisksDiskOperationLockArgs
- func (GetDisksDiskOperationLockArgs) ElementType() reflect.Type
- func (i GetDisksDiskOperationLockArgs) ToGetDisksDiskOperationLockOutput() GetDisksDiskOperationLockOutput
- func (i GetDisksDiskOperationLockArgs) ToGetDisksDiskOperationLockOutputWithContext(ctx context.Context) GetDisksDiskOperationLockOutput
- type GetDisksDiskOperationLockArray
- func (GetDisksDiskOperationLockArray) ElementType() reflect.Type
- func (i GetDisksDiskOperationLockArray) ToGetDisksDiskOperationLockArrayOutput() GetDisksDiskOperationLockArrayOutput
- func (i GetDisksDiskOperationLockArray) ToGetDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetDisksDiskOperationLockArrayOutput
- type GetDisksDiskOperationLockArrayInput
- type GetDisksDiskOperationLockArrayOutput
- func (GetDisksDiskOperationLockArrayOutput) ElementType() reflect.Type
- func (o GetDisksDiskOperationLockArrayOutput) Index(i pulumi.IntInput) GetDisksDiskOperationLockOutput
- func (o GetDisksDiskOperationLockArrayOutput) ToGetDisksDiskOperationLockArrayOutput() GetDisksDiskOperationLockArrayOutput
- func (o GetDisksDiskOperationLockArrayOutput) ToGetDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetDisksDiskOperationLockArrayOutput
- type GetDisksDiskOperationLockInput
- type GetDisksDiskOperationLockOutput
- func (GetDisksDiskOperationLockOutput) ElementType() reflect.Type
- func (o GetDisksDiskOperationLockOutput) LockReason() pulumi.StringOutput
- func (o GetDisksDiskOperationLockOutput) ToGetDisksDiskOperationLockOutput() GetDisksDiskOperationLockOutput
- func (o GetDisksDiskOperationLockOutput) ToGetDisksDiskOperationLockOutputWithContext(ctx context.Context) GetDisksDiskOperationLockOutput
- type GetDisksDiskOutput
- func (o GetDisksDiskOutput) AttachedTime() pulumi.StringOutput
- func (o GetDisksDiskOutput) AutoSnapshotPolicyId() pulumi.StringOutput
- func (o GetDisksDiskOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetDisksDiskOutput) Category() pulumi.StringOutput
- func (o GetDisksDiskOutput) CreationTime() pulumi.StringOutput
- func (o GetDisksDiskOutput) DeleteAutoSnapshot() pulumi.BoolOutput
- func (o GetDisksDiskOutput) DeleteWithInstance() pulumi.BoolOutput
- func (o GetDisksDiskOutput) Description() pulumi.StringOutput
- func (o GetDisksDiskOutput) DetachedTime() pulumi.StringOutput
- func (o GetDisksDiskOutput) Device() pulumi.StringOutput
- func (o GetDisksDiskOutput) DiskId() pulumi.StringOutput
- func (o GetDisksDiskOutput) DiskName() pulumi.StringOutput
- func (o GetDisksDiskOutput) DiskType() pulumi.StringOutput
- func (GetDisksDiskOutput) ElementType() reflect.Type
- func (o GetDisksDiskOutput) EnableAutoSnapshot() pulumi.BoolOutput
- func (o GetDisksDiskOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolOutput
- func (o GetDisksDiskOutput) Encrypted() pulumi.StringOutput
- func (o GetDisksDiskOutput) ExpiredTime() pulumi.StringOutput
- func (o GetDisksDiskOutput) Id() pulumi.StringOutput
- func (o GetDisksDiskOutput) ImageId() pulumi.StringOutput
- func (o GetDisksDiskOutput) InstanceId() pulumi.StringOutput
- func (o GetDisksDiskOutput) Iops() pulumi.IntOutput
- func (o GetDisksDiskOutput) IopsRead() pulumi.IntOutput
- func (o GetDisksDiskOutput) IopsWrite() pulumi.IntOutput
- func (o GetDisksDiskOutput) KmsKeyId() pulumi.StringOutput
- func (o GetDisksDiskOutput) MountInstanceNum() pulumi.IntOutput
- func (o GetDisksDiskOutput) MountInstances() GetDisksDiskMountInstanceArrayOutput
- func (o GetDisksDiskOutput) Name() pulumi.StringOutput
- func (o GetDisksDiskOutput) OperationLocks() GetDisksDiskOperationLockArrayOutput
- func (o GetDisksDiskOutput) PaymentType() pulumi.StringOutput
- func (o GetDisksDiskOutput) PerformanceLevel() pulumi.StringOutput
- func (o GetDisksDiskOutput) Portable() pulumi.BoolOutput
- func (o GetDisksDiskOutput) ProductCode() pulumi.StringOutput
- func (o GetDisksDiskOutput) RegionId() pulumi.StringOutput
- func (o GetDisksDiskOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetDisksDiskOutput) Size() pulumi.IntOutput
- func (o GetDisksDiskOutput) SnapshotId() pulumi.StringOutput
- func (o GetDisksDiskOutput) Status() pulumi.StringOutput
- func (o GetDisksDiskOutput) Tags() pulumi.MapOutput
- func (o GetDisksDiskOutput) ToGetDisksDiskOutput() GetDisksDiskOutput
- func (o GetDisksDiskOutput) ToGetDisksDiskOutputWithContext(ctx context.Context) GetDisksDiskOutput
- func (o GetDisksDiskOutput) Type() pulumi.StringOutput
- func (o GetDisksDiskOutput) ZoneId() pulumi.StringOutput
- type GetDisksOperationLock
- type GetDisksOperationLockArgs
- type GetDisksOperationLockArray
- func (GetDisksOperationLockArray) ElementType() reflect.Type
- func (i GetDisksOperationLockArray) ToGetDisksOperationLockArrayOutput() GetDisksOperationLockArrayOutput
- func (i GetDisksOperationLockArray) ToGetDisksOperationLockArrayOutputWithContext(ctx context.Context) GetDisksOperationLockArrayOutput
- type GetDisksOperationLockArrayInput
- type GetDisksOperationLockArrayOutput
- func (GetDisksOperationLockArrayOutput) ElementType() reflect.Type
- func (o GetDisksOperationLockArrayOutput) Index(i pulumi.IntInput) GetDisksOperationLockOutput
- func (o GetDisksOperationLockArrayOutput) ToGetDisksOperationLockArrayOutput() GetDisksOperationLockArrayOutput
- func (o GetDisksOperationLockArrayOutput) ToGetDisksOperationLockArrayOutputWithContext(ctx context.Context) GetDisksOperationLockArrayOutput
- type GetDisksOperationLockInput
- type GetDisksOperationLockOutput
- func (GetDisksOperationLockOutput) ElementType() reflect.Type
- func (o GetDisksOperationLockOutput) LockReason() pulumi.StringPtrOutput
- func (o GetDisksOperationLockOutput) ToGetDisksOperationLockOutput() GetDisksOperationLockOutput
- func (o GetDisksOperationLockOutput) ToGetDisksOperationLockOutputWithContext(ctx context.Context) GetDisksOperationLockOutput
- type GetDisksOutputArgs
- type GetDisksResult
- type GetDisksResultOutput
- func (o GetDisksResultOutput) AdditionalAttributes() pulumi.StringArrayOutput
- func (o GetDisksResultOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) AvailabilityZone() pulumi.StringPtrOutputdeprecated
- func (o GetDisksResultOutput) Category() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) DeleteAutoSnapshot() pulumi.BoolPtrOutput
- func (o GetDisksResultOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o GetDisksResultOutput) DiskName() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) DiskType() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) Disks() GetDisksDiskArrayOutput
- func (o GetDisksResultOutput) DryRun() pulumi.BoolPtrOutput
- func (GetDisksResultOutput) ElementType() reflect.Type
- func (o GetDisksResultOutput) EnableAutoSnapshot() pulumi.BoolPtrOutput
- func (o GetDisksResultOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolPtrOutput
- func (o GetDisksResultOutput) EnableShared() pulumi.BoolPtrOutput
- func (o GetDisksResultOutput) Encrypted() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) Id() pulumi.StringOutput
- func (o GetDisksResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDisksResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDisksResultOutput) OperationLocks() GetDisksOperationLockArrayOutput
- func (o GetDisksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetDisksResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetDisksResultOutput) PaymentType() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) Portable() pulumi.BoolPtrOutput
- func (o GetDisksResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) SnapshotId() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) Status() pulumi.StringPtrOutput
- func (o GetDisksResultOutput) Tags() pulumi.MapOutput
- func (o GetDisksResultOutput) ToGetDisksResultOutput() GetDisksResultOutput
- func (o GetDisksResultOutput) ToGetDisksResultOutputWithContext(ctx context.Context) GetDisksResultOutput
- func (o GetDisksResultOutput) TotalCount() pulumi.IntOutput
- func (o GetDisksResultOutput) Type() pulumi.StringPtrOutputdeprecated
- func (o GetDisksResultOutput) ZoneId() pulumi.StringPtrOutput
- type GetEcsDedicatedHostClustersArgs
- type GetEcsDedicatedHostClustersCluster
- type GetEcsDedicatedHostClustersClusterArgs
- func (GetEcsDedicatedHostClustersClusterArgs) ElementType() reflect.Type
- func (i GetEcsDedicatedHostClustersClusterArgs) ToGetEcsDedicatedHostClustersClusterOutput() GetEcsDedicatedHostClustersClusterOutput
- func (i GetEcsDedicatedHostClustersClusterArgs) ToGetEcsDedicatedHostClustersClusterOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterOutput
- type GetEcsDedicatedHostClustersClusterArray
- func (GetEcsDedicatedHostClustersClusterArray) ElementType() reflect.Type
- func (i GetEcsDedicatedHostClustersClusterArray) ToGetEcsDedicatedHostClustersClusterArrayOutput() GetEcsDedicatedHostClustersClusterArrayOutput
- func (i GetEcsDedicatedHostClustersClusterArray) ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterArrayOutput
- type GetEcsDedicatedHostClustersClusterArrayInput
- type GetEcsDedicatedHostClustersClusterArrayOutput
- func (GetEcsDedicatedHostClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersClusterArrayOutput) Index(i pulumi.IntInput) GetEcsDedicatedHostClustersClusterOutput
- func (o GetEcsDedicatedHostClustersClusterArrayOutput) ToGetEcsDedicatedHostClustersClusterArrayOutput() GetEcsDedicatedHostClustersClusterArrayOutput
- func (o GetEcsDedicatedHostClustersClusterArrayOutput) ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterArrayOutput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ElementType() reflect.Type
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ElementType() reflect.Type
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayInput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) Index(i pulumi.IntInput) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityInput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ElementType() reflect.Type
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput() ...
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext(ctx context.Context) ...
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ElementType() reflect.Type
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput() ...
- func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext(ctx context.Context) ...
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayInput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) Index(i pulumi.IntInput) ...
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput() ...
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext(ctx context.Context) ...
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityInput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) AvailableDisk() pulumi.IntOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) DataDiskCategory() pulumi.StringOutput
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput() ...
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext(ctx context.Context) ...
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) TotalDisk() pulumi.IntOutput
- type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) AvailableMemory() pulumi.IntOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) AvailableVcpus() pulumi.IntOutput
- func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) LocalStorageCapacities() ...
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) TotalMemory() pulumi.IntOutput
- func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) TotalVcpus() pulumi.IntOutput
- type GetEcsDedicatedHostClustersClusterInput
- type GetEcsDedicatedHostClustersClusterOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterCapacities() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterId() pulumi.StringOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterName() pulumi.StringOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostIds() pulumi.StringArrayOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) Description() pulumi.StringOutput
- func (GetEcsDedicatedHostClustersClusterOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) Tags() pulumi.MapOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) ToGetEcsDedicatedHostClustersClusterOutput() GetEcsDedicatedHostClustersClusterOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) ToGetEcsDedicatedHostClustersClusterOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterOutput
- func (o GetEcsDedicatedHostClustersClusterOutput) ZoneId() pulumi.StringOutput
- type GetEcsDedicatedHostClustersOutputArgs
- type GetEcsDedicatedHostClustersResult
- type GetEcsDedicatedHostClustersResultOutput
- func (o GetEcsDedicatedHostClustersResultOutput) Clusters() GetEcsDedicatedHostClustersClusterArrayOutput
- func (o GetEcsDedicatedHostClustersResultOutput) DedicatedHostClusterIds() pulumi.StringArrayOutput
- func (o GetEcsDedicatedHostClustersResultOutput) DedicatedHostClusterName() pulumi.StringPtrOutput
- func (GetEcsDedicatedHostClustersResultOutput) ElementType() reflect.Type
- func (o GetEcsDedicatedHostClustersResultOutput) Id() pulumi.StringOutput
- func (o GetEcsDedicatedHostClustersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsDedicatedHostClustersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsDedicatedHostClustersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsDedicatedHostClustersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsDedicatedHostClustersResultOutput) Tags() pulumi.MapOutput
- func (o GetEcsDedicatedHostClustersResultOutput) ToGetEcsDedicatedHostClustersResultOutput() GetEcsDedicatedHostClustersResultOutput
- func (o GetEcsDedicatedHostClustersResultOutput) ToGetEcsDedicatedHostClustersResultOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersResultOutput
- func (o GetEcsDedicatedHostClustersResultOutput) ZoneId() pulumi.StringPtrOutput
- type GetEcsDeploymentSetsArgs
- type GetEcsDeploymentSetsOutputArgs
- type GetEcsDeploymentSetsResult
- type GetEcsDeploymentSetsResultOutput
- func (o GetEcsDeploymentSetsResultOutput) DeploymentSetName() pulumi.StringPtrOutput
- func (GetEcsDeploymentSetsResultOutput) ElementType() reflect.Type
- func (o GetEcsDeploymentSetsResultOutput) Id() pulumi.StringOutput
- func (o GetEcsDeploymentSetsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsDeploymentSetsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsDeploymentSetsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsDeploymentSetsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsDeploymentSetsResultOutput) Sets() GetEcsDeploymentSetsSetArrayOutput
- func (o GetEcsDeploymentSetsResultOutput) Strategy() pulumi.StringPtrOutput
- func (o GetEcsDeploymentSetsResultOutput) ToGetEcsDeploymentSetsResultOutput() GetEcsDeploymentSetsResultOutput
- func (o GetEcsDeploymentSetsResultOutput) ToGetEcsDeploymentSetsResultOutputWithContext(ctx context.Context) GetEcsDeploymentSetsResultOutput
- type GetEcsDeploymentSetsSet
- type GetEcsDeploymentSetsSetArgs
- type GetEcsDeploymentSetsSetArray
- func (GetEcsDeploymentSetsSetArray) ElementType() reflect.Type
- func (i GetEcsDeploymentSetsSetArray) ToGetEcsDeploymentSetsSetArrayOutput() GetEcsDeploymentSetsSetArrayOutput
- func (i GetEcsDeploymentSetsSetArray) ToGetEcsDeploymentSetsSetArrayOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetArrayOutput
- type GetEcsDeploymentSetsSetArrayInput
- type GetEcsDeploymentSetsSetArrayOutput
- func (GetEcsDeploymentSetsSetArrayOutput) ElementType() reflect.Type
- func (o GetEcsDeploymentSetsSetArrayOutput) Index(i pulumi.IntInput) GetEcsDeploymentSetsSetOutput
- func (o GetEcsDeploymentSetsSetArrayOutput) ToGetEcsDeploymentSetsSetArrayOutput() GetEcsDeploymentSetsSetArrayOutput
- func (o GetEcsDeploymentSetsSetArrayOutput) ToGetEcsDeploymentSetsSetArrayOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetArrayOutput
- type GetEcsDeploymentSetsSetInput
- type GetEcsDeploymentSetsSetOutput
- func (o GetEcsDeploymentSetsSetOutput) CreateTime() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) DeploymentSetId() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) DeploymentSetName() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) Description() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) Domain() pulumi.StringOutput
- func (GetEcsDeploymentSetsSetOutput) ElementType() reflect.Type
- func (o GetEcsDeploymentSetsSetOutput) Granularity() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) Id() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) InstanceAmount() pulumi.IntOutput
- func (o GetEcsDeploymentSetsSetOutput) InstanceIds() pulumi.StringArrayOutput
- func (o GetEcsDeploymentSetsSetOutput) Strategy() pulumi.StringOutput
- func (o GetEcsDeploymentSetsSetOutput) ToGetEcsDeploymentSetsSetOutput() GetEcsDeploymentSetsSetOutput
- func (o GetEcsDeploymentSetsSetOutput) ToGetEcsDeploymentSetsSetOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetOutput
- type GetEcsDisksArgs
- type GetEcsDisksDisk
- type GetEcsDisksDiskArgs
- type GetEcsDisksDiskArray
- type GetEcsDisksDiskArrayInput
- type GetEcsDisksDiskArrayOutput
- func (GetEcsDisksDiskArrayOutput) ElementType() reflect.Type
- func (o GetEcsDisksDiskArrayOutput) Index(i pulumi.IntInput) GetEcsDisksDiskOutput
- func (o GetEcsDisksDiskArrayOutput) ToGetEcsDisksDiskArrayOutput() GetEcsDisksDiskArrayOutput
- func (o GetEcsDisksDiskArrayOutput) ToGetEcsDisksDiskArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskArrayOutput
- type GetEcsDisksDiskInput
- type GetEcsDisksDiskMountInstance
- type GetEcsDisksDiskMountInstanceArgs
- func (GetEcsDisksDiskMountInstanceArgs) ElementType() reflect.Type
- func (i GetEcsDisksDiskMountInstanceArgs) ToGetEcsDisksDiskMountInstanceOutput() GetEcsDisksDiskMountInstanceOutput
- func (i GetEcsDisksDiskMountInstanceArgs) ToGetEcsDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceOutput
- type GetEcsDisksDiskMountInstanceArray
- func (GetEcsDisksDiskMountInstanceArray) ElementType() reflect.Type
- func (i GetEcsDisksDiskMountInstanceArray) ToGetEcsDisksDiskMountInstanceArrayOutput() GetEcsDisksDiskMountInstanceArrayOutput
- func (i GetEcsDisksDiskMountInstanceArray) ToGetEcsDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceArrayOutput
- type GetEcsDisksDiskMountInstanceArrayInput
- type GetEcsDisksDiskMountInstanceArrayOutput
- func (GetEcsDisksDiskMountInstanceArrayOutput) ElementType() reflect.Type
- func (o GetEcsDisksDiskMountInstanceArrayOutput) Index(i pulumi.IntInput) GetEcsDisksDiskMountInstanceOutput
- func (o GetEcsDisksDiskMountInstanceArrayOutput) ToGetEcsDisksDiskMountInstanceArrayOutput() GetEcsDisksDiskMountInstanceArrayOutput
- func (o GetEcsDisksDiskMountInstanceArrayOutput) ToGetEcsDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceArrayOutput
- type GetEcsDisksDiskMountInstanceInput
- type GetEcsDisksDiskMountInstanceOutput
- func (o GetEcsDisksDiskMountInstanceOutput) AttachedTime() pulumi.StringOutput
- func (o GetEcsDisksDiskMountInstanceOutput) Device() pulumi.StringOutput
- func (GetEcsDisksDiskMountInstanceOutput) ElementType() reflect.Type
- func (o GetEcsDisksDiskMountInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsDisksDiskMountInstanceOutput) ToGetEcsDisksDiskMountInstanceOutput() GetEcsDisksDiskMountInstanceOutput
- func (o GetEcsDisksDiskMountInstanceOutput) ToGetEcsDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceOutput
- type GetEcsDisksDiskOperationLock
- type GetEcsDisksDiskOperationLockArgs
- func (GetEcsDisksDiskOperationLockArgs) ElementType() reflect.Type
- func (i GetEcsDisksDiskOperationLockArgs) ToGetEcsDisksDiskOperationLockOutput() GetEcsDisksDiskOperationLockOutput
- func (i GetEcsDisksDiskOperationLockArgs) ToGetEcsDisksDiskOperationLockOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockOutput
- type GetEcsDisksDiskOperationLockArray
- func (GetEcsDisksDiskOperationLockArray) ElementType() reflect.Type
- func (i GetEcsDisksDiskOperationLockArray) ToGetEcsDisksDiskOperationLockArrayOutput() GetEcsDisksDiskOperationLockArrayOutput
- func (i GetEcsDisksDiskOperationLockArray) ToGetEcsDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockArrayOutput
- type GetEcsDisksDiskOperationLockArrayInput
- type GetEcsDisksDiskOperationLockArrayOutput
- func (GetEcsDisksDiskOperationLockArrayOutput) ElementType() reflect.Type
- func (o GetEcsDisksDiskOperationLockArrayOutput) Index(i pulumi.IntInput) GetEcsDisksDiskOperationLockOutput
- func (o GetEcsDisksDiskOperationLockArrayOutput) ToGetEcsDisksDiskOperationLockArrayOutput() GetEcsDisksDiskOperationLockArrayOutput
- func (o GetEcsDisksDiskOperationLockArrayOutput) ToGetEcsDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockArrayOutput
- type GetEcsDisksDiskOperationLockInput
- type GetEcsDisksDiskOperationLockOutput
- func (GetEcsDisksDiskOperationLockOutput) ElementType() reflect.Type
- func (o GetEcsDisksDiskOperationLockOutput) LockReason() pulumi.StringOutput
- func (o GetEcsDisksDiskOperationLockOutput) ToGetEcsDisksDiskOperationLockOutput() GetEcsDisksDiskOperationLockOutput
- func (o GetEcsDisksDiskOperationLockOutput) ToGetEcsDisksDiskOperationLockOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockOutput
- type GetEcsDisksDiskOutput
- func (o GetEcsDisksDiskOutput) AttachedTime() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) AutoSnapshotPolicyId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Category() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) CreationTime() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) DeleteAutoSnapshot() pulumi.BoolOutput
- func (o GetEcsDisksDiskOutput) DeleteWithInstance() pulumi.BoolOutput
- func (o GetEcsDisksDiskOutput) Description() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) DetachedTime() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Device() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) DiskId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) DiskName() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) DiskType() pulumi.StringOutput
- func (GetEcsDisksDiskOutput) ElementType() reflect.Type
- func (o GetEcsDisksDiskOutput) EnableAutoSnapshot() pulumi.BoolOutput
- func (o GetEcsDisksDiskOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolOutput
- func (o GetEcsDisksDiskOutput) Encrypted() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) ExpiredTime() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Id() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) ImageId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Iops() pulumi.IntOutput
- func (o GetEcsDisksDiskOutput) IopsRead() pulumi.IntOutput
- func (o GetEcsDisksDiskOutput) IopsWrite() pulumi.IntOutput
- func (o GetEcsDisksDiskOutput) KmsKeyId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) MountInstanceNum() pulumi.IntOutput
- func (o GetEcsDisksDiskOutput) MountInstances() GetEcsDisksDiskMountInstanceArrayOutput
- func (o GetEcsDisksDiskOutput) Name() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) OperationLocks() GetEcsDisksDiskOperationLockArrayOutput
- func (o GetEcsDisksDiskOutput) PaymentType() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) PerformanceLevel() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Portable() pulumi.BoolOutput
- func (o GetEcsDisksDiskOutput) ProductCode() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) RegionId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Size() pulumi.IntOutput
- func (o GetEcsDisksDiskOutput) SnapshotId() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Status() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) Tags() pulumi.MapOutput
- func (o GetEcsDisksDiskOutput) ToGetEcsDisksDiskOutput() GetEcsDisksDiskOutput
- func (o GetEcsDisksDiskOutput) ToGetEcsDisksDiskOutputWithContext(ctx context.Context) GetEcsDisksDiskOutput
- func (o GetEcsDisksDiskOutput) Type() pulumi.StringOutput
- func (o GetEcsDisksDiskOutput) ZoneId() pulumi.StringOutput
- type GetEcsDisksOperationLock
- type GetEcsDisksOperationLockArgs
- func (GetEcsDisksOperationLockArgs) ElementType() reflect.Type
- func (i GetEcsDisksOperationLockArgs) ToGetEcsDisksOperationLockOutput() GetEcsDisksOperationLockOutput
- func (i GetEcsDisksOperationLockArgs) ToGetEcsDisksOperationLockOutputWithContext(ctx context.Context) GetEcsDisksOperationLockOutput
- type GetEcsDisksOperationLockArray
- func (GetEcsDisksOperationLockArray) ElementType() reflect.Type
- func (i GetEcsDisksOperationLockArray) ToGetEcsDisksOperationLockArrayOutput() GetEcsDisksOperationLockArrayOutput
- func (i GetEcsDisksOperationLockArray) ToGetEcsDisksOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksOperationLockArrayOutput
- type GetEcsDisksOperationLockArrayInput
- type GetEcsDisksOperationLockArrayOutput
- func (GetEcsDisksOperationLockArrayOutput) ElementType() reflect.Type
- func (o GetEcsDisksOperationLockArrayOutput) Index(i pulumi.IntInput) GetEcsDisksOperationLockOutput
- func (o GetEcsDisksOperationLockArrayOutput) ToGetEcsDisksOperationLockArrayOutput() GetEcsDisksOperationLockArrayOutput
- func (o GetEcsDisksOperationLockArrayOutput) ToGetEcsDisksOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksOperationLockArrayOutput
- type GetEcsDisksOperationLockInput
- type GetEcsDisksOperationLockOutput
- func (GetEcsDisksOperationLockOutput) ElementType() reflect.Type
- func (o GetEcsDisksOperationLockOutput) LockReason() pulumi.StringPtrOutput
- func (o GetEcsDisksOperationLockOutput) ToGetEcsDisksOperationLockOutput() GetEcsDisksOperationLockOutput
- func (o GetEcsDisksOperationLockOutput) ToGetEcsDisksOperationLockOutputWithContext(ctx context.Context) GetEcsDisksOperationLockOutput
- type GetEcsDisksOutputArgs
- type GetEcsDisksResult
- type GetEcsDisksResultOutput
- func (o GetEcsDisksResultOutput) AdditionalAttributes() pulumi.StringArrayOutput
- func (o GetEcsDisksResultOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) AvailabilityZone() pulumi.StringPtrOutputdeprecated
- func (o GetEcsDisksResultOutput) Category() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) DeleteAutoSnapshot() pulumi.BoolPtrOutput
- func (o GetEcsDisksResultOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o GetEcsDisksResultOutput) DiskName() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) DiskType() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) Disks() GetEcsDisksDiskArrayOutput
- func (o GetEcsDisksResultOutput) DryRun() pulumi.BoolPtrOutput
- func (GetEcsDisksResultOutput) ElementType() reflect.Type
- func (o GetEcsDisksResultOutput) EnableAutoSnapshot() pulumi.BoolPtrOutput
- func (o GetEcsDisksResultOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolPtrOutput
- func (o GetEcsDisksResultOutput) EnableShared() pulumi.BoolPtrOutput
- func (o GetEcsDisksResultOutput) Encrypted() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) Id() pulumi.StringOutput
- func (o GetEcsDisksResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsDisksResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsDisksResultOutput) OperationLocks() GetEcsDisksOperationLockArrayOutput
- func (o GetEcsDisksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetEcsDisksResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetEcsDisksResultOutput) PaymentType() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) Portable() pulumi.BoolPtrOutput
- func (o GetEcsDisksResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) SnapshotId() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEcsDisksResultOutput) Tags() pulumi.MapOutput
- func (o GetEcsDisksResultOutput) ToGetEcsDisksResultOutput() GetEcsDisksResultOutput
- func (o GetEcsDisksResultOutput) ToGetEcsDisksResultOutputWithContext(ctx context.Context) GetEcsDisksResultOutput
- func (o GetEcsDisksResultOutput) TotalCount() pulumi.IntOutput
- func (o GetEcsDisksResultOutput) Type() pulumi.StringPtrOutputdeprecated
- func (o GetEcsDisksResultOutput) ZoneId() pulumi.StringPtrOutput
- type GetEcsKeyPairsArgs
- type GetEcsKeyPairsKeyPair
- type GetEcsKeyPairsKeyPairArgs
- type GetEcsKeyPairsKeyPairArray
- func (GetEcsKeyPairsKeyPairArray) ElementType() reflect.Type
- func (i GetEcsKeyPairsKeyPairArray) ToGetEcsKeyPairsKeyPairArrayOutput() GetEcsKeyPairsKeyPairArrayOutput
- func (i GetEcsKeyPairsKeyPairArray) ToGetEcsKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairArrayOutput
- type GetEcsKeyPairsKeyPairArrayInput
- type GetEcsKeyPairsKeyPairArrayOutput
- func (GetEcsKeyPairsKeyPairArrayOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsKeyPairArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsKeyPairOutput
- func (o GetEcsKeyPairsKeyPairArrayOutput) ToGetEcsKeyPairsKeyPairArrayOutput() GetEcsKeyPairsKeyPairArrayOutput
- func (o GetEcsKeyPairsKeyPairArrayOutput) ToGetEcsKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairArrayOutput
- type GetEcsKeyPairsKeyPairInput
- type GetEcsKeyPairsKeyPairInstance
- type GetEcsKeyPairsKeyPairInstanceArgs
- func (GetEcsKeyPairsKeyPairInstanceArgs) ElementType() reflect.Type
- func (i GetEcsKeyPairsKeyPairInstanceArgs) ToGetEcsKeyPairsKeyPairInstanceOutput() GetEcsKeyPairsKeyPairInstanceOutput
- func (i GetEcsKeyPairsKeyPairInstanceArgs) ToGetEcsKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceOutput
- type GetEcsKeyPairsKeyPairInstanceArray
- func (GetEcsKeyPairsKeyPairInstanceArray) ElementType() reflect.Type
- func (i GetEcsKeyPairsKeyPairInstanceArray) ToGetEcsKeyPairsKeyPairInstanceArrayOutput() GetEcsKeyPairsKeyPairInstanceArrayOutput
- func (i GetEcsKeyPairsKeyPairInstanceArray) ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceArrayOutput
- type GetEcsKeyPairsKeyPairInstanceArrayInput
- type GetEcsKeyPairsKeyPairInstanceArrayOutput
- func (GetEcsKeyPairsKeyPairInstanceArrayOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsKeyPairInstanceArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsKeyPairInstanceOutput
- func (o GetEcsKeyPairsKeyPairInstanceArrayOutput) ToGetEcsKeyPairsKeyPairInstanceArrayOutput() GetEcsKeyPairsKeyPairInstanceArrayOutput
- func (o GetEcsKeyPairsKeyPairInstanceArrayOutput) ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceArrayOutput
- type GetEcsKeyPairsKeyPairInstanceInput
- type GetEcsKeyPairsKeyPairInstanceOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) Description() pulumi.StringOutput
- func (GetEcsKeyPairsKeyPairInstanceOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsKeyPairInstanceOutput) ImageId() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) InstanceType() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) KeyName() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) PrivateIp() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) PublicIp() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) RegionId() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) Status() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) ToGetEcsKeyPairsKeyPairInstanceOutput() GetEcsKeyPairsKeyPairInstanceOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) ToGetEcsKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceOutput
- func (o GetEcsKeyPairsKeyPairInstanceOutput) VswitchId() pulumi.StringOutput
- type GetEcsKeyPairsKeyPairOutput
- func (GetEcsKeyPairsKeyPairOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsKeyPairOutput) FingerPrint() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairOutput) Id() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairOutput) Instances() GetEcsKeyPairsKeyPairInstanceArrayOutput
- func (o GetEcsKeyPairsKeyPairOutput) KeyName() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairOutput) KeyPairName() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsKeyPairsKeyPairOutput) Tags() pulumi.MapOutput
- func (o GetEcsKeyPairsKeyPairOutput) ToGetEcsKeyPairsKeyPairOutput() GetEcsKeyPairsKeyPairOutput
- func (o GetEcsKeyPairsKeyPairOutput) ToGetEcsKeyPairsKeyPairOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairOutput
- type GetEcsKeyPairsOutputArgs
- type GetEcsKeyPairsPair
- type GetEcsKeyPairsPairArgs
- type GetEcsKeyPairsPairArray
- type GetEcsKeyPairsPairArrayInput
- type GetEcsKeyPairsPairArrayOutput
- func (GetEcsKeyPairsPairArrayOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsPairArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsPairOutput
- func (o GetEcsKeyPairsPairArrayOutput) ToGetEcsKeyPairsPairArrayOutput() GetEcsKeyPairsPairArrayOutput
- func (o GetEcsKeyPairsPairArrayOutput) ToGetEcsKeyPairsPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairArrayOutput
- type GetEcsKeyPairsPairInput
- type GetEcsKeyPairsPairInstance
- type GetEcsKeyPairsPairInstanceArgs
- func (GetEcsKeyPairsPairInstanceArgs) ElementType() reflect.Type
- func (i GetEcsKeyPairsPairInstanceArgs) ToGetEcsKeyPairsPairInstanceOutput() GetEcsKeyPairsPairInstanceOutput
- func (i GetEcsKeyPairsPairInstanceArgs) ToGetEcsKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceOutput
- type GetEcsKeyPairsPairInstanceArray
- func (GetEcsKeyPairsPairInstanceArray) ElementType() reflect.Type
- func (i GetEcsKeyPairsPairInstanceArray) ToGetEcsKeyPairsPairInstanceArrayOutput() GetEcsKeyPairsPairInstanceArrayOutput
- func (i GetEcsKeyPairsPairInstanceArray) ToGetEcsKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceArrayOutput
- type GetEcsKeyPairsPairInstanceArrayInput
- type GetEcsKeyPairsPairInstanceArrayOutput
- func (GetEcsKeyPairsPairInstanceArrayOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsPairInstanceArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsPairInstanceOutput
- func (o GetEcsKeyPairsPairInstanceArrayOutput) ToGetEcsKeyPairsPairInstanceArrayOutput() GetEcsKeyPairsPairInstanceArrayOutput
- func (o GetEcsKeyPairsPairInstanceArrayOutput) ToGetEcsKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceArrayOutput
- type GetEcsKeyPairsPairInstanceInput
- type GetEcsKeyPairsPairInstanceOutput
- func (o GetEcsKeyPairsPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) Description() pulumi.StringOutput
- func (GetEcsKeyPairsPairInstanceOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsPairInstanceOutput) ImageId() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) InstanceType() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) KeyName() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) PrivateIp() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) PublicIp() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) RegionId() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) Status() pulumi.StringOutput
- func (o GetEcsKeyPairsPairInstanceOutput) ToGetEcsKeyPairsPairInstanceOutput() GetEcsKeyPairsPairInstanceOutput
- func (o GetEcsKeyPairsPairInstanceOutput) ToGetEcsKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceOutput
- func (o GetEcsKeyPairsPairInstanceOutput) VswitchId() pulumi.StringOutput
- type GetEcsKeyPairsPairOutput
- func (GetEcsKeyPairsPairOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsPairOutput) FingerPrint() pulumi.StringOutput
- func (o GetEcsKeyPairsPairOutput) Id() pulumi.StringOutput
- func (o GetEcsKeyPairsPairOutput) Instances() GetEcsKeyPairsPairInstanceArrayOutput
- func (o GetEcsKeyPairsPairOutput) KeyName() pulumi.StringOutput
- func (o GetEcsKeyPairsPairOutput) KeyPairName() pulumi.StringOutput
- func (o GetEcsKeyPairsPairOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsKeyPairsPairOutput) Tags() pulumi.MapOutput
- func (o GetEcsKeyPairsPairOutput) ToGetEcsKeyPairsPairOutput() GetEcsKeyPairsPairOutput
- func (o GetEcsKeyPairsPairOutput) ToGetEcsKeyPairsPairOutputWithContext(ctx context.Context) GetEcsKeyPairsPairOutput
- type GetEcsKeyPairsResult
- type GetEcsKeyPairsResultOutput
- func (GetEcsKeyPairsResultOutput) ElementType() reflect.Type
- func (o GetEcsKeyPairsResultOutput) FingerPrint() pulumi.StringPtrOutput
- func (o GetEcsKeyPairsResultOutput) Id() pulumi.StringOutput
- func (o GetEcsKeyPairsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsKeyPairsResultOutput) KeyPairs() GetEcsKeyPairsKeyPairArrayOutputdeprecated
- func (o GetEcsKeyPairsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsKeyPairsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsKeyPairsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsKeyPairsResultOutput) Pairs() GetEcsKeyPairsPairArrayOutput
- func (o GetEcsKeyPairsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetEcsKeyPairsResultOutput) Tags() pulumi.MapOutput
- func (o GetEcsKeyPairsResultOutput) ToGetEcsKeyPairsResultOutput() GetEcsKeyPairsResultOutput
- func (o GetEcsKeyPairsResultOutput) ToGetEcsKeyPairsResultOutputWithContext(ctx context.Context) GetEcsKeyPairsResultOutput
- type GetEcsLaunchTemplatesArgs
- type GetEcsLaunchTemplatesOutputArgs
- type GetEcsLaunchTemplatesResult
- type GetEcsLaunchTemplatesResultOutput
- func (GetEcsLaunchTemplatesResultOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetEcsLaunchTemplatesResultOutput) Id() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsLaunchTemplatesResultOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o GetEcsLaunchTemplatesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsLaunchTemplatesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsLaunchTemplatesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsLaunchTemplatesResultOutput) TemplateResourceGroupId() pulumi.StringPtrOutput
- func (o GetEcsLaunchTemplatesResultOutput) TemplateTags() pulumi.MapOutput
- func (o GetEcsLaunchTemplatesResultOutput) Templates() GetEcsLaunchTemplatesTemplateArrayOutput
- func (o GetEcsLaunchTemplatesResultOutput) ToGetEcsLaunchTemplatesResultOutput() GetEcsLaunchTemplatesResultOutput
- func (o GetEcsLaunchTemplatesResultOutput) ToGetEcsLaunchTemplatesResultOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesResultOutput
- type GetEcsLaunchTemplatesTemplate
- type GetEcsLaunchTemplatesTemplateArgs
- func (GetEcsLaunchTemplatesTemplateArgs) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateArgs) ToGetEcsLaunchTemplatesTemplateOutput() GetEcsLaunchTemplatesTemplateOutput
- func (i GetEcsLaunchTemplatesTemplateArgs) ToGetEcsLaunchTemplatesTemplateOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateOutput
- type GetEcsLaunchTemplatesTemplateArray
- func (GetEcsLaunchTemplatesTemplateArray) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateArray) ToGetEcsLaunchTemplatesTemplateArrayOutput() GetEcsLaunchTemplatesTemplateArrayOutput
- func (i GetEcsLaunchTemplatesTemplateArray) ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateArrayOutput
- type GetEcsLaunchTemplatesTemplateArrayInput
- type GetEcsLaunchTemplatesTemplateArrayOutput
- func (GetEcsLaunchTemplatesTemplateArrayOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateArrayOutput) Index(i pulumi.IntInput) GetEcsLaunchTemplatesTemplateOutput
- func (o GetEcsLaunchTemplatesTemplateArrayOutput) ToGetEcsLaunchTemplatesTemplateArrayOutput() GetEcsLaunchTemplatesTemplateArrayOutput
- func (o GetEcsLaunchTemplatesTemplateArrayOutput) ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateArrayOutput
- type GetEcsLaunchTemplatesTemplateDataDisk
- type GetEcsLaunchTemplatesTemplateDataDiskArgs
- func (GetEcsLaunchTemplatesTemplateDataDiskArgs) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateDataDiskArgs) ToGetEcsLaunchTemplatesTemplateDataDiskOutput() GetEcsLaunchTemplatesTemplateDataDiskOutput
- func (i GetEcsLaunchTemplatesTemplateDataDiskArgs) ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskOutput
- type GetEcsLaunchTemplatesTemplateDataDiskArray
- func (GetEcsLaunchTemplatesTemplateDataDiskArray) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateDataDiskArray) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
- func (i GetEcsLaunchTemplatesTemplateDataDiskArray) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
- type GetEcsLaunchTemplatesTemplateDataDiskArrayInput
- type GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
- func (GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) Index(i pulumi.IntInput) GetEcsLaunchTemplatesTemplateDataDiskOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
- type GetEcsLaunchTemplatesTemplateDataDiskInput
- type GetEcsLaunchTemplatesTemplateDataDiskOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Category() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) DeleteWithInstance() pulumi.BoolOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Description() pulumi.StringOutput
- func (GetEcsLaunchTemplatesTemplateDataDiskOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Encrypted() pulumi.BoolOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Name() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) PerformanceLevel() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Size() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) SnapshotId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) ToGetEcsLaunchTemplatesTemplateDataDiskOutput() GetEcsLaunchTemplatesTemplateDataDiskOutput
- func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskOutput
- type GetEcsLaunchTemplatesTemplateInput
- type GetEcsLaunchTemplatesTemplateNetworkInterface
- type GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs
- func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
- func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
- type GetEcsLaunchTemplatesTemplateNetworkInterfaceArray
- func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
- func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
- type GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayInput
- type GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
- func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
- type GetEcsLaunchTemplatesTemplateNetworkInterfaceInput
- type GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) Description() pulumi.StringOutput
- func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) Name() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) PrimaryIp() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
- func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) VswitchId() pulumi.StringOutput
- type GetEcsLaunchTemplatesTemplateOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) AutoReleaseTime() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) CreatedBy() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) DataDisks() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) DefaultVersionNumber() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) DeploymentSetId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) Description() pulumi.StringOutput
- func (GetEcsLaunchTemplatesTemplateOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateOutput) EnableVmOsConfig() pulumi.BoolOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) HostName() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) Id() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ImageId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ImageOwnerAlias() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) InstanceChargeType() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) InstanceName() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) InstanceType() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) InternetChargeType() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) InternetMaxBandwidthIn() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) InternetMaxBandwidthOut() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) IoOptimized() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) KeyPairName() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) LatestVersionNumber() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) LaunchTemplateId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) LaunchTemplateName() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ModifiedTime() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) NetworkInterfaces() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) NetworkType() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) PasswordInherit() pulumi.BoolOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) Period() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) PrivateIpAddress() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) RamRoleName() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) SecurityEnhancementStrategy() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) SpotDuration() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) SpotPriceLimit() pulumi.Float64Output
- func (o GetEcsLaunchTemplatesTemplateOutput) SpotStrategy() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) SystemDisks() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) TemplateTags() pulumi.MapOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ToGetEcsLaunchTemplatesTemplateOutput() GetEcsLaunchTemplatesTemplateOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ToGetEcsLaunchTemplatesTemplateOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) UserData() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) VersionDescription() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) VpcId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) VswitchId() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateOutput) ZoneId() pulumi.StringOutput
- type GetEcsLaunchTemplatesTemplateSystemDisk
- type GetEcsLaunchTemplatesTemplateSystemDiskArgs
- func (GetEcsLaunchTemplatesTemplateSystemDiskArgs) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateSystemDiskArgs) ToGetEcsLaunchTemplatesTemplateSystemDiskOutput() GetEcsLaunchTemplatesTemplateSystemDiskOutput
- func (i GetEcsLaunchTemplatesTemplateSystemDiskArgs) ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskOutput
- type GetEcsLaunchTemplatesTemplateSystemDiskArray
- func (GetEcsLaunchTemplatesTemplateSystemDiskArray) ElementType() reflect.Type
- func (i GetEcsLaunchTemplatesTemplateSystemDiskArray) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
- func (i GetEcsLaunchTemplatesTemplateSystemDiskArray) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
- type GetEcsLaunchTemplatesTemplateSystemDiskArrayInput
- type GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
- func (GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) Index(i pulumi.IntInput) GetEcsLaunchTemplatesTemplateSystemDiskOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
- type GetEcsLaunchTemplatesTemplateSystemDiskInput
- type GetEcsLaunchTemplatesTemplateSystemDiskOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Category() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) DeleteWithInstance() pulumi.BoolOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Description() pulumi.StringOutput
- func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) ElementType() reflect.Type
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Iops() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Name() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) PerformanceLevel() pulumi.StringOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Size() pulumi.IntOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskOutput() GetEcsLaunchTemplatesTemplateSystemDiskOutput
- func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskOutput
- type GetEcsNetworkInterfacesArgs
- type GetEcsNetworkInterfacesInterface
- type GetEcsNetworkInterfacesInterfaceArgs
- func (GetEcsNetworkInterfacesInterfaceArgs) ElementType() reflect.Type
- func (i GetEcsNetworkInterfacesInterfaceArgs) ToGetEcsNetworkInterfacesInterfaceOutput() GetEcsNetworkInterfacesInterfaceOutput
- func (i GetEcsNetworkInterfacesInterfaceArgs) ToGetEcsNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceOutput
- type GetEcsNetworkInterfacesInterfaceArray
- func (GetEcsNetworkInterfacesInterfaceArray) ElementType() reflect.Type
- func (i GetEcsNetworkInterfacesInterfaceArray) ToGetEcsNetworkInterfacesInterfaceArrayOutput() GetEcsNetworkInterfacesInterfaceArrayOutput
- func (i GetEcsNetworkInterfacesInterfaceArray) ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceArrayOutput
- type GetEcsNetworkInterfacesInterfaceArrayInput
- type GetEcsNetworkInterfacesInterfaceArrayOutput
- func (GetEcsNetworkInterfacesInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetEcsNetworkInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetEcsNetworkInterfacesInterfaceOutput
- func (o GetEcsNetworkInterfacesInterfaceArrayOutput) ToGetEcsNetworkInterfacesInterfaceArrayOutput() GetEcsNetworkInterfacesInterfaceArrayOutput
- func (o GetEcsNetworkInterfacesInterfaceArrayOutput) ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceArrayOutput
- type GetEcsNetworkInterfacesInterfaceInput
- type GetEcsNetworkInterfacesInterfaceOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) CreationTime() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) Description() pulumi.StringOutput
- func (GetEcsNetworkInterfacesInterfaceOutput) ElementType() reflect.Type
- func (o GetEcsNetworkInterfacesInterfaceOutput) Id() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) Mac() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) Name() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) NetworkInterfaceName() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) PrimaryIpAddress() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) PrivateIp() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) PrivateIpAddresses() pulumi.StringArrayOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) QueueNumber() pulumi.IntOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) ServiceId() pulumi.IntOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) ServiceManaged() pulumi.BoolOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) Status() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) Tags() pulumi.MapOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) ToGetEcsNetworkInterfacesInterfaceOutput() GetEcsNetworkInterfacesInterfaceOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) ToGetEcsNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) Type() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) VpcId() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) VswitchId() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesInterfaceOutput) ZoneId() pulumi.StringOutput
- type GetEcsNetworkInterfacesOutputArgs
- type GetEcsNetworkInterfacesResult
- type GetEcsNetworkInterfacesResultOutput
- func (GetEcsNetworkInterfacesResultOutput) ElementType() reflect.Type
- func (o GetEcsNetworkInterfacesResultOutput) Id() pulumi.StringOutput
- func (o GetEcsNetworkInterfacesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsNetworkInterfacesResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) Interfaces() GetEcsNetworkInterfacesInterfaceArrayOutput
- func (o GetEcsNetworkInterfacesResultOutput) Name() pulumi.StringPtrOutputdeprecated
- func (o GetEcsNetworkInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsNetworkInterfacesResultOutput) NetworkInterfaceName() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) PrimaryIpAddress() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) PrivateIp() pulumi.StringPtrOutputdeprecated
- func (o GetEcsNetworkInterfacesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) ServiceManaged() pulumi.BoolPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) Tags() pulumi.MapOutput
- func (o GetEcsNetworkInterfacesResultOutput) ToGetEcsNetworkInterfacesResultOutput() GetEcsNetworkInterfacesResultOutput
- func (o GetEcsNetworkInterfacesResultOutput) ToGetEcsNetworkInterfacesResultOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesResultOutput
- func (o GetEcsNetworkInterfacesResultOutput) Type() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) VpcId() pulumi.StringPtrOutput
- func (o GetEcsNetworkInterfacesResultOutput) VswitchId() pulumi.StringPtrOutput
- type GetEcsPrefixListsArgs
- type GetEcsPrefixListsList
- type GetEcsPrefixListsListArgs
- type GetEcsPrefixListsListArray
- func (GetEcsPrefixListsListArray) ElementType() reflect.Type
- func (i GetEcsPrefixListsListArray) ToGetEcsPrefixListsListArrayOutput() GetEcsPrefixListsListArrayOutput
- func (i GetEcsPrefixListsListArray) ToGetEcsPrefixListsListArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListArrayOutput
- type GetEcsPrefixListsListArrayInput
- type GetEcsPrefixListsListArrayOutput
- func (GetEcsPrefixListsListArrayOutput) ElementType() reflect.Type
- func (o GetEcsPrefixListsListArrayOutput) Index(i pulumi.IntInput) GetEcsPrefixListsListOutput
- func (o GetEcsPrefixListsListArrayOutput) ToGetEcsPrefixListsListArrayOutput() GetEcsPrefixListsListArrayOutput
- func (o GetEcsPrefixListsListArrayOutput) ToGetEcsPrefixListsListArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListArrayOutput
- type GetEcsPrefixListsListEntry
- type GetEcsPrefixListsListEntryArgs
- func (GetEcsPrefixListsListEntryArgs) ElementType() reflect.Type
- func (i GetEcsPrefixListsListEntryArgs) ToGetEcsPrefixListsListEntryOutput() GetEcsPrefixListsListEntryOutput
- func (i GetEcsPrefixListsListEntryArgs) ToGetEcsPrefixListsListEntryOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryOutput
- type GetEcsPrefixListsListEntryArray
- func (GetEcsPrefixListsListEntryArray) ElementType() reflect.Type
- func (i GetEcsPrefixListsListEntryArray) ToGetEcsPrefixListsListEntryArrayOutput() GetEcsPrefixListsListEntryArrayOutput
- func (i GetEcsPrefixListsListEntryArray) ToGetEcsPrefixListsListEntryArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryArrayOutput
- type GetEcsPrefixListsListEntryArrayInput
- type GetEcsPrefixListsListEntryArrayOutput
- func (GetEcsPrefixListsListEntryArrayOutput) ElementType() reflect.Type
- func (o GetEcsPrefixListsListEntryArrayOutput) Index(i pulumi.IntInput) GetEcsPrefixListsListEntryOutput
- func (o GetEcsPrefixListsListEntryArrayOutput) ToGetEcsPrefixListsListEntryArrayOutput() GetEcsPrefixListsListEntryArrayOutput
- func (o GetEcsPrefixListsListEntryArrayOutput) ToGetEcsPrefixListsListEntryArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryArrayOutput
- type GetEcsPrefixListsListEntryInput
- type GetEcsPrefixListsListEntryOutput
- func (o GetEcsPrefixListsListEntryOutput) Cidr() pulumi.StringOutput
- func (o GetEcsPrefixListsListEntryOutput) Description() pulumi.StringOutput
- func (GetEcsPrefixListsListEntryOutput) ElementType() reflect.Type
- func (o GetEcsPrefixListsListEntryOutput) ToGetEcsPrefixListsListEntryOutput() GetEcsPrefixListsListEntryOutput
- func (o GetEcsPrefixListsListEntryOutput) ToGetEcsPrefixListsListEntryOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryOutput
- type GetEcsPrefixListsListInput
- type GetEcsPrefixListsListOutput
- func (o GetEcsPrefixListsListOutput) AddressFamily() pulumi.StringOutput
- func (o GetEcsPrefixListsListOutput) AssociationCount() pulumi.IntOutput
- func (o GetEcsPrefixListsListOutput) CreateTime() pulumi.StringOutput
- func (o GetEcsPrefixListsListOutput) Description() pulumi.StringOutput
- func (GetEcsPrefixListsListOutput) ElementType() reflect.Type
- func (o GetEcsPrefixListsListOutput) Entries() GetEcsPrefixListsListEntryArrayOutput
- func (o GetEcsPrefixListsListOutput) Id() pulumi.StringOutput
- func (o GetEcsPrefixListsListOutput) MaxEntries() pulumi.IntOutput
- func (o GetEcsPrefixListsListOutput) PrefixListId() pulumi.StringOutput
- func (o GetEcsPrefixListsListOutput) PrefixListName() pulumi.StringOutput
- func (o GetEcsPrefixListsListOutput) ToGetEcsPrefixListsListOutput() GetEcsPrefixListsListOutput
- func (o GetEcsPrefixListsListOutput) ToGetEcsPrefixListsListOutputWithContext(ctx context.Context) GetEcsPrefixListsListOutput
- type GetEcsPrefixListsOutputArgs
- type GetEcsPrefixListsResult
- type GetEcsPrefixListsResultOutput
- func (o GetEcsPrefixListsResultOutput) AddressFamily() pulumi.StringPtrOutput
- func (GetEcsPrefixListsResultOutput) ElementType() reflect.Type
- func (o GetEcsPrefixListsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetEcsPrefixListsResultOutput) Id() pulumi.StringOutput
- func (o GetEcsPrefixListsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsPrefixListsResultOutput) Lists() GetEcsPrefixListsListArrayOutput
- func (o GetEcsPrefixListsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsPrefixListsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsPrefixListsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsPrefixListsResultOutput) ToGetEcsPrefixListsResultOutput() GetEcsPrefixListsResultOutput
- func (o GetEcsPrefixListsResultOutput) ToGetEcsPrefixListsResultOutputWithContext(ctx context.Context) GetEcsPrefixListsResultOutput
- type GetEcsSnapshotsArgs
- type GetEcsSnapshotsOutputArgs
- type GetEcsSnapshotsResult
- type GetEcsSnapshotsResultOutput
- func (o GetEcsSnapshotsResultOutput) Category() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) DryRun() pulumi.BoolPtrOutput
- func (GetEcsSnapshotsResultOutput) ElementType() reflect.Type
- func (o GetEcsSnapshotsResultOutput) Encrypted() pulumi.BoolPtrOutput
- func (o GetEcsSnapshotsResultOutput) Id() pulumi.StringOutput
- func (o GetEcsSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsSnapshotsResultOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) SnapshotLinkId() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) SnapshotType() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) Snapshots() GetEcsSnapshotsSnapshotArrayOutput
- func (o GetEcsSnapshotsResultOutput) SourceDiskType() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) Tags() pulumi.MapOutput
- func (o GetEcsSnapshotsResultOutput) ToGetEcsSnapshotsResultOutput() GetEcsSnapshotsResultOutput
- func (o GetEcsSnapshotsResultOutput) ToGetEcsSnapshotsResultOutputWithContext(ctx context.Context) GetEcsSnapshotsResultOutput
- func (o GetEcsSnapshotsResultOutput) Type() pulumi.StringPtrOutput
- func (o GetEcsSnapshotsResultOutput) Usage() pulumi.StringPtrOutput
- type GetEcsSnapshotsSnapshot
- type GetEcsSnapshotsSnapshotArgs
- type GetEcsSnapshotsSnapshotArray
- func (GetEcsSnapshotsSnapshotArray) ElementType() reflect.Type
- func (i GetEcsSnapshotsSnapshotArray) ToGetEcsSnapshotsSnapshotArrayOutput() GetEcsSnapshotsSnapshotArrayOutput
- func (i GetEcsSnapshotsSnapshotArray) ToGetEcsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotArrayOutput
- type GetEcsSnapshotsSnapshotArrayInput
- type GetEcsSnapshotsSnapshotArrayOutput
- func (GetEcsSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
- func (o GetEcsSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetEcsSnapshotsSnapshotOutput
- func (o GetEcsSnapshotsSnapshotArrayOutput) ToGetEcsSnapshotsSnapshotArrayOutput() GetEcsSnapshotsSnapshotArrayOutput
- func (o GetEcsSnapshotsSnapshotArrayOutput) ToGetEcsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotArrayOutput
- type GetEcsSnapshotsSnapshotInput
- type GetEcsSnapshotsSnapshotOutput
- func (o GetEcsSnapshotsSnapshotOutput) Category() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) CreationTime() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) Description() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) DiskId() pulumi.StringOutput
- func (GetEcsSnapshotsSnapshotOutput) ElementType() reflect.Type
- func (o GetEcsSnapshotsSnapshotOutput) Encrypted() pulumi.BoolOutput
- func (o GetEcsSnapshotsSnapshotOutput) Id() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) InstantAccess() pulumi.BoolOutput
- func (o GetEcsSnapshotsSnapshotOutput) InstantAccessRetentionDays() pulumi.IntOutput
- func (o GetEcsSnapshotsSnapshotOutput) Name() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) ProductCode() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) RemainTime() pulumi.IntOutput
- func (o GetEcsSnapshotsSnapshotOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) RetentionDays() pulumi.IntOutput
- func (o GetEcsSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SnapshotSn() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SnapshotType() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SourceDiskId() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SourceDiskSize() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) SourceStorageType() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) Status() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) Tags() pulumi.MapOutput
- func (o GetEcsSnapshotsSnapshotOutput) ToGetEcsSnapshotsSnapshotOutput() GetEcsSnapshotsSnapshotOutput
- func (o GetEcsSnapshotsSnapshotOutput) ToGetEcsSnapshotsSnapshotOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotOutput
- func (o GetEcsSnapshotsSnapshotOutput) Type() pulumi.StringOutput
- func (o GetEcsSnapshotsSnapshotOutput) Usage() pulumi.StringOutput
- type GetEipAddressesAddress
- type GetEipAddressesAddressArgs
- type GetEipAddressesAddressArray
- func (GetEipAddressesAddressArray) ElementType() reflect.Type
- func (i GetEipAddressesAddressArray) ToGetEipAddressesAddressArrayOutput() GetEipAddressesAddressArrayOutput
- func (i GetEipAddressesAddressArray) ToGetEipAddressesAddressArrayOutputWithContext(ctx context.Context) GetEipAddressesAddressArrayOutput
- type GetEipAddressesAddressArrayInput
- type GetEipAddressesAddressArrayOutput
- func (GetEipAddressesAddressArrayOutput) ElementType() reflect.Type
- func (o GetEipAddressesAddressArrayOutput) Index(i pulumi.IntInput) GetEipAddressesAddressOutput
- func (o GetEipAddressesAddressArrayOutput) ToGetEipAddressesAddressArrayOutput() GetEipAddressesAddressArrayOutput
- func (o GetEipAddressesAddressArrayOutput) ToGetEipAddressesAddressArrayOutputWithContext(ctx context.Context) GetEipAddressesAddressArrayOutput
- type GetEipAddressesAddressInput
- type GetEipAddressesAddressOutput
- func (o GetEipAddressesAddressOutput) AddressName() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) AllocationId() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) AvailableRegions() pulumi.StringArrayOutput
- func (o GetEipAddressesAddressOutput) Bandwidth() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) BandwidthPackageBandwidth() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) BandwidthPackageId() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) BandwidthPackageType() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) CreateTime() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) DeletionProtection() pulumi.BoolOutput
- func (o GetEipAddressesAddressOutput) Description() pulumi.StringOutput
- func (GetEipAddressesAddressOutput) ElementType() reflect.Type
- func (o GetEipAddressesAddressOutput) ExpiredTime() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) HasReservationData() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) HdMonitorStatus() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) Id() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) InstanceId() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) InstanceRegionId() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) InstanceType() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) InternetChargeType() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) IpAddress() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) Isp() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) OperationLocks() pulumi.StringArrayOutput
- func (o GetEipAddressesAddressOutput) PaymentType() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) ReservationActiveTime() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) ReservationBandwidth() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) ReservationInternetChargeType() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) ReservationOrderType() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) SecondLimited() pulumi.BoolOutput
- func (o GetEipAddressesAddressOutput) SegmentInstanceId() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) Status() pulumi.StringOutput
- func (o GetEipAddressesAddressOutput) Tags() pulumi.MapOutput
- func (o GetEipAddressesAddressOutput) ToGetEipAddressesAddressOutput() GetEipAddressesAddressOutput
- func (o GetEipAddressesAddressOutput) ToGetEipAddressesAddressOutputWithContext(ctx context.Context) GetEipAddressesAddressOutput
- type GetEipAddressesArgs
- type GetEipAddressesEip
- type GetEipAddressesEipArgs
- type GetEipAddressesEipArray
- type GetEipAddressesEipArrayInput
- type GetEipAddressesEipArrayOutput
- func (GetEipAddressesEipArrayOutput) ElementType() reflect.Type
- func (o GetEipAddressesEipArrayOutput) Index(i pulumi.IntInput) GetEipAddressesEipOutput
- func (o GetEipAddressesEipArrayOutput) ToGetEipAddressesEipArrayOutput() GetEipAddressesEipArrayOutput
- func (o GetEipAddressesEipArrayOutput) ToGetEipAddressesEipArrayOutputWithContext(ctx context.Context) GetEipAddressesEipArrayOutput
- type GetEipAddressesEipInput
- type GetEipAddressesEipOutput
- func (o GetEipAddressesEipOutput) Bandwidth() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) CreationTime() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) DeletionProtection() pulumi.BoolOutput
- func (GetEipAddressesEipOutput) ElementType() reflect.Type
- func (o GetEipAddressesEipOutput) Id() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) InstanceId() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) InstanceType() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) InternetChargeType() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) IpAddress() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) Status() pulumi.StringOutput
- func (o GetEipAddressesEipOutput) ToGetEipAddressesEipOutput() GetEipAddressesEipOutput
- func (o GetEipAddressesEipOutput) ToGetEipAddressesEipOutputWithContext(ctx context.Context) GetEipAddressesEipOutput
- type GetEipAddressesOutputArgs
- type GetEipAddressesResult
- type GetEipAddressesResultOutput
- func (o GetEipAddressesResultOutput) AddressName() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) Addresses() GetEipAddressesAddressArrayOutput
- func (o GetEipAddressesResultOutput) AssociatedInstanceId() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) AssociatedInstanceType() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) DryRun() pulumi.BoolPtrOutput
- func (o GetEipAddressesResultOutput) Eips() GetEipAddressesEipArrayOutputdeprecated
- func (GetEipAddressesResultOutput) ElementType() reflect.Type
- func (o GetEipAddressesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetEipAddressesResultOutput) Id() pulumi.StringOutput
- func (o GetEipAddressesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEipAddressesResultOutput) IncludeReservationData() pulumi.BoolPtrOutput
- func (o GetEipAddressesResultOutput) IpAddress() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) IpAddresses() pulumi.StringArrayOutputdeprecated
- func (o GetEipAddressesResultOutput) Isp() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) LockReason() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEipAddressesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) PaymentType() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) SegmentInstanceId() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEipAddressesResultOutput) Tags() pulumi.MapOutput
- func (o GetEipAddressesResultOutput) ToGetEipAddressesResultOutput() GetEipAddressesResultOutput
- func (o GetEipAddressesResultOutput) ToGetEipAddressesResultOutputWithContext(ctx context.Context) GetEipAddressesResultOutput
- type GetEipsAddress
- type GetEipsAddressArgs
- type GetEipsAddressArray
- type GetEipsAddressArrayInput
- type GetEipsAddressArrayOutput
- func (GetEipsAddressArrayOutput) ElementType() reflect.Type
- func (o GetEipsAddressArrayOutput) Index(i pulumi.IntInput) GetEipsAddressOutput
- func (o GetEipsAddressArrayOutput) ToGetEipsAddressArrayOutput() GetEipsAddressArrayOutput
- func (o GetEipsAddressArrayOutput) ToGetEipsAddressArrayOutputWithContext(ctx context.Context) GetEipsAddressArrayOutput
- type GetEipsAddressInput
- type GetEipsAddressOutput
- func (o GetEipsAddressOutput) AddressName() pulumi.StringOutput
- func (o GetEipsAddressOutput) AllocationId() pulumi.StringOutput
- func (o GetEipsAddressOutput) AvailableRegions() pulumi.StringArrayOutput
- func (o GetEipsAddressOutput) Bandwidth() pulumi.StringOutput
- func (o GetEipsAddressOutput) BandwidthPackageBandwidth() pulumi.StringOutput
- func (o GetEipsAddressOutput) BandwidthPackageId() pulumi.StringOutput
- func (o GetEipsAddressOutput) BandwidthPackageType() pulumi.StringOutput
- func (o GetEipsAddressOutput) CreateTime() pulumi.StringOutput
- func (o GetEipsAddressOutput) DeletionProtection() pulumi.BoolOutput
- func (o GetEipsAddressOutput) Description() pulumi.StringOutput
- func (GetEipsAddressOutput) ElementType() reflect.Type
- func (o GetEipsAddressOutput) ExpiredTime() pulumi.StringOutput
- func (o GetEipsAddressOutput) HasReservationData() pulumi.StringOutput
- func (o GetEipsAddressOutput) HdMonitorStatus() pulumi.StringOutput
- func (o GetEipsAddressOutput) Id() pulumi.StringOutput
- func (o GetEipsAddressOutput) InstanceId() pulumi.StringOutput
- func (o GetEipsAddressOutput) InstanceRegionId() pulumi.StringOutput
- func (o GetEipsAddressOutput) InstanceType() pulumi.StringOutput
- func (o GetEipsAddressOutput) InternetChargeType() pulumi.StringOutput
- func (o GetEipsAddressOutput) IpAddress() pulumi.StringOutput
- func (o GetEipsAddressOutput) Isp() pulumi.StringOutput
- func (o GetEipsAddressOutput) OperationLocks() pulumi.StringArrayOutput
- func (o GetEipsAddressOutput) PaymentType() pulumi.StringOutput
- func (o GetEipsAddressOutput) ReservationActiveTime() pulumi.StringOutput
- func (o GetEipsAddressOutput) ReservationBandwidth() pulumi.StringOutput
- func (o GetEipsAddressOutput) ReservationInternetChargeType() pulumi.StringOutput
- func (o GetEipsAddressOutput) ReservationOrderType() pulumi.StringOutput
- func (o GetEipsAddressOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetEipsAddressOutput) SecondLimited() pulumi.BoolOutput
- func (o GetEipsAddressOutput) SegmentInstanceId() pulumi.StringOutput
- func (o GetEipsAddressOutput) Status() pulumi.StringOutput
- func (o GetEipsAddressOutput) Tags() pulumi.MapOutput
- func (o GetEipsAddressOutput) ToGetEipsAddressOutput() GetEipsAddressOutput
- func (o GetEipsAddressOutput) ToGetEipsAddressOutputWithContext(ctx context.Context) GetEipsAddressOutput
- type GetEipsArgs
- type GetEipsEip
- type GetEipsEipArgs
- type GetEipsEipArray
- type GetEipsEipArrayInput
- type GetEipsEipArrayOutput
- func (GetEipsEipArrayOutput) ElementType() reflect.Type
- func (o GetEipsEipArrayOutput) Index(i pulumi.IntInput) GetEipsEipOutput
- func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutput() GetEipsEipArrayOutput
- func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutputWithContext(ctx context.Context) GetEipsEipArrayOutput
- type GetEipsEipInput
- type GetEipsEipOutput
- func (o GetEipsEipOutput) Bandwidth() pulumi.StringOutput
- func (o GetEipsEipOutput) CreationTime() pulumi.StringOutput
- func (o GetEipsEipOutput) DeletionProtection() pulumi.BoolOutput
- func (GetEipsEipOutput) ElementType() reflect.Type
- func (o GetEipsEipOutput) Id() pulumi.StringOutput
- func (o GetEipsEipOutput) InstanceId() pulumi.StringOutput
- func (o GetEipsEipOutput) InstanceType() pulumi.StringOutput
- func (o GetEipsEipOutput) InternetChargeType() pulumi.StringOutput
- func (o GetEipsEipOutput) IpAddress() pulumi.StringOutput
- func (o GetEipsEipOutput) Status() pulumi.StringOutput
- func (o GetEipsEipOutput) ToGetEipsEipOutput() GetEipsEipOutput
- func (o GetEipsEipOutput) ToGetEipsEipOutputWithContext(ctx context.Context) GetEipsEipOutput
- type GetEipsOutputArgs
- type GetEipsResult
- type GetEipsResultOutput
- func (o GetEipsResultOutput) AddressName() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) Addresses() GetEipsAddressArrayOutput
- func (o GetEipsResultOutput) AssociatedInstanceId() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) AssociatedInstanceType() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) DryRun() pulumi.BoolPtrOutput
- func (o GetEipsResultOutput) Eips() GetEipsEipArrayOutputdeprecated
- func (GetEipsResultOutput) ElementType() reflect.Type
- func (o GetEipsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetEipsResultOutput) Id() pulumi.StringOutput
- func (o GetEipsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEipsResultOutput) IncludeReservationData() pulumi.BoolPtrOutput
- func (o GetEipsResultOutput) IpAddress() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) IpAddresses() pulumi.StringArrayOutputdeprecated
- func (o GetEipsResultOutput) Isp() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) LockReason() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEipsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) PaymentType() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) SegmentInstanceId() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEipsResultOutput) Tags() pulumi.MapOutput
- func (o GetEipsResultOutput) ToGetEipsResultOutput() GetEipsResultOutput
- func (o GetEipsResultOutput) ToGetEipsResultOutputWithContext(ctx context.Context) GetEipsResultOutput
- type GetHpcClustersArgs
- type GetHpcClustersCluster
- type GetHpcClustersClusterArgs
- type GetHpcClustersClusterArray
- func (GetHpcClustersClusterArray) ElementType() reflect.Type
- func (i GetHpcClustersClusterArray) ToGetHpcClustersClusterArrayOutput() GetHpcClustersClusterArrayOutput
- func (i GetHpcClustersClusterArray) ToGetHpcClustersClusterArrayOutputWithContext(ctx context.Context) GetHpcClustersClusterArrayOutput
- type GetHpcClustersClusterArrayInput
- type GetHpcClustersClusterArrayOutput
- func (GetHpcClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetHpcClustersClusterArrayOutput) Index(i pulumi.IntInput) GetHpcClustersClusterOutput
- func (o GetHpcClustersClusterArrayOutput) ToGetHpcClustersClusterArrayOutput() GetHpcClustersClusterArrayOutput
- func (o GetHpcClustersClusterArrayOutput) ToGetHpcClustersClusterArrayOutputWithContext(ctx context.Context) GetHpcClustersClusterArrayOutput
- type GetHpcClustersClusterInput
- type GetHpcClustersClusterOutput
- func (o GetHpcClustersClusterOutput) Description() pulumi.StringOutput
- func (GetHpcClustersClusterOutput) ElementType() reflect.Type
- func (o GetHpcClustersClusterOutput) HpcClusterId() pulumi.StringOutput
- func (o GetHpcClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetHpcClustersClusterOutput) Name() pulumi.StringOutput
- func (o GetHpcClustersClusterOutput) ToGetHpcClustersClusterOutput() GetHpcClustersClusterOutput
- func (o GetHpcClustersClusterOutput) ToGetHpcClustersClusterOutputWithContext(ctx context.Context) GetHpcClustersClusterOutput
- type GetHpcClustersOutputArgs
- type GetHpcClustersResult
- type GetHpcClustersResultOutput
- func (o GetHpcClustersResultOutput) Clusters() GetHpcClustersClusterArrayOutput
- func (GetHpcClustersResultOutput) ElementType() reflect.Type
- func (o GetHpcClustersResultOutput) Id() pulumi.StringOutput
- func (o GetHpcClustersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetHpcClustersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetHpcClustersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetHpcClustersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetHpcClustersResultOutput) ToGetHpcClustersResultOutput() GetHpcClustersResultOutput
- func (o GetHpcClustersResultOutput) ToGetHpcClustersResultOutputWithContext(ctx context.Context) GetHpcClustersResultOutput
- type GetImagesArgs
- type GetImagesImage
- type GetImagesImageArgs
- type GetImagesImageArray
- type GetImagesImageArrayInput
- type GetImagesImageArrayOutput
- func (GetImagesImageArrayOutput) ElementType() reflect.Type
- func (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput
- func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
- func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
- type GetImagesImageDiskDeviceMapping
- type GetImagesImageDiskDeviceMappingArgs
- func (GetImagesImageDiskDeviceMappingArgs) ElementType() reflect.Type
- func (i GetImagesImageDiskDeviceMappingArgs) ToGetImagesImageDiskDeviceMappingOutput() GetImagesImageDiskDeviceMappingOutput
- func (i GetImagesImageDiskDeviceMappingArgs) ToGetImagesImageDiskDeviceMappingOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingOutput
- type GetImagesImageDiskDeviceMappingArray
- func (GetImagesImageDiskDeviceMappingArray) ElementType() reflect.Type
- func (i GetImagesImageDiskDeviceMappingArray) ToGetImagesImageDiskDeviceMappingArrayOutput() GetImagesImageDiskDeviceMappingArrayOutput
- func (i GetImagesImageDiskDeviceMappingArray) ToGetImagesImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingArrayOutput
- type GetImagesImageDiskDeviceMappingArrayInput
- type GetImagesImageDiskDeviceMappingArrayOutput
- func (GetImagesImageDiskDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o GetImagesImageDiskDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetImagesImageDiskDeviceMappingOutput
- func (o GetImagesImageDiskDeviceMappingArrayOutput) ToGetImagesImageDiskDeviceMappingArrayOutput() GetImagesImageDiskDeviceMappingArrayOutput
- func (o GetImagesImageDiskDeviceMappingArrayOutput) ToGetImagesImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingArrayOutput
- type GetImagesImageDiskDeviceMappingInput
- type GetImagesImageDiskDeviceMappingOutput
- func (o GetImagesImageDiskDeviceMappingOutput) Device() pulumi.StringOutput
- func (GetImagesImageDiskDeviceMappingOutput) ElementType() reflect.Type
- func (o GetImagesImageDiskDeviceMappingOutput) Size() pulumi.StringOutput
- func (o GetImagesImageDiskDeviceMappingOutput) SnapshotId() pulumi.StringOutput
- func (o GetImagesImageDiskDeviceMappingOutput) ToGetImagesImageDiskDeviceMappingOutput() GetImagesImageDiskDeviceMappingOutput
- func (o GetImagesImageDiskDeviceMappingOutput) ToGetImagesImageDiskDeviceMappingOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingOutput
- type GetImagesImageInput
- type GetImagesImageOutput
- func (o GetImagesImageOutput) Architecture() pulumi.StringOutput
- func (o GetImagesImageOutput) CreationTime() pulumi.StringOutput
- func (o GetImagesImageOutput) Description() pulumi.StringOutput
- func (o GetImagesImageOutput) DiskDeviceMappings() GetImagesImageDiskDeviceMappingArrayOutput
- func (GetImagesImageOutput) ElementType() reflect.Type
- func (o GetImagesImageOutput) Id() pulumi.StringOutput
- func (o GetImagesImageOutput) ImageId() pulumi.StringOutput
- func (o GetImagesImageOutput) ImageOwnerAlias() pulumi.StringOutput
- func (o GetImagesImageOutput) ImageVersion() pulumi.StringOutput
- func (o GetImagesImageOutput) IsCopied() pulumi.BoolOutput
- func (o GetImagesImageOutput) IsSelfShared() pulumi.StringOutput
- func (o GetImagesImageOutput) IsSubscribed() pulumi.BoolOutput
- func (o GetImagesImageOutput) IsSupportIoOptimized() pulumi.BoolOutput
- func (o GetImagesImageOutput) Name() pulumi.StringOutput
- func (o GetImagesImageOutput) OsName() pulumi.StringOutput
- func (o GetImagesImageOutput) OsNameEn() pulumi.StringOutput
- func (o GetImagesImageOutput) OsType() pulumi.StringOutput
- func (o GetImagesImageOutput) Platform() pulumi.StringOutput
- func (o GetImagesImageOutput) ProductCode() pulumi.StringOutput
- func (o GetImagesImageOutput) Progress() pulumi.StringOutput
- func (o GetImagesImageOutput) Size() pulumi.IntOutput
- func (o GetImagesImageOutput) State() pulumi.StringOutput
- func (o GetImagesImageOutput) Status() pulumi.StringOutput
- func (o GetImagesImageOutput) Tags() pulumi.MapOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
- func (o GetImagesImageOutput) Usage() pulumi.StringOutput
- type GetImagesOutputArgs
- type GetImagesResult
- type GetImagesResultOutput
- func (o GetImagesResultOutput) ActionType() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Architecture() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) DryRun() pulumi.BoolPtrOutput
- func (GetImagesResultOutput) ElementType() reflect.Type
- func (o GetImagesResultOutput) Id() pulumi.StringOutput
- func (o GetImagesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetImagesResultOutput) ImageFamily() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) ImageId() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) ImageName() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput
- func (o GetImagesResultOutput) InstanceType() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) IsSupportCloudInit() pulumi.BoolPtrOutput
- func (o GetImagesResultOutput) IsSupportIoOptimized() pulumi.BoolPtrOutput
- func (o GetImagesResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o GetImagesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) OsType() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Owners() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) SnapshotId() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Tags() pulumi.MapOutput
- func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput
- func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput
- func (o GetImagesResultOutput) Usage() pulumi.StringPtrOutput
- type GetInstanceTypeFamiliesArgs
- type GetInstanceTypeFamiliesFamily
- type GetInstanceTypeFamiliesFamilyArgs
- func (GetInstanceTypeFamiliesFamilyArgs) ElementType() reflect.Type
- func (i GetInstanceTypeFamiliesFamilyArgs) ToGetInstanceTypeFamiliesFamilyOutput() GetInstanceTypeFamiliesFamilyOutput
- func (i GetInstanceTypeFamiliesFamilyArgs) ToGetInstanceTypeFamiliesFamilyOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyOutput
- type GetInstanceTypeFamiliesFamilyArray
- func (GetInstanceTypeFamiliesFamilyArray) ElementType() reflect.Type
- func (i GetInstanceTypeFamiliesFamilyArray) ToGetInstanceTypeFamiliesFamilyArrayOutput() GetInstanceTypeFamiliesFamilyArrayOutput
- func (i GetInstanceTypeFamiliesFamilyArray) ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyArrayOutput
- type GetInstanceTypeFamiliesFamilyArrayInput
- type GetInstanceTypeFamiliesFamilyArrayOutput
- func (GetInstanceTypeFamiliesFamilyArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypeFamiliesFamilyArrayOutput) Index(i pulumi.IntInput) GetInstanceTypeFamiliesFamilyOutput
- func (o GetInstanceTypeFamiliesFamilyArrayOutput) ToGetInstanceTypeFamiliesFamilyArrayOutput() GetInstanceTypeFamiliesFamilyArrayOutput
- func (o GetInstanceTypeFamiliesFamilyArrayOutput) ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyArrayOutput
- type GetInstanceTypeFamiliesFamilyInput
- type GetInstanceTypeFamiliesFamilyOutput
- func (GetInstanceTypeFamiliesFamilyOutput) ElementType() reflect.Type
- func (o GetInstanceTypeFamiliesFamilyOutput) Generation() pulumi.StringOutput
- func (o GetInstanceTypeFamiliesFamilyOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypeFamiliesFamilyOutput) ToGetInstanceTypeFamiliesFamilyOutput() GetInstanceTypeFamiliesFamilyOutput
- func (o GetInstanceTypeFamiliesFamilyOutput) ToGetInstanceTypeFamiliesFamilyOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyOutput
- func (o GetInstanceTypeFamiliesFamilyOutput) ZoneIds() pulumi.StringArrayOutput
- type GetInstanceTypeFamiliesOutputArgs
- type GetInstanceTypeFamiliesResult
- type GetInstanceTypeFamiliesResultOutput
- func (GetInstanceTypeFamiliesResultOutput) ElementType() reflect.Type
- func (o GetInstanceTypeFamiliesResultOutput) Families() GetInstanceTypeFamiliesFamilyArrayOutput
- func (o GetInstanceTypeFamiliesResultOutput) Generation() pulumi.StringPtrOutput
- func (o GetInstanceTypeFamiliesResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypeFamiliesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetInstanceTypeFamiliesResultOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o GetInstanceTypeFamiliesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetInstanceTypeFamiliesResultOutput) SpotStrategy() pulumi.StringPtrOutput
- func (o GetInstanceTypeFamiliesResultOutput) ToGetInstanceTypeFamiliesResultOutput() GetInstanceTypeFamiliesResultOutput
- func (o GetInstanceTypeFamiliesResultOutput) ToGetInstanceTypeFamiliesResultOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesResultOutput
- func (o GetInstanceTypeFamiliesResultOutput) ZoneId() pulumi.StringPtrOutput
- type GetInstanceTypesArgs
- type GetInstanceTypesInstanceType
- type GetInstanceTypesInstanceTypeArgs
- func (GetInstanceTypesInstanceTypeArgs) ElementType() reflect.Type
- func (i GetInstanceTypesInstanceTypeArgs) ToGetInstanceTypesInstanceTypeOutput() GetInstanceTypesInstanceTypeOutput
- func (i GetInstanceTypesInstanceTypeArgs) ToGetInstanceTypesInstanceTypeOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeOutput
- type GetInstanceTypesInstanceTypeArray
- func (GetInstanceTypesInstanceTypeArray) ElementType() reflect.Type
- func (i GetInstanceTypesInstanceTypeArray) ToGetInstanceTypesInstanceTypeArrayOutput() GetInstanceTypesInstanceTypeArrayOutput
- func (i GetInstanceTypesInstanceTypeArray) ToGetInstanceTypesInstanceTypeArrayOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeArrayOutput
- type GetInstanceTypesInstanceTypeArrayInput
- type GetInstanceTypesInstanceTypeArrayOutput
- func (GetInstanceTypesInstanceTypeArrayOutput) ElementType() reflect.Type
- func (o GetInstanceTypesInstanceTypeArrayOutput) Index(i pulumi.IntInput) GetInstanceTypesInstanceTypeOutput
- func (o GetInstanceTypesInstanceTypeArrayOutput) ToGetInstanceTypesInstanceTypeArrayOutput() GetInstanceTypesInstanceTypeArrayOutput
- func (o GetInstanceTypesInstanceTypeArrayOutput) ToGetInstanceTypesInstanceTypeArrayOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeArrayOutput
- type GetInstanceTypesInstanceTypeBurstableInstance
- type GetInstanceTypesInstanceTypeBurstableInstanceArgs
- func (GetInstanceTypesInstanceTypeBurstableInstanceArgs) ElementType() reflect.Type
- func (i GetInstanceTypesInstanceTypeBurstableInstanceArgs) ToGetInstanceTypesInstanceTypeBurstableInstanceOutput() GetInstanceTypesInstanceTypeBurstableInstanceOutput
- func (i GetInstanceTypesInstanceTypeBurstableInstanceArgs) ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeBurstableInstanceOutput
- type GetInstanceTypesInstanceTypeBurstableInstanceInput
- type GetInstanceTypesInstanceTypeBurstableInstanceOutput
- func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) BaselineCredit() pulumi.StringOutput
- func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) ElementType() reflect.Type
- func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) InitialCredit() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) ToGetInstanceTypesInstanceTypeBurstableInstanceOutput() GetInstanceTypesInstanceTypeBurstableInstanceOutput
- func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeBurstableInstanceOutput
- type GetInstanceTypesInstanceTypeGpu
- type GetInstanceTypesInstanceTypeGpuArgs
- func (GetInstanceTypesInstanceTypeGpuArgs) ElementType() reflect.Type
- func (i GetInstanceTypesInstanceTypeGpuArgs) ToGetInstanceTypesInstanceTypeGpuOutput() GetInstanceTypesInstanceTypeGpuOutput
- func (i GetInstanceTypesInstanceTypeGpuArgs) ToGetInstanceTypesInstanceTypeGpuOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeGpuOutput
- type GetInstanceTypesInstanceTypeGpuInput
- type GetInstanceTypesInstanceTypeGpuOutput
- func (o GetInstanceTypesInstanceTypeGpuOutput) Amount() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeGpuOutput) Category() pulumi.StringOutput
- func (GetInstanceTypesInstanceTypeGpuOutput) ElementType() reflect.Type
- func (o GetInstanceTypesInstanceTypeGpuOutput) ToGetInstanceTypesInstanceTypeGpuOutput() GetInstanceTypesInstanceTypeGpuOutput
- func (o GetInstanceTypesInstanceTypeGpuOutput) ToGetInstanceTypesInstanceTypeGpuOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeGpuOutput
- type GetInstanceTypesInstanceTypeInput
- type GetInstanceTypesInstanceTypeLocalStorage
- type GetInstanceTypesInstanceTypeLocalStorageArgs
- func (GetInstanceTypesInstanceTypeLocalStorageArgs) ElementType() reflect.Type
- func (i GetInstanceTypesInstanceTypeLocalStorageArgs) ToGetInstanceTypesInstanceTypeLocalStorageOutput() GetInstanceTypesInstanceTypeLocalStorageOutput
- func (i GetInstanceTypesInstanceTypeLocalStorageArgs) ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeLocalStorageOutput
- type GetInstanceTypesInstanceTypeLocalStorageInput
- type GetInstanceTypesInstanceTypeLocalStorageOutput
- func (o GetInstanceTypesInstanceTypeLocalStorageOutput) Amount() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeLocalStorageOutput) Capacity() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeLocalStorageOutput) Category() pulumi.StringOutput
- func (GetInstanceTypesInstanceTypeLocalStorageOutput) ElementType() reflect.Type
- func (o GetInstanceTypesInstanceTypeLocalStorageOutput) ToGetInstanceTypesInstanceTypeLocalStorageOutput() GetInstanceTypesInstanceTypeLocalStorageOutput
- func (o GetInstanceTypesInstanceTypeLocalStorageOutput) ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeLocalStorageOutput
- type GetInstanceTypesInstanceTypeOutput
- func (o GetInstanceTypesInstanceTypeOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o GetInstanceTypesInstanceTypeOutput) BurstableInstance() GetInstanceTypesInstanceTypeBurstableInstanceOutput
- func (o GetInstanceTypesInstanceTypeOutput) CpuCoreCount() pulumi.IntOutput
- func (GetInstanceTypesInstanceTypeOutput) ElementType() reflect.Type
- func (o GetInstanceTypesInstanceTypeOutput) EniAmount() pulumi.IntOutput
- func (o GetInstanceTypesInstanceTypeOutput) Family() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeOutput) Gpu() GetInstanceTypesInstanceTypeGpuOutput
- func (o GetInstanceTypesInstanceTypeOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeOutput) LocalStorage() GetInstanceTypesInstanceTypeLocalStorageOutput
- func (o GetInstanceTypesInstanceTypeOutput) MemorySize() pulumi.Float64Output
- func (o GetInstanceTypesInstanceTypeOutput) Price() pulumi.StringOutput
- func (o GetInstanceTypesInstanceTypeOutput) ToGetInstanceTypesInstanceTypeOutput() GetInstanceTypesInstanceTypeOutput
- func (o GetInstanceTypesInstanceTypeOutput) ToGetInstanceTypesInstanceTypeOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeOutput
- type GetInstanceTypesOutputArgs
- type GetInstanceTypesResult
- type GetInstanceTypesResultOutput
- func (o GetInstanceTypesResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) CpuCoreCount() pulumi.IntPtrOutput
- func (GetInstanceTypesResultOutput) ElementType() reflect.Type
- func (o GetInstanceTypesResultOutput) EniAmount() pulumi.IntPtrOutput
- func (o GetInstanceTypesResultOutput) GpuAmount() pulumi.IntPtrOutput
- func (o GetInstanceTypesResultOutput) GpuSpec() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceTypesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetInstanceTypesResultOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) InstanceTypeFamily() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) InstanceTypes() GetInstanceTypesInstanceTypeArrayOutput
- func (o GetInstanceTypesResultOutput) IsOutdated() pulumi.BoolPtrOutput
- func (o GetInstanceTypesResultOutput) KubernetesNodeRole() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) MemorySize() pulumi.Float64PtrOutput
- func (o GetInstanceTypesResultOutput) NetworkType() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) SortedBy() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) SpotStrategy() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) SystemDiskCategory() pulumi.StringPtrOutput
- func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutput() GetInstanceTypesResultOutput
- func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutputWithContext(ctx context.Context) GetInstanceTypesResultOutput
- type GetInstancesArgs
- type GetInstancesInstance
- type GetInstancesInstanceArgs
- type GetInstancesInstanceArray
- type GetInstancesInstanceArrayInput
- type GetInstancesInstanceArrayOutput
- func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
- type GetInstancesInstanceDiskDeviceMapping
- type GetInstancesInstanceDiskDeviceMappingArgs
- func (GetInstancesInstanceDiskDeviceMappingArgs) ElementType() reflect.Type
- func (i GetInstancesInstanceDiskDeviceMappingArgs) ToGetInstancesInstanceDiskDeviceMappingOutput() GetInstancesInstanceDiskDeviceMappingOutput
- func (i GetInstancesInstanceDiskDeviceMappingArgs) ToGetInstancesInstanceDiskDeviceMappingOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingOutput
- type GetInstancesInstanceDiskDeviceMappingArray
- func (GetInstancesInstanceDiskDeviceMappingArray) ElementType() reflect.Type
- func (i GetInstancesInstanceDiskDeviceMappingArray) ToGetInstancesInstanceDiskDeviceMappingArrayOutput() GetInstancesInstanceDiskDeviceMappingArrayOutput
- func (i GetInstancesInstanceDiskDeviceMappingArray) ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingArrayOutput
- type GetInstancesInstanceDiskDeviceMappingArrayInput
- type GetInstancesInstanceDiskDeviceMappingArrayOutput
- func (GetInstancesInstanceDiskDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceDiskDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceDiskDeviceMappingOutput
- func (o GetInstancesInstanceDiskDeviceMappingArrayOutput) ToGetInstancesInstanceDiskDeviceMappingArrayOutput() GetInstancesInstanceDiskDeviceMappingArrayOutput
- func (o GetInstancesInstanceDiskDeviceMappingArrayOutput) ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingArrayOutput
- type GetInstancesInstanceDiskDeviceMappingInput
- type GetInstancesInstanceDiskDeviceMappingOutput
- func (o GetInstancesInstanceDiskDeviceMappingOutput) Category() pulumi.StringOutput
- func (o GetInstancesInstanceDiskDeviceMappingOutput) Device() pulumi.StringOutput
- func (GetInstancesInstanceDiskDeviceMappingOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceDiskDeviceMappingOutput) Size() pulumi.IntOutput
- func (o GetInstancesInstanceDiskDeviceMappingOutput) ToGetInstancesInstanceDiskDeviceMappingOutput() GetInstancesInstanceDiskDeviceMappingOutput
- func (o GetInstancesInstanceDiskDeviceMappingOutput) ToGetInstancesInstanceDiskDeviceMappingOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingOutput
- func (o GetInstancesInstanceDiskDeviceMappingOutput) Type() pulumi.StringOutput
- type GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) CreationTime() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Description() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DiskDeviceMappings() GetInstancesInstanceDiskDeviceMappingArrayOutput
- func (o GetInstancesInstanceOutput) Eip() pulumi.StringOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ImageId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceChargeType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InternetChargeType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InternetMaxBandwidthOut() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) KeyName() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Name() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PrivateIp() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PublicIp() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) RamRoleName() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) RegionId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o GetInstancesInstanceOutput) SpotStrategy() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Tags() pulumi.MapOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) VpcId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) VswitchId() pulumi.StringOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (o GetInstancesResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) ImageId() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
- func (o GetInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetInstancesResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetInstancesResultOutput) RamRoleName() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Tags() pulumi.MapOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- func (o GetInstancesResultOutput) TotalCount() pulumi.IntOutput
- func (o GetInstancesResultOutput) VpcId() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) VswitchId() pulumi.StringPtrOutput
- type GetKeyPairsArgs
- type GetKeyPairsKeyPair
- type GetKeyPairsKeyPairArgs
- type GetKeyPairsKeyPairArray
- type GetKeyPairsKeyPairArrayInput
- type GetKeyPairsKeyPairArrayOutput
- func (GetKeyPairsKeyPairArrayOutput) ElementType() reflect.Type
- func (o GetKeyPairsKeyPairArrayOutput) Index(i pulumi.IntInput) GetKeyPairsKeyPairOutput
- func (o GetKeyPairsKeyPairArrayOutput) ToGetKeyPairsKeyPairArrayOutput() GetKeyPairsKeyPairArrayOutput
- func (o GetKeyPairsKeyPairArrayOutput) ToGetKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairArrayOutput
- type GetKeyPairsKeyPairInput
- type GetKeyPairsKeyPairInstance
- type GetKeyPairsKeyPairInstanceArgs
- func (GetKeyPairsKeyPairInstanceArgs) ElementType() reflect.Type
- func (i GetKeyPairsKeyPairInstanceArgs) ToGetKeyPairsKeyPairInstanceOutput() GetKeyPairsKeyPairInstanceOutput
- func (i GetKeyPairsKeyPairInstanceArgs) ToGetKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceOutput
- type GetKeyPairsKeyPairInstanceArray
- func (GetKeyPairsKeyPairInstanceArray) ElementType() reflect.Type
- func (i GetKeyPairsKeyPairInstanceArray) ToGetKeyPairsKeyPairInstanceArrayOutput() GetKeyPairsKeyPairInstanceArrayOutput
- func (i GetKeyPairsKeyPairInstanceArray) ToGetKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceArrayOutput
- type GetKeyPairsKeyPairInstanceArrayInput
- type GetKeyPairsKeyPairInstanceArrayOutput
- func (GetKeyPairsKeyPairInstanceArrayOutput) ElementType() reflect.Type
- func (o GetKeyPairsKeyPairInstanceArrayOutput) Index(i pulumi.IntInput) GetKeyPairsKeyPairInstanceOutput
- func (o GetKeyPairsKeyPairInstanceArrayOutput) ToGetKeyPairsKeyPairInstanceArrayOutput() GetKeyPairsKeyPairInstanceArrayOutput
- func (o GetKeyPairsKeyPairInstanceArrayOutput) ToGetKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceArrayOutput
- type GetKeyPairsKeyPairInstanceInput
- type GetKeyPairsKeyPairInstanceOutput
- func (o GetKeyPairsKeyPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) Description() pulumi.StringOutput
- func (GetKeyPairsKeyPairInstanceOutput) ElementType() reflect.Type
- func (o GetKeyPairsKeyPairInstanceOutput) ImageId() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) InstanceType() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) KeyName() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) PrivateIp() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) PublicIp() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) RegionId() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) Status() pulumi.StringOutput
- func (o GetKeyPairsKeyPairInstanceOutput) ToGetKeyPairsKeyPairInstanceOutput() GetKeyPairsKeyPairInstanceOutput
- func (o GetKeyPairsKeyPairInstanceOutput) ToGetKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceOutput
- func (o GetKeyPairsKeyPairInstanceOutput) VswitchId() pulumi.StringOutput
- type GetKeyPairsKeyPairOutput
- func (GetKeyPairsKeyPairOutput) ElementType() reflect.Type
- func (o GetKeyPairsKeyPairOutput) FingerPrint() pulumi.StringOutput
- func (o GetKeyPairsKeyPairOutput) Id() pulumi.StringOutput
- func (o GetKeyPairsKeyPairOutput) Instances() GetKeyPairsKeyPairInstanceArrayOutput
- func (o GetKeyPairsKeyPairOutput) KeyName() pulumi.StringOutput
- func (o GetKeyPairsKeyPairOutput) KeyPairName() pulumi.StringOutput
- func (o GetKeyPairsKeyPairOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetKeyPairsKeyPairOutput) Tags() pulumi.MapOutput
- func (o GetKeyPairsKeyPairOutput) ToGetKeyPairsKeyPairOutput() GetKeyPairsKeyPairOutput
- func (o GetKeyPairsKeyPairOutput) ToGetKeyPairsKeyPairOutputWithContext(ctx context.Context) GetKeyPairsKeyPairOutput
- type GetKeyPairsOutputArgs
- type GetKeyPairsPair
- type GetKeyPairsPairArgs
- type GetKeyPairsPairArray
- type GetKeyPairsPairArrayInput
- type GetKeyPairsPairArrayOutput
- func (GetKeyPairsPairArrayOutput) ElementType() reflect.Type
- func (o GetKeyPairsPairArrayOutput) Index(i pulumi.IntInput) GetKeyPairsPairOutput
- func (o GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput
- func (o GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutputWithContext(ctx context.Context) GetKeyPairsPairArrayOutput
- type GetKeyPairsPairInput
- type GetKeyPairsPairInstance
- type GetKeyPairsPairInstanceArgs
- type GetKeyPairsPairInstanceArray
- func (GetKeyPairsPairInstanceArray) ElementType() reflect.Type
- func (i GetKeyPairsPairInstanceArray) ToGetKeyPairsPairInstanceArrayOutput() GetKeyPairsPairInstanceArrayOutput
- func (i GetKeyPairsPairInstanceArray) ToGetKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceArrayOutput
- type GetKeyPairsPairInstanceArrayInput
- type GetKeyPairsPairInstanceArrayOutput
- func (GetKeyPairsPairInstanceArrayOutput) ElementType() reflect.Type
- func (o GetKeyPairsPairInstanceArrayOutput) Index(i pulumi.IntInput) GetKeyPairsPairInstanceOutput
- func (o GetKeyPairsPairInstanceArrayOutput) ToGetKeyPairsPairInstanceArrayOutput() GetKeyPairsPairInstanceArrayOutput
- func (o GetKeyPairsPairInstanceArrayOutput) ToGetKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceArrayOutput
- type GetKeyPairsPairInstanceInput
- type GetKeyPairsPairInstanceOutput
- func (o GetKeyPairsPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) Description() pulumi.StringOutput
- func (GetKeyPairsPairInstanceOutput) ElementType() reflect.Type
- func (o GetKeyPairsPairInstanceOutput) ImageId() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) InstanceType() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) KeyName() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) PrivateIp() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) PublicIp() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) RegionId() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) Status() pulumi.StringOutput
- func (o GetKeyPairsPairInstanceOutput) ToGetKeyPairsPairInstanceOutput() GetKeyPairsPairInstanceOutput
- func (o GetKeyPairsPairInstanceOutput) ToGetKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceOutput
- func (o GetKeyPairsPairInstanceOutput) VswitchId() pulumi.StringOutput
- type GetKeyPairsPairOutput
- func (GetKeyPairsPairOutput) ElementType() reflect.Type
- func (o GetKeyPairsPairOutput) FingerPrint() pulumi.StringOutput
- func (o GetKeyPairsPairOutput) Id() pulumi.StringOutput
- func (o GetKeyPairsPairOutput) Instances() GetKeyPairsPairInstanceArrayOutput
- func (o GetKeyPairsPairOutput) KeyName() pulumi.StringOutput
- func (o GetKeyPairsPairOutput) KeyPairName() pulumi.StringOutput
- func (o GetKeyPairsPairOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetKeyPairsPairOutput) Tags() pulumi.MapOutput
- func (o GetKeyPairsPairOutput) ToGetKeyPairsPairOutput() GetKeyPairsPairOutput
- func (o GetKeyPairsPairOutput) ToGetKeyPairsPairOutputWithContext(ctx context.Context) GetKeyPairsPairOutput
- type GetKeyPairsResult
- type GetKeyPairsResultOutput
- func (GetKeyPairsResultOutput) ElementType() reflect.Type
- func (o GetKeyPairsResultOutput) FingerPrint() pulumi.StringPtrOutput
- func (o GetKeyPairsResultOutput) Id() pulumi.StringOutput
- func (o GetKeyPairsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetKeyPairsResultOutput) KeyPairs() GetKeyPairsKeyPairArrayOutputdeprecated
- func (o GetKeyPairsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetKeyPairsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetKeyPairsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetKeyPairsResultOutput) Pairs() GetKeyPairsPairArrayOutput
- func (o GetKeyPairsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetKeyPairsResultOutput) Tags() pulumi.MapOutput
- func (o GetKeyPairsResultOutput) ToGetKeyPairsResultOutput() GetKeyPairsResultOutput
- func (o GetKeyPairsResultOutput) ToGetKeyPairsResultOutputWithContext(ctx context.Context) GetKeyPairsResultOutput
- type GetNetworkInterfacesArgs
- type GetNetworkInterfacesInterface
- type GetNetworkInterfacesInterfaceArgs
- func (GetNetworkInterfacesInterfaceArgs) ElementType() reflect.Type
- func (i GetNetworkInterfacesInterfaceArgs) ToGetNetworkInterfacesInterfaceOutput() GetNetworkInterfacesInterfaceOutput
- func (i GetNetworkInterfacesInterfaceArgs) ToGetNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceOutput
- type GetNetworkInterfacesInterfaceArray
- func (GetNetworkInterfacesInterfaceArray) ElementType() reflect.Type
- func (i GetNetworkInterfacesInterfaceArray) ToGetNetworkInterfacesInterfaceArrayOutput() GetNetworkInterfacesInterfaceArrayOutput
- func (i GetNetworkInterfacesInterfaceArray) ToGetNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceArrayOutput
- type GetNetworkInterfacesInterfaceArrayInput
- type GetNetworkInterfacesInterfaceArrayOutput
- func (GetNetworkInterfacesInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetNetworkInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetNetworkInterfacesInterfaceOutput
- func (o GetNetworkInterfacesInterfaceArrayOutput) ToGetNetworkInterfacesInterfaceArrayOutput() GetNetworkInterfacesInterfaceArrayOutput
- func (o GetNetworkInterfacesInterfaceArrayOutput) ToGetNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceArrayOutput
- type GetNetworkInterfacesInterfaceInput
- type GetNetworkInterfacesInterfaceOutput
- func (o GetNetworkInterfacesInterfaceOutput) CreationTime() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) Description() pulumi.StringOutput
- func (GetNetworkInterfacesInterfaceOutput) ElementType() reflect.Type
- func (o GetNetworkInterfacesInterfaceOutput) Id() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) InstanceId() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) Mac() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) Name() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) NetworkInterfaceName() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) PrimaryIpAddress() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) PrivateIp() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) PrivateIpAddresses() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesInterfaceOutput) PrivateIps() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesInterfaceOutput) QueueNumber() pulumi.IntOutput
- func (o GetNetworkInterfacesInterfaceOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesInterfaceOutput) ServiceId() pulumi.IntOutput
- func (o GetNetworkInterfacesInterfaceOutput) ServiceManaged() pulumi.BoolOutput
- func (o GetNetworkInterfacesInterfaceOutput) Status() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) Tags() pulumi.MapOutput
- func (o GetNetworkInterfacesInterfaceOutput) ToGetNetworkInterfacesInterfaceOutput() GetNetworkInterfacesInterfaceOutput
- func (o GetNetworkInterfacesInterfaceOutput) ToGetNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceOutput
- func (o GetNetworkInterfacesInterfaceOutput) Type() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) VpcId() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) VswitchId() pulumi.StringOutput
- func (o GetNetworkInterfacesInterfaceOutput) ZoneId() pulumi.StringOutput
- type GetNetworkInterfacesOutputArgs
- type GetNetworkInterfacesResult
- type GetNetworkInterfacesResultOutput
- func (GetNetworkInterfacesResultOutput) ElementType() reflect.Type
- func (o GetNetworkInterfacesResultOutput) Id() pulumi.StringOutput
- func (o GetNetworkInterfacesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) Interfaces() GetNetworkInterfacesInterfaceArrayOutput
- func (o GetNetworkInterfacesResultOutput) Name() pulumi.StringPtrOutputdeprecated
- func (o GetNetworkInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetNetworkInterfacesResultOutput) NetworkInterfaceName() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) PrimaryIpAddress() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) PrivateIp() pulumi.StringPtrOutputdeprecated
- func (o GetNetworkInterfacesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) ServiceManaged() pulumi.BoolPtrOutput
- func (o GetNetworkInterfacesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) Tags() pulumi.MapOutput
- func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutput() GetNetworkInterfacesResultOutput
- func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutputWithContext(ctx context.Context) GetNetworkInterfacesResultOutput
- func (o GetNetworkInterfacesResultOutput) Type() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) VpcId() pulumi.StringPtrOutput
- func (o GetNetworkInterfacesResultOutput) VswitchId() pulumi.StringPtrOutput
- type GetSecurityGroupRulesArgs
- type GetSecurityGroupRulesOutputArgs
- type GetSecurityGroupRulesResult
- type GetSecurityGroupRulesResultOutput
- func (o GetSecurityGroupRulesResultOutput) Direction() pulumi.StringPtrOutput
- func (GetSecurityGroupRulesResultOutput) ElementType() reflect.Type
- func (o GetSecurityGroupRulesResultOutput) GroupDesc() pulumi.StringOutput
- func (o GetSecurityGroupRulesResultOutput) GroupId() pulumi.StringOutput
- func (o GetSecurityGroupRulesResultOutput) GroupName() pulumi.StringOutput
- func (o GetSecurityGroupRulesResultOutput) Id() pulumi.StringOutput
- func (o GetSecurityGroupRulesResultOutput) IpProtocol() pulumi.StringPtrOutput
- func (o GetSecurityGroupRulesResultOutput) NicType() pulumi.StringPtrOutput
- func (o GetSecurityGroupRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSecurityGroupRulesResultOutput) Policy() pulumi.StringPtrOutput
- func (o GetSecurityGroupRulesResultOutput) Rules() GetSecurityGroupRulesRuleArrayOutput
- func (o GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutput() GetSecurityGroupRulesResultOutput
- func (o GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutputWithContext(ctx context.Context) GetSecurityGroupRulesResultOutput
- type GetSecurityGroupRulesRule
- type GetSecurityGroupRulesRuleArgs
- func (GetSecurityGroupRulesRuleArgs) ElementType() reflect.Type
- func (i GetSecurityGroupRulesRuleArgs) ToGetSecurityGroupRulesRuleOutput() GetSecurityGroupRulesRuleOutput
- func (i GetSecurityGroupRulesRuleArgs) ToGetSecurityGroupRulesRuleOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleOutput
- type GetSecurityGroupRulesRuleArray
- func (GetSecurityGroupRulesRuleArray) ElementType() reflect.Type
- func (i GetSecurityGroupRulesRuleArray) ToGetSecurityGroupRulesRuleArrayOutput() GetSecurityGroupRulesRuleArrayOutput
- func (i GetSecurityGroupRulesRuleArray) ToGetSecurityGroupRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleArrayOutput
- type GetSecurityGroupRulesRuleArrayInput
- type GetSecurityGroupRulesRuleArrayOutput
- func (GetSecurityGroupRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupRulesRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupRulesRuleOutput
- func (o GetSecurityGroupRulesRuleArrayOutput) ToGetSecurityGroupRulesRuleArrayOutput() GetSecurityGroupRulesRuleArrayOutput
- func (o GetSecurityGroupRulesRuleArrayOutput) ToGetSecurityGroupRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleArrayOutput
- type GetSecurityGroupRulesRuleInput
- type GetSecurityGroupRulesRuleOutput
- func (o GetSecurityGroupRulesRuleOutput) Description() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) DestCidrIp() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) DestGroupId() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) DestGroupOwnerAccount() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) Direction() pulumi.StringOutput
- func (GetSecurityGroupRulesRuleOutput) ElementType() reflect.Type
- func (o GetSecurityGroupRulesRuleOutput) IpProtocol() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) NicType() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) Policy() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) PortRange() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) Priority() pulumi.IntOutput
- func (o GetSecurityGroupRulesRuleOutput) SourceCidrIp() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) SourceGroupId() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) SourceGroupOwnerAccount() pulumi.StringOutput
- func (o GetSecurityGroupRulesRuleOutput) ToGetSecurityGroupRulesRuleOutput() GetSecurityGroupRulesRuleOutput
- func (o GetSecurityGroupRulesRuleOutput) ToGetSecurityGroupRulesRuleOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleOutput
- type GetSecurityGroupsArgs
- type GetSecurityGroupsGroup
- type GetSecurityGroupsGroupArgs
- type GetSecurityGroupsGroupArray
- func (GetSecurityGroupsGroupArray) ElementType() reflect.Type
- func (i GetSecurityGroupsGroupArray) ToGetSecurityGroupsGroupArrayOutput() GetSecurityGroupsGroupArrayOutput
- func (i GetSecurityGroupsGroupArray) ToGetSecurityGroupsGroupArrayOutputWithContext(ctx context.Context) GetSecurityGroupsGroupArrayOutput
- type GetSecurityGroupsGroupArrayInput
- type GetSecurityGroupsGroupArrayOutput
- func (GetSecurityGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsGroupOutput
- func (o GetSecurityGroupsGroupArrayOutput) ToGetSecurityGroupsGroupArrayOutput() GetSecurityGroupsGroupArrayOutput
- func (o GetSecurityGroupsGroupArrayOutput) ToGetSecurityGroupsGroupArrayOutputWithContext(ctx context.Context) GetSecurityGroupsGroupArrayOutput
- type GetSecurityGroupsGroupInput
- type GetSecurityGroupsGroupOutput
- func (o GetSecurityGroupsGroupOutput) CreationTime() pulumi.StringOutput
- func (o GetSecurityGroupsGroupOutput) Description() pulumi.StringOutput
- func (GetSecurityGroupsGroupOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetSecurityGroupsGroupOutput) InnerAccess() pulumi.BoolOutput
- func (o GetSecurityGroupsGroupOutput) Name() pulumi.StringOutput
- func (o GetSecurityGroupsGroupOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetSecurityGroupsGroupOutput) SecurityGroupType() pulumi.StringOutput
- func (o GetSecurityGroupsGroupOutput) Tags() pulumi.MapOutput
- func (o GetSecurityGroupsGroupOutput) ToGetSecurityGroupsGroupOutput() GetSecurityGroupsGroupOutput
- func (o GetSecurityGroupsGroupOutput) ToGetSecurityGroupsGroupOutputWithContext(ctx context.Context) GetSecurityGroupsGroupOutput
- func (o GetSecurityGroupsGroupOutput) VpcId() pulumi.StringOutput
- type GetSecurityGroupsOutputArgs
- type GetSecurityGroupsResult
- type GetSecurityGroupsResultOutput
- func (GetSecurityGroupsResultOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetSecurityGroupsResultOutput) Groups() GetSecurityGroupsGroupArrayOutput
- func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetSecurityGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSecurityGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetSecurityGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetSecurityGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSecurityGroupsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetSecurityGroupsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetSecurityGroupsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetSecurityGroupsResultOutput) Tags() pulumi.MapOutput
- func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput
- func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput
- func (o GetSecurityGroupsResultOutput) TotalCount() pulumi.IntOutput
- func (o GetSecurityGroupsResultOutput) VpcId() pulumi.StringPtrOutput
- type GetSnapshotsArgs
- type GetSnapshotsOutputArgs
- type GetSnapshotsResult
- type GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) Category() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) DryRun() pulumi.BoolPtrOutput
- func (GetSnapshotsResultOutput) ElementType() reflect.Type
- func (o GetSnapshotsResultOutput) Encrypted() pulumi.BoolPtrOutput
- func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput
- func (o GetSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSnapshotsResultOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) SnapshotLinkId() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) SnapshotType() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput
- func (o GetSnapshotsResultOutput) SourceDiskType() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Tags() pulumi.MapOutput
- func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) Type() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Usage() pulumi.StringPtrOutput
- type GetSnapshotsSnapshot
- type GetSnapshotsSnapshotArgs
- type GetSnapshotsSnapshotArray
- type GetSnapshotsSnapshotArrayInput
- type GetSnapshotsSnapshotArrayOutput
- func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
- func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
- type GetSnapshotsSnapshotInput
- type GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) Category() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) CreationTime() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Description() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) DiskId() pulumi.StringOutput
- func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type
- func (o GetSnapshotsSnapshotOutput) Encrypted() pulumi.BoolOutput
- func (o GetSnapshotsSnapshotOutput) Id() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) InstantAccess() pulumi.BoolOutput
- func (o GetSnapshotsSnapshotOutput) InstantAccessRetentionDays() pulumi.IntOutput
- func (o GetSnapshotsSnapshotOutput) Name() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ProductCode() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) RemainTime() pulumi.IntOutput
- func (o GetSnapshotsSnapshotOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) RetentionDays() pulumi.IntOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotSn() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotType() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SourceDiskId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SourceDiskSize() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SourceStorageType() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Status() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Tags() pulumi.MapOutput
- func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) Type() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Usage() pulumi.StringOutput
- type HpcCluster
- type HpcClusterArgs
- type HpcClusterArray
- type HpcClusterArrayInput
- type HpcClusterArrayOutput
- func (HpcClusterArrayOutput) ElementType() reflect.Type
- func (o HpcClusterArrayOutput) Index(i pulumi.IntInput) HpcClusterOutput
- func (o HpcClusterArrayOutput) ToHpcClusterArrayOutput() HpcClusterArrayOutput
- func (o HpcClusterArrayOutput) ToHpcClusterArrayOutputWithContext(ctx context.Context) HpcClusterArrayOutput
- type HpcClusterInput
- type HpcClusterMap
- type HpcClusterMapInput
- type HpcClusterMapOutput
- func (HpcClusterMapOutput) ElementType() reflect.Type
- func (o HpcClusterMapOutput) MapIndex(k pulumi.StringInput) HpcClusterOutput
- func (o HpcClusterMapOutput) ToHpcClusterMapOutput() HpcClusterMapOutput
- func (o HpcClusterMapOutput) ToHpcClusterMapOutputWithContext(ctx context.Context) HpcClusterMapOutput
- type HpcClusterOutput
- type HpcClusterState
- type Image
- type ImageArgs
- type ImageArray
- type ImageArrayInput
- type ImageArrayOutput
- type ImageCopy
- type ImageCopyArgs
- type ImageCopyArray
- type ImageCopyArrayInput
- type ImageCopyArrayOutput
- func (ImageCopyArrayOutput) ElementType() reflect.Type
- func (o ImageCopyArrayOutput) Index(i pulumi.IntInput) ImageCopyOutput
- func (o ImageCopyArrayOutput) ToImageCopyArrayOutput() ImageCopyArrayOutput
- func (o ImageCopyArrayOutput) ToImageCopyArrayOutputWithContext(ctx context.Context) ImageCopyArrayOutput
- type ImageCopyInput
- type ImageCopyMap
- type ImageCopyMapInput
- type ImageCopyMapOutput
- type ImageCopyOutput
- type ImageCopyState
- type ImageDiskDeviceMapping
- type ImageDiskDeviceMappingArgs
- type ImageDiskDeviceMappingArray
- func (ImageDiskDeviceMappingArray) ElementType() reflect.Type
- func (i ImageDiskDeviceMappingArray) ToImageDiskDeviceMappingArrayOutput() ImageDiskDeviceMappingArrayOutput
- func (i ImageDiskDeviceMappingArray) ToImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageDiskDeviceMappingArrayOutput
- type ImageDiskDeviceMappingArrayInput
- type ImageDiskDeviceMappingArrayOutput
- func (ImageDiskDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o ImageDiskDeviceMappingArrayOutput) Index(i pulumi.IntInput) ImageDiskDeviceMappingOutput
- func (o ImageDiskDeviceMappingArrayOutput) ToImageDiskDeviceMappingArrayOutput() ImageDiskDeviceMappingArrayOutput
- func (o ImageDiskDeviceMappingArrayOutput) ToImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageDiskDeviceMappingArrayOutput
- type ImageDiskDeviceMappingInput
- type ImageDiskDeviceMappingOutput
- func (o ImageDiskDeviceMappingOutput) Device() pulumi.StringPtrOutput
- func (o ImageDiskDeviceMappingOutput) DiskType() pulumi.StringPtrOutput
- func (ImageDiskDeviceMappingOutput) ElementType() reflect.Type
- func (o ImageDiskDeviceMappingOutput) Size() pulumi.IntPtrOutput
- func (o ImageDiskDeviceMappingOutput) SnapshotId() pulumi.StringPtrOutput
- func (o ImageDiskDeviceMappingOutput) ToImageDiskDeviceMappingOutput() ImageDiskDeviceMappingOutput
- func (o ImageDiskDeviceMappingOutput) ToImageDiskDeviceMappingOutputWithContext(ctx context.Context) ImageDiskDeviceMappingOutput
- type ImageExport
- type ImageExportArgs
- type ImageExportArray
- type ImageExportArrayInput
- type ImageExportArrayOutput
- func (ImageExportArrayOutput) ElementType() reflect.Type
- func (o ImageExportArrayOutput) Index(i pulumi.IntInput) ImageExportOutput
- func (o ImageExportArrayOutput) ToImageExportArrayOutput() ImageExportArrayOutput
- func (o ImageExportArrayOutput) ToImageExportArrayOutputWithContext(ctx context.Context) ImageExportArrayOutput
- type ImageExportInput
- type ImageExportMap
- type ImageExportMapInput
- type ImageExportMapOutput
- func (ImageExportMapOutput) ElementType() reflect.Type
- func (o ImageExportMapOutput) MapIndex(k pulumi.StringInput) ImageExportOutput
- func (o ImageExportMapOutput) ToImageExportMapOutput() ImageExportMapOutput
- func (o ImageExportMapOutput) ToImageExportMapOutputWithContext(ctx context.Context) ImageExportMapOutput
- type ImageExportOutput
- type ImageExportState
- type ImageImport
- type ImageImportArgs
- type ImageImportArray
- type ImageImportArrayInput
- type ImageImportArrayOutput
- func (ImageImportArrayOutput) ElementType() reflect.Type
- func (o ImageImportArrayOutput) Index(i pulumi.IntInput) ImageImportOutput
- func (o ImageImportArrayOutput) ToImageImportArrayOutput() ImageImportArrayOutput
- func (o ImageImportArrayOutput) ToImageImportArrayOutputWithContext(ctx context.Context) ImageImportArrayOutput
- type ImageImportDiskDeviceMapping
- type ImageImportDiskDeviceMappingArgs
- func (ImageImportDiskDeviceMappingArgs) ElementType() reflect.Type
- func (i ImageImportDiskDeviceMappingArgs) ToImageImportDiskDeviceMappingOutput() ImageImportDiskDeviceMappingOutput
- func (i ImageImportDiskDeviceMappingArgs) ToImageImportDiskDeviceMappingOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingOutput
- type ImageImportDiskDeviceMappingArray
- func (ImageImportDiskDeviceMappingArray) ElementType() reflect.Type
- func (i ImageImportDiskDeviceMappingArray) ToImageImportDiskDeviceMappingArrayOutput() ImageImportDiskDeviceMappingArrayOutput
- func (i ImageImportDiskDeviceMappingArray) ToImageImportDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingArrayOutput
- type ImageImportDiskDeviceMappingArrayInput
- type ImageImportDiskDeviceMappingArrayOutput
- func (ImageImportDiskDeviceMappingArrayOutput) ElementType() reflect.Type
- func (o ImageImportDiskDeviceMappingArrayOutput) Index(i pulumi.IntInput) ImageImportDiskDeviceMappingOutput
- func (o ImageImportDiskDeviceMappingArrayOutput) ToImageImportDiskDeviceMappingArrayOutput() ImageImportDiskDeviceMappingArrayOutput
- func (o ImageImportDiskDeviceMappingArrayOutput) ToImageImportDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingArrayOutput
- type ImageImportDiskDeviceMappingInput
- type ImageImportDiskDeviceMappingOutput
- func (o ImageImportDiskDeviceMappingOutput) Device() pulumi.StringPtrOutput
- func (o ImageImportDiskDeviceMappingOutput) DiskImageSize() pulumi.IntPtrOutput
- func (ImageImportDiskDeviceMappingOutput) ElementType() reflect.Type
- func (o ImageImportDiskDeviceMappingOutput) Format() pulumi.StringPtrOutput
- func (o ImageImportDiskDeviceMappingOutput) OssBucket() pulumi.StringPtrOutput
- func (o ImageImportDiskDeviceMappingOutput) OssObject() pulumi.StringPtrOutput
- func (o ImageImportDiskDeviceMappingOutput) ToImageImportDiskDeviceMappingOutput() ImageImportDiskDeviceMappingOutput
- func (o ImageImportDiskDeviceMappingOutput) ToImageImportDiskDeviceMappingOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingOutput
- type ImageImportInput
- type ImageImportMap
- type ImageImportMapInput
- type ImageImportMapOutput
- func (ImageImportMapOutput) ElementType() reflect.Type
- func (o ImageImportMapOutput) MapIndex(k pulumi.StringInput) ImageImportOutput
- func (o ImageImportMapOutput) ToImageImportMapOutput() ImageImportMapOutput
- func (o ImageImportMapOutput) ToImageImportMapOutputWithContext(ctx context.Context) ImageImportMapOutput
- type ImageImportOutput
- type ImageImportState
- type ImageInput
- type ImageMap
- type ImageMapInput
- type ImageMapOutput
- type ImageOutput
- type ImageSharePermission
- type ImageSharePermissionArgs
- type ImageSharePermissionArray
- type ImageSharePermissionArrayInput
- type ImageSharePermissionArrayOutput
- func (ImageSharePermissionArrayOutput) ElementType() reflect.Type
- func (o ImageSharePermissionArrayOutput) Index(i pulumi.IntInput) ImageSharePermissionOutput
- func (o ImageSharePermissionArrayOutput) ToImageSharePermissionArrayOutput() ImageSharePermissionArrayOutput
- func (o ImageSharePermissionArrayOutput) ToImageSharePermissionArrayOutputWithContext(ctx context.Context) ImageSharePermissionArrayOutput
- type ImageSharePermissionInput
- type ImageSharePermissionMap
- type ImageSharePermissionMapInput
- type ImageSharePermissionMapOutput
- func (ImageSharePermissionMapOutput) ElementType() reflect.Type
- func (o ImageSharePermissionMapOutput) MapIndex(k pulumi.StringInput) ImageSharePermissionOutput
- func (o ImageSharePermissionMapOutput) ToImageSharePermissionMapOutput() ImageSharePermissionMapOutput
- func (o ImageSharePermissionMapOutput) ToImageSharePermissionMapOutputWithContext(ctx context.Context) ImageSharePermissionMapOutput
- type ImageSharePermissionOutput
- type ImageSharePermissionState
- type ImageState
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceDataDisk
- type InstanceDataDiskArgs
- type InstanceDataDiskArray
- type InstanceDataDiskArrayInput
- type InstanceDataDiskArrayOutput
- func (InstanceDataDiskArrayOutput) ElementType() reflect.Type
- func (o InstanceDataDiskArrayOutput) Index(i pulumi.IntInput) InstanceDataDiskOutput
- func (o InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput
- func (o InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutputWithContext(ctx context.Context) InstanceDataDiskArrayOutput
- type InstanceDataDiskInput
- type InstanceDataDiskOutput
- func (o InstanceDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
- func (o InstanceDataDiskOutput) Category() pulumi.StringPtrOutput
- func (o InstanceDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o InstanceDataDiskOutput) Description() pulumi.StringPtrOutput
- func (InstanceDataDiskOutput) ElementType() reflect.Type
- func (o InstanceDataDiskOutput) Encrypted() pulumi.BoolPtrOutput
- func (o InstanceDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o InstanceDataDiskOutput) Name() pulumi.StringPtrOutput
- func (o InstanceDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o InstanceDataDiskOutput) Size() pulumi.IntOutput
- func (o InstanceDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o InstanceDataDiskOutput) ToInstanceDataDiskOutput() InstanceDataDiskOutput
- func (o InstanceDataDiskOutput) ToInstanceDataDiskOutputWithContext(ctx context.Context) InstanceDataDiskOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- type InstanceState
- type KeyPair
- type KeyPairArgs
- type KeyPairArray
- type KeyPairArrayInput
- type KeyPairArrayOutput
- type KeyPairAttachment
- type KeyPairAttachmentArgs
- type KeyPairAttachmentArray
- type KeyPairAttachmentArrayInput
- type KeyPairAttachmentArrayOutput
- func (KeyPairAttachmentArrayOutput) ElementType() reflect.Type
- func (o KeyPairAttachmentArrayOutput) Index(i pulumi.IntInput) KeyPairAttachmentOutput
- func (o KeyPairAttachmentArrayOutput) ToKeyPairAttachmentArrayOutput() KeyPairAttachmentArrayOutput
- func (o KeyPairAttachmentArrayOutput) ToKeyPairAttachmentArrayOutputWithContext(ctx context.Context) KeyPairAttachmentArrayOutput
- type KeyPairAttachmentInput
- type KeyPairAttachmentMap
- type KeyPairAttachmentMapInput
- type KeyPairAttachmentMapOutput
- func (KeyPairAttachmentMapOutput) ElementType() reflect.Type
- func (o KeyPairAttachmentMapOutput) MapIndex(k pulumi.StringInput) KeyPairAttachmentOutput
- func (o KeyPairAttachmentMapOutput) ToKeyPairAttachmentMapOutput() KeyPairAttachmentMapOutput
- func (o KeyPairAttachmentMapOutput) ToKeyPairAttachmentMapOutputWithContext(ctx context.Context) KeyPairAttachmentMapOutput
- type KeyPairAttachmentOutput
- type KeyPairAttachmentState
- type KeyPairInput
- type KeyPairMap
- type KeyPairMapInput
- type KeyPairMapOutput
- type KeyPairOutput
- type KeyPairState
- type LaunchTemplate
- type LaunchTemplateArgs
- type LaunchTemplateArray
- type LaunchTemplateArrayInput
- type LaunchTemplateArrayOutput
- func (LaunchTemplateArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateArrayOutput) Index(i pulumi.IntInput) LaunchTemplateOutput
- func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
- func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput
- type LaunchTemplateDataDisk
- type LaunchTemplateDataDiskArgs
- type LaunchTemplateDataDiskArray
- func (LaunchTemplateDataDiskArray) ElementType() reflect.Type
- func (i LaunchTemplateDataDiskArray) ToLaunchTemplateDataDiskArrayOutput() LaunchTemplateDataDiskArrayOutput
- func (i LaunchTemplateDataDiskArray) ToLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) LaunchTemplateDataDiskArrayOutput
- type LaunchTemplateDataDiskArrayInput
- type LaunchTemplateDataDiskArrayOutput
- func (LaunchTemplateDataDiskArrayOutput) ElementType() reflect.Type
- func (o LaunchTemplateDataDiskArrayOutput) Index(i pulumi.IntInput) LaunchTemplateDataDiskOutput
- func (o LaunchTemplateDataDiskArrayOutput) ToLaunchTemplateDataDiskArrayOutput() LaunchTemplateDataDiskArrayOutput
- func (o LaunchTemplateDataDiskArrayOutput) ToLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) LaunchTemplateDataDiskArrayOutput
- type LaunchTemplateDataDiskInput
- type LaunchTemplateDataDiskOutput
- func (o LaunchTemplateDataDiskOutput) Category() pulumi.StringPtrOutput
- func (o LaunchTemplateDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o LaunchTemplateDataDiskOutput) Description() pulumi.StringPtrOutput
- func (LaunchTemplateDataDiskOutput) ElementType() reflect.Type
- func (o LaunchTemplateDataDiskOutput) Encrypted() pulumi.BoolPtrOutput
- func (o LaunchTemplateDataDiskOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o LaunchTemplateDataDiskOutput) Size() pulumi.IntPtrOutput
- func (o LaunchTemplateDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o LaunchTemplateDataDiskOutput) ToLaunchTemplateDataDiskOutput() LaunchTemplateDataDiskOutput
- func (o LaunchTemplateDataDiskOutput) ToLaunchTemplateDataDiskOutputWithContext(ctx context.Context) LaunchTemplateDataDiskOutput
- type LaunchTemplateInput
- type LaunchTemplateMap
- type LaunchTemplateMapInput
- type LaunchTemplateMapOutput
- func (LaunchTemplateMapOutput) ElementType() reflect.Type
- func (o LaunchTemplateMapOutput) MapIndex(k pulumi.StringInput) LaunchTemplateOutput
- func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
- func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput
- type LaunchTemplateNetworkInterfaces
- type LaunchTemplateNetworkInterfacesArgs
- func (LaunchTemplateNetworkInterfacesArgs) ElementType() reflect.Type
- func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesOutput() LaunchTemplateNetworkInterfacesOutput
- func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesOutput
- func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput
- func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesPtrOutput
- type LaunchTemplateNetworkInterfacesInput
- type LaunchTemplateNetworkInterfacesOutput
- func (o LaunchTemplateNetworkInterfacesOutput) Description() pulumi.StringPtrOutput
- func (LaunchTemplateNetworkInterfacesOutput) ElementType() reflect.Type
- func (o LaunchTemplateNetworkInterfacesOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesOutput) PrimaryIp() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesOutput() LaunchTemplateNetworkInterfacesOutput
- func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesOutput
- func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput
- func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesPtrOutput
- func (o LaunchTemplateNetworkInterfacesOutput) VswitchId() pulumi.StringPtrOutput
- type LaunchTemplateNetworkInterfacesPtrInput
- type LaunchTemplateNetworkInterfacesPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) Description() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) Elem() LaunchTemplateNetworkInterfacesOutput
- func (LaunchTemplateNetworkInterfacesPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateNetworkInterfacesPtrOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) PrimaryIp() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesPtrOutput
- func (o LaunchTemplateNetworkInterfacesPtrOutput) VswitchId() pulumi.StringPtrOutput
- type LaunchTemplateOutput
- type LaunchTemplateState
- type LaunchTemplateSystemDisk
- type LaunchTemplateSystemDiskArgs
- func (LaunchTemplateSystemDiskArgs) ElementType() reflect.Type
- func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskOutput() LaunchTemplateSystemDiskOutput
- func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskOutput
- func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput
- func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskPtrOutput
- type LaunchTemplateSystemDiskInput
- type LaunchTemplateSystemDiskOutput
- func (o LaunchTemplateSystemDiskOutput) Category() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o LaunchTemplateSystemDiskOutput) Description() pulumi.StringPtrOutput
- func (LaunchTemplateSystemDiskOutput) ElementType() reflect.Type
- func (o LaunchTemplateSystemDiskOutput) Iops() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskOutput) Size() pulumi.IntPtrOutput
- func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskOutput() LaunchTemplateSystemDiskOutput
- func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskOutput
- func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput
- func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskPtrOutput
- type LaunchTemplateSystemDiskPtrInput
- type LaunchTemplateSystemDiskPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) Category() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) Description() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) Elem() LaunchTemplateSystemDiskOutput
- func (LaunchTemplateSystemDiskPtrOutput) ElementType() reflect.Type
- func (o LaunchTemplateSystemDiskPtrOutput) Iops() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) Name() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) PerformanceLevel() pulumi.StringPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) Size() pulumi.IntPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput
- func (o LaunchTemplateSystemDiskPtrOutput) ToLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskPtrOutput
- type ReservedInstance
- type ReservedInstanceArgs
- type ReservedInstanceArray
- type ReservedInstanceArrayInput
- type ReservedInstanceArrayOutput
- func (ReservedInstanceArrayOutput) ElementType() reflect.Type
- func (o ReservedInstanceArrayOutput) Index(i pulumi.IntInput) ReservedInstanceOutput
- func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput
- func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutputWithContext(ctx context.Context) ReservedInstanceArrayOutput
- type ReservedInstanceInput
- type ReservedInstanceMap
- type ReservedInstanceMapInput
- type ReservedInstanceMapOutput
- func (ReservedInstanceMapOutput) ElementType() reflect.Type
- func (o ReservedInstanceMapOutput) MapIndex(k pulumi.StringInput) ReservedInstanceOutput
- func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutput() ReservedInstanceMapOutput
- func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutputWithContext(ctx context.Context) ReservedInstanceMapOutput
- type ReservedInstanceOutput
- type ReservedInstanceState
- type SecurityGroup
- type SecurityGroupArgs
- type SecurityGroupArray
- type SecurityGroupArrayInput
- type SecurityGroupArrayOutput
- func (SecurityGroupArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput
- func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
- func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
- type SecurityGroupInput
- type SecurityGroupMap
- type SecurityGroupMapInput
- type SecurityGroupMapOutput
- func (SecurityGroupMapOutput) ElementType() reflect.Type
- func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput
- func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput
- func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
- type SecurityGroupOutput
- type SecurityGroupRule
- type SecurityGroupRuleArgs
- type SecurityGroupRuleArray
- type SecurityGroupRuleArrayInput
- type SecurityGroupRuleArrayOutput
- func (SecurityGroupRuleArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleOutput
- func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
- func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput
- type SecurityGroupRuleInput
- type SecurityGroupRuleMap
- type SecurityGroupRuleMapInput
- type SecurityGroupRuleMapOutput
- func (SecurityGroupRuleMapOutput) ElementType() reflect.Type
- func (o SecurityGroupRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupRuleOutput
- func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
- func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput
- type SecurityGroupRuleOutput
- type SecurityGroupRuleState
- type SecurityGroupState
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- type SnapshotPolicy
- type SnapshotPolicyArgs
- type SnapshotPolicyArray
- type SnapshotPolicyArrayInput
- type SnapshotPolicyArrayOutput
- func (SnapshotPolicyArrayOutput) ElementType() reflect.Type
- func (o SnapshotPolicyArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyOutput
- func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
- func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
- type SnapshotPolicyInput
- type SnapshotPolicyMap
- type SnapshotPolicyMapInput
- type SnapshotPolicyMapOutput
- func (SnapshotPolicyMapOutput) ElementType() reflect.Type
- func (o SnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyOutput
- func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
- func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
- type SnapshotPolicyOutput
- type SnapshotPolicyState
- type SnapshotState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoProvisioningGroup ¶
type AutoProvisioningGroup struct { pulumi.CustomResourceState // The name of the auto provisioning group to be created. It must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-) AutoProvisioningGroupName pulumi.StringOutput `pulumi:"autoProvisioningGroupName"` // The type of the auto provisioning group. Valid values:`request` and `maintain`,Default value: `maintain`. AutoProvisioningGroupType pulumi.StringPtrOutput `pulumi:"autoProvisioningGroupType"` // The type of supplemental instances. When the total value of `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` is smaller than the value of TotalTargetCapacity, the auto provisioning group will create instances of the specified type to meet the capacity requirements. Valid values:`PayAsYouGo`: Pay-as-you-go instances; `Spot`: Preemptible instances, Default value: `Spot`. DefaultTargetCapacityType pulumi.StringPtrOutput `pulumi:"defaultTargetCapacityType"` // The description of the auto provisioning group. Description pulumi.StringPtrOutput `pulumi:"description"` // The shutdown policy for excess preemptible instances followed when the capacity of the auto provisioning group exceeds the target capacity. Valid values: `no-termination` and `termination`,Default value: `no-termination`. ExcessCapacityTerminationPolicy pulumi.StringPtrOutput `pulumi:"excessCapacityTerminationPolicy"` // DataDisk mappings to attach to ecs instance. See Block config below for details. LaunchTemplateConfigs AutoProvisioningGroupLaunchTemplateConfigArrayOutput `pulumi:"launchTemplateConfigs"` // The ID of the instance launch template associated with the auto provisioning group. LaunchTemplateId pulumi.StringOutput `pulumi:"launchTemplateId"` // The version of the instance launch template associated with the auto provisioning group. LaunchTemplateVersion pulumi.StringOutput `pulumi:"launchTemplateVersion"` // The global maximum price for preemptible instances in the auto provisioning group. If both the `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` parameters are specified, the maximum price is the lower value of the two. MaxSpotPrice pulumi.Float64Output `pulumi:"maxSpotPrice"` // The scale-out policy for pay-as-you-go instances. Valid values: `lowest-price` and `prioritized`,Default value: `lowest-price`. PayAsYouGoAllocationStrategy pulumi.StringPtrOutput `pulumi:"payAsYouGoAllocationStrategy"` // The target capacity of pay-as-you-go instances in the auto provisioning group. PayAsYouGoTargetCapacity pulumi.StringPtrOutput `pulumi:"payAsYouGoTargetCapacity"` // The scale-out policy for preemptible instances. Valid values:`lowest-price` and `diversified`,Default value: `lowest-price`. SpotAllocationStrategy pulumi.StringPtrOutput `pulumi:"spotAllocationStrategy"` // The default behavior after preemptible instances are shut down. Value values: `stop` and `terminate`,Default value: `stop`. SpotInstanceInterruptionBehavior pulumi.StringPtrOutput `pulumi:"spotInstanceInterruptionBehavior"` // This parameter takes effect when the `SpotAllocationStrategy` parameter is set to `lowest-price`. The auto provisioning group selects instance types of the lowest cost to create instances. SpotInstancePoolsToUseCount pulumi.IntOutput `pulumi:"spotInstancePoolsToUseCount"` // The target capacity of preemptible instances in the auto provisioning group. SpotTargetCapacity pulumi.StringPtrOutput `pulumi:"spotTargetCapacity"` // Specifies whether to release instances of the auto provisioning group. Valid values:`false` and `true`, default value: `false`. TerminateInstances pulumi.BoolPtrOutput `pulumi:"terminateInstances"` // The shutdown policy for preemptible instances when the auto provisioning group expires. Valid values: `false` and `true`, default value: `false`. TerminateInstancesWithExpiration pulumi.BoolPtrOutput `pulumi:"terminateInstancesWithExpiration"` // The total target capacity of the auto provisioning group. The target capacity consists of the following three parts:PayAsYouGoTargetCapacity,SpotTargetCapacity and the supplemental capacity besides PayAsYouGoTargetCapacity and SpotTargetCapacity. TotalTargetCapacity pulumi.StringOutput `pulumi:"totalTargetCapacity"` // The time when the auto provisioning group is started. The period of time between this point in time and the point in time specified by the `validUntil` parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group is immediately started after creation. ValidFrom pulumi.StringOutput `pulumi:"validFrom"` // The time when the auto provisioning group expires. The period of time between this point in time and the point in time specified by the `validFrom` parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group never expires. ValidUntil pulumi.StringOutput `pulumi:"validUntil"` }
Provides a ECS auto provisioning group resource which is a solution that uses preemptive instances and payAsYouGo instances to rapidly deploy clusters.
> **NOTE:** Available in 1.79.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "auto_provisioning_group" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: pulumi.String(defaultZones.Zones[0].Id), VswitchName: pulumi.String(name), }) if err != nil { return err } defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: defaultNetwork.ID(), }) if err != nil { return err } defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_18.*64"), MostRecent: pulumi.BoolRef(true), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } template, err := ecs.NewEcsLaunchTemplate(ctx, "template", &ecs.EcsLaunchTemplateArgs{ ImageId: pulumi.String(defaultImages.Images[0].Id), InstanceType: pulumi.String("ecs.n1.tiny"), SecurityGroupId: defaultSecurityGroup.ID(), }) if err != nil { return err } _, err = ecs.NewAutoProvisioningGroup(ctx, "defaultAutoProvisioningGroup", &ecs.AutoProvisioningGroupArgs{ LaunchTemplateId: template.ID(), TotalTargetCapacity: pulumi.String("4"), PayAsYouGoTargetCapacity: pulumi.String("1"), SpotTargetCapacity: pulumi.String("2"), LaunchTemplateConfigs: ecs.AutoProvisioningGroupLaunchTemplateConfigArray{ &ecs.AutoProvisioningGroupLaunchTemplateConfigArgs{ InstanceType: pulumi.String("ecs.n1.small"), VswitchId: defaultSwitch.ID(), WeightedCapacity: pulumi.String("2"), MaxPrice: pulumi.String("2"), }, }, }) if err != nil { return err } return nil }) }
``` ## Block config
The config mapping supports the following: * `instanceType` - (Optional) The instance type of the Nth extended configurations of the launch template. * `maxPrice` - (Required) The maximum price of the instance type specified in the Nth extended configurations of the launch template. * `vswitchId` - (Required) The ID of the VSwitch in the Nth extended configurations of the launch template. * `weightedCapacity` - (Required) The weight of the instance type specified in the Nth extended configurations of the launch template. * `priority` - (Optional) The priority of the instance type specified in the Nth extended configurations of the launch template. A value of 0 indicates the highest priority.
## Import
ECS auto provisioning group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/autoProvisioningGroup:AutoProvisioningGroup example asg-abc123456
```
func GetAutoProvisioningGroup ¶
func GetAutoProvisioningGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AutoProvisioningGroupState, opts ...pulumi.ResourceOption) (*AutoProvisioningGroup, error)
GetAutoProvisioningGroup gets an existing AutoProvisioningGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAutoProvisioningGroup ¶
func NewAutoProvisioningGroup(ctx *pulumi.Context, name string, args *AutoProvisioningGroupArgs, opts ...pulumi.ResourceOption) (*AutoProvisioningGroup, error)
NewAutoProvisioningGroup registers a new resource with the given unique name, arguments, and options.
func (*AutoProvisioningGroup) ElementType ¶
func (*AutoProvisioningGroup) ElementType() reflect.Type
func (*AutoProvisioningGroup) ToAutoProvisioningGroupOutput ¶
func (i *AutoProvisioningGroup) ToAutoProvisioningGroupOutput() AutoProvisioningGroupOutput
func (*AutoProvisioningGroup) ToAutoProvisioningGroupOutputWithContext ¶
func (i *AutoProvisioningGroup) ToAutoProvisioningGroupOutputWithContext(ctx context.Context) AutoProvisioningGroupOutput
type AutoProvisioningGroupArgs ¶
type AutoProvisioningGroupArgs struct { // The name of the auto provisioning group to be created. It must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-) AutoProvisioningGroupName pulumi.StringPtrInput // The type of the auto provisioning group. Valid values:`request` and `maintain`,Default value: `maintain`. AutoProvisioningGroupType pulumi.StringPtrInput // The type of supplemental instances. When the total value of `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` is smaller than the value of TotalTargetCapacity, the auto provisioning group will create instances of the specified type to meet the capacity requirements. Valid values:`PayAsYouGo`: Pay-as-you-go instances; `Spot`: Preemptible instances, Default value: `Spot`. DefaultTargetCapacityType pulumi.StringPtrInput // The description of the auto provisioning group. Description pulumi.StringPtrInput // The shutdown policy for excess preemptible instances followed when the capacity of the auto provisioning group exceeds the target capacity. Valid values: `no-termination` and `termination`,Default value: `no-termination`. ExcessCapacityTerminationPolicy pulumi.StringPtrInput // DataDisk mappings to attach to ecs instance. See Block config below for details. LaunchTemplateConfigs AutoProvisioningGroupLaunchTemplateConfigArrayInput // The ID of the instance launch template associated with the auto provisioning group. LaunchTemplateId pulumi.StringInput // The version of the instance launch template associated with the auto provisioning group. LaunchTemplateVersion pulumi.StringPtrInput // The global maximum price for preemptible instances in the auto provisioning group. If both the `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` parameters are specified, the maximum price is the lower value of the two. MaxSpotPrice pulumi.Float64PtrInput // The scale-out policy for pay-as-you-go instances. Valid values: `lowest-price` and `prioritized`,Default value: `lowest-price`. PayAsYouGoAllocationStrategy pulumi.StringPtrInput // The target capacity of pay-as-you-go instances in the auto provisioning group. PayAsYouGoTargetCapacity pulumi.StringPtrInput // The scale-out policy for preemptible instances. Valid values:`lowest-price` and `diversified`,Default value: `lowest-price`. SpotAllocationStrategy pulumi.StringPtrInput // The default behavior after preemptible instances are shut down. Value values: `stop` and `terminate`,Default value: `stop`. SpotInstanceInterruptionBehavior pulumi.StringPtrInput // This parameter takes effect when the `SpotAllocationStrategy` parameter is set to `lowest-price`. The auto provisioning group selects instance types of the lowest cost to create instances. SpotInstancePoolsToUseCount pulumi.IntPtrInput // The target capacity of preemptible instances in the auto provisioning group. SpotTargetCapacity pulumi.StringPtrInput // Specifies whether to release instances of the auto provisioning group. Valid values:`false` and `true`, default value: `false`. TerminateInstances pulumi.BoolPtrInput // The shutdown policy for preemptible instances when the auto provisioning group expires. Valid values: `false` and `true`, default value: `false`. TerminateInstancesWithExpiration pulumi.BoolPtrInput // The total target capacity of the auto provisioning group. The target capacity consists of the following three parts:PayAsYouGoTargetCapacity,SpotTargetCapacity and the supplemental capacity besides PayAsYouGoTargetCapacity and SpotTargetCapacity. TotalTargetCapacity pulumi.StringInput // The time when the auto provisioning group is started. The period of time between this point in time and the point in time specified by the `validUntil` parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group is immediately started after creation. ValidFrom pulumi.StringPtrInput // The time when the auto provisioning group expires. The period of time between this point in time and the point in time specified by the `validFrom` parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group never expires. ValidUntil pulumi.StringPtrInput }
The set of arguments for constructing a AutoProvisioningGroup resource.
func (AutoProvisioningGroupArgs) ElementType ¶
func (AutoProvisioningGroupArgs) ElementType() reflect.Type
type AutoProvisioningGroupArray ¶
type AutoProvisioningGroupArray []AutoProvisioningGroupInput
func (AutoProvisioningGroupArray) ElementType ¶
func (AutoProvisioningGroupArray) ElementType() reflect.Type
func (AutoProvisioningGroupArray) ToAutoProvisioningGroupArrayOutput ¶
func (i AutoProvisioningGroupArray) ToAutoProvisioningGroupArrayOutput() AutoProvisioningGroupArrayOutput
func (AutoProvisioningGroupArray) ToAutoProvisioningGroupArrayOutputWithContext ¶
func (i AutoProvisioningGroupArray) ToAutoProvisioningGroupArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupArrayOutput
type AutoProvisioningGroupArrayInput ¶
type AutoProvisioningGroupArrayInput interface { pulumi.Input ToAutoProvisioningGroupArrayOutput() AutoProvisioningGroupArrayOutput ToAutoProvisioningGroupArrayOutputWithContext(context.Context) AutoProvisioningGroupArrayOutput }
AutoProvisioningGroupArrayInput is an input type that accepts AutoProvisioningGroupArray and AutoProvisioningGroupArrayOutput values. You can construct a concrete instance of `AutoProvisioningGroupArrayInput` via:
AutoProvisioningGroupArray{ AutoProvisioningGroupArgs{...} }
type AutoProvisioningGroupArrayOutput ¶
type AutoProvisioningGroupArrayOutput struct{ *pulumi.OutputState }
func (AutoProvisioningGroupArrayOutput) ElementType ¶
func (AutoProvisioningGroupArrayOutput) ElementType() reflect.Type
func (AutoProvisioningGroupArrayOutput) Index ¶
func (o AutoProvisioningGroupArrayOutput) Index(i pulumi.IntInput) AutoProvisioningGroupOutput
func (AutoProvisioningGroupArrayOutput) ToAutoProvisioningGroupArrayOutput ¶
func (o AutoProvisioningGroupArrayOutput) ToAutoProvisioningGroupArrayOutput() AutoProvisioningGroupArrayOutput
func (AutoProvisioningGroupArrayOutput) ToAutoProvisioningGroupArrayOutputWithContext ¶
func (o AutoProvisioningGroupArrayOutput) ToAutoProvisioningGroupArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupArrayOutput
type AutoProvisioningGroupInput ¶
type AutoProvisioningGroupInput interface { pulumi.Input ToAutoProvisioningGroupOutput() AutoProvisioningGroupOutput ToAutoProvisioningGroupOutputWithContext(ctx context.Context) AutoProvisioningGroupOutput }
type AutoProvisioningGroupLaunchTemplateConfigArgs ¶
type AutoProvisioningGroupLaunchTemplateConfigArgs struct { InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` MaxPrice pulumi.StringInput `pulumi:"maxPrice"` Priority pulumi.StringPtrInput `pulumi:"priority"` VswitchId pulumi.StringInput `pulumi:"vswitchId"` WeightedCapacity pulumi.StringInput `pulumi:"weightedCapacity"` }
func (AutoProvisioningGroupLaunchTemplateConfigArgs) ElementType ¶
func (AutoProvisioningGroupLaunchTemplateConfigArgs) ElementType() reflect.Type
func (AutoProvisioningGroupLaunchTemplateConfigArgs) ToAutoProvisioningGroupLaunchTemplateConfigOutput ¶
func (i AutoProvisioningGroupLaunchTemplateConfigArgs) ToAutoProvisioningGroupLaunchTemplateConfigOutput() AutoProvisioningGroupLaunchTemplateConfigOutput
func (AutoProvisioningGroupLaunchTemplateConfigArgs) ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext ¶
func (i AutoProvisioningGroupLaunchTemplateConfigArgs) ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigOutput
type AutoProvisioningGroupLaunchTemplateConfigArray ¶
type AutoProvisioningGroupLaunchTemplateConfigArray []AutoProvisioningGroupLaunchTemplateConfigInput
func (AutoProvisioningGroupLaunchTemplateConfigArray) ElementType ¶
func (AutoProvisioningGroupLaunchTemplateConfigArray) ElementType() reflect.Type
func (AutoProvisioningGroupLaunchTemplateConfigArray) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput ¶
func (i AutoProvisioningGroupLaunchTemplateConfigArray) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput() AutoProvisioningGroupLaunchTemplateConfigArrayOutput
func (AutoProvisioningGroupLaunchTemplateConfigArray) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext ¶
func (i AutoProvisioningGroupLaunchTemplateConfigArray) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigArrayOutput
type AutoProvisioningGroupLaunchTemplateConfigArrayInput ¶
type AutoProvisioningGroupLaunchTemplateConfigArrayInput interface { pulumi.Input ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput() AutoProvisioningGroupLaunchTemplateConfigArrayOutput ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext(context.Context) AutoProvisioningGroupLaunchTemplateConfigArrayOutput }
AutoProvisioningGroupLaunchTemplateConfigArrayInput is an input type that accepts AutoProvisioningGroupLaunchTemplateConfigArray and AutoProvisioningGroupLaunchTemplateConfigArrayOutput values. You can construct a concrete instance of `AutoProvisioningGroupLaunchTemplateConfigArrayInput` via:
AutoProvisioningGroupLaunchTemplateConfigArray{ AutoProvisioningGroupLaunchTemplateConfigArgs{...} }
type AutoProvisioningGroupLaunchTemplateConfigArrayOutput ¶
type AutoProvisioningGroupLaunchTemplateConfigArrayOutput struct{ *pulumi.OutputState }
func (AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ElementType ¶
func (AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ElementType() reflect.Type
func (AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput ¶
func (o AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutput() AutoProvisioningGroupLaunchTemplateConfigArrayOutput
func (AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext ¶
func (o AutoProvisioningGroupLaunchTemplateConfigArrayOutput) ToAutoProvisioningGroupLaunchTemplateConfigArrayOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigArrayOutput
type AutoProvisioningGroupLaunchTemplateConfigInput ¶
type AutoProvisioningGroupLaunchTemplateConfigInput interface { pulumi.Input ToAutoProvisioningGroupLaunchTemplateConfigOutput() AutoProvisioningGroupLaunchTemplateConfigOutput ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext(context.Context) AutoProvisioningGroupLaunchTemplateConfigOutput }
AutoProvisioningGroupLaunchTemplateConfigInput is an input type that accepts AutoProvisioningGroupLaunchTemplateConfigArgs and AutoProvisioningGroupLaunchTemplateConfigOutput values. You can construct a concrete instance of `AutoProvisioningGroupLaunchTemplateConfigInput` via:
AutoProvisioningGroupLaunchTemplateConfigArgs{...}
type AutoProvisioningGroupLaunchTemplateConfigOutput ¶
type AutoProvisioningGroupLaunchTemplateConfigOutput struct{ *pulumi.OutputState }
func (AutoProvisioningGroupLaunchTemplateConfigOutput) ElementType ¶
func (AutoProvisioningGroupLaunchTemplateConfigOutput) ElementType() reflect.Type
func (AutoProvisioningGroupLaunchTemplateConfigOutput) InstanceType ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) InstanceType() pulumi.StringPtrOutput
func (AutoProvisioningGroupLaunchTemplateConfigOutput) MaxPrice ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) MaxPrice() pulumi.StringOutput
func (AutoProvisioningGroupLaunchTemplateConfigOutput) Priority ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) Priority() pulumi.StringPtrOutput
func (AutoProvisioningGroupLaunchTemplateConfigOutput) ToAutoProvisioningGroupLaunchTemplateConfigOutput ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) ToAutoProvisioningGroupLaunchTemplateConfigOutput() AutoProvisioningGroupLaunchTemplateConfigOutput
func (AutoProvisioningGroupLaunchTemplateConfigOutput) ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) ToAutoProvisioningGroupLaunchTemplateConfigOutputWithContext(ctx context.Context) AutoProvisioningGroupLaunchTemplateConfigOutput
func (AutoProvisioningGroupLaunchTemplateConfigOutput) VswitchId ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) VswitchId() pulumi.StringOutput
func (AutoProvisioningGroupLaunchTemplateConfigOutput) WeightedCapacity ¶
func (o AutoProvisioningGroupLaunchTemplateConfigOutput) WeightedCapacity() pulumi.StringOutput
type AutoProvisioningGroupMap ¶
type AutoProvisioningGroupMap map[string]AutoProvisioningGroupInput
func (AutoProvisioningGroupMap) ElementType ¶
func (AutoProvisioningGroupMap) ElementType() reflect.Type
func (AutoProvisioningGroupMap) ToAutoProvisioningGroupMapOutput ¶
func (i AutoProvisioningGroupMap) ToAutoProvisioningGroupMapOutput() AutoProvisioningGroupMapOutput
func (AutoProvisioningGroupMap) ToAutoProvisioningGroupMapOutputWithContext ¶
func (i AutoProvisioningGroupMap) ToAutoProvisioningGroupMapOutputWithContext(ctx context.Context) AutoProvisioningGroupMapOutput
type AutoProvisioningGroupMapInput ¶
type AutoProvisioningGroupMapInput interface { pulumi.Input ToAutoProvisioningGroupMapOutput() AutoProvisioningGroupMapOutput ToAutoProvisioningGroupMapOutputWithContext(context.Context) AutoProvisioningGroupMapOutput }
AutoProvisioningGroupMapInput is an input type that accepts AutoProvisioningGroupMap and AutoProvisioningGroupMapOutput values. You can construct a concrete instance of `AutoProvisioningGroupMapInput` via:
AutoProvisioningGroupMap{ "key": AutoProvisioningGroupArgs{...} }
type AutoProvisioningGroupMapOutput ¶
type AutoProvisioningGroupMapOutput struct{ *pulumi.OutputState }
func (AutoProvisioningGroupMapOutput) ElementType ¶
func (AutoProvisioningGroupMapOutput) ElementType() reflect.Type
func (AutoProvisioningGroupMapOutput) MapIndex ¶
func (o AutoProvisioningGroupMapOutput) MapIndex(k pulumi.StringInput) AutoProvisioningGroupOutput
func (AutoProvisioningGroupMapOutput) ToAutoProvisioningGroupMapOutput ¶
func (o AutoProvisioningGroupMapOutput) ToAutoProvisioningGroupMapOutput() AutoProvisioningGroupMapOutput
func (AutoProvisioningGroupMapOutput) ToAutoProvisioningGroupMapOutputWithContext ¶
func (o AutoProvisioningGroupMapOutput) ToAutoProvisioningGroupMapOutputWithContext(ctx context.Context) AutoProvisioningGroupMapOutput
type AutoProvisioningGroupOutput ¶
type AutoProvisioningGroupOutput struct{ *pulumi.OutputState }
func (AutoProvisioningGroupOutput) ElementType ¶
func (AutoProvisioningGroupOutput) ElementType() reflect.Type
func (AutoProvisioningGroupOutput) ToAutoProvisioningGroupOutput ¶
func (o AutoProvisioningGroupOutput) ToAutoProvisioningGroupOutput() AutoProvisioningGroupOutput
func (AutoProvisioningGroupOutput) ToAutoProvisioningGroupOutputWithContext ¶
func (o AutoProvisioningGroupOutput) ToAutoProvisioningGroupOutputWithContext(ctx context.Context) AutoProvisioningGroupOutput
type AutoProvisioningGroupState ¶
type AutoProvisioningGroupState struct { // The name of the auto provisioning group to be created. It must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-) AutoProvisioningGroupName pulumi.StringPtrInput // The type of the auto provisioning group. Valid values:`request` and `maintain`,Default value: `maintain`. AutoProvisioningGroupType pulumi.StringPtrInput // The type of supplemental instances. When the total value of `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` is smaller than the value of TotalTargetCapacity, the auto provisioning group will create instances of the specified type to meet the capacity requirements. Valid values:`PayAsYouGo`: Pay-as-you-go instances; `Spot`: Preemptible instances, Default value: `Spot`. DefaultTargetCapacityType pulumi.StringPtrInput // The description of the auto provisioning group. Description pulumi.StringPtrInput // The shutdown policy for excess preemptible instances followed when the capacity of the auto provisioning group exceeds the target capacity. Valid values: `no-termination` and `termination`,Default value: `no-termination`. ExcessCapacityTerminationPolicy pulumi.StringPtrInput // DataDisk mappings to attach to ecs instance. See Block config below for details. LaunchTemplateConfigs AutoProvisioningGroupLaunchTemplateConfigArrayInput // The ID of the instance launch template associated with the auto provisioning group. LaunchTemplateId pulumi.StringPtrInput // The version of the instance launch template associated with the auto provisioning group. LaunchTemplateVersion pulumi.StringPtrInput // The global maximum price for preemptible instances in the auto provisioning group. If both the `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` parameters are specified, the maximum price is the lower value of the two. MaxSpotPrice pulumi.Float64PtrInput // The scale-out policy for pay-as-you-go instances. Valid values: `lowest-price` and `prioritized`,Default value: `lowest-price`. PayAsYouGoAllocationStrategy pulumi.StringPtrInput // The target capacity of pay-as-you-go instances in the auto provisioning group. PayAsYouGoTargetCapacity pulumi.StringPtrInput // The scale-out policy for preemptible instances. Valid values:`lowest-price` and `diversified`,Default value: `lowest-price`. SpotAllocationStrategy pulumi.StringPtrInput // The default behavior after preemptible instances are shut down. Value values: `stop` and `terminate`,Default value: `stop`. SpotInstanceInterruptionBehavior pulumi.StringPtrInput // This parameter takes effect when the `SpotAllocationStrategy` parameter is set to `lowest-price`. The auto provisioning group selects instance types of the lowest cost to create instances. SpotInstancePoolsToUseCount pulumi.IntPtrInput // The target capacity of preemptible instances in the auto provisioning group. SpotTargetCapacity pulumi.StringPtrInput // Specifies whether to release instances of the auto provisioning group. Valid values:`false` and `true`, default value: `false`. TerminateInstances pulumi.BoolPtrInput // The shutdown policy for preemptible instances when the auto provisioning group expires. Valid values: `false` and `true`, default value: `false`. TerminateInstancesWithExpiration pulumi.BoolPtrInput // The total target capacity of the auto provisioning group. The target capacity consists of the following three parts:PayAsYouGoTargetCapacity,SpotTargetCapacity and the supplemental capacity besides PayAsYouGoTargetCapacity and SpotTargetCapacity. TotalTargetCapacity pulumi.StringPtrInput // The time when the auto provisioning group is started. The period of time between this point in time and the point in time specified by the `validUntil` parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group is immediately started after creation. ValidFrom pulumi.StringPtrInput // The time when the auto provisioning group expires. The period of time between this point in time and the point in time specified by the `validFrom` parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group never expires. ValidUntil pulumi.StringPtrInput }
func (AutoProvisioningGroupState) ElementType ¶
func (AutoProvisioningGroupState) ElementType() reflect.Type
type AutoSnapshotPolicy ¶
type AutoSnapshotPolicy struct { pulumi.CustomResourceState // The retention period of the snapshot copied across regions. // - -1: The snapshot is permanently retained. // - [1, 65535]: The automatic snapshot is retained for the specified number of days. // Default value: -1. CopiedSnapshotsRetentionDays pulumi.IntPtrOutput `pulumi:"copiedSnapshotsRetentionDays"` // Specifies whether to enable the system to automatically copy snapshots across regions. EnableCrossRegionCopy pulumi.BoolPtrOutput `pulumi:"enableCrossRegionCopy"` // The snapshot policy name. Name pulumi.StringOutput `pulumi:"name"` // The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. // - A maximum of seven time points can be selected. // - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,). RepeatWeekdays pulumi.StringArrayOutput `pulumi:"repeatWeekdays"` // The snapshot retention time, and the unit of measurement is day. Optional values: // - -1: The automatic snapshots are retained permanently. // - [1, 65536]: The number of days retained. // Default value: -1. RetentionDays pulumi.IntOutput `pulumi:"retentionDays"` // The status of Auto Snapshot Policy. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The destination region to which the snapshot is copied. You can set a destination region. TargetCopyRegions pulumi.StringArrayOutput `pulumi:"targetCopyRegions"` // The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. // - A maximum of 24 time points can be selected. // - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,). TimePoints pulumi.StringArrayOutput `pulumi:"timePoints"` }
Provides a ECS Auto Snapshot Policy resource.
For information about ECS Auto Snapshot Policy and how to use it, see [What is Auto Snapshot Policy](https://www.alibabacloud.com/help/en/doc-detail/25527.htm).
> **NOTE:** Available in v1.117.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewAutoSnapshotPolicy(ctx, "example", &ecs.AutoSnapshotPolicyArgs{ RepeatWeekdays: pulumi.StringArray{ pulumi.String("1"), pulumi.String("2"), pulumi.String("3"), }, RetentionDays: -1, TimePoints: pulumi.StringArray{ pulumi.String("1"), pulumi.String("22"), pulumi.String("23"), }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Auto Snapshot Policy can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/autoSnapshotPolicy:AutoSnapshotPolicy example <id>
```
func GetAutoSnapshotPolicy ¶
func GetAutoSnapshotPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AutoSnapshotPolicyState, opts ...pulumi.ResourceOption) (*AutoSnapshotPolicy, error)
GetAutoSnapshotPolicy gets an existing AutoSnapshotPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAutoSnapshotPolicy ¶
func NewAutoSnapshotPolicy(ctx *pulumi.Context, name string, args *AutoSnapshotPolicyArgs, opts ...pulumi.ResourceOption) (*AutoSnapshotPolicy, error)
NewAutoSnapshotPolicy registers a new resource with the given unique name, arguments, and options.
func (*AutoSnapshotPolicy) ElementType ¶
func (*AutoSnapshotPolicy) ElementType() reflect.Type
func (*AutoSnapshotPolicy) ToAutoSnapshotPolicyOutput ¶
func (i *AutoSnapshotPolicy) ToAutoSnapshotPolicyOutput() AutoSnapshotPolicyOutput
func (*AutoSnapshotPolicy) ToAutoSnapshotPolicyOutputWithContext ¶
func (i *AutoSnapshotPolicy) ToAutoSnapshotPolicyOutputWithContext(ctx context.Context) AutoSnapshotPolicyOutput
type AutoSnapshotPolicyArgs ¶
type AutoSnapshotPolicyArgs struct { // The retention period of the snapshot copied across regions. // - -1: The snapshot is permanently retained. // - [1, 65535]: The automatic snapshot is retained for the specified number of days. // Default value: -1. CopiedSnapshotsRetentionDays pulumi.IntPtrInput // Specifies whether to enable the system to automatically copy snapshots across regions. EnableCrossRegionCopy pulumi.BoolPtrInput // The snapshot policy name. Name pulumi.StringPtrInput // The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. // - A maximum of seven time points can be selected. // - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,). RepeatWeekdays pulumi.StringArrayInput // The snapshot retention time, and the unit of measurement is day. Optional values: // - -1: The automatic snapshots are retained permanently. // - [1, 65536]: The number of days retained. // Default value: -1. RetentionDays pulumi.IntInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The destination region to which the snapshot is copied. You can set a destination region. TargetCopyRegions pulumi.StringArrayInput // The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. // - A maximum of 24 time points can be selected. // - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,). TimePoints pulumi.StringArrayInput }
The set of arguments for constructing a AutoSnapshotPolicy resource.
func (AutoSnapshotPolicyArgs) ElementType ¶
func (AutoSnapshotPolicyArgs) ElementType() reflect.Type
type AutoSnapshotPolicyArray ¶
type AutoSnapshotPolicyArray []AutoSnapshotPolicyInput
func (AutoSnapshotPolicyArray) ElementType ¶
func (AutoSnapshotPolicyArray) ElementType() reflect.Type
func (AutoSnapshotPolicyArray) ToAutoSnapshotPolicyArrayOutput ¶
func (i AutoSnapshotPolicyArray) ToAutoSnapshotPolicyArrayOutput() AutoSnapshotPolicyArrayOutput
func (AutoSnapshotPolicyArray) ToAutoSnapshotPolicyArrayOutputWithContext ¶
func (i AutoSnapshotPolicyArray) ToAutoSnapshotPolicyArrayOutputWithContext(ctx context.Context) AutoSnapshotPolicyArrayOutput
type AutoSnapshotPolicyArrayInput ¶
type AutoSnapshotPolicyArrayInput interface { pulumi.Input ToAutoSnapshotPolicyArrayOutput() AutoSnapshotPolicyArrayOutput ToAutoSnapshotPolicyArrayOutputWithContext(context.Context) AutoSnapshotPolicyArrayOutput }
AutoSnapshotPolicyArrayInput is an input type that accepts AutoSnapshotPolicyArray and AutoSnapshotPolicyArrayOutput values. You can construct a concrete instance of `AutoSnapshotPolicyArrayInput` via:
AutoSnapshotPolicyArray{ AutoSnapshotPolicyArgs{...} }
type AutoSnapshotPolicyArrayOutput ¶
type AutoSnapshotPolicyArrayOutput struct{ *pulumi.OutputState }
func (AutoSnapshotPolicyArrayOutput) ElementType ¶
func (AutoSnapshotPolicyArrayOutput) ElementType() reflect.Type
func (AutoSnapshotPolicyArrayOutput) Index ¶
func (o AutoSnapshotPolicyArrayOutput) Index(i pulumi.IntInput) AutoSnapshotPolicyOutput
func (AutoSnapshotPolicyArrayOutput) ToAutoSnapshotPolicyArrayOutput ¶
func (o AutoSnapshotPolicyArrayOutput) ToAutoSnapshotPolicyArrayOutput() AutoSnapshotPolicyArrayOutput
func (AutoSnapshotPolicyArrayOutput) ToAutoSnapshotPolicyArrayOutputWithContext ¶
func (o AutoSnapshotPolicyArrayOutput) ToAutoSnapshotPolicyArrayOutputWithContext(ctx context.Context) AutoSnapshotPolicyArrayOutput
type AutoSnapshotPolicyInput ¶
type AutoSnapshotPolicyInput interface { pulumi.Input ToAutoSnapshotPolicyOutput() AutoSnapshotPolicyOutput ToAutoSnapshotPolicyOutputWithContext(ctx context.Context) AutoSnapshotPolicyOutput }
type AutoSnapshotPolicyMap ¶
type AutoSnapshotPolicyMap map[string]AutoSnapshotPolicyInput
func (AutoSnapshotPolicyMap) ElementType ¶
func (AutoSnapshotPolicyMap) ElementType() reflect.Type
func (AutoSnapshotPolicyMap) ToAutoSnapshotPolicyMapOutput ¶
func (i AutoSnapshotPolicyMap) ToAutoSnapshotPolicyMapOutput() AutoSnapshotPolicyMapOutput
func (AutoSnapshotPolicyMap) ToAutoSnapshotPolicyMapOutputWithContext ¶
func (i AutoSnapshotPolicyMap) ToAutoSnapshotPolicyMapOutputWithContext(ctx context.Context) AutoSnapshotPolicyMapOutput
type AutoSnapshotPolicyMapInput ¶
type AutoSnapshotPolicyMapInput interface { pulumi.Input ToAutoSnapshotPolicyMapOutput() AutoSnapshotPolicyMapOutput ToAutoSnapshotPolicyMapOutputWithContext(context.Context) AutoSnapshotPolicyMapOutput }
AutoSnapshotPolicyMapInput is an input type that accepts AutoSnapshotPolicyMap and AutoSnapshotPolicyMapOutput values. You can construct a concrete instance of `AutoSnapshotPolicyMapInput` via:
AutoSnapshotPolicyMap{ "key": AutoSnapshotPolicyArgs{...} }
type AutoSnapshotPolicyMapOutput ¶
type AutoSnapshotPolicyMapOutput struct{ *pulumi.OutputState }
func (AutoSnapshotPolicyMapOutput) ElementType ¶
func (AutoSnapshotPolicyMapOutput) ElementType() reflect.Type
func (AutoSnapshotPolicyMapOutput) MapIndex ¶
func (o AutoSnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) AutoSnapshotPolicyOutput
func (AutoSnapshotPolicyMapOutput) ToAutoSnapshotPolicyMapOutput ¶
func (o AutoSnapshotPolicyMapOutput) ToAutoSnapshotPolicyMapOutput() AutoSnapshotPolicyMapOutput
func (AutoSnapshotPolicyMapOutput) ToAutoSnapshotPolicyMapOutputWithContext ¶
func (o AutoSnapshotPolicyMapOutput) ToAutoSnapshotPolicyMapOutputWithContext(ctx context.Context) AutoSnapshotPolicyMapOutput
type AutoSnapshotPolicyOutput ¶
type AutoSnapshotPolicyOutput struct{ *pulumi.OutputState }
func (AutoSnapshotPolicyOutput) ElementType ¶
func (AutoSnapshotPolicyOutput) ElementType() reflect.Type
func (AutoSnapshotPolicyOutput) ToAutoSnapshotPolicyOutput ¶
func (o AutoSnapshotPolicyOutput) ToAutoSnapshotPolicyOutput() AutoSnapshotPolicyOutput
func (AutoSnapshotPolicyOutput) ToAutoSnapshotPolicyOutputWithContext ¶
func (o AutoSnapshotPolicyOutput) ToAutoSnapshotPolicyOutputWithContext(ctx context.Context) AutoSnapshotPolicyOutput
type AutoSnapshotPolicyState ¶
type AutoSnapshotPolicyState struct { // The retention period of the snapshot copied across regions. // - -1: The snapshot is permanently retained. // - [1, 65535]: The automatic snapshot is retained for the specified number of days. // Default value: -1. CopiedSnapshotsRetentionDays pulumi.IntPtrInput // Specifies whether to enable the system to automatically copy snapshots across regions. EnableCrossRegionCopy pulumi.BoolPtrInput // The snapshot policy name. Name pulumi.StringPtrInput // The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. // - A maximum of seven time points can be selected. // - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,). RepeatWeekdays pulumi.StringArrayInput // The snapshot retention time, and the unit of measurement is day. Optional values: // - -1: The automatic snapshots are retained permanently. // - [1, 65536]: The number of days retained. // Default value: -1. RetentionDays pulumi.IntPtrInput // The status of Auto Snapshot Policy. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The destination region to which the snapshot is copied. You can set a destination region. TargetCopyRegions pulumi.StringArrayInput // The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. // - A maximum of 24 time points can be selected. // - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,). TimePoints pulumi.StringArrayInput }
func (AutoSnapshotPolicyState) ElementType ¶
func (AutoSnapshotPolicyState) ElementType() reflect.Type
type Command ¶
type Command struct { pulumi.CustomResourceState // The Base64-encoded content of the command. CommandContent pulumi.StringOutput `pulumi:"commandContent"` // The description of command. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies whether to use custom parameters in the command to be created. Default to: false. EnableParameter pulumi.BoolPtrOutput `pulumi:"enableParameter"` // The name of the command, which supports all character sets. It can be up to 128 characters in length. Name pulumi.StringOutput `pulumi:"name"` // The timeout period that is specified for the command to be run on ECS instances. Unit: seconds. Default to: `60`. Timeout pulumi.IntPtrOutput `pulumi:"timeout"` // The command type. Valid Values: `RunBatScript`, `RunPowerShellScript` and `RunShellScript`. Type pulumi.StringOutput `pulumi:"type"` // The execution path of the command in the ECS instance. WorkingDir pulumi.StringPtrOutput `pulumi:"workingDir"` }
Provides a ECS Command resource.
For information about ECS Command and how to use it, see [What is Command](https://www.alibabacloud.com/help/en/doc-detail/64844.htm).
> **NOTE:** Available in v1.116.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewCommand(ctx, "example", &ecs.CommandArgs{ CommandContent: pulumi.String("bHMK"), Description: pulumi.String("For Terraform Test"), Type: pulumi.String("RunShellScript"), WorkingDir: pulumi.String("/root"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Command can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/command:Command example <id>
```
func GetCommand ¶
func GetCommand(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CommandState, opts ...pulumi.ResourceOption) (*Command, error)
GetCommand gets an existing Command resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCommand ¶
func NewCommand(ctx *pulumi.Context, name string, args *CommandArgs, opts ...pulumi.ResourceOption) (*Command, error)
NewCommand registers a new resource with the given unique name, arguments, and options.
func (*Command) ElementType ¶
func (*Command) ToCommandOutput ¶
func (i *Command) ToCommandOutput() CommandOutput
func (*Command) ToCommandOutputWithContext ¶
func (i *Command) ToCommandOutputWithContext(ctx context.Context) CommandOutput
type CommandArgs ¶
type CommandArgs struct { // The Base64-encoded content of the command. CommandContent pulumi.StringInput // The description of command. Description pulumi.StringPtrInput // Specifies whether to use custom parameters in the command to be created. Default to: false. EnableParameter pulumi.BoolPtrInput // The name of the command, which supports all character sets. It can be up to 128 characters in length. Name pulumi.StringPtrInput // The timeout period that is specified for the command to be run on ECS instances. Unit: seconds. Default to: `60`. Timeout pulumi.IntPtrInput // The command type. Valid Values: `RunBatScript`, `RunPowerShellScript` and `RunShellScript`. Type pulumi.StringInput // The execution path of the command in the ECS instance. WorkingDir pulumi.StringPtrInput }
The set of arguments for constructing a Command resource.
func (CommandArgs) ElementType ¶
func (CommandArgs) ElementType() reflect.Type
type CommandArray ¶
type CommandArray []CommandInput
func (CommandArray) ElementType ¶
func (CommandArray) ElementType() reflect.Type
func (CommandArray) ToCommandArrayOutput ¶
func (i CommandArray) ToCommandArrayOutput() CommandArrayOutput
func (CommandArray) ToCommandArrayOutputWithContext ¶
func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput
type CommandArrayInput ¶
type CommandArrayInput interface { pulumi.Input ToCommandArrayOutput() CommandArrayOutput ToCommandArrayOutputWithContext(context.Context) CommandArrayOutput }
CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. You can construct a concrete instance of `CommandArrayInput` via:
CommandArray{ CommandArgs{...} }
type CommandArrayOutput ¶
type CommandArrayOutput struct{ *pulumi.OutputState }
func (CommandArrayOutput) ElementType ¶
func (CommandArrayOutput) ElementType() reflect.Type
func (CommandArrayOutput) Index ¶
func (o CommandArrayOutput) Index(i pulumi.IntInput) CommandOutput
func (CommandArrayOutput) ToCommandArrayOutput ¶
func (o CommandArrayOutput) ToCommandArrayOutput() CommandArrayOutput
func (CommandArrayOutput) ToCommandArrayOutputWithContext ¶
func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput
type CommandInput ¶
type CommandInput interface { pulumi.Input ToCommandOutput() CommandOutput ToCommandOutputWithContext(ctx context.Context) CommandOutput }
type CommandMap ¶
type CommandMap map[string]CommandInput
func (CommandMap) ElementType ¶
func (CommandMap) ElementType() reflect.Type
func (CommandMap) ToCommandMapOutput ¶
func (i CommandMap) ToCommandMapOutput() CommandMapOutput
func (CommandMap) ToCommandMapOutputWithContext ¶
func (i CommandMap) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput
type CommandMapInput ¶
type CommandMapInput interface { pulumi.Input ToCommandMapOutput() CommandMapOutput ToCommandMapOutputWithContext(context.Context) CommandMapOutput }
CommandMapInput is an input type that accepts CommandMap and CommandMapOutput values. You can construct a concrete instance of `CommandMapInput` via:
CommandMap{ "key": CommandArgs{...} }
type CommandMapOutput ¶
type CommandMapOutput struct{ *pulumi.OutputState }
func (CommandMapOutput) ElementType ¶
func (CommandMapOutput) ElementType() reflect.Type
func (CommandMapOutput) MapIndex ¶
func (o CommandMapOutput) MapIndex(k pulumi.StringInput) CommandOutput
func (CommandMapOutput) ToCommandMapOutput ¶
func (o CommandMapOutput) ToCommandMapOutput() CommandMapOutput
func (CommandMapOutput) ToCommandMapOutputWithContext ¶
func (o CommandMapOutput) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput
type CommandOutput ¶
type CommandOutput struct{ *pulumi.OutputState }
func (CommandOutput) ElementType ¶
func (CommandOutput) ElementType() reflect.Type
func (CommandOutput) ToCommandOutput ¶
func (o CommandOutput) ToCommandOutput() CommandOutput
func (CommandOutput) ToCommandOutputWithContext ¶
func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOutput
type CommandState ¶
type CommandState struct { // The Base64-encoded content of the command. CommandContent pulumi.StringPtrInput // The description of command. Description pulumi.StringPtrInput // Specifies whether to use custom parameters in the command to be created. Default to: false. EnableParameter pulumi.BoolPtrInput // The name of the command, which supports all character sets. It can be up to 128 characters in length. Name pulumi.StringPtrInput // The timeout period that is specified for the command to be run on ECS instances. Unit: seconds. Default to: `60`. Timeout pulumi.IntPtrInput // The command type. Valid Values: `RunBatScript`, `RunPowerShellScript` and `RunShellScript`. Type pulumi.StringPtrInput // The execution path of the command in the ECS instance. WorkingDir pulumi.StringPtrInput }
func (CommandState) ElementType ¶
func (CommandState) ElementType() reflect.Type
type CopyImage ¶
type CopyImage struct { pulumi.CustomResourceState DeleteAutoSnapshot pulumi.BoolPtrOutput `pulumi:"deleteAutoSnapshot"` Description pulumi.StringPtrOutput `pulumi:"description"` Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"` Force pulumi.BoolPtrOutput `pulumi:"force"` ImageName pulumi.StringOutput `pulumi:"imageName"` KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringOutput `pulumi:"name"` SourceImageId pulumi.StringOutput `pulumi:"sourceImageId"` SourceRegionId pulumi.StringOutput `pulumi:"sourceRegionId"` Tags pulumi.MapOutput `pulumi:"tags"` }
func GetCopyImage ¶
func GetCopyImage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CopyImageState, opts ...pulumi.ResourceOption) (*CopyImage, error)
GetCopyImage gets an existing CopyImage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCopyImage ¶
func NewCopyImage(ctx *pulumi.Context, name string, args *CopyImageArgs, opts ...pulumi.ResourceOption) (*CopyImage, error)
NewCopyImage registers a new resource with the given unique name, arguments, and options.
func (*CopyImage) ElementType ¶
func (*CopyImage) ToCopyImageOutput ¶
func (i *CopyImage) ToCopyImageOutput() CopyImageOutput
func (*CopyImage) ToCopyImageOutputWithContext ¶
func (i *CopyImage) ToCopyImageOutputWithContext(ctx context.Context) CopyImageOutput
type CopyImageArgs ¶
type CopyImageArgs struct { DeleteAutoSnapshot pulumi.BoolPtrInput Description pulumi.StringPtrInput Encrypted pulumi.BoolPtrInput Force pulumi.BoolPtrInput ImageName pulumi.StringPtrInput KmsKeyId pulumi.StringPtrInput // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringPtrInput SourceImageId pulumi.StringInput SourceRegionId pulumi.StringInput Tags pulumi.MapInput }
The set of arguments for constructing a CopyImage resource.
func (CopyImageArgs) ElementType ¶
func (CopyImageArgs) ElementType() reflect.Type
type CopyImageArray ¶
type CopyImageArray []CopyImageInput
func (CopyImageArray) ElementType ¶
func (CopyImageArray) ElementType() reflect.Type
func (CopyImageArray) ToCopyImageArrayOutput ¶
func (i CopyImageArray) ToCopyImageArrayOutput() CopyImageArrayOutput
func (CopyImageArray) ToCopyImageArrayOutputWithContext ¶
func (i CopyImageArray) ToCopyImageArrayOutputWithContext(ctx context.Context) CopyImageArrayOutput
type CopyImageArrayInput ¶
type CopyImageArrayInput interface { pulumi.Input ToCopyImageArrayOutput() CopyImageArrayOutput ToCopyImageArrayOutputWithContext(context.Context) CopyImageArrayOutput }
CopyImageArrayInput is an input type that accepts CopyImageArray and CopyImageArrayOutput values. You can construct a concrete instance of `CopyImageArrayInput` via:
CopyImageArray{ CopyImageArgs{...} }
type CopyImageArrayOutput ¶
type CopyImageArrayOutput struct{ *pulumi.OutputState }
func (CopyImageArrayOutput) ElementType ¶
func (CopyImageArrayOutput) ElementType() reflect.Type
func (CopyImageArrayOutput) Index ¶
func (o CopyImageArrayOutput) Index(i pulumi.IntInput) CopyImageOutput
func (CopyImageArrayOutput) ToCopyImageArrayOutput ¶
func (o CopyImageArrayOutput) ToCopyImageArrayOutput() CopyImageArrayOutput
func (CopyImageArrayOutput) ToCopyImageArrayOutputWithContext ¶
func (o CopyImageArrayOutput) ToCopyImageArrayOutputWithContext(ctx context.Context) CopyImageArrayOutput
type CopyImageInput ¶
type CopyImageInput interface { pulumi.Input ToCopyImageOutput() CopyImageOutput ToCopyImageOutputWithContext(ctx context.Context) CopyImageOutput }
type CopyImageMap ¶
type CopyImageMap map[string]CopyImageInput
func (CopyImageMap) ElementType ¶
func (CopyImageMap) ElementType() reflect.Type
func (CopyImageMap) ToCopyImageMapOutput ¶
func (i CopyImageMap) ToCopyImageMapOutput() CopyImageMapOutput
func (CopyImageMap) ToCopyImageMapOutputWithContext ¶
func (i CopyImageMap) ToCopyImageMapOutputWithContext(ctx context.Context) CopyImageMapOutput
type CopyImageMapInput ¶
type CopyImageMapInput interface { pulumi.Input ToCopyImageMapOutput() CopyImageMapOutput ToCopyImageMapOutputWithContext(context.Context) CopyImageMapOutput }
CopyImageMapInput is an input type that accepts CopyImageMap and CopyImageMapOutput values. You can construct a concrete instance of `CopyImageMapInput` via:
CopyImageMap{ "key": CopyImageArgs{...} }
type CopyImageMapOutput ¶
type CopyImageMapOutput struct{ *pulumi.OutputState }
func (CopyImageMapOutput) ElementType ¶
func (CopyImageMapOutput) ElementType() reflect.Type
func (CopyImageMapOutput) MapIndex ¶
func (o CopyImageMapOutput) MapIndex(k pulumi.StringInput) CopyImageOutput
func (CopyImageMapOutput) ToCopyImageMapOutput ¶
func (o CopyImageMapOutput) ToCopyImageMapOutput() CopyImageMapOutput
func (CopyImageMapOutput) ToCopyImageMapOutputWithContext ¶
func (o CopyImageMapOutput) ToCopyImageMapOutputWithContext(ctx context.Context) CopyImageMapOutput
type CopyImageOutput ¶
type CopyImageOutput struct{ *pulumi.OutputState }
func (CopyImageOutput) ElementType ¶
func (CopyImageOutput) ElementType() reflect.Type
func (CopyImageOutput) ToCopyImageOutput ¶
func (o CopyImageOutput) ToCopyImageOutput() CopyImageOutput
func (CopyImageOutput) ToCopyImageOutputWithContext ¶
func (o CopyImageOutput) ToCopyImageOutputWithContext(ctx context.Context) CopyImageOutput
type CopyImageState ¶
type CopyImageState struct { DeleteAutoSnapshot pulumi.BoolPtrInput Description pulumi.StringPtrInput Encrypted pulumi.BoolPtrInput Force pulumi.BoolPtrInput ImageName pulumi.StringPtrInput KmsKeyId pulumi.StringPtrInput // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringPtrInput SourceImageId pulumi.StringPtrInput SourceRegionId pulumi.StringPtrInput Tags pulumi.MapInput }
func (CopyImageState) ElementType ¶
func (CopyImageState) ElementType() reflect.Type
type DedicatedHost ¶
type DedicatedHost struct { pulumi.CustomResourceState // The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online. Valid values: `Migrate`, `Stop`. ActionOnMaintenance pulumi.StringPtrOutput `pulumi:"actionOnMaintenance"` // Specifies whether to add the dedicated host to the resource pool for automatic deployment. If you do not specify the DedicatedHostId parameter when you create an instance on a dedicated host, Alibaba Cloud automatically selects a dedicated host from the resource pool to host the instance. Valid values: `on`, `off`. Default: `on`. AutoPlacement pulumi.StringPtrOutput `pulumi:"autoPlacement"` // The automatic release time of the dedicated host. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. AutoReleaseTime pulumi.StringOutput `pulumi:"autoReleaseTime"` // Specifies whether to automatically renew the subscription dedicated host. AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"` // The auto-renewal period of the dedicated host. Unit: months. Valid values: `1`, `2`, `3`, `6`, and `12`. takes effect and is required only when the AutoRenew parameter is set to true. AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"` // CPU oversold ratio. Only custom specifications g6s, c6s, r6s support setting the CPU oversold ratio. CpuOverCommitRatio pulumi.Float64PtrOutput `pulumi:"cpuOverCommitRatio"` // The dedicated host cluster ID to which the dedicated host belongs. DedicatedHostClusterId pulumi.StringPtrOutput `pulumi:"dedicatedHostClusterId"` // The name of the dedicated host. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). DedicatedHostName pulumi.StringPtrOutput `pulumi:"dedicatedHostName"` // The type of the dedicated host. You can call the [DescribeDedicatedHostTypes](https://www.alibabacloud.com/help/doc-detail/134240.htm) operation to obtain the most recent list of dedicated host types. DedicatedHostType pulumi.StringOutput `pulumi:"dedicatedHostType"` // The description of the dedicated host. The description must be 2 to 256 characters in length and cannot start with http:// or https://. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies whether to return the billing details of the order when the billing method is changed from subscription to pay-as-you-go. Default: `false`. DetailFee pulumi.BoolPtrOutput `pulumi:"detailFee"` // Specifies whether to only validate the request. Default: `false`. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // The subscription period of the dedicated host. The Period parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"` // Specify the minimum purchase quantity of a dedicated host. MinQuantity pulumi.IntPtrOutput `pulumi:"minQuantity"` // dedicated host network parameters. contains the following attributes: NetworkAttributes DedicatedHostNetworkAttributeArrayOutput `pulumi:"networkAttributes"` // The billing method of the dedicated host. Valid values: `PrePaid`, `PostPaid`. Default: `PostPaid`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The ID of the resource group to which the dedicated host belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The unit of the subscription period of the dedicated host. SaleCycle pulumi.StringOutput `pulumi:"saleCycle"` // The status of the dedicated host. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The zone ID of the dedicated host. This parameter is empty by default. If you do not specify this parameter, the system automatically selects a zone. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Import
Ecs dedicated host can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/dedicatedHost:DedicatedHost default dh-2zedmxxxx
```
func GetDedicatedHost ¶
func GetDedicatedHost(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DedicatedHostState, opts ...pulumi.ResourceOption) (*DedicatedHost, error)
GetDedicatedHost gets an existing DedicatedHost resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDedicatedHost ¶
func NewDedicatedHost(ctx *pulumi.Context, name string, args *DedicatedHostArgs, opts ...pulumi.ResourceOption) (*DedicatedHost, error)
NewDedicatedHost registers a new resource with the given unique name, arguments, and options.
func (*DedicatedHost) ElementType ¶
func (*DedicatedHost) ElementType() reflect.Type
func (*DedicatedHost) ToDedicatedHostOutput ¶
func (i *DedicatedHost) ToDedicatedHostOutput() DedicatedHostOutput
func (*DedicatedHost) ToDedicatedHostOutputWithContext ¶
func (i *DedicatedHost) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
type DedicatedHostArgs ¶
type DedicatedHostArgs struct { // The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online. Valid values: `Migrate`, `Stop`. ActionOnMaintenance pulumi.StringPtrInput // Specifies whether to add the dedicated host to the resource pool for automatic deployment. If you do not specify the DedicatedHostId parameter when you create an instance on a dedicated host, Alibaba Cloud automatically selects a dedicated host from the resource pool to host the instance. Valid values: `on`, `off`. Default: `on`. AutoPlacement pulumi.StringPtrInput // The automatic release time of the dedicated host. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. AutoReleaseTime pulumi.StringPtrInput // Specifies whether to automatically renew the subscription dedicated host. AutoRenew pulumi.BoolPtrInput // The auto-renewal period of the dedicated host. Unit: months. Valid values: `1`, `2`, `3`, `6`, and `12`. takes effect and is required only when the AutoRenew parameter is set to true. AutoRenewPeriod pulumi.IntPtrInput // CPU oversold ratio. Only custom specifications g6s, c6s, r6s support setting the CPU oversold ratio. CpuOverCommitRatio pulumi.Float64PtrInput // The dedicated host cluster ID to which the dedicated host belongs. DedicatedHostClusterId pulumi.StringPtrInput // The name of the dedicated host. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). DedicatedHostName pulumi.StringPtrInput // The type of the dedicated host. You can call the [DescribeDedicatedHostTypes](https://www.alibabacloud.com/help/doc-detail/134240.htm) operation to obtain the most recent list of dedicated host types. DedicatedHostType pulumi.StringInput // The description of the dedicated host. The description must be 2 to 256 characters in length and cannot start with http:// or https://. Description pulumi.StringPtrInput // Specifies whether to return the billing details of the order when the billing method is changed from subscription to pay-as-you-go. Default: `false`. DetailFee pulumi.BoolPtrInput // Specifies whether to only validate the request. Default: `false`. DryRun pulumi.BoolPtrInput // The subscription period of the dedicated host. The Period parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. ExpiredTime pulumi.StringPtrInput // Specify the minimum purchase quantity of a dedicated host. MinQuantity pulumi.IntPtrInput // dedicated host network parameters. contains the following attributes: NetworkAttributes DedicatedHostNetworkAttributeArrayInput // The billing method of the dedicated host. Valid values: `PrePaid`, `PostPaid`. Default: `PostPaid`. PaymentType pulumi.StringPtrInput // The ID of the resource group to which the dedicated host belongs. ResourceGroupId pulumi.StringPtrInput // The unit of the subscription period of the dedicated host. SaleCycle pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The zone ID of the dedicated host. This parameter is empty by default. If you do not specify this parameter, the system automatically selects a zone. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a DedicatedHost resource.
func (DedicatedHostArgs) ElementType ¶
func (DedicatedHostArgs) ElementType() reflect.Type
type DedicatedHostArray ¶
type DedicatedHostArray []DedicatedHostInput
func (DedicatedHostArray) ElementType ¶
func (DedicatedHostArray) ElementType() reflect.Type
func (DedicatedHostArray) ToDedicatedHostArrayOutput ¶
func (i DedicatedHostArray) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
func (DedicatedHostArray) ToDedicatedHostArrayOutputWithContext ¶
func (i DedicatedHostArray) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
type DedicatedHostArrayInput ¶
type DedicatedHostArrayInput interface { pulumi.Input ToDedicatedHostArrayOutput() DedicatedHostArrayOutput ToDedicatedHostArrayOutputWithContext(context.Context) DedicatedHostArrayOutput }
DedicatedHostArrayInput is an input type that accepts DedicatedHostArray and DedicatedHostArrayOutput values. You can construct a concrete instance of `DedicatedHostArrayInput` via:
DedicatedHostArray{ DedicatedHostArgs{...} }
type DedicatedHostArrayOutput ¶
type DedicatedHostArrayOutput struct{ *pulumi.OutputState }
func (DedicatedHostArrayOutput) ElementType ¶
func (DedicatedHostArrayOutput) ElementType() reflect.Type
func (DedicatedHostArrayOutput) Index ¶
func (o DedicatedHostArrayOutput) Index(i pulumi.IntInput) DedicatedHostOutput
func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutput ¶
func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext ¶
func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
type DedicatedHostInput ¶
type DedicatedHostInput interface { pulumi.Input ToDedicatedHostOutput() DedicatedHostOutput ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput }
type DedicatedHostMap ¶
type DedicatedHostMap map[string]DedicatedHostInput
func (DedicatedHostMap) ElementType ¶
func (DedicatedHostMap) ElementType() reflect.Type
func (DedicatedHostMap) ToDedicatedHostMapOutput ¶
func (i DedicatedHostMap) ToDedicatedHostMapOutput() DedicatedHostMapOutput
func (DedicatedHostMap) ToDedicatedHostMapOutputWithContext ¶
func (i DedicatedHostMap) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
type DedicatedHostMapInput ¶
type DedicatedHostMapInput interface { pulumi.Input ToDedicatedHostMapOutput() DedicatedHostMapOutput ToDedicatedHostMapOutputWithContext(context.Context) DedicatedHostMapOutput }
DedicatedHostMapInput is an input type that accepts DedicatedHostMap and DedicatedHostMapOutput values. You can construct a concrete instance of `DedicatedHostMapInput` via:
DedicatedHostMap{ "key": DedicatedHostArgs{...} }
type DedicatedHostMapOutput ¶
type DedicatedHostMapOutput struct{ *pulumi.OutputState }
func (DedicatedHostMapOutput) ElementType ¶
func (DedicatedHostMapOutput) ElementType() reflect.Type
func (DedicatedHostMapOutput) MapIndex ¶
func (o DedicatedHostMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostOutput
func (DedicatedHostMapOutput) ToDedicatedHostMapOutput ¶
func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput
func (DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext ¶
func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
type DedicatedHostNetworkAttribute ¶
type DedicatedHostNetworkAttribute struct { // The timeout period for a UDP session between Server Load Balancer (SLB) and the dedicated host. Unit: seconds. Valid values: 15 to 310. SlbUdpTimeout *int `pulumi:"slbUdpTimeout"` // The timeout period for a UDP session between a user and an Alibaba Cloud service on the dedicated host. Unit: seconds. Valid values: 15 to 310. UdpTimeout *int `pulumi:"udpTimeout"` }
type DedicatedHostNetworkAttributeArgs ¶
type DedicatedHostNetworkAttributeArgs struct { // The timeout period for a UDP session between Server Load Balancer (SLB) and the dedicated host. Unit: seconds. Valid values: 15 to 310. SlbUdpTimeout pulumi.IntPtrInput `pulumi:"slbUdpTimeout"` // The timeout period for a UDP session between a user and an Alibaba Cloud service on the dedicated host. Unit: seconds. Valid values: 15 to 310. UdpTimeout pulumi.IntPtrInput `pulumi:"udpTimeout"` }
func (DedicatedHostNetworkAttributeArgs) ElementType ¶
func (DedicatedHostNetworkAttributeArgs) ElementType() reflect.Type
func (DedicatedHostNetworkAttributeArgs) ToDedicatedHostNetworkAttributeOutput ¶
func (i DedicatedHostNetworkAttributeArgs) ToDedicatedHostNetworkAttributeOutput() DedicatedHostNetworkAttributeOutput
func (DedicatedHostNetworkAttributeArgs) ToDedicatedHostNetworkAttributeOutputWithContext ¶
func (i DedicatedHostNetworkAttributeArgs) ToDedicatedHostNetworkAttributeOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeOutput
type DedicatedHostNetworkAttributeArray ¶
type DedicatedHostNetworkAttributeArray []DedicatedHostNetworkAttributeInput
func (DedicatedHostNetworkAttributeArray) ElementType ¶
func (DedicatedHostNetworkAttributeArray) ElementType() reflect.Type
func (DedicatedHostNetworkAttributeArray) ToDedicatedHostNetworkAttributeArrayOutput ¶
func (i DedicatedHostNetworkAttributeArray) ToDedicatedHostNetworkAttributeArrayOutput() DedicatedHostNetworkAttributeArrayOutput
func (DedicatedHostNetworkAttributeArray) ToDedicatedHostNetworkAttributeArrayOutputWithContext ¶
func (i DedicatedHostNetworkAttributeArray) ToDedicatedHostNetworkAttributeArrayOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeArrayOutput
type DedicatedHostNetworkAttributeArrayInput ¶
type DedicatedHostNetworkAttributeArrayInput interface { pulumi.Input ToDedicatedHostNetworkAttributeArrayOutput() DedicatedHostNetworkAttributeArrayOutput ToDedicatedHostNetworkAttributeArrayOutputWithContext(context.Context) DedicatedHostNetworkAttributeArrayOutput }
DedicatedHostNetworkAttributeArrayInput is an input type that accepts DedicatedHostNetworkAttributeArray and DedicatedHostNetworkAttributeArrayOutput values. You can construct a concrete instance of `DedicatedHostNetworkAttributeArrayInput` via:
DedicatedHostNetworkAttributeArray{ DedicatedHostNetworkAttributeArgs{...} }
type DedicatedHostNetworkAttributeArrayOutput ¶
type DedicatedHostNetworkAttributeArrayOutput struct{ *pulumi.OutputState }
func (DedicatedHostNetworkAttributeArrayOutput) ElementType ¶
func (DedicatedHostNetworkAttributeArrayOutput) ElementType() reflect.Type
func (DedicatedHostNetworkAttributeArrayOutput) ToDedicatedHostNetworkAttributeArrayOutput ¶
func (o DedicatedHostNetworkAttributeArrayOutput) ToDedicatedHostNetworkAttributeArrayOutput() DedicatedHostNetworkAttributeArrayOutput
func (DedicatedHostNetworkAttributeArrayOutput) ToDedicatedHostNetworkAttributeArrayOutputWithContext ¶
func (o DedicatedHostNetworkAttributeArrayOutput) ToDedicatedHostNetworkAttributeArrayOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeArrayOutput
type DedicatedHostNetworkAttributeInput ¶
type DedicatedHostNetworkAttributeInput interface { pulumi.Input ToDedicatedHostNetworkAttributeOutput() DedicatedHostNetworkAttributeOutput ToDedicatedHostNetworkAttributeOutputWithContext(context.Context) DedicatedHostNetworkAttributeOutput }
DedicatedHostNetworkAttributeInput is an input type that accepts DedicatedHostNetworkAttributeArgs and DedicatedHostNetworkAttributeOutput values. You can construct a concrete instance of `DedicatedHostNetworkAttributeInput` via:
DedicatedHostNetworkAttributeArgs{...}
type DedicatedHostNetworkAttributeOutput ¶
type DedicatedHostNetworkAttributeOutput struct{ *pulumi.OutputState }
func (DedicatedHostNetworkAttributeOutput) ElementType ¶
func (DedicatedHostNetworkAttributeOutput) ElementType() reflect.Type
func (DedicatedHostNetworkAttributeOutput) SlbUdpTimeout ¶
func (o DedicatedHostNetworkAttributeOutput) SlbUdpTimeout() pulumi.IntPtrOutput
The timeout period for a UDP session between Server Load Balancer (SLB) and the dedicated host. Unit: seconds. Valid values: 15 to 310.
func (DedicatedHostNetworkAttributeOutput) ToDedicatedHostNetworkAttributeOutput ¶
func (o DedicatedHostNetworkAttributeOutput) ToDedicatedHostNetworkAttributeOutput() DedicatedHostNetworkAttributeOutput
func (DedicatedHostNetworkAttributeOutput) ToDedicatedHostNetworkAttributeOutputWithContext ¶
func (o DedicatedHostNetworkAttributeOutput) ToDedicatedHostNetworkAttributeOutputWithContext(ctx context.Context) DedicatedHostNetworkAttributeOutput
func (DedicatedHostNetworkAttributeOutput) UdpTimeout ¶
func (o DedicatedHostNetworkAttributeOutput) UdpTimeout() pulumi.IntPtrOutput
The timeout period for a UDP session between a user and an Alibaba Cloud service on the dedicated host. Unit: seconds. Valid values: 15 to 310.
type DedicatedHostOutput ¶
type DedicatedHostOutput struct{ *pulumi.OutputState }
func (DedicatedHostOutput) ElementType ¶
func (DedicatedHostOutput) ElementType() reflect.Type
func (DedicatedHostOutput) ToDedicatedHostOutput ¶
func (o DedicatedHostOutput) ToDedicatedHostOutput() DedicatedHostOutput
func (DedicatedHostOutput) ToDedicatedHostOutputWithContext ¶
func (o DedicatedHostOutput) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
type DedicatedHostState ¶
type DedicatedHostState struct { // The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online. Valid values: `Migrate`, `Stop`. ActionOnMaintenance pulumi.StringPtrInput // Specifies whether to add the dedicated host to the resource pool for automatic deployment. If you do not specify the DedicatedHostId parameter when you create an instance on a dedicated host, Alibaba Cloud automatically selects a dedicated host from the resource pool to host the instance. Valid values: `on`, `off`. Default: `on`. AutoPlacement pulumi.StringPtrInput // The automatic release time of the dedicated host. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. AutoReleaseTime pulumi.StringPtrInput // Specifies whether to automatically renew the subscription dedicated host. AutoRenew pulumi.BoolPtrInput // The auto-renewal period of the dedicated host. Unit: months. Valid values: `1`, `2`, `3`, `6`, and `12`. takes effect and is required only when the AutoRenew parameter is set to true. AutoRenewPeriod pulumi.IntPtrInput // CPU oversold ratio. Only custom specifications g6s, c6s, r6s support setting the CPU oversold ratio. CpuOverCommitRatio pulumi.Float64PtrInput // The dedicated host cluster ID to which the dedicated host belongs. DedicatedHostClusterId pulumi.StringPtrInput // The name of the dedicated host. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). DedicatedHostName pulumi.StringPtrInput // The type of the dedicated host. You can call the [DescribeDedicatedHostTypes](https://www.alibabacloud.com/help/doc-detail/134240.htm) operation to obtain the most recent list of dedicated host types. DedicatedHostType pulumi.StringPtrInput // The description of the dedicated host. The description must be 2 to 256 characters in length and cannot start with http:// or https://. Description pulumi.StringPtrInput // Specifies whether to return the billing details of the order when the billing method is changed from subscription to pay-as-you-go. Default: `false`. DetailFee pulumi.BoolPtrInput // Specifies whether to only validate the request. Default: `false`. DryRun pulumi.BoolPtrInput // The subscription period of the dedicated host. The Period parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. ExpiredTime pulumi.StringPtrInput // Specify the minimum purchase quantity of a dedicated host. MinQuantity pulumi.IntPtrInput // dedicated host network parameters. contains the following attributes: NetworkAttributes DedicatedHostNetworkAttributeArrayInput // The billing method of the dedicated host. Valid values: `PrePaid`, `PostPaid`. Default: `PostPaid`. PaymentType pulumi.StringPtrInput // The ID of the resource group to which the dedicated host belongs. ResourceGroupId pulumi.StringPtrInput // The unit of the subscription period of the dedicated host. SaleCycle pulumi.StringPtrInput // The status of the dedicated host. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The zone ID of the dedicated host. This parameter is empty by default. If you do not specify this parameter, the system automatically selects a zone. ZoneId pulumi.StringPtrInput }
func (DedicatedHostState) ElementType ¶
func (DedicatedHostState) ElementType() reflect.Type
type Disk ¶
type Disk struct { pulumi.CustomResourceState AdvancedFeatures pulumi.StringPtrOutput `pulumi:"advancedFeatures"` // The Zone to create the disk in. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Category of the disk. Valid values are `cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`. Default is `cloudEfficiency`. Category pulumi.StringPtrOutput `pulumi:"category"` DedicatedBlockStorageClusterId pulumi.StringPtrOutput `pulumi:"dedicatedBlockStorageClusterId"` // Indicates whether the automatic snapshot is deleted when the disk is released. Default value: false. DeleteAutoSnapshot pulumi.BoolPtrOutput `pulumi:"deleteAutoSnapshot"` // Indicates whether the disk is released together with the instance: Default value: false. DeleteWithInstance pulumi.BoolPtrOutput `pulumi:"deleteWithInstance"` // Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrOutput `pulumi:"description"` DiskName pulumi.StringOutput `pulumi:"diskName"` DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // Indicates whether to apply a created automatic snapshot policy to the disk. Default value: false. EnableAutoSnapshot pulumi.BoolPtrOutput `pulumi:"enableAutoSnapshot"` EncryptAlgorithm pulumi.StringPtrOutput `pulumi:"encryptAlgorithm"` // If true, the disk will be encrypted, conflict with `snapshotId`. Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"` InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // Name of the ECS disk. 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://. Default value is null. // // Deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead. Name pulumi.StringOutput `pulumi:"name"` PaymentType pulumi.StringOutput `pulumi:"paymentType"` // Specifies the performance level of an ESSD when you create the ESSD. Default value: `PL1`. Valid values: // * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS. // * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS. // * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS. PerformanceLevel pulumi.StringOutput `pulumi:"performanceLevel"` // The Id of resource group which the disk belongs. // > **NOTE:** Disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloudEfficiency` and `cloudSsd` disk. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`. Size pulumi.IntPtrOutput `pulumi:"size"` // A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`. SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"` // The disk status. Status pulumi.StringOutput `pulumi:"status"` StorageSetId pulumi.StringPtrOutput `pulumi:"storageSetId"` StorageSetPartitionNumber pulumi.IntPtrOutput `pulumi:"storageSetPartitionNumber"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` Type pulumi.StringPtrOutput `pulumi:"type"` ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewDisk(ctx, "ecsDisk", &ecs.DiskArgs{ AvailabilityZone: pulumi.String("cn-beijing-b"), Category: pulumi.String("cloud_efficiency"), Description: pulumi.String("Hello ecs disk."), Encrypted: pulumi.Bool(true), KmsKeyId: pulumi.String("2a6767f0-a16c-4679-a60f-13bf*****"), Size: pulumi.Int(30), Tags: pulumi.AnyMap{ "Name": pulumi.Any("TerraformTest"), }, }) if err != nil { return err } return nil }) }
```
## Import
Cloud disk can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/disk:Disk example d-abc12345678
```
func GetDisk ¶
func GetDisk(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DiskState, opts ...pulumi.ResourceOption) (*Disk, error)
GetDisk gets an existing Disk resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDisk ¶
func NewDisk(ctx *pulumi.Context, name string, args *DiskArgs, opts ...pulumi.ResourceOption) (*Disk, error)
NewDisk registers a new resource with the given unique name, arguments, and options.
func (*Disk) ElementType ¶
func (*Disk) ToDiskOutput ¶
func (i *Disk) ToDiskOutput() DiskOutput
func (*Disk) ToDiskOutputWithContext ¶
func (i *Disk) ToDiskOutputWithContext(ctx context.Context) DiskOutput
type DiskArgs ¶
type DiskArgs struct { AdvancedFeatures pulumi.StringPtrInput // The Zone to create the disk in. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringPtrInput // Category of the disk. Valid values are `cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`. Default is `cloudEfficiency`. Category pulumi.StringPtrInput DedicatedBlockStorageClusterId pulumi.StringPtrInput // Indicates whether the automatic snapshot is deleted when the disk is released. Default value: false. DeleteAutoSnapshot pulumi.BoolPtrInput // Indicates whether the disk is released together with the instance: Default value: false. DeleteWithInstance pulumi.BoolPtrInput // Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput DiskName pulumi.StringPtrInput DryRun pulumi.BoolPtrInput // Indicates whether to apply a created automatic snapshot policy to the disk. Default value: false. EnableAutoSnapshot pulumi.BoolPtrInput EncryptAlgorithm pulumi.StringPtrInput // If true, the disk will be encrypted, conflict with `snapshotId`. Encrypted pulumi.BoolPtrInput InstanceId pulumi.StringPtrInput // The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty. KmsKeyId pulumi.StringPtrInput // Name of the ECS disk. 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://. Default value is null. // // Deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead. Name pulumi.StringPtrInput PaymentType pulumi.StringPtrInput // Specifies the performance level of an ESSD when you create the ESSD. Default value: `PL1`. Valid values: // * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS. // * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS. // * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS. PerformanceLevel pulumi.StringPtrInput // The Id of resource group which the disk belongs. // > **NOTE:** Disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloudEfficiency` and `cloudSsd` disk. ResourceGroupId pulumi.StringPtrInput // The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`. Size pulumi.IntPtrInput // A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`. SnapshotId pulumi.StringPtrInput StorageSetId pulumi.StringPtrInput StorageSetPartitionNumber pulumi.IntPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput Type pulumi.StringPtrInput ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a Disk resource.
func (DiskArgs) ElementType ¶
type DiskArray ¶
type DiskArray []DiskInput
func (DiskArray) ElementType ¶
func (DiskArray) ToDiskArrayOutput ¶
func (i DiskArray) ToDiskArrayOutput() DiskArrayOutput
func (DiskArray) ToDiskArrayOutputWithContext ¶
func (i DiskArray) ToDiskArrayOutputWithContext(ctx context.Context) DiskArrayOutput
type DiskArrayInput ¶
type DiskArrayInput interface { pulumi.Input ToDiskArrayOutput() DiskArrayOutput ToDiskArrayOutputWithContext(context.Context) DiskArrayOutput }
DiskArrayInput is an input type that accepts DiskArray and DiskArrayOutput values. You can construct a concrete instance of `DiskArrayInput` via:
DiskArray{ DiskArgs{...} }
type DiskArrayOutput ¶
type DiskArrayOutput struct{ *pulumi.OutputState }
func (DiskArrayOutput) ElementType ¶
func (DiskArrayOutput) ElementType() reflect.Type
func (DiskArrayOutput) Index ¶
func (o DiskArrayOutput) Index(i pulumi.IntInput) DiskOutput
func (DiskArrayOutput) ToDiskArrayOutput ¶
func (o DiskArrayOutput) ToDiskArrayOutput() DiskArrayOutput
func (DiskArrayOutput) ToDiskArrayOutputWithContext ¶
func (o DiskArrayOutput) ToDiskArrayOutputWithContext(ctx context.Context) DiskArrayOutput
type DiskAttachment ¶
type DiskAttachment struct { pulumi.CustomResourceState Bootable pulumi.BoolPtrOutput `pulumi:"bootable"` DeleteWithInstance pulumi.BoolPtrOutput `pulumi:"deleteWithInstance"` Device pulumi.StringOutput `pulumi:"device"` // ID of the Disk to be attached. DiskId pulumi.StringOutput `pulumi:"diskId"` // ID of the Instance to attach to. InstanceId pulumi.StringOutput `pulumi:"instanceId"` KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"` Password pulumi.StringPtrOutput `pulumi:"password"` }
## Example Usage
Basic usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ecsSg, err := ecs.NewSecurityGroup(ctx, "ecsSg", &ecs.SecurityGroupArgs{ Description: pulumi.String("New security group"), }) if err != nil { return err } ecsDisk, err := ecs.NewDisk(ctx, "ecsDisk", &ecs.DiskArgs{ AvailabilityZone: pulumi.String("cn-beijing-a"), Size: pulumi.Int(50), Tags: pulumi.AnyMap{ "Name": pulumi.Any("TerraformTest-disk"), }, }) if err != nil { return err } ecsInstance, err := ecs.NewInstance(ctx, "ecsInstance", &ecs.InstanceArgs{ ImageId: pulumi.String("ubuntu_18_04_64_20G_alibase_20190624.vhd"), InstanceType: pulumi.String("ecs.n4.small"), AvailabilityZone: pulumi.String("cn-beijing-a"), SecurityGroups: pulumi.StringArray{ ecsSg.ID(), }, InstanceName: pulumi.String("Hello"), InternetChargeType: pulumi.String("PayByBandwidth"), Tags: pulumi.StringMap{ "Name": pulumi.String("TerraformTest-instance"), }, }) if err != nil { return err } _, err = ecs.NewDiskAttachment(ctx, "ecsDiskAtt", &ecs.DiskAttachmentArgs{ DiskId: ecsDisk.ID(), InstanceId: ecsInstance.ID(), }) if err != nil { return err } return nil }) }
```
## Import
The disk attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/diskAttachment:DiskAttachment example d-abc12345678:i-abc12355
```
func GetDiskAttachment ¶
func GetDiskAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DiskAttachmentState, opts ...pulumi.ResourceOption) (*DiskAttachment, error)
GetDiskAttachment gets an existing DiskAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDiskAttachment ¶
func NewDiskAttachment(ctx *pulumi.Context, name string, args *DiskAttachmentArgs, opts ...pulumi.ResourceOption) (*DiskAttachment, error)
NewDiskAttachment registers a new resource with the given unique name, arguments, and options.
func (*DiskAttachment) ElementType ¶
func (*DiskAttachment) ElementType() reflect.Type
func (*DiskAttachment) ToDiskAttachmentOutput ¶
func (i *DiskAttachment) ToDiskAttachmentOutput() DiskAttachmentOutput
func (*DiskAttachment) ToDiskAttachmentOutputWithContext ¶
func (i *DiskAttachment) ToDiskAttachmentOutputWithContext(ctx context.Context) DiskAttachmentOutput
type DiskAttachmentArgs ¶
type DiskAttachmentArgs struct { Bootable pulumi.BoolPtrInput DeleteWithInstance pulumi.BoolPtrInput // ID of the Disk to be attached. DiskId pulumi.StringInput // ID of the Instance to attach to. InstanceId pulumi.StringInput KeyPairName pulumi.StringPtrInput Password pulumi.StringPtrInput }
The set of arguments for constructing a DiskAttachment resource.
func (DiskAttachmentArgs) ElementType ¶
func (DiskAttachmentArgs) ElementType() reflect.Type
type DiskAttachmentArray ¶
type DiskAttachmentArray []DiskAttachmentInput
func (DiskAttachmentArray) ElementType ¶
func (DiskAttachmentArray) ElementType() reflect.Type
func (DiskAttachmentArray) ToDiskAttachmentArrayOutput ¶
func (i DiskAttachmentArray) ToDiskAttachmentArrayOutput() DiskAttachmentArrayOutput
func (DiskAttachmentArray) ToDiskAttachmentArrayOutputWithContext ¶
func (i DiskAttachmentArray) ToDiskAttachmentArrayOutputWithContext(ctx context.Context) DiskAttachmentArrayOutput
type DiskAttachmentArrayInput ¶
type DiskAttachmentArrayInput interface { pulumi.Input ToDiskAttachmentArrayOutput() DiskAttachmentArrayOutput ToDiskAttachmentArrayOutputWithContext(context.Context) DiskAttachmentArrayOutput }
DiskAttachmentArrayInput is an input type that accepts DiskAttachmentArray and DiskAttachmentArrayOutput values. You can construct a concrete instance of `DiskAttachmentArrayInput` via:
DiskAttachmentArray{ DiskAttachmentArgs{...} }
type DiskAttachmentArrayOutput ¶
type DiskAttachmentArrayOutput struct{ *pulumi.OutputState }
func (DiskAttachmentArrayOutput) ElementType ¶
func (DiskAttachmentArrayOutput) ElementType() reflect.Type
func (DiskAttachmentArrayOutput) Index ¶
func (o DiskAttachmentArrayOutput) Index(i pulumi.IntInput) DiskAttachmentOutput
func (DiskAttachmentArrayOutput) ToDiskAttachmentArrayOutput ¶
func (o DiskAttachmentArrayOutput) ToDiskAttachmentArrayOutput() DiskAttachmentArrayOutput
func (DiskAttachmentArrayOutput) ToDiskAttachmentArrayOutputWithContext ¶
func (o DiskAttachmentArrayOutput) ToDiskAttachmentArrayOutputWithContext(ctx context.Context) DiskAttachmentArrayOutput
type DiskAttachmentInput ¶
type DiskAttachmentInput interface { pulumi.Input ToDiskAttachmentOutput() DiskAttachmentOutput ToDiskAttachmentOutputWithContext(ctx context.Context) DiskAttachmentOutput }
type DiskAttachmentMap ¶
type DiskAttachmentMap map[string]DiskAttachmentInput
func (DiskAttachmentMap) ElementType ¶
func (DiskAttachmentMap) ElementType() reflect.Type
func (DiskAttachmentMap) ToDiskAttachmentMapOutput ¶
func (i DiskAttachmentMap) ToDiskAttachmentMapOutput() DiskAttachmentMapOutput
func (DiskAttachmentMap) ToDiskAttachmentMapOutputWithContext ¶
func (i DiskAttachmentMap) ToDiskAttachmentMapOutputWithContext(ctx context.Context) DiskAttachmentMapOutput
type DiskAttachmentMapInput ¶
type DiskAttachmentMapInput interface { pulumi.Input ToDiskAttachmentMapOutput() DiskAttachmentMapOutput ToDiskAttachmentMapOutputWithContext(context.Context) DiskAttachmentMapOutput }
DiskAttachmentMapInput is an input type that accepts DiskAttachmentMap and DiskAttachmentMapOutput values. You can construct a concrete instance of `DiskAttachmentMapInput` via:
DiskAttachmentMap{ "key": DiskAttachmentArgs{...} }
type DiskAttachmentMapOutput ¶
type DiskAttachmentMapOutput struct{ *pulumi.OutputState }
func (DiskAttachmentMapOutput) ElementType ¶
func (DiskAttachmentMapOutput) ElementType() reflect.Type
func (DiskAttachmentMapOutput) MapIndex ¶
func (o DiskAttachmentMapOutput) MapIndex(k pulumi.StringInput) DiskAttachmentOutput
func (DiskAttachmentMapOutput) ToDiskAttachmentMapOutput ¶
func (o DiskAttachmentMapOutput) ToDiskAttachmentMapOutput() DiskAttachmentMapOutput
func (DiskAttachmentMapOutput) ToDiskAttachmentMapOutputWithContext ¶
func (o DiskAttachmentMapOutput) ToDiskAttachmentMapOutputWithContext(ctx context.Context) DiskAttachmentMapOutput
type DiskAttachmentOutput ¶
type DiskAttachmentOutput struct{ *pulumi.OutputState }
func (DiskAttachmentOutput) ElementType ¶
func (DiskAttachmentOutput) ElementType() reflect.Type
func (DiskAttachmentOutput) ToDiskAttachmentOutput ¶
func (o DiskAttachmentOutput) ToDiskAttachmentOutput() DiskAttachmentOutput
func (DiskAttachmentOutput) ToDiskAttachmentOutputWithContext ¶
func (o DiskAttachmentOutput) ToDiskAttachmentOutputWithContext(ctx context.Context) DiskAttachmentOutput
type DiskAttachmentState ¶
type DiskAttachmentState struct { Bootable pulumi.BoolPtrInput DeleteWithInstance pulumi.BoolPtrInput Device pulumi.StringPtrInput // ID of the Disk to be attached. DiskId pulumi.StringPtrInput // ID of the Instance to attach to. InstanceId pulumi.StringPtrInput KeyPairName pulumi.StringPtrInput Password pulumi.StringPtrInput }
func (DiskAttachmentState) ElementType ¶
func (DiskAttachmentState) ElementType() reflect.Type
type DiskInput ¶
type DiskInput interface { pulumi.Input ToDiskOutput() DiskOutput ToDiskOutputWithContext(ctx context.Context) DiskOutput }
type DiskMap ¶
func (DiskMap) ElementType ¶
func (DiskMap) ToDiskMapOutput ¶
func (i DiskMap) ToDiskMapOutput() DiskMapOutput
func (DiskMap) ToDiskMapOutputWithContext ¶
func (i DiskMap) ToDiskMapOutputWithContext(ctx context.Context) DiskMapOutput
type DiskMapInput ¶
type DiskMapInput interface { pulumi.Input ToDiskMapOutput() DiskMapOutput ToDiskMapOutputWithContext(context.Context) DiskMapOutput }
DiskMapInput is an input type that accepts DiskMap and DiskMapOutput values. You can construct a concrete instance of `DiskMapInput` via:
DiskMap{ "key": DiskArgs{...} }
type DiskMapOutput ¶
type DiskMapOutput struct{ *pulumi.OutputState }
func (DiskMapOutput) ElementType ¶
func (DiskMapOutput) ElementType() reflect.Type
func (DiskMapOutput) MapIndex ¶
func (o DiskMapOutput) MapIndex(k pulumi.StringInput) DiskOutput
func (DiskMapOutput) ToDiskMapOutput ¶
func (o DiskMapOutput) ToDiskMapOutput() DiskMapOutput
func (DiskMapOutput) ToDiskMapOutputWithContext ¶
func (o DiskMapOutput) ToDiskMapOutputWithContext(ctx context.Context) DiskMapOutput
type DiskOutput ¶
type DiskOutput struct{ *pulumi.OutputState }
func (DiskOutput) ElementType ¶
func (DiskOutput) ElementType() reflect.Type
func (DiskOutput) ToDiskOutput ¶
func (o DiskOutput) ToDiskOutput() DiskOutput
func (DiskOutput) ToDiskOutputWithContext ¶
func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput
type DiskState ¶
type DiskState struct { AdvancedFeatures pulumi.StringPtrInput // The Zone to create the disk in. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringPtrInput // Category of the disk. Valid values are `cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`. Default is `cloudEfficiency`. Category pulumi.StringPtrInput DedicatedBlockStorageClusterId pulumi.StringPtrInput // Indicates whether the automatic snapshot is deleted when the disk is released. Default value: false. DeleteAutoSnapshot pulumi.BoolPtrInput // Indicates whether the disk is released together with the instance: Default value: false. DeleteWithInstance pulumi.BoolPtrInput // Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput DiskName pulumi.StringPtrInput DryRun pulumi.BoolPtrInput // Indicates whether to apply a created automatic snapshot policy to the disk. Default value: false. EnableAutoSnapshot pulumi.BoolPtrInput EncryptAlgorithm pulumi.StringPtrInput // If true, the disk will be encrypted, conflict with `snapshotId`. Encrypted pulumi.BoolPtrInput InstanceId pulumi.StringPtrInput // The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty. KmsKeyId pulumi.StringPtrInput // Name of the ECS disk. 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://. Default value is null. // // Deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead. Name pulumi.StringPtrInput PaymentType pulumi.StringPtrInput // Specifies the performance level of an ESSD when you create the ESSD. Default value: `PL1`. Valid values: // * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS. // * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS. // * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS. PerformanceLevel pulumi.StringPtrInput // The Id of resource group which the disk belongs. // > **NOTE:** Disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloudEfficiency` and `cloudSsd` disk. ResourceGroupId pulumi.StringPtrInput // The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`. Size pulumi.IntPtrInput // A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`. SnapshotId pulumi.StringPtrInput // The disk status. Status pulumi.StringPtrInput StorageSetId pulumi.StringPtrInput StorageSetPartitionNumber pulumi.IntPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput Type pulumi.StringPtrInput ZoneId pulumi.StringPtrInput }
func (DiskState) ElementType ¶
type EcsAutoSnapshotPolicyAttachment ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachment struct { pulumi.CustomResourceState // The auto snapshot policy id. AutoSnapshotPolicyId pulumi.StringOutput `pulumi:"autoSnapshotPolicyId"` // The disk id. DiskId pulumi.StringOutput `pulumi:"diskId"` }
Provides a ECS Auto Snapshot Policy Attachment resource.
For information about ECS Auto Snapshot Policy Attachment and how to use it, see [What is Auto Snapshot Policy Attachment](https://www.alibabacloud.com/help/en/doc-detail/25531.htm).
> **NOTE:** Available in v1.122.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsAutoSnapshotPolicyAttachment(ctx, "example", &ecs.EcsAutoSnapshotPolicyAttachmentArgs{ AutoSnapshotPolicyId: pulumi.String("s-ge465xxxx"), DiskId: pulumi.String("d-gw835xxxx"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Auto Snapshot Policy Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsAutoSnapshotPolicyAttachment:EcsAutoSnapshotPolicyAttachment example s-abcd12345:d-abcd12345
```
func GetEcsAutoSnapshotPolicyAttachment ¶ added in v3.1.0
func GetEcsAutoSnapshotPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsAutoSnapshotPolicyAttachmentState, opts ...pulumi.ResourceOption) (*EcsAutoSnapshotPolicyAttachment, error)
GetEcsAutoSnapshotPolicyAttachment gets an existing EcsAutoSnapshotPolicyAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsAutoSnapshotPolicyAttachment ¶ added in v3.1.0
func NewEcsAutoSnapshotPolicyAttachment(ctx *pulumi.Context, name string, args *EcsAutoSnapshotPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*EcsAutoSnapshotPolicyAttachment, error)
NewEcsAutoSnapshotPolicyAttachment registers a new resource with the given unique name, arguments, and options.
func (*EcsAutoSnapshotPolicyAttachment) ElementType ¶ added in v3.1.0
func (*EcsAutoSnapshotPolicyAttachment) ElementType() reflect.Type
func (*EcsAutoSnapshotPolicyAttachment) ToEcsAutoSnapshotPolicyAttachmentOutput ¶ added in v3.1.0
func (i *EcsAutoSnapshotPolicyAttachment) ToEcsAutoSnapshotPolicyAttachmentOutput() EcsAutoSnapshotPolicyAttachmentOutput
func (*EcsAutoSnapshotPolicyAttachment) ToEcsAutoSnapshotPolicyAttachmentOutputWithContext ¶ added in v3.1.0
func (i *EcsAutoSnapshotPolicyAttachment) ToEcsAutoSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentOutput
type EcsAutoSnapshotPolicyAttachmentArgs ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentArgs struct { // The auto snapshot policy id. AutoSnapshotPolicyId pulumi.StringInput // The disk id. DiskId pulumi.StringInput }
The set of arguments for constructing a EcsAutoSnapshotPolicyAttachment resource.
func (EcsAutoSnapshotPolicyAttachmentArgs) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentArgs) ElementType() reflect.Type
type EcsAutoSnapshotPolicyAttachmentArray ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentArray []EcsAutoSnapshotPolicyAttachmentInput
func (EcsAutoSnapshotPolicyAttachmentArray) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentArray) ElementType() reflect.Type
func (EcsAutoSnapshotPolicyAttachmentArray) ToEcsAutoSnapshotPolicyAttachmentArrayOutput ¶ added in v3.1.0
func (i EcsAutoSnapshotPolicyAttachmentArray) ToEcsAutoSnapshotPolicyAttachmentArrayOutput() EcsAutoSnapshotPolicyAttachmentArrayOutput
func (EcsAutoSnapshotPolicyAttachmentArray) ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext ¶ added in v3.1.0
func (i EcsAutoSnapshotPolicyAttachmentArray) ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentArrayOutput
type EcsAutoSnapshotPolicyAttachmentArrayInput ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentArrayInput interface { pulumi.Input ToEcsAutoSnapshotPolicyAttachmentArrayOutput() EcsAutoSnapshotPolicyAttachmentArrayOutput ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext(context.Context) EcsAutoSnapshotPolicyAttachmentArrayOutput }
EcsAutoSnapshotPolicyAttachmentArrayInput is an input type that accepts EcsAutoSnapshotPolicyAttachmentArray and EcsAutoSnapshotPolicyAttachmentArrayOutput values. You can construct a concrete instance of `EcsAutoSnapshotPolicyAttachmentArrayInput` via:
EcsAutoSnapshotPolicyAttachmentArray{ EcsAutoSnapshotPolicyAttachmentArgs{...} }
type EcsAutoSnapshotPolicyAttachmentArrayOutput ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (EcsAutoSnapshotPolicyAttachmentArrayOutput) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentArrayOutput) ElementType() reflect.Type
func (EcsAutoSnapshotPolicyAttachmentArrayOutput) ToEcsAutoSnapshotPolicyAttachmentArrayOutput ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentArrayOutput) ToEcsAutoSnapshotPolicyAttachmentArrayOutput() EcsAutoSnapshotPolicyAttachmentArrayOutput
func (EcsAutoSnapshotPolicyAttachmentArrayOutput) ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentArrayOutput) ToEcsAutoSnapshotPolicyAttachmentArrayOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentArrayOutput
type EcsAutoSnapshotPolicyAttachmentInput ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentInput interface { pulumi.Input ToEcsAutoSnapshotPolicyAttachmentOutput() EcsAutoSnapshotPolicyAttachmentOutput ToEcsAutoSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentOutput }
type EcsAutoSnapshotPolicyAttachmentMap ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentMap map[string]EcsAutoSnapshotPolicyAttachmentInput
func (EcsAutoSnapshotPolicyAttachmentMap) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentMap) ElementType() reflect.Type
func (EcsAutoSnapshotPolicyAttachmentMap) ToEcsAutoSnapshotPolicyAttachmentMapOutput ¶ added in v3.1.0
func (i EcsAutoSnapshotPolicyAttachmentMap) ToEcsAutoSnapshotPolicyAttachmentMapOutput() EcsAutoSnapshotPolicyAttachmentMapOutput
func (EcsAutoSnapshotPolicyAttachmentMap) ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext ¶ added in v3.1.0
func (i EcsAutoSnapshotPolicyAttachmentMap) ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentMapOutput
type EcsAutoSnapshotPolicyAttachmentMapInput ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentMapInput interface { pulumi.Input ToEcsAutoSnapshotPolicyAttachmentMapOutput() EcsAutoSnapshotPolicyAttachmentMapOutput ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext(context.Context) EcsAutoSnapshotPolicyAttachmentMapOutput }
EcsAutoSnapshotPolicyAttachmentMapInput is an input type that accepts EcsAutoSnapshotPolicyAttachmentMap and EcsAutoSnapshotPolicyAttachmentMapOutput values. You can construct a concrete instance of `EcsAutoSnapshotPolicyAttachmentMapInput` via:
EcsAutoSnapshotPolicyAttachmentMap{ "key": EcsAutoSnapshotPolicyAttachmentArgs{...} }
type EcsAutoSnapshotPolicyAttachmentMapOutput ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (EcsAutoSnapshotPolicyAttachmentMapOutput) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentMapOutput) ElementType() reflect.Type
func (EcsAutoSnapshotPolicyAttachmentMapOutput) MapIndex ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsAutoSnapshotPolicyAttachmentOutput
func (EcsAutoSnapshotPolicyAttachmentMapOutput) ToEcsAutoSnapshotPolicyAttachmentMapOutput ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentMapOutput) ToEcsAutoSnapshotPolicyAttachmentMapOutput() EcsAutoSnapshotPolicyAttachmentMapOutput
func (EcsAutoSnapshotPolicyAttachmentMapOutput) ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentMapOutput) ToEcsAutoSnapshotPolicyAttachmentMapOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentMapOutput
type EcsAutoSnapshotPolicyAttachmentOutput ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentOutput struct{ *pulumi.OutputState }
func (EcsAutoSnapshotPolicyAttachmentOutput) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentOutput) ElementType() reflect.Type
func (EcsAutoSnapshotPolicyAttachmentOutput) ToEcsAutoSnapshotPolicyAttachmentOutput ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentOutput) ToEcsAutoSnapshotPolicyAttachmentOutput() EcsAutoSnapshotPolicyAttachmentOutput
func (EcsAutoSnapshotPolicyAttachmentOutput) ToEcsAutoSnapshotPolicyAttachmentOutputWithContext ¶ added in v3.1.0
func (o EcsAutoSnapshotPolicyAttachmentOutput) ToEcsAutoSnapshotPolicyAttachmentOutputWithContext(ctx context.Context) EcsAutoSnapshotPolicyAttachmentOutput
type EcsAutoSnapshotPolicyAttachmentState ¶ added in v3.1.0
type EcsAutoSnapshotPolicyAttachmentState struct { // The auto snapshot policy id. AutoSnapshotPolicyId pulumi.StringPtrInput // The disk id. DiskId pulumi.StringPtrInput }
func (EcsAutoSnapshotPolicyAttachmentState) ElementType ¶ added in v3.1.0
func (EcsAutoSnapshotPolicyAttachmentState) ElementType() reflect.Type
type EcsDedicatedHostCluster ¶ added in v3.11.0
type EcsDedicatedHostCluster struct { pulumi.CustomResourceState // The name of the dedicated host cluster. The name must be `2` to `128` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. It cannot contain `http://` or `https://`. DedicatedHostClusterName pulumi.StringPtrOutput `pulumi:"dedicatedHostClusterName"` // The description of the dedicated host cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. Description pulumi.StringPtrOutput `pulumi:"description"` // The dry run. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The ID of the zone in which to create the dedicated host cluster. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a ECS Dedicated Host Cluster resource.
For information about ECS Dedicated Host Cluster and how to use it, see [What is Dedicated Host Cluster](https://www.alibabacloud.com/help/en/doc-detail/184667.html).
> **NOTE:** Available in v1.146.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleZones, err := alicloud.GetZones(ctx, nil, nil) if err != nil { return err } _, err = ecs.NewEcsDedicatedHostCluster(ctx, "exampleEcsDedicatedHostCluster", &ecs.EcsDedicatedHostClusterArgs{ DedicatedHostClusterName: pulumi.String("example_value"), Description: pulumi.String("example_value"), ZoneId: pulumi.String(exampleZones.Zones[0].Id), Tags: pulumi.AnyMap{ "Create": pulumi.Any("TF"), "For": pulumi.Any("DDH_Cluster_Test"), }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Dedicated Host Cluster can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsDedicatedHostCluster:EcsDedicatedHostCluster example <id>
```
func GetEcsDedicatedHostCluster ¶ added in v3.11.0
func GetEcsDedicatedHostCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsDedicatedHostClusterState, opts ...pulumi.ResourceOption) (*EcsDedicatedHostCluster, error)
GetEcsDedicatedHostCluster gets an existing EcsDedicatedHostCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsDedicatedHostCluster ¶ added in v3.11.0
func NewEcsDedicatedHostCluster(ctx *pulumi.Context, name string, args *EcsDedicatedHostClusterArgs, opts ...pulumi.ResourceOption) (*EcsDedicatedHostCluster, error)
NewEcsDedicatedHostCluster registers a new resource with the given unique name, arguments, and options.
func (*EcsDedicatedHostCluster) ElementType ¶ added in v3.11.0
func (*EcsDedicatedHostCluster) ElementType() reflect.Type
func (*EcsDedicatedHostCluster) ToEcsDedicatedHostClusterOutput ¶ added in v3.11.0
func (i *EcsDedicatedHostCluster) ToEcsDedicatedHostClusterOutput() EcsDedicatedHostClusterOutput
func (*EcsDedicatedHostCluster) ToEcsDedicatedHostClusterOutputWithContext ¶ added in v3.11.0
func (i *EcsDedicatedHostCluster) ToEcsDedicatedHostClusterOutputWithContext(ctx context.Context) EcsDedicatedHostClusterOutput
type EcsDedicatedHostClusterArgs ¶ added in v3.11.0
type EcsDedicatedHostClusterArgs struct { // The name of the dedicated host cluster. The name must be `2` to `128` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. It cannot contain `http://` or `https://`. DedicatedHostClusterName pulumi.StringPtrInput // The description of the dedicated host cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The dry run. DryRun pulumi.BoolPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The ID of the zone in which to create the dedicated host cluster. ZoneId pulumi.StringInput }
The set of arguments for constructing a EcsDedicatedHostCluster resource.
func (EcsDedicatedHostClusterArgs) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterArgs) ElementType() reflect.Type
type EcsDedicatedHostClusterArray ¶ added in v3.11.0
type EcsDedicatedHostClusterArray []EcsDedicatedHostClusterInput
func (EcsDedicatedHostClusterArray) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterArray) ElementType() reflect.Type
func (EcsDedicatedHostClusterArray) ToEcsDedicatedHostClusterArrayOutput ¶ added in v3.11.0
func (i EcsDedicatedHostClusterArray) ToEcsDedicatedHostClusterArrayOutput() EcsDedicatedHostClusterArrayOutput
func (EcsDedicatedHostClusterArray) ToEcsDedicatedHostClusterArrayOutputWithContext ¶ added in v3.11.0
func (i EcsDedicatedHostClusterArray) ToEcsDedicatedHostClusterArrayOutputWithContext(ctx context.Context) EcsDedicatedHostClusterArrayOutput
type EcsDedicatedHostClusterArrayInput ¶ added in v3.11.0
type EcsDedicatedHostClusterArrayInput interface { pulumi.Input ToEcsDedicatedHostClusterArrayOutput() EcsDedicatedHostClusterArrayOutput ToEcsDedicatedHostClusterArrayOutputWithContext(context.Context) EcsDedicatedHostClusterArrayOutput }
EcsDedicatedHostClusterArrayInput is an input type that accepts EcsDedicatedHostClusterArray and EcsDedicatedHostClusterArrayOutput values. You can construct a concrete instance of `EcsDedicatedHostClusterArrayInput` via:
EcsDedicatedHostClusterArray{ EcsDedicatedHostClusterArgs{...} }
type EcsDedicatedHostClusterArrayOutput ¶ added in v3.11.0
type EcsDedicatedHostClusterArrayOutput struct{ *pulumi.OutputState }
func (EcsDedicatedHostClusterArrayOutput) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterArrayOutput) ElementType() reflect.Type
func (EcsDedicatedHostClusterArrayOutput) Index ¶ added in v3.11.0
func (o EcsDedicatedHostClusterArrayOutput) Index(i pulumi.IntInput) EcsDedicatedHostClusterOutput
func (EcsDedicatedHostClusterArrayOutput) ToEcsDedicatedHostClusterArrayOutput ¶ added in v3.11.0
func (o EcsDedicatedHostClusterArrayOutput) ToEcsDedicatedHostClusterArrayOutput() EcsDedicatedHostClusterArrayOutput
func (EcsDedicatedHostClusterArrayOutput) ToEcsDedicatedHostClusterArrayOutputWithContext ¶ added in v3.11.0
func (o EcsDedicatedHostClusterArrayOutput) ToEcsDedicatedHostClusterArrayOutputWithContext(ctx context.Context) EcsDedicatedHostClusterArrayOutput
type EcsDedicatedHostClusterInput ¶ added in v3.11.0
type EcsDedicatedHostClusterInput interface { pulumi.Input ToEcsDedicatedHostClusterOutput() EcsDedicatedHostClusterOutput ToEcsDedicatedHostClusterOutputWithContext(ctx context.Context) EcsDedicatedHostClusterOutput }
type EcsDedicatedHostClusterMap ¶ added in v3.11.0
type EcsDedicatedHostClusterMap map[string]EcsDedicatedHostClusterInput
func (EcsDedicatedHostClusterMap) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterMap) ElementType() reflect.Type
func (EcsDedicatedHostClusterMap) ToEcsDedicatedHostClusterMapOutput ¶ added in v3.11.0
func (i EcsDedicatedHostClusterMap) ToEcsDedicatedHostClusterMapOutput() EcsDedicatedHostClusterMapOutput
func (EcsDedicatedHostClusterMap) ToEcsDedicatedHostClusterMapOutputWithContext ¶ added in v3.11.0
func (i EcsDedicatedHostClusterMap) ToEcsDedicatedHostClusterMapOutputWithContext(ctx context.Context) EcsDedicatedHostClusterMapOutput
type EcsDedicatedHostClusterMapInput ¶ added in v3.11.0
type EcsDedicatedHostClusterMapInput interface { pulumi.Input ToEcsDedicatedHostClusterMapOutput() EcsDedicatedHostClusterMapOutput ToEcsDedicatedHostClusterMapOutputWithContext(context.Context) EcsDedicatedHostClusterMapOutput }
EcsDedicatedHostClusterMapInput is an input type that accepts EcsDedicatedHostClusterMap and EcsDedicatedHostClusterMapOutput values. You can construct a concrete instance of `EcsDedicatedHostClusterMapInput` via:
EcsDedicatedHostClusterMap{ "key": EcsDedicatedHostClusterArgs{...} }
type EcsDedicatedHostClusterMapOutput ¶ added in v3.11.0
type EcsDedicatedHostClusterMapOutput struct{ *pulumi.OutputState }
func (EcsDedicatedHostClusterMapOutput) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterMapOutput) ElementType() reflect.Type
func (EcsDedicatedHostClusterMapOutput) MapIndex ¶ added in v3.11.0
func (o EcsDedicatedHostClusterMapOutput) MapIndex(k pulumi.StringInput) EcsDedicatedHostClusterOutput
func (EcsDedicatedHostClusterMapOutput) ToEcsDedicatedHostClusterMapOutput ¶ added in v3.11.0
func (o EcsDedicatedHostClusterMapOutput) ToEcsDedicatedHostClusterMapOutput() EcsDedicatedHostClusterMapOutput
func (EcsDedicatedHostClusterMapOutput) ToEcsDedicatedHostClusterMapOutputWithContext ¶ added in v3.11.0
func (o EcsDedicatedHostClusterMapOutput) ToEcsDedicatedHostClusterMapOutputWithContext(ctx context.Context) EcsDedicatedHostClusterMapOutput
type EcsDedicatedHostClusterOutput ¶ added in v3.11.0
type EcsDedicatedHostClusterOutput struct{ *pulumi.OutputState }
func (EcsDedicatedHostClusterOutput) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterOutput) ElementType() reflect.Type
func (EcsDedicatedHostClusterOutput) ToEcsDedicatedHostClusterOutput ¶ added in v3.11.0
func (o EcsDedicatedHostClusterOutput) ToEcsDedicatedHostClusterOutput() EcsDedicatedHostClusterOutput
func (EcsDedicatedHostClusterOutput) ToEcsDedicatedHostClusterOutputWithContext ¶ added in v3.11.0
func (o EcsDedicatedHostClusterOutput) ToEcsDedicatedHostClusterOutputWithContext(ctx context.Context) EcsDedicatedHostClusterOutput
type EcsDedicatedHostClusterState ¶ added in v3.11.0
type EcsDedicatedHostClusterState struct { // The name of the dedicated host cluster. The name must be `2` to `128` characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. It cannot contain `http://` or `https://`. DedicatedHostClusterName pulumi.StringPtrInput // The description of the dedicated host cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The dry run. DryRun pulumi.BoolPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The ID of the zone in which to create the dedicated host cluster. ZoneId pulumi.StringPtrInput }
func (EcsDedicatedHostClusterState) ElementType ¶ added in v3.11.0
func (EcsDedicatedHostClusterState) ElementType() reflect.Type
type EcsDeploymentSet ¶ added in v3.9.0
type EcsDeploymentSet struct { pulumi.CustomResourceState // The name of the deployment set. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with `http://` or `https://`. DeploymentSetName pulumi.StringPtrOutput `pulumi:"deploymentSetName"` // The description of the deployment set. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrOutput `pulumi:"description"` // The deployment domain. Valid values: `Default`. Domain pulumi.StringPtrOutput `pulumi:"domain"` // The deployment granularity. Valid values: `Host`. Granularity pulumi.StringPtrOutput `pulumi:"granularity"` // The on unable to redeploy failed instance. Valid values: `CancelMembershipAndStart`, `KeepStopped`. OnUnableToRedeployFailedInstance pulumi.StringPtrOutput `pulumi:"onUnableToRedeployFailedInstance"` // The deployment strategy. Valid values: `Availability`. Strategy pulumi.StringPtrOutput `pulumi:"strategy"` }
Provides a ECS Deployment Set resource.
For information about ECS Deployment Set and how to use it, see [What is Deployment Set](https://www.alibabacloud.com/help/en/doc-detail/91269.htm).
> **NOTE:** Available in v1.140.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsDeploymentSet(ctx, "default", &ecs.EcsDeploymentSetArgs{ DeploymentSetName: pulumi.String("example_value"), Description: pulumi.String("example_value"), Domain: pulumi.String("Default"), Granularity: pulumi.String("Host"), Strategy: pulumi.String("Availability"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Deployment Set can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsDeploymentSet:EcsDeploymentSet example <id>
```
func GetEcsDeploymentSet ¶ added in v3.9.0
func GetEcsDeploymentSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsDeploymentSetState, opts ...pulumi.ResourceOption) (*EcsDeploymentSet, error)
GetEcsDeploymentSet gets an existing EcsDeploymentSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsDeploymentSet ¶ added in v3.9.0
func NewEcsDeploymentSet(ctx *pulumi.Context, name string, args *EcsDeploymentSetArgs, opts ...pulumi.ResourceOption) (*EcsDeploymentSet, error)
NewEcsDeploymentSet registers a new resource with the given unique name, arguments, and options.
func (*EcsDeploymentSet) ElementType ¶ added in v3.9.0
func (*EcsDeploymentSet) ElementType() reflect.Type
func (*EcsDeploymentSet) ToEcsDeploymentSetOutput ¶ added in v3.9.0
func (i *EcsDeploymentSet) ToEcsDeploymentSetOutput() EcsDeploymentSetOutput
func (*EcsDeploymentSet) ToEcsDeploymentSetOutputWithContext ¶ added in v3.9.0
func (i *EcsDeploymentSet) ToEcsDeploymentSetOutputWithContext(ctx context.Context) EcsDeploymentSetOutput
type EcsDeploymentSetArgs ¶ added in v3.9.0
type EcsDeploymentSetArgs struct { // The name of the deployment set. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with `http://` or `https://`. DeploymentSetName pulumi.StringPtrInput // The description of the deployment set. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The deployment domain. Valid values: `Default`. Domain pulumi.StringPtrInput // The deployment granularity. Valid values: `Host`. Granularity pulumi.StringPtrInput // The on unable to redeploy failed instance. Valid values: `CancelMembershipAndStart`, `KeepStopped`. OnUnableToRedeployFailedInstance pulumi.StringPtrInput // The deployment strategy. Valid values: `Availability`. Strategy pulumi.StringPtrInput }
The set of arguments for constructing a EcsDeploymentSet resource.
func (EcsDeploymentSetArgs) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetArgs) ElementType() reflect.Type
type EcsDeploymentSetArray ¶ added in v3.9.0
type EcsDeploymentSetArray []EcsDeploymentSetInput
func (EcsDeploymentSetArray) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetArray) ElementType() reflect.Type
func (EcsDeploymentSetArray) ToEcsDeploymentSetArrayOutput ¶ added in v3.9.0
func (i EcsDeploymentSetArray) ToEcsDeploymentSetArrayOutput() EcsDeploymentSetArrayOutput
func (EcsDeploymentSetArray) ToEcsDeploymentSetArrayOutputWithContext ¶ added in v3.9.0
func (i EcsDeploymentSetArray) ToEcsDeploymentSetArrayOutputWithContext(ctx context.Context) EcsDeploymentSetArrayOutput
type EcsDeploymentSetArrayInput ¶ added in v3.9.0
type EcsDeploymentSetArrayInput interface { pulumi.Input ToEcsDeploymentSetArrayOutput() EcsDeploymentSetArrayOutput ToEcsDeploymentSetArrayOutputWithContext(context.Context) EcsDeploymentSetArrayOutput }
EcsDeploymentSetArrayInput is an input type that accepts EcsDeploymentSetArray and EcsDeploymentSetArrayOutput values. You can construct a concrete instance of `EcsDeploymentSetArrayInput` via:
EcsDeploymentSetArray{ EcsDeploymentSetArgs{...} }
type EcsDeploymentSetArrayOutput ¶ added in v3.9.0
type EcsDeploymentSetArrayOutput struct{ *pulumi.OutputState }
func (EcsDeploymentSetArrayOutput) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetArrayOutput) ElementType() reflect.Type
func (EcsDeploymentSetArrayOutput) Index ¶ added in v3.9.0
func (o EcsDeploymentSetArrayOutput) Index(i pulumi.IntInput) EcsDeploymentSetOutput
func (EcsDeploymentSetArrayOutput) ToEcsDeploymentSetArrayOutput ¶ added in v3.9.0
func (o EcsDeploymentSetArrayOutput) ToEcsDeploymentSetArrayOutput() EcsDeploymentSetArrayOutput
func (EcsDeploymentSetArrayOutput) ToEcsDeploymentSetArrayOutputWithContext ¶ added in v3.9.0
func (o EcsDeploymentSetArrayOutput) ToEcsDeploymentSetArrayOutputWithContext(ctx context.Context) EcsDeploymentSetArrayOutput
type EcsDeploymentSetInput ¶ added in v3.9.0
type EcsDeploymentSetInput interface { pulumi.Input ToEcsDeploymentSetOutput() EcsDeploymentSetOutput ToEcsDeploymentSetOutputWithContext(ctx context.Context) EcsDeploymentSetOutput }
type EcsDeploymentSetMap ¶ added in v3.9.0
type EcsDeploymentSetMap map[string]EcsDeploymentSetInput
func (EcsDeploymentSetMap) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetMap) ElementType() reflect.Type
func (EcsDeploymentSetMap) ToEcsDeploymentSetMapOutput ¶ added in v3.9.0
func (i EcsDeploymentSetMap) ToEcsDeploymentSetMapOutput() EcsDeploymentSetMapOutput
func (EcsDeploymentSetMap) ToEcsDeploymentSetMapOutputWithContext ¶ added in v3.9.0
func (i EcsDeploymentSetMap) ToEcsDeploymentSetMapOutputWithContext(ctx context.Context) EcsDeploymentSetMapOutput
type EcsDeploymentSetMapInput ¶ added in v3.9.0
type EcsDeploymentSetMapInput interface { pulumi.Input ToEcsDeploymentSetMapOutput() EcsDeploymentSetMapOutput ToEcsDeploymentSetMapOutputWithContext(context.Context) EcsDeploymentSetMapOutput }
EcsDeploymentSetMapInput is an input type that accepts EcsDeploymentSetMap and EcsDeploymentSetMapOutput values. You can construct a concrete instance of `EcsDeploymentSetMapInput` via:
EcsDeploymentSetMap{ "key": EcsDeploymentSetArgs{...} }
type EcsDeploymentSetMapOutput ¶ added in v3.9.0
type EcsDeploymentSetMapOutput struct{ *pulumi.OutputState }
func (EcsDeploymentSetMapOutput) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetMapOutput) ElementType() reflect.Type
func (EcsDeploymentSetMapOutput) MapIndex ¶ added in v3.9.0
func (o EcsDeploymentSetMapOutput) MapIndex(k pulumi.StringInput) EcsDeploymentSetOutput
func (EcsDeploymentSetMapOutput) ToEcsDeploymentSetMapOutput ¶ added in v3.9.0
func (o EcsDeploymentSetMapOutput) ToEcsDeploymentSetMapOutput() EcsDeploymentSetMapOutput
func (EcsDeploymentSetMapOutput) ToEcsDeploymentSetMapOutputWithContext ¶ added in v3.9.0
func (o EcsDeploymentSetMapOutput) ToEcsDeploymentSetMapOutputWithContext(ctx context.Context) EcsDeploymentSetMapOutput
type EcsDeploymentSetOutput ¶ added in v3.9.0
type EcsDeploymentSetOutput struct{ *pulumi.OutputState }
func (EcsDeploymentSetOutput) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetOutput) ElementType() reflect.Type
func (EcsDeploymentSetOutput) ToEcsDeploymentSetOutput ¶ added in v3.9.0
func (o EcsDeploymentSetOutput) ToEcsDeploymentSetOutput() EcsDeploymentSetOutput
func (EcsDeploymentSetOutput) ToEcsDeploymentSetOutputWithContext ¶ added in v3.9.0
func (o EcsDeploymentSetOutput) ToEcsDeploymentSetOutputWithContext(ctx context.Context) EcsDeploymentSetOutput
type EcsDeploymentSetState ¶ added in v3.9.0
type EcsDeploymentSetState struct { // The name of the deployment set. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with `http://` or `https://`. DeploymentSetName pulumi.StringPtrInput // The description of the deployment set. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The deployment domain. Valid values: `Default`. Domain pulumi.StringPtrInput // The deployment granularity. Valid values: `Host`. Granularity pulumi.StringPtrInput // The on unable to redeploy failed instance. Valid values: `CancelMembershipAndStart`, `KeepStopped`. OnUnableToRedeployFailedInstance pulumi.StringPtrInput // The deployment strategy. Valid values: `Availability`. Strategy pulumi.StringPtrInput }
func (EcsDeploymentSetState) ElementType ¶ added in v3.9.0
func (EcsDeploymentSetState) ElementType() reflect.Type
type EcsDisk ¶ added in v3.1.0
type EcsDisk struct { pulumi.CustomResourceState AdvancedFeatures pulumi.StringPtrOutput `pulumi:"advancedFeatures"` // Field `availabilityZone` has been deprecated from provider version 1.122.0. New field `zoneId` instead. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Category of the disk. Valid values are `cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`. Default is `cloudEfficiency`. Category pulumi.StringPtrOutput `pulumi:"category"` DedicatedBlockStorageClusterId pulumi.StringPtrOutput `pulumi:"dedicatedBlockStorageClusterId"` // Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`. DeleteAutoSnapshot pulumi.BoolPtrOutput `pulumi:"deleteAutoSnapshot"` // Indicates whether the disk is released together with the instance. Default value: `false`. DeleteWithInstance pulumi.BoolPtrOutput `pulumi:"deleteWithInstance"` // Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrOutput `pulumi:"description"` // Name of the ECS disk. 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://`. Default value is `null`. DiskName pulumi.StringOutput `pulumi:"diskName"` // Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values: // * `true`: The validity of the request is checked but the request is not made. Check items include the required parameters, request format, service limits, and available ECS resources. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked. If the check succeeds, a 2xx HTTP status code is returned and the request is made. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // Indicates whether to enable creating snapshot automatically. Default value: `false`. EnableAutoSnapshot pulumi.BoolPtrOutput `pulumi:"enableAutoSnapshot"` EncryptAlgorithm pulumi.StringPtrOutput `pulumi:"encryptAlgorithm"` // If true, the disk will be encrypted, conflict with `snapshotId`. Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"` // The ID of the instance to which the created subscription disk is automatically attached. // * After you specify the instance ID, the specified `resourceGroupId`, `tags`, and `kmsKeyId` parameters are ignored. // * One of the `zoneId` and `instanceId` must be set but can not be set at the same time. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // Field `name` has been deprecated from provider version 1.122.0. New field `diskName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead. Name pulumi.StringOutput `pulumi:"name"` // Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instanceId` is required. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // Specifies the performance level of an ESSD when you create the ESSD. Valid values: // * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS. // * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS. // * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS. PerformanceLevel pulumi.StringOutput `pulumi:"performanceLevel"` // The Id of resource group which the disk belongs. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`. Size pulumi.IntPtrOutput `pulumi:"size"` // A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`. SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"` // The disk status. Status pulumi.StringOutput `pulumi:"status"` // The ID of the storage set. StorageSetId pulumi.StringPtrOutput `pulumi:"storageSetId"` // The number of partitions in the storage set. StorageSetPartitionNumber pulumi.IntPtrOutput `pulumi:"storageSetPartitionNumber"` Tags pulumi.MapOutput `pulumi:"tags"` // The type to expand cloud disks. Valid Values: `online`, `offline`. Default to `offline`. // * `offline`: After you resize a disk offline, you must restart the instance by using the console or by calling the RebootInstance operation for the resizing operation to take effect. For more information, see Restart the instance and RebootInstance. // * `online`: After you resize a disk online, the resizing operation takes effect immediately and you do not need to restart the instance. You can resize ultra disks, standard SSDs, and ESSDs online. Type pulumi.StringPtrOutput `pulumi:"type"` // ID of the free zone to which the disk belongs. One of the `zoneId` and `instanceId` must be set but can not be set at the same time. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a ECS Disk resource.
For information about ECS Disk and how to use it, see [What is Disk](https://www.alibabacloud.com/help/en/doc-detail/25513.htm).
> **NOTE:** Available in v1.122.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsDisk(ctx, "example", &ecs.EcsDiskArgs{ Category: pulumi.String("cloud_efficiency"), Description: pulumi.String("Hello ecs disk."), DiskName: pulumi.String("tf-test"), Encrypted: pulumi.Bool(true), KmsKeyId: pulumi.String("2a6767f0-a16c-4679-a60f-13bf*****"), Size: pulumi.Int(30), Tags: pulumi.AnyMap{ "Name": pulumi.Any("TerraformTest"), }, ZoneId: pulumi.String("cn-beijing-b"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Disk can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsDisk:EcsDisk example d-abcd12345
```
func GetEcsDisk ¶ added in v3.1.0
func GetEcsDisk(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsDiskState, opts ...pulumi.ResourceOption) (*EcsDisk, error)
GetEcsDisk gets an existing EcsDisk resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsDisk ¶ added in v3.1.0
func NewEcsDisk(ctx *pulumi.Context, name string, args *EcsDiskArgs, opts ...pulumi.ResourceOption) (*EcsDisk, error)
NewEcsDisk registers a new resource with the given unique name, arguments, and options.
func (*EcsDisk) ElementType ¶ added in v3.1.0
func (*EcsDisk) ToEcsDiskOutput ¶ added in v3.1.0
func (i *EcsDisk) ToEcsDiskOutput() EcsDiskOutput
func (*EcsDisk) ToEcsDiskOutputWithContext ¶ added in v3.1.0
func (i *EcsDisk) ToEcsDiskOutputWithContext(ctx context.Context) EcsDiskOutput
type EcsDiskArgs ¶ added in v3.1.0
type EcsDiskArgs struct { AdvancedFeatures pulumi.StringPtrInput // Field `availabilityZone` has been deprecated from provider version 1.122.0. New field `zoneId` instead. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringPtrInput // Category of the disk. Valid values are `cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`. Default is `cloudEfficiency`. Category pulumi.StringPtrInput DedicatedBlockStorageClusterId pulumi.StringPtrInput // Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`. DeleteAutoSnapshot pulumi.BoolPtrInput // Indicates whether the disk is released together with the instance. Default value: `false`. DeleteWithInstance pulumi.BoolPtrInput // Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput // Name of the ECS disk. 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://`. Default value is `null`. DiskName pulumi.StringPtrInput // Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values: // * `true`: The validity of the request is checked but the request is not made. Check items include the required parameters, request format, service limits, and available ECS resources. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked. If the check succeeds, a 2xx HTTP status code is returned and the request is made. DryRun pulumi.BoolPtrInput // Indicates whether to enable creating snapshot automatically. Default value: `false`. EnableAutoSnapshot pulumi.BoolPtrInput EncryptAlgorithm pulumi.StringPtrInput // If true, the disk will be encrypted, conflict with `snapshotId`. Encrypted pulumi.BoolPtrInput // The ID of the instance to which the created subscription disk is automatically attached. // * After you specify the instance ID, the specified `resourceGroupId`, `tags`, and `kmsKeyId` parameters are ignored. // * One of the `zoneId` and `instanceId` must be set but can not be set at the same time. InstanceId pulumi.StringPtrInput // The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty. KmsKeyId pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.122.0. New field `diskName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead. Name pulumi.StringPtrInput // Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instanceId` is required. PaymentType pulumi.StringPtrInput // Specifies the performance level of an ESSD when you create the ESSD. Valid values: // * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS. // * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS. // * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS. PerformanceLevel pulumi.StringPtrInput // The Id of resource group which the disk belongs. ResourceGroupId pulumi.StringPtrInput // The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`. Size pulumi.IntPtrInput // A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`. SnapshotId pulumi.StringPtrInput // The ID of the storage set. StorageSetId pulumi.StringPtrInput // The number of partitions in the storage set. StorageSetPartitionNumber pulumi.IntPtrInput Tags pulumi.MapInput // The type to expand cloud disks. Valid Values: `online`, `offline`. Default to `offline`. // * `offline`: After you resize a disk offline, you must restart the instance by using the console or by calling the RebootInstance operation for the resizing operation to take effect. For more information, see Restart the instance and RebootInstance. // * `online`: After you resize a disk online, the resizing operation takes effect immediately and you do not need to restart the instance. You can resize ultra disks, standard SSDs, and ESSDs online. Type pulumi.StringPtrInput // ID of the free zone to which the disk belongs. One of the `zoneId` and `instanceId` must be set but can not be set at the same time. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a EcsDisk resource.
func (EcsDiskArgs) ElementType ¶ added in v3.1.0
func (EcsDiskArgs) ElementType() reflect.Type
type EcsDiskArray ¶ added in v3.1.0
type EcsDiskArray []EcsDiskInput
func (EcsDiskArray) ElementType ¶ added in v3.1.0
func (EcsDiskArray) ElementType() reflect.Type
func (EcsDiskArray) ToEcsDiskArrayOutput ¶ added in v3.1.0
func (i EcsDiskArray) ToEcsDiskArrayOutput() EcsDiskArrayOutput
func (EcsDiskArray) ToEcsDiskArrayOutputWithContext ¶ added in v3.1.0
func (i EcsDiskArray) ToEcsDiskArrayOutputWithContext(ctx context.Context) EcsDiskArrayOutput
type EcsDiskArrayInput ¶ added in v3.1.0
type EcsDiskArrayInput interface { pulumi.Input ToEcsDiskArrayOutput() EcsDiskArrayOutput ToEcsDiskArrayOutputWithContext(context.Context) EcsDiskArrayOutput }
EcsDiskArrayInput is an input type that accepts EcsDiskArray and EcsDiskArrayOutput values. You can construct a concrete instance of `EcsDiskArrayInput` via:
EcsDiskArray{ EcsDiskArgs{...} }
type EcsDiskArrayOutput ¶ added in v3.1.0
type EcsDiskArrayOutput struct{ *pulumi.OutputState }
func (EcsDiskArrayOutput) ElementType ¶ added in v3.1.0
func (EcsDiskArrayOutput) ElementType() reflect.Type
func (EcsDiskArrayOutput) Index ¶ added in v3.1.0
func (o EcsDiskArrayOutput) Index(i pulumi.IntInput) EcsDiskOutput
func (EcsDiskArrayOutput) ToEcsDiskArrayOutput ¶ added in v3.1.0
func (o EcsDiskArrayOutput) ToEcsDiskArrayOutput() EcsDiskArrayOutput
func (EcsDiskArrayOutput) ToEcsDiskArrayOutputWithContext ¶ added in v3.1.0
func (o EcsDiskArrayOutput) ToEcsDiskArrayOutputWithContext(ctx context.Context) EcsDiskArrayOutput
type EcsDiskAttachment ¶ added in v3.1.0
type EcsDiskAttachment struct { pulumi.CustomResourceState // Whether to mount as a system disk. Default to: `false`. Bootable pulumi.BoolPtrOutput `pulumi:"bootable"` // Indicates whether the disk is released together with the instance. Default to: `false`. DeleteWithInstance pulumi.BoolPtrOutput `pulumi:"deleteWithInstance"` Device pulumi.StringOutput `pulumi:"device"` // ID of the Disk to be attached. DiskId pulumi.StringOutput `pulumi:"diskId"` // ID of the Instance to attach to. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The name of key pair KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"` // When mounting the system disk, setting the user name and password of the instance is only effective for the administrator and root user names, and other user names are not effective. Password pulumi.StringPtrOutput `pulumi:"password"` }
Provides an Alicloud ECS Disk Attachment as a resource, to attach and detach disks from ECS Instances.
For information about ECS Disk Attachment and how to use it, see [What is Disk Attachment](https://www.alibabacloud.com/help/en/doc-detail/25515.htm).
> **NOTE:** Available in v1.122.0+.
## Example Usage
Basic usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ecsSg, err := ecs.NewSecurityGroup(ctx, "ecsSg", &ecs.SecurityGroupArgs{ Description: pulumi.String("New security group"), }) if err != nil { return err } ecsDisk, err := ecs.NewEcsDisk(ctx, "ecsDisk", &ecs.EcsDiskArgs{ AvailabilityZone: pulumi.String("cn-beijing-a"), Size: pulumi.Int(50), Tags: pulumi.AnyMap{ "Name": pulumi.Any("TerraformTest-disk"), }, }) if err != nil { return err } ecsInstance, err := ecs.NewInstance(ctx, "ecsInstance", &ecs.InstanceArgs{ ImageId: pulumi.String("ubuntu_18_04_64_20G_alibase_20190624.vhd"), InstanceType: pulumi.String("ecs.n4.small"), AvailabilityZone: pulumi.String("cn-beijing-a"), SecurityGroups: pulumi.StringArray{ ecsSg.ID(), }, InstanceName: pulumi.String("Hello"), InternetChargeType: pulumi.String("PayByBandwidth"), Tags: pulumi.StringMap{ "Name": pulumi.String("TerraformTest-instance"), }, }) if err != nil { return err } _, err = ecs.NewEcsDiskAttachment(ctx, "ecsDiskAtt", &ecs.EcsDiskAttachmentArgs{ DiskId: ecsDisk.ID(), InstanceId: ecsInstance.ID(), }) if err != nil { return err } return nil }) }
```
## Import
The disk attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsDiskAttachment:EcsDiskAttachment example d-abc12345678:i-abc12355
```
func GetEcsDiskAttachment ¶ added in v3.1.0
func GetEcsDiskAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsDiskAttachmentState, opts ...pulumi.ResourceOption) (*EcsDiskAttachment, error)
GetEcsDiskAttachment gets an existing EcsDiskAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsDiskAttachment ¶ added in v3.1.0
func NewEcsDiskAttachment(ctx *pulumi.Context, name string, args *EcsDiskAttachmentArgs, opts ...pulumi.ResourceOption) (*EcsDiskAttachment, error)
NewEcsDiskAttachment registers a new resource with the given unique name, arguments, and options.
func (*EcsDiskAttachment) ElementType ¶ added in v3.1.0
func (*EcsDiskAttachment) ElementType() reflect.Type
func (*EcsDiskAttachment) ToEcsDiskAttachmentOutput ¶ added in v3.1.0
func (i *EcsDiskAttachment) ToEcsDiskAttachmentOutput() EcsDiskAttachmentOutput
func (*EcsDiskAttachment) ToEcsDiskAttachmentOutputWithContext ¶ added in v3.1.0
func (i *EcsDiskAttachment) ToEcsDiskAttachmentOutputWithContext(ctx context.Context) EcsDiskAttachmentOutput
type EcsDiskAttachmentArgs ¶ added in v3.1.0
type EcsDiskAttachmentArgs struct { // Whether to mount as a system disk. Default to: `false`. Bootable pulumi.BoolPtrInput // Indicates whether the disk is released together with the instance. Default to: `false`. DeleteWithInstance pulumi.BoolPtrInput // ID of the Disk to be attached. DiskId pulumi.StringInput // ID of the Instance to attach to. InstanceId pulumi.StringInput // The name of key pair KeyPairName pulumi.StringPtrInput // When mounting the system disk, setting the user name and password of the instance is only effective for the administrator and root user names, and other user names are not effective. Password pulumi.StringPtrInput }
The set of arguments for constructing a EcsDiskAttachment resource.
func (EcsDiskAttachmentArgs) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentArgs) ElementType() reflect.Type
type EcsDiskAttachmentArray ¶ added in v3.1.0
type EcsDiskAttachmentArray []EcsDiskAttachmentInput
func (EcsDiskAttachmentArray) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentArray) ElementType() reflect.Type
func (EcsDiskAttachmentArray) ToEcsDiskAttachmentArrayOutput ¶ added in v3.1.0
func (i EcsDiskAttachmentArray) ToEcsDiskAttachmentArrayOutput() EcsDiskAttachmentArrayOutput
func (EcsDiskAttachmentArray) ToEcsDiskAttachmentArrayOutputWithContext ¶ added in v3.1.0
func (i EcsDiskAttachmentArray) ToEcsDiskAttachmentArrayOutputWithContext(ctx context.Context) EcsDiskAttachmentArrayOutput
type EcsDiskAttachmentArrayInput ¶ added in v3.1.0
type EcsDiskAttachmentArrayInput interface { pulumi.Input ToEcsDiskAttachmentArrayOutput() EcsDiskAttachmentArrayOutput ToEcsDiskAttachmentArrayOutputWithContext(context.Context) EcsDiskAttachmentArrayOutput }
EcsDiskAttachmentArrayInput is an input type that accepts EcsDiskAttachmentArray and EcsDiskAttachmentArrayOutput values. You can construct a concrete instance of `EcsDiskAttachmentArrayInput` via:
EcsDiskAttachmentArray{ EcsDiskAttachmentArgs{...} }
type EcsDiskAttachmentArrayOutput ¶ added in v3.1.0
type EcsDiskAttachmentArrayOutput struct{ *pulumi.OutputState }
func (EcsDiskAttachmentArrayOutput) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentArrayOutput) ElementType() reflect.Type
func (EcsDiskAttachmentArrayOutput) Index ¶ added in v3.1.0
func (o EcsDiskAttachmentArrayOutput) Index(i pulumi.IntInput) EcsDiskAttachmentOutput
func (EcsDiskAttachmentArrayOutput) ToEcsDiskAttachmentArrayOutput ¶ added in v3.1.0
func (o EcsDiskAttachmentArrayOutput) ToEcsDiskAttachmentArrayOutput() EcsDiskAttachmentArrayOutput
func (EcsDiskAttachmentArrayOutput) ToEcsDiskAttachmentArrayOutputWithContext ¶ added in v3.1.0
func (o EcsDiskAttachmentArrayOutput) ToEcsDiskAttachmentArrayOutputWithContext(ctx context.Context) EcsDiskAttachmentArrayOutput
type EcsDiskAttachmentInput ¶ added in v3.1.0
type EcsDiskAttachmentInput interface { pulumi.Input ToEcsDiskAttachmentOutput() EcsDiskAttachmentOutput ToEcsDiskAttachmentOutputWithContext(ctx context.Context) EcsDiskAttachmentOutput }
type EcsDiskAttachmentMap ¶ added in v3.1.0
type EcsDiskAttachmentMap map[string]EcsDiskAttachmentInput
func (EcsDiskAttachmentMap) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentMap) ElementType() reflect.Type
func (EcsDiskAttachmentMap) ToEcsDiskAttachmentMapOutput ¶ added in v3.1.0
func (i EcsDiskAttachmentMap) ToEcsDiskAttachmentMapOutput() EcsDiskAttachmentMapOutput
func (EcsDiskAttachmentMap) ToEcsDiskAttachmentMapOutputWithContext ¶ added in v3.1.0
func (i EcsDiskAttachmentMap) ToEcsDiskAttachmentMapOutputWithContext(ctx context.Context) EcsDiskAttachmentMapOutput
type EcsDiskAttachmentMapInput ¶ added in v3.1.0
type EcsDiskAttachmentMapInput interface { pulumi.Input ToEcsDiskAttachmentMapOutput() EcsDiskAttachmentMapOutput ToEcsDiskAttachmentMapOutputWithContext(context.Context) EcsDiskAttachmentMapOutput }
EcsDiskAttachmentMapInput is an input type that accepts EcsDiskAttachmentMap and EcsDiskAttachmentMapOutput values. You can construct a concrete instance of `EcsDiskAttachmentMapInput` via:
EcsDiskAttachmentMap{ "key": EcsDiskAttachmentArgs{...} }
type EcsDiskAttachmentMapOutput ¶ added in v3.1.0
type EcsDiskAttachmentMapOutput struct{ *pulumi.OutputState }
func (EcsDiskAttachmentMapOutput) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentMapOutput) ElementType() reflect.Type
func (EcsDiskAttachmentMapOutput) MapIndex ¶ added in v3.1.0
func (o EcsDiskAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsDiskAttachmentOutput
func (EcsDiskAttachmentMapOutput) ToEcsDiskAttachmentMapOutput ¶ added in v3.1.0
func (o EcsDiskAttachmentMapOutput) ToEcsDiskAttachmentMapOutput() EcsDiskAttachmentMapOutput
func (EcsDiskAttachmentMapOutput) ToEcsDiskAttachmentMapOutputWithContext ¶ added in v3.1.0
func (o EcsDiskAttachmentMapOutput) ToEcsDiskAttachmentMapOutputWithContext(ctx context.Context) EcsDiskAttachmentMapOutput
type EcsDiskAttachmentOutput ¶ added in v3.1.0
type EcsDiskAttachmentOutput struct{ *pulumi.OutputState }
func (EcsDiskAttachmentOutput) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentOutput) ElementType() reflect.Type
func (EcsDiskAttachmentOutput) ToEcsDiskAttachmentOutput ¶ added in v3.1.0
func (o EcsDiskAttachmentOutput) ToEcsDiskAttachmentOutput() EcsDiskAttachmentOutput
func (EcsDiskAttachmentOutput) ToEcsDiskAttachmentOutputWithContext ¶ added in v3.1.0
func (o EcsDiskAttachmentOutput) ToEcsDiskAttachmentOutputWithContext(ctx context.Context) EcsDiskAttachmentOutput
type EcsDiskAttachmentState ¶ added in v3.1.0
type EcsDiskAttachmentState struct { // Whether to mount as a system disk. Default to: `false`. Bootable pulumi.BoolPtrInput // Indicates whether the disk is released together with the instance. Default to: `false`. DeleteWithInstance pulumi.BoolPtrInput Device pulumi.StringPtrInput // ID of the Disk to be attached. DiskId pulumi.StringPtrInput // ID of the Instance to attach to. InstanceId pulumi.StringPtrInput // The name of key pair KeyPairName pulumi.StringPtrInput // When mounting the system disk, setting the user name and password of the instance is only effective for the administrator and root user names, and other user names are not effective. Password pulumi.StringPtrInput }
func (EcsDiskAttachmentState) ElementType ¶ added in v3.1.0
func (EcsDiskAttachmentState) ElementType() reflect.Type
type EcsDiskInput ¶ added in v3.1.0
type EcsDiskInput interface { pulumi.Input ToEcsDiskOutput() EcsDiskOutput ToEcsDiskOutputWithContext(ctx context.Context) EcsDiskOutput }
type EcsDiskMap ¶ added in v3.1.0
type EcsDiskMap map[string]EcsDiskInput
func (EcsDiskMap) ElementType ¶ added in v3.1.0
func (EcsDiskMap) ElementType() reflect.Type
func (EcsDiskMap) ToEcsDiskMapOutput ¶ added in v3.1.0
func (i EcsDiskMap) ToEcsDiskMapOutput() EcsDiskMapOutput
func (EcsDiskMap) ToEcsDiskMapOutputWithContext ¶ added in v3.1.0
func (i EcsDiskMap) ToEcsDiskMapOutputWithContext(ctx context.Context) EcsDiskMapOutput
type EcsDiskMapInput ¶ added in v3.1.0
type EcsDiskMapInput interface { pulumi.Input ToEcsDiskMapOutput() EcsDiskMapOutput ToEcsDiskMapOutputWithContext(context.Context) EcsDiskMapOutput }
EcsDiskMapInput is an input type that accepts EcsDiskMap and EcsDiskMapOutput values. You can construct a concrete instance of `EcsDiskMapInput` via:
EcsDiskMap{ "key": EcsDiskArgs{...} }
type EcsDiskMapOutput ¶ added in v3.1.0
type EcsDiskMapOutput struct{ *pulumi.OutputState }
func (EcsDiskMapOutput) ElementType ¶ added in v3.1.0
func (EcsDiskMapOutput) ElementType() reflect.Type
func (EcsDiskMapOutput) MapIndex ¶ added in v3.1.0
func (o EcsDiskMapOutput) MapIndex(k pulumi.StringInput) EcsDiskOutput
func (EcsDiskMapOutput) ToEcsDiskMapOutput ¶ added in v3.1.0
func (o EcsDiskMapOutput) ToEcsDiskMapOutput() EcsDiskMapOutput
func (EcsDiskMapOutput) ToEcsDiskMapOutputWithContext ¶ added in v3.1.0
func (o EcsDiskMapOutput) ToEcsDiskMapOutputWithContext(ctx context.Context) EcsDiskMapOutput
type EcsDiskOutput ¶ added in v3.1.0
type EcsDiskOutput struct{ *pulumi.OutputState }
func (EcsDiskOutput) ElementType ¶ added in v3.1.0
func (EcsDiskOutput) ElementType() reflect.Type
func (EcsDiskOutput) ToEcsDiskOutput ¶ added in v3.1.0
func (o EcsDiskOutput) ToEcsDiskOutput() EcsDiskOutput
func (EcsDiskOutput) ToEcsDiskOutputWithContext ¶ added in v3.1.0
func (o EcsDiskOutput) ToEcsDiskOutputWithContext(ctx context.Context) EcsDiskOutput
type EcsDiskState ¶ added in v3.1.0
type EcsDiskState struct { AdvancedFeatures pulumi.StringPtrInput // Field `availabilityZone` has been deprecated from provider version 1.122.0. New field `zoneId` instead. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringPtrInput // Category of the disk. Valid values are `cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`. Default is `cloudEfficiency`. Category pulumi.StringPtrInput DedicatedBlockStorageClusterId pulumi.StringPtrInput // Indicates whether the automatic snapshot is deleted when the disk is released. Default value: `false`. DeleteAutoSnapshot pulumi.BoolPtrInput // Indicates whether the disk is released together with the instance. Default value: `false`. DeleteWithInstance pulumi.BoolPtrInput // Description of the disk. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput // Name of the ECS disk. 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://`. Default value is `null`. DiskName pulumi.StringPtrInput // Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values: // * `true`: The validity of the request is checked but the request is not made. Check items include the required parameters, request format, service limits, and available ECS resources. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked. If the check succeeds, a 2xx HTTP status code is returned and the request is made. DryRun pulumi.BoolPtrInput // Indicates whether to enable creating snapshot automatically. Default value: `false`. EnableAutoSnapshot pulumi.BoolPtrInput EncryptAlgorithm pulumi.StringPtrInput // If true, the disk will be encrypted, conflict with `snapshotId`. Encrypted pulumi.BoolPtrInput // The ID of the instance to which the created subscription disk is automatically attached. // * After you specify the instance ID, the specified `resourceGroupId`, `tags`, and `kmsKeyId` parameters are ignored. // * One of the `zoneId` and `instanceId` must be set but can not be set at the same time. InstanceId pulumi.StringPtrInput // The ID of the KMS key corresponding to the data disk, The specified parameter `Encrypted` must be `true` when KmsKeyId is not empty. KmsKeyId pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.122.0. New field `diskName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.122.0. New field 'disk_name' instead. Name pulumi.StringPtrInput // Payment method for disk. Valid values: `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`. If you want to change the disk payment type, the `instanceId` is required. PaymentType pulumi.StringPtrInput // Specifies the performance level of an ESSD when you create the ESSD. Valid values: // * `PL1`: A single ESSD delivers up to 50,000 random read/write IOPS. // * `PL2`: A single ESSD delivers up to 100,000 random read/write IOPS. // * `PL3`: A single ESSD delivers up to 1,000,000 random read/write IOPS. PerformanceLevel pulumi.StringPtrInput // The Id of resource group which the disk belongs. ResourceGroupId pulumi.StringPtrInput // The size of the disk in GiBs. When resize the disk, the new size must be greater than the former value, or you would get an error `InvalidDiskSize.TooSmall`. Size pulumi.IntPtrInput // A snapshot to base the disk off of. If the disk size required by snapshot is greater than `size`, the `size` will be ignored, conflict with `encrypted`. SnapshotId pulumi.StringPtrInput // The disk status. Status pulumi.StringPtrInput // The ID of the storage set. StorageSetId pulumi.StringPtrInput // The number of partitions in the storage set. StorageSetPartitionNumber pulumi.IntPtrInput Tags pulumi.MapInput // The type to expand cloud disks. Valid Values: `online`, `offline`. Default to `offline`. // * `offline`: After you resize a disk offline, you must restart the instance by using the console or by calling the RebootInstance operation for the resizing operation to take effect. For more information, see Restart the instance and RebootInstance. // * `online`: After you resize a disk online, the resizing operation takes effect immediately and you do not need to restart the instance. You can resize ultra disks, standard SSDs, and ESSDs online. Type pulumi.StringPtrInput // ID of the free zone to which the disk belongs. One of the `zoneId` and `instanceId` must be set but can not be set at the same time. ZoneId pulumi.StringPtrInput }
func (EcsDiskState) ElementType ¶ added in v3.1.0
func (EcsDiskState) ElementType() reflect.Type
type EcsKeyPair ¶
type EcsKeyPair struct { pulumi.CustomResourceState FingerPrint pulumi.StringOutput `pulumi:"fingerPrint"` // The key file. KeyFile pulumi.StringPtrOutput `pulumi:"keyFile"` // Field `keyName` has been deprecated from provider version 1.121.0. New field `keyPairName` instead. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringOutput `pulumi:"keyName"` KeyNamePrefix pulumi.StringPtrOutput `pulumi:"keyNamePrefix"` // The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter. KeyPairName pulumi.StringOutput `pulumi:"keyPairName"` // You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resourceGroupId` is the key pair belongs. PublicKey pulumi.StringPtrOutput `pulumi:"publicKey"` // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a ECS Key Pair resource.
For information about ECS Key Pair and how to use it, see [What is Key Pair](https://www.alibabacloud.com/help/en/doc-detail/51771.htm).
> **NOTE:** Available in v1.121.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsKeyPair(ctx, "example", &ecs.EcsKeyPairArgs{ KeyPairName: pulumi.String("key_pair_name"), }) if err != nil { return err } _, err = ecs.NewEcsKeyPair(ctx, "prefix", &ecs.EcsKeyPairArgs{ KeyNamePrefix: pulumi.String("terraform-test-key-pair-prefix"), }) if err != nil { return err } _, err = ecs.NewEcsKeyPair(ctx, "publickey", &ecs.EcsKeyPairArgs{ KeyPairName: pulumi.String("my_public_key"), PublicKey: pulumi.String("ssh-rsa AAAAB3Nza12345678qwertyuudsfsg"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Key Pair can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <key_name>
```
func GetEcsKeyPair ¶
func GetEcsKeyPair(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsKeyPairState, opts ...pulumi.ResourceOption) (*EcsKeyPair, error)
GetEcsKeyPair gets an existing EcsKeyPair resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsKeyPair ¶
func NewEcsKeyPair(ctx *pulumi.Context, name string, args *EcsKeyPairArgs, opts ...pulumi.ResourceOption) (*EcsKeyPair, error)
NewEcsKeyPair registers a new resource with the given unique name, arguments, and options.
func (*EcsKeyPair) ElementType ¶
func (*EcsKeyPair) ElementType() reflect.Type
func (*EcsKeyPair) ToEcsKeyPairOutput ¶
func (i *EcsKeyPair) ToEcsKeyPairOutput() EcsKeyPairOutput
func (*EcsKeyPair) ToEcsKeyPairOutputWithContext ¶
func (i *EcsKeyPair) ToEcsKeyPairOutputWithContext(ctx context.Context) EcsKeyPairOutput
type EcsKeyPairArgs ¶
type EcsKeyPairArgs struct { // The key file. KeyFile pulumi.StringPtrInput // Field `keyName` has been deprecated from provider version 1.121.0. New field `keyPairName` instead. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput KeyNamePrefix pulumi.StringPtrInput // The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter. KeyPairName pulumi.StringPtrInput // You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resourceGroupId` is the key pair belongs. PublicKey pulumi.StringPtrInput // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a EcsKeyPair resource.
func (EcsKeyPairArgs) ElementType ¶
func (EcsKeyPairArgs) ElementType() reflect.Type
type EcsKeyPairArray ¶
type EcsKeyPairArray []EcsKeyPairInput
func (EcsKeyPairArray) ElementType ¶
func (EcsKeyPairArray) ElementType() reflect.Type
func (EcsKeyPairArray) ToEcsKeyPairArrayOutput ¶
func (i EcsKeyPairArray) ToEcsKeyPairArrayOutput() EcsKeyPairArrayOutput
func (EcsKeyPairArray) ToEcsKeyPairArrayOutputWithContext ¶
func (i EcsKeyPairArray) ToEcsKeyPairArrayOutputWithContext(ctx context.Context) EcsKeyPairArrayOutput
type EcsKeyPairArrayInput ¶
type EcsKeyPairArrayInput interface { pulumi.Input ToEcsKeyPairArrayOutput() EcsKeyPairArrayOutput ToEcsKeyPairArrayOutputWithContext(context.Context) EcsKeyPairArrayOutput }
EcsKeyPairArrayInput is an input type that accepts EcsKeyPairArray and EcsKeyPairArrayOutput values. You can construct a concrete instance of `EcsKeyPairArrayInput` via:
EcsKeyPairArray{ EcsKeyPairArgs{...} }
type EcsKeyPairArrayOutput ¶
type EcsKeyPairArrayOutput struct{ *pulumi.OutputState }
func (EcsKeyPairArrayOutput) ElementType ¶
func (EcsKeyPairArrayOutput) ElementType() reflect.Type
func (EcsKeyPairArrayOutput) Index ¶
func (o EcsKeyPairArrayOutput) Index(i pulumi.IntInput) EcsKeyPairOutput
func (EcsKeyPairArrayOutput) ToEcsKeyPairArrayOutput ¶
func (o EcsKeyPairArrayOutput) ToEcsKeyPairArrayOutput() EcsKeyPairArrayOutput
func (EcsKeyPairArrayOutput) ToEcsKeyPairArrayOutputWithContext ¶
func (o EcsKeyPairArrayOutput) ToEcsKeyPairArrayOutputWithContext(ctx context.Context) EcsKeyPairArrayOutput
type EcsKeyPairAttachment ¶
type EcsKeyPairAttachment struct { pulumi.CustomResourceState // Set it to true and it will reboot instances which attached with the key pair to make key pair affect immediately. Force pulumi.BoolPtrOutput `pulumi:"force"` // The list of ECS instance's IDs. InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"` // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringOutput `pulumi:"keyName"` // The name of key pair used to bind. KeyPairName pulumi.StringOutput `pulumi:"keyPairName"` }
Provides a ECS Key Pair Attachment resource.
For information about ECS Key Pair Attachment and how to use it, see [What is Key Pair Attachment](https://www.alibabacloud.com/help/en/doc-detail/51775.htm).
> **NOTE:** Available in v1.121.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsKeyPairAttachment(ctx, "example", &ecs.EcsKeyPairAttachmentArgs{ KeyPairName: pulumi.String("key_pair_name"), InstanceIds: pulumi.StringArray{ pulumi.Any(i_gw80pxxxxxxxxxx), }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Key Pair Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsKeyPairAttachment:EcsKeyPairAttachment example <key_pair_name>:<instance_ids>
```
func GetEcsKeyPairAttachment ¶
func GetEcsKeyPairAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsKeyPairAttachmentState, opts ...pulumi.ResourceOption) (*EcsKeyPairAttachment, error)
GetEcsKeyPairAttachment gets an existing EcsKeyPairAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsKeyPairAttachment ¶
func NewEcsKeyPairAttachment(ctx *pulumi.Context, name string, args *EcsKeyPairAttachmentArgs, opts ...pulumi.ResourceOption) (*EcsKeyPairAttachment, error)
NewEcsKeyPairAttachment registers a new resource with the given unique name, arguments, and options.
func (*EcsKeyPairAttachment) ElementType ¶
func (*EcsKeyPairAttachment) ElementType() reflect.Type
func (*EcsKeyPairAttachment) ToEcsKeyPairAttachmentOutput ¶
func (i *EcsKeyPairAttachment) ToEcsKeyPairAttachmentOutput() EcsKeyPairAttachmentOutput
func (*EcsKeyPairAttachment) ToEcsKeyPairAttachmentOutputWithContext ¶
func (i *EcsKeyPairAttachment) ToEcsKeyPairAttachmentOutputWithContext(ctx context.Context) EcsKeyPairAttachmentOutput
type EcsKeyPairAttachmentArgs ¶
type EcsKeyPairAttachmentArgs struct { // Set it to true and it will reboot instances which attached with the key pair to make key pair affect immediately. Force pulumi.BoolPtrInput // The list of ECS instance's IDs. InstanceIds pulumi.StringArrayInput // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput // The name of key pair used to bind. KeyPairName pulumi.StringPtrInput }
The set of arguments for constructing a EcsKeyPairAttachment resource.
func (EcsKeyPairAttachmentArgs) ElementType ¶
func (EcsKeyPairAttachmentArgs) ElementType() reflect.Type
type EcsKeyPairAttachmentArray ¶
type EcsKeyPairAttachmentArray []EcsKeyPairAttachmentInput
func (EcsKeyPairAttachmentArray) ElementType ¶
func (EcsKeyPairAttachmentArray) ElementType() reflect.Type
func (EcsKeyPairAttachmentArray) ToEcsKeyPairAttachmentArrayOutput ¶
func (i EcsKeyPairAttachmentArray) ToEcsKeyPairAttachmentArrayOutput() EcsKeyPairAttachmentArrayOutput
func (EcsKeyPairAttachmentArray) ToEcsKeyPairAttachmentArrayOutputWithContext ¶
func (i EcsKeyPairAttachmentArray) ToEcsKeyPairAttachmentArrayOutputWithContext(ctx context.Context) EcsKeyPairAttachmentArrayOutput
type EcsKeyPairAttachmentArrayInput ¶
type EcsKeyPairAttachmentArrayInput interface { pulumi.Input ToEcsKeyPairAttachmentArrayOutput() EcsKeyPairAttachmentArrayOutput ToEcsKeyPairAttachmentArrayOutputWithContext(context.Context) EcsKeyPairAttachmentArrayOutput }
EcsKeyPairAttachmentArrayInput is an input type that accepts EcsKeyPairAttachmentArray and EcsKeyPairAttachmentArrayOutput values. You can construct a concrete instance of `EcsKeyPairAttachmentArrayInput` via:
EcsKeyPairAttachmentArray{ EcsKeyPairAttachmentArgs{...} }
type EcsKeyPairAttachmentArrayOutput ¶
type EcsKeyPairAttachmentArrayOutput struct{ *pulumi.OutputState }
func (EcsKeyPairAttachmentArrayOutput) ElementType ¶
func (EcsKeyPairAttachmentArrayOutput) ElementType() reflect.Type
func (EcsKeyPairAttachmentArrayOutput) Index ¶
func (o EcsKeyPairAttachmentArrayOutput) Index(i pulumi.IntInput) EcsKeyPairAttachmentOutput
func (EcsKeyPairAttachmentArrayOutput) ToEcsKeyPairAttachmentArrayOutput ¶
func (o EcsKeyPairAttachmentArrayOutput) ToEcsKeyPairAttachmentArrayOutput() EcsKeyPairAttachmentArrayOutput
func (EcsKeyPairAttachmentArrayOutput) ToEcsKeyPairAttachmentArrayOutputWithContext ¶
func (o EcsKeyPairAttachmentArrayOutput) ToEcsKeyPairAttachmentArrayOutputWithContext(ctx context.Context) EcsKeyPairAttachmentArrayOutput
type EcsKeyPairAttachmentInput ¶
type EcsKeyPairAttachmentInput interface { pulumi.Input ToEcsKeyPairAttachmentOutput() EcsKeyPairAttachmentOutput ToEcsKeyPairAttachmentOutputWithContext(ctx context.Context) EcsKeyPairAttachmentOutput }
type EcsKeyPairAttachmentMap ¶
type EcsKeyPairAttachmentMap map[string]EcsKeyPairAttachmentInput
func (EcsKeyPairAttachmentMap) ElementType ¶
func (EcsKeyPairAttachmentMap) ElementType() reflect.Type
func (EcsKeyPairAttachmentMap) ToEcsKeyPairAttachmentMapOutput ¶
func (i EcsKeyPairAttachmentMap) ToEcsKeyPairAttachmentMapOutput() EcsKeyPairAttachmentMapOutput
func (EcsKeyPairAttachmentMap) ToEcsKeyPairAttachmentMapOutputWithContext ¶
func (i EcsKeyPairAttachmentMap) ToEcsKeyPairAttachmentMapOutputWithContext(ctx context.Context) EcsKeyPairAttachmentMapOutput
type EcsKeyPairAttachmentMapInput ¶
type EcsKeyPairAttachmentMapInput interface { pulumi.Input ToEcsKeyPairAttachmentMapOutput() EcsKeyPairAttachmentMapOutput ToEcsKeyPairAttachmentMapOutputWithContext(context.Context) EcsKeyPairAttachmentMapOutput }
EcsKeyPairAttachmentMapInput is an input type that accepts EcsKeyPairAttachmentMap and EcsKeyPairAttachmentMapOutput values. You can construct a concrete instance of `EcsKeyPairAttachmentMapInput` via:
EcsKeyPairAttachmentMap{ "key": EcsKeyPairAttachmentArgs{...} }
type EcsKeyPairAttachmentMapOutput ¶
type EcsKeyPairAttachmentMapOutput struct{ *pulumi.OutputState }
func (EcsKeyPairAttachmentMapOutput) ElementType ¶
func (EcsKeyPairAttachmentMapOutput) ElementType() reflect.Type
func (EcsKeyPairAttachmentMapOutput) MapIndex ¶
func (o EcsKeyPairAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsKeyPairAttachmentOutput
func (EcsKeyPairAttachmentMapOutput) ToEcsKeyPairAttachmentMapOutput ¶
func (o EcsKeyPairAttachmentMapOutput) ToEcsKeyPairAttachmentMapOutput() EcsKeyPairAttachmentMapOutput
func (EcsKeyPairAttachmentMapOutput) ToEcsKeyPairAttachmentMapOutputWithContext ¶
func (o EcsKeyPairAttachmentMapOutput) ToEcsKeyPairAttachmentMapOutputWithContext(ctx context.Context) EcsKeyPairAttachmentMapOutput
type EcsKeyPairAttachmentOutput ¶
type EcsKeyPairAttachmentOutput struct{ *pulumi.OutputState }
func (EcsKeyPairAttachmentOutput) ElementType ¶
func (EcsKeyPairAttachmentOutput) ElementType() reflect.Type
func (EcsKeyPairAttachmentOutput) ToEcsKeyPairAttachmentOutput ¶
func (o EcsKeyPairAttachmentOutput) ToEcsKeyPairAttachmentOutput() EcsKeyPairAttachmentOutput
func (EcsKeyPairAttachmentOutput) ToEcsKeyPairAttachmentOutputWithContext ¶
func (o EcsKeyPairAttachmentOutput) ToEcsKeyPairAttachmentOutputWithContext(ctx context.Context) EcsKeyPairAttachmentOutput
type EcsKeyPairAttachmentState ¶
type EcsKeyPairAttachmentState struct { // Set it to true and it will reboot instances which attached with the key pair to make key pair affect immediately. Force pulumi.BoolPtrInput // The list of ECS instance's IDs. InstanceIds pulumi.StringArrayInput // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput // The name of key pair used to bind. KeyPairName pulumi.StringPtrInput }
func (EcsKeyPairAttachmentState) ElementType ¶
func (EcsKeyPairAttachmentState) ElementType() reflect.Type
type EcsKeyPairInput ¶
type EcsKeyPairInput interface { pulumi.Input ToEcsKeyPairOutput() EcsKeyPairOutput ToEcsKeyPairOutputWithContext(ctx context.Context) EcsKeyPairOutput }
type EcsKeyPairMap ¶
type EcsKeyPairMap map[string]EcsKeyPairInput
func (EcsKeyPairMap) ElementType ¶
func (EcsKeyPairMap) ElementType() reflect.Type
func (EcsKeyPairMap) ToEcsKeyPairMapOutput ¶
func (i EcsKeyPairMap) ToEcsKeyPairMapOutput() EcsKeyPairMapOutput
func (EcsKeyPairMap) ToEcsKeyPairMapOutputWithContext ¶
func (i EcsKeyPairMap) ToEcsKeyPairMapOutputWithContext(ctx context.Context) EcsKeyPairMapOutput
type EcsKeyPairMapInput ¶
type EcsKeyPairMapInput interface { pulumi.Input ToEcsKeyPairMapOutput() EcsKeyPairMapOutput ToEcsKeyPairMapOutputWithContext(context.Context) EcsKeyPairMapOutput }
EcsKeyPairMapInput is an input type that accepts EcsKeyPairMap and EcsKeyPairMapOutput values. You can construct a concrete instance of `EcsKeyPairMapInput` via:
EcsKeyPairMap{ "key": EcsKeyPairArgs{...} }
type EcsKeyPairMapOutput ¶
type EcsKeyPairMapOutput struct{ *pulumi.OutputState }
func (EcsKeyPairMapOutput) ElementType ¶
func (EcsKeyPairMapOutput) ElementType() reflect.Type
func (EcsKeyPairMapOutput) MapIndex ¶
func (o EcsKeyPairMapOutput) MapIndex(k pulumi.StringInput) EcsKeyPairOutput
func (EcsKeyPairMapOutput) ToEcsKeyPairMapOutput ¶
func (o EcsKeyPairMapOutput) ToEcsKeyPairMapOutput() EcsKeyPairMapOutput
func (EcsKeyPairMapOutput) ToEcsKeyPairMapOutputWithContext ¶
func (o EcsKeyPairMapOutput) ToEcsKeyPairMapOutputWithContext(ctx context.Context) EcsKeyPairMapOutput
type EcsKeyPairOutput ¶
type EcsKeyPairOutput struct{ *pulumi.OutputState }
func (EcsKeyPairOutput) ElementType ¶
func (EcsKeyPairOutput) ElementType() reflect.Type
func (EcsKeyPairOutput) ToEcsKeyPairOutput ¶
func (o EcsKeyPairOutput) ToEcsKeyPairOutput() EcsKeyPairOutput
func (EcsKeyPairOutput) ToEcsKeyPairOutputWithContext ¶
func (o EcsKeyPairOutput) ToEcsKeyPairOutputWithContext(ctx context.Context) EcsKeyPairOutput
type EcsKeyPairState ¶
type EcsKeyPairState struct { FingerPrint pulumi.StringPtrInput // The key file. KeyFile pulumi.StringPtrInput // Field `keyName` has been deprecated from provider version 1.121.0. New field `keyPairName` instead. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput KeyNamePrefix pulumi.StringPtrInput // The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter. KeyPairName pulumi.StringPtrInput // You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resourceGroupId` is the key pair belongs. PublicKey pulumi.StringPtrInput // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (EcsKeyPairState) ElementType ¶
func (EcsKeyPairState) ElementType() reflect.Type
type EcsLaunchTemplate ¶
type EcsLaunchTemplate struct { pulumi.CustomResourceState // Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ. AutoReleaseTime pulumi.StringPtrOutput `pulumi:"autoReleaseTime"` // The list of data disks created with instance. DataDisks EcsLaunchTemplateDataDiskArrayOutput `pulumi:"dataDisks"` // The Deployment Set Id. DeploymentSetId pulumi.StringPtrOutput `pulumi:"deploymentSetId"` // The description of the data disk. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to enable the instance operating system configuration. EnableVmOsConfig pulumi.BoolPtrOutput `pulumi:"enableVmOsConfig"` // Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-). HostName pulumi.StringPtrOutput `pulumi:"hostName"` // The Image ID. ImageId pulumi.StringPtrOutput `pulumi:"imageId"` // Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`. ImageOwnerAlias pulumi.StringPtrOutput `pulumi:"imageOwnerAlias"` // Billing methods. Valid values: `PostPaid`, `PrePaid`. InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"` InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // Instance type. For more information, call resourceAlicloudInstances to obtain the latest instance type list. InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"` // Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`. InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"` // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200]. InternetMaxBandwidthIn pulumi.IntOutput `pulumi:"internetMaxBandwidthIn"` // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100]. InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"` // Whether it is an I/O-optimized instance or not. Valid values: `none`, `optimized`. IoOptimized pulumi.StringPtrOutput `pulumi:"ioOptimized"` // The name of the key pair. // - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. // - The password logon method for Linux instances is set to forbidden upon initialization. KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"` // The name of Launch Template. LaunchTemplateName pulumi.StringOutput `pulumi:"launchTemplateName"` // The name of the data disk. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead. Name pulumi.StringOutput `pulumi:"name"` // The list of network interfaces created with instance. NetworkInterfaces EcsLaunchTemplateNetworkInterfacesPtrOutput `pulumi:"networkInterfaces"` // Network type of the instance. Valid values: `classic`, `vpc`. NetworkType pulumi.StringPtrOutput `pulumi:"networkType"` // Whether to use the password preset by the mirror. PasswordInherit pulumi.BoolPtrOutput `pulumi:"passwordInherit"` // The subscription period of the instance. Unit: months. This parameter takes effect and is required only when InstanceChargeType is set to PrePaid. If the DedicatedHostId parameter is specified, the value of the Period parameter must be within the subscription period of the dedicated host. // - When the PeriodUnit parameter is set to `Week`, the valid values of the Period parameter are `1`, `2`, `3`, and `4`. // - When the PeriodUnit parameter is set to `Month`, the valid values of the Period parameter are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, and `60`. Period pulumi.IntPtrOutput `pulumi:"period"` // The private IP address of the instance. PrivateIpAddress pulumi.StringPtrOutput `pulumi:"privateIpAddress"` // The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names. RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"` // The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // Whether or not to activate the security enhancement feature and install network security software free of charge. Valid values: `Active`, `Deactive`. SecurityEnhancementStrategy pulumi.StringPtrOutput `pulumi:"securityEnhancementStrategy"` // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` // The ID of security group N to which to assign the instance. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // The protection period of the preemptible instance. Unit: hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, and `6`. Default to: `1`. SpotDuration pulumi.StringPtrOutput `pulumi:"spotDuration"` // -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places. SpotPriceLimit pulumi.Float64PtrOutput `pulumi:"spotPriceLimit"` // The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`. SpotStrategy pulumi.StringPtrOutput `pulumi:"spotStrategy"` // The System Disk. SystemDisk EcsLaunchTemplateSystemDiskOutput `pulumi:"systemDisk"` // Deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskCategory pulumi.StringOutput `pulumi:"systemDiskCategory"` // Deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskDescription pulumi.StringOutput `pulumi:"systemDiskDescription"` // Deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskName pulumi.StringOutput `pulumi:"systemDiskName"` // Deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskSize pulumi.IntOutput `pulumi:"systemDiskSize"` // A mapping of tags to assign to instance, block storage, and elastic network. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.MapOutput `pulumi:"tags"` // The template resource group id. TemplateResourceGroupId pulumi.StringPtrOutput `pulumi:"templateResourceGroupId"` // A mapping of tags to assign to the launch template. TemplateTags pulumi.MapOutput `pulumi:"templateTags"` // The User Data. UserData pulumi.StringOutput `pulumi:"userData"` // Deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead. Userdata pulumi.StringOutput `pulumi:"userdata"` // The description of the launch template version. The description must be 2 to 256 characters in length and cannot start with http:// or https://. VersionDescription pulumi.StringPtrOutput `pulumi:"versionDescription"` VpcId pulumi.StringOutput `pulumi:"vpcId"` // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` // The zone ID of the instance. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a ECS Launch Template resource.
For information about ECS Launch Template and how to use it, see [What is Launch Template](https://www.alibabacloud.com/help/en/doc-detail/74686.htm).
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsLaunchTemplate(ctx, "default", &ecs.EcsLaunchTemplateArgs{ DataDisks: ecs.EcsLaunchTemplateDataDiskArray{ &ecs.EcsLaunchTemplateDataDiskArgs{ Category: pulumi.String("cloud"), DeleteWithInstance: pulumi.Bool(true), Description: pulumi.String("test1"), Encrypted: pulumi.Bool(false), Name: pulumi.String("disk1"), PerformanceLevel: pulumi.String("PL0"), Size: pulumi.Int(20), }, &ecs.EcsLaunchTemplateDataDiskArgs{ Category: pulumi.String("cloud"), DeleteWithInstance: pulumi.Bool(true), Description: pulumi.String("test2"), Encrypted: pulumi.Bool(false), Name: pulumi.String("disk2"), PerformanceLevel: pulumi.String("PL0"), Size: pulumi.Int(20), }, }, Description: pulumi.String("Test For Terraform"), HostName: pulumi.String("host_name"), ImageId: pulumi.String("m-bp1i3ucxxxxx"), InstanceChargeType: pulumi.String("PrePaid"), InstanceName: pulumi.String("instance_name"), InstanceType: pulumi.String("instance_type"), InternetChargeType: pulumi.String("PayByBandwidth"), InternetMaxBandwidthIn: pulumi.Int(5), InternetMaxBandwidthOut: pulumi.Int(0), IoOptimized: pulumi.String("optimized"), KeyPairName: pulumi.String("key_pair_name"), NetworkInterfaces: &ecs.EcsLaunchTemplateNetworkInterfacesArgs{ Description: pulumi.String("hello1"), Name: pulumi.String("eth0"), PrimaryIp: pulumi.String("10.0.0.2"), SecurityGroupId: pulumi.String("sg-asdfnbgxxxxxxx"), VswitchId: pulumi.String("vw-zkdfjaxxxxxx"), }, NetworkType: pulumi.String("vpc"), RamRoleName: pulumi.String("ram_role_name"), ResourceGroupId: pulumi.String("rg-zkdfjaxxxxxx"), SecurityEnhancementStrategy: pulumi.String("Active"), SecurityGroupIds: pulumi.StringArray{ pulumi.String("sg-zkdfjaxxxxxx"), }, SpotPriceLimit: pulumi.Float64(5), SpotStrategy: pulumi.String("SpotWithPriceLimit"), SystemDisk: &ecs.EcsLaunchTemplateSystemDiskArgs{ Category: pulumi.String("cloud_ssd"), DeleteWithInstance: pulumi.Bool(false), Description: pulumi.String("Test For Terraform"), Name: pulumi.String("tf_test_name"), Size: pulumi.Int(40), }, TemplateTags: pulumi.AnyMap{ "Create": pulumi.Any("Terraform"), "For": pulumi.Any("Test"), }, UserData: pulumi.String("xxxxxxx"), VpcId: pulumi.String("vpc-asdfnbgxxxxxxx"), VswitchId: pulumi.String("vw-zwxscaxxxxxx"), ZoneId: pulumi.String("cn-hangzhou-i"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Launch Template can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsLaunchTemplate:EcsLaunchTemplate example <id>
```
func GetEcsLaunchTemplate ¶
func GetEcsLaunchTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsLaunchTemplateState, opts ...pulumi.ResourceOption) (*EcsLaunchTemplate, error)
GetEcsLaunchTemplate gets an existing EcsLaunchTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsLaunchTemplate ¶
func NewEcsLaunchTemplate(ctx *pulumi.Context, name string, args *EcsLaunchTemplateArgs, opts ...pulumi.ResourceOption) (*EcsLaunchTemplate, error)
NewEcsLaunchTemplate registers a new resource with the given unique name, arguments, and options.
func (*EcsLaunchTemplate) ElementType ¶
func (*EcsLaunchTemplate) ElementType() reflect.Type
func (*EcsLaunchTemplate) ToEcsLaunchTemplateOutput ¶
func (i *EcsLaunchTemplate) ToEcsLaunchTemplateOutput() EcsLaunchTemplateOutput
func (*EcsLaunchTemplate) ToEcsLaunchTemplateOutputWithContext ¶
func (i *EcsLaunchTemplate) ToEcsLaunchTemplateOutputWithContext(ctx context.Context) EcsLaunchTemplateOutput
type EcsLaunchTemplateArgs ¶
type EcsLaunchTemplateArgs struct { // Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ. AutoReleaseTime pulumi.StringPtrInput // The list of data disks created with instance. DataDisks EcsLaunchTemplateDataDiskArrayInput // The Deployment Set Id. DeploymentSetId pulumi.StringPtrInput // The description of the data disk. Description pulumi.StringPtrInput // Whether to enable the instance operating system configuration. EnableVmOsConfig pulumi.BoolPtrInput // Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-). HostName pulumi.StringPtrInput // The Image ID. ImageId pulumi.StringPtrInput // Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`. ImageOwnerAlias pulumi.StringPtrInput // Billing methods. Valid values: `PostPaid`, `PrePaid`. InstanceChargeType pulumi.StringPtrInput InstanceName pulumi.StringPtrInput // Instance type. For more information, call resourceAlicloudInstances to obtain the latest instance type list. InstanceType pulumi.StringPtrInput // Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`. InternetChargeType pulumi.StringPtrInput // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200]. InternetMaxBandwidthIn pulumi.IntPtrInput // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100]. InternetMaxBandwidthOut pulumi.IntPtrInput // Whether it is an I/O-optimized instance or not. Valid values: `none`, `optimized`. IoOptimized pulumi.StringPtrInput // The name of the key pair. // - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. // - The password logon method for Linux instances is set to forbidden upon initialization. KeyPairName pulumi.StringPtrInput // The name of Launch Template. LaunchTemplateName pulumi.StringPtrInput // The name of the data disk. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead. Name pulumi.StringPtrInput // The list of network interfaces created with instance. NetworkInterfaces EcsLaunchTemplateNetworkInterfacesPtrInput // Network type of the instance. Valid values: `classic`, `vpc`. NetworkType pulumi.StringPtrInput // Whether to use the password preset by the mirror. PasswordInherit pulumi.BoolPtrInput // The subscription period of the instance. Unit: months. This parameter takes effect and is required only when InstanceChargeType is set to PrePaid. If the DedicatedHostId parameter is specified, the value of the Period parameter must be within the subscription period of the dedicated host. // - When the PeriodUnit parameter is set to `Week`, the valid values of the Period parameter are `1`, `2`, `3`, and `4`. // - When the PeriodUnit parameter is set to `Month`, the valid values of the Period parameter are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, and `60`. Period pulumi.IntPtrInput // The private IP address of the instance. PrivateIpAddress pulumi.StringPtrInput // The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names. RamRoleName pulumi.StringPtrInput // The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI. ResourceGroupId pulumi.StringPtrInput // Whether or not to activate the security enhancement feature and install network security software free of charge. Valid values: `Active`, `Deactive`. SecurityEnhancementStrategy pulumi.StringPtrInput // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrInput // The ID of security group N to which to assign the instance. SecurityGroupIds pulumi.StringArrayInput // The protection period of the preemptible instance. Unit: hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, and `6`. Default to: `1`. SpotDuration pulumi.StringPtrInput // -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places. SpotPriceLimit pulumi.Float64PtrInput // The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`. SpotStrategy pulumi.StringPtrInput // The System Disk. SystemDisk EcsLaunchTemplateSystemDiskPtrInput // Deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskCategory pulumi.StringPtrInput // Deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskDescription pulumi.StringPtrInput // Deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskName pulumi.StringPtrInput // Deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskSize pulumi.IntPtrInput // A mapping of tags to assign to instance, block storage, and elastic network. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.MapInput // The template resource group id. TemplateResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the launch template. TemplateTags pulumi.MapInput // The User Data. UserData pulumi.StringPtrInput // Deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead. Userdata pulumi.StringPtrInput // The description of the launch template version. The description must be 2 to 256 characters in length and cannot start with http:// or https://. VersionDescription pulumi.StringPtrInput VpcId pulumi.StringPtrInput // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrInput // The zone ID of the instance. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a EcsLaunchTemplate resource.
func (EcsLaunchTemplateArgs) ElementType ¶
func (EcsLaunchTemplateArgs) ElementType() reflect.Type
type EcsLaunchTemplateArray ¶
type EcsLaunchTemplateArray []EcsLaunchTemplateInput
func (EcsLaunchTemplateArray) ElementType ¶
func (EcsLaunchTemplateArray) ElementType() reflect.Type
func (EcsLaunchTemplateArray) ToEcsLaunchTemplateArrayOutput ¶
func (i EcsLaunchTemplateArray) ToEcsLaunchTemplateArrayOutput() EcsLaunchTemplateArrayOutput
func (EcsLaunchTemplateArray) ToEcsLaunchTemplateArrayOutputWithContext ¶
func (i EcsLaunchTemplateArray) ToEcsLaunchTemplateArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateArrayOutput
type EcsLaunchTemplateArrayInput ¶
type EcsLaunchTemplateArrayInput interface { pulumi.Input ToEcsLaunchTemplateArrayOutput() EcsLaunchTemplateArrayOutput ToEcsLaunchTemplateArrayOutputWithContext(context.Context) EcsLaunchTemplateArrayOutput }
EcsLaunchTemplateArrayInput is an input type that accepts EcsLaunchTemplateArray and EcsLaunchTemplateArrayOutput values. You can construct a concrete instance of `EcsLaunchTemplateArrayInput` via:
EcsLaunchTemplateArray{ EcsLaunchTemplateArgs{...} }
type EcsLaunchTemplateArrayOutput ¶
type EcsLaunchTemplateArrayOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateArrayOutput) ElementType ¶
func (EcsLaunchTemplateArrayOutput) ElementType() reflect.Type
func (EcsLaunchTemplateArrayOutput) Index ¶
func (o EcsLaunchTemplateArrayOutput) Index(i pulumi.IntInput) EcsLaunchTemplateOutput
func (EcsLaunchTemplateArrayOutput) ToEcsLaunchTemplateArrayOutput ¶
func (o EcsLaunchTemplateArrayOutput) ToEcsLaunchTemplateArrayOutput() EcsLaunchTemplateArrayOutput
func (EcsLaunchTemplateArrayOutput) ToEcsLaunchTemplateArrayOutputWithContext ¶
func (o EcsLaunchTemplateArrayOutput) ToEcsLaunchTemplateArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateArrayOutput
type EcsLaunchTemplateDataDisk ¶
type EcsLaunchTemplateDataDisk struct { // The category of the disk. Category *string `pulumi:"category"` // Indicates whether the data disk is released with the instance. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // The description of the data disk. Description *string `pulumi:"description"` // Encrypted the data in this disk. Encrypted *bool `pulumi:"encrypted"` // The name of the data disk. Name *string `pulumi:"name"` // The performance level of the ESSD used as the data disk. PerformanceLevel *string `pulumi:"performanceLevel"` // The size of the data disk. Size *int `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId *string `pulumi:"snapshotId"` }
type EcsLaunchTemplateDataDiskArgs ¶
type EcsLaunchTemplateDataDiskArgs struct { // The category of the disk. Category pulumi.StringPtrInput `pulumi:"category"` // Indicates whether the data disk is released with the instance. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` // Encrypted the data in this disk. Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` // The performance level of the ESSD used as the data disk. PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"` // The size of the data disk. Size pulumi.IntPtrInput `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (EcsLaunchTemplateDataDiskArgs) ElementType ¶
func (EcsLaunchTemplateDataDiskArgs) ElementType() reflect.Type
func (EcsLaunchTemplateDataDiskArgs) ToEcsLaunchTemplateDataDiskOutput ¶
func (i EcsLaunchTemplateDataDiskArgs) ToEcsLaunchTemplateDataDiskOutput() EcsLaunchTemplateDataDiskOutput
func (EcsLaunchTemplateDataDiskArgs) ToEcsLaunchTemplateDataDiskOutputWithContext ¶
func (i EcsLaunchTemplateDataDiskArgs) ToEcsLaunchTemplateDataDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskOutput
type EcsLaunchTemplateDataDiskArray ¶
type EcsLaunchTemplateDataDiskArray []EcsLaunchTemplateDataDiskInput
func (EcsLaunchTemplateDataDiskArray) ElementType ¶
func (EcsLaunchTemplateDataDiskArray) ElementType() reflect.Type
func (EcsLaunchTemplateDataDiskArray) ToEcsLaunchTemplateDataDiskArrayOutput ¶
func (i EcsLaunchTemplateDataDiskArray) ToEcsLaunchTemplateDataDiskArrayOutput() EcsLaunchTemplateDataDiskArrayOutput
func (EcsLaunchTemplateDataDiskArray) ToEcsLaunchTemplateDataDiskArrayOutputWithContext ¶
func (i EcsLaunchTemplateDataDiskArray) ToEcsLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskArrayOutput
type EcsLaunchTemplateDataDiskArrayInput ¶
type EcsLaunchTemplateDataDiskArrayInput interface { pulumi.Input ToEcsLaunchTemplateDataDiskArrayOutput() EcsLaunchTemplateDataDiskArrayOutput ToEcsLaunchTemplateDataDiskArrayOutputWithContext(context.Context) EcsLaunchTemplateDataDiskArrayOutput }
EcsLaunchTemplateDataDiskArrayInput is an input type that accepts EcsLaunchTemplateDataDiskArray and EcsLaunchTemplateDataDiskArrayOutput values. You can construct a concrete instance of `EcsLaunchTemplateDataDiskArrayInput` via:
EcsLaunchTemplateDataDiskArray{ EcsLaunchTemplateDataDiskArgs{...} }
type EcsLaunchTemplateDataDiskArrayOutput ¶
type EcsLaunchTemplateDataDiskArrayOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateDataDiskArrayOutput) ElementType ¶
func (EcsLaunchTemplateDataDiskArrayOutput) ElementType() reflect.Type
func (EcsLaunchTemplateDataDiskArrayOutput) Index ¶
func (o EcsLaunchTemplateDataDiskArrayOutput) Index(i pulumi.IntInput) EcsLaunchTemplateDataDiskOutput
func (EcsLaunchTemplateDataDiskArrayOutput) ToEcsLaunchTemplateDataDiskArrayOutput ¶
func (o EcsLaunchTemplateDataDiskArrayOutput) ToEcsLaunchTemplateDataDiskArrayOutput() EcsLaunchTemplateDataDiskArrayOutput
func (EcsLaunchTemplateDataDiskArrayOutput) ToEcsLaunchTemplateDataDiskArrayOutputWithContext ¶
func (o EcsLaunchTemplateDataDiskArrayOutput) ToEcsLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskArrayOutput
type EcsLaunchTemplateDataDiskInput ¶
type EcsLaunchTemplateDataDiskInput interface { pulumi.Input ToEcsLaunchTemplateDataDiskOutput() EcsLaunchTemplateDataDiskOutput ToEcsLaunchTemplateDataDiskOutputWithContext(context.Context) EcsLaunchTemplateDataDiskOutput }
EcsLaunchTemplateDataDiskInput is an input type that accepts EcsLaunchTemplateDataDiskArgs and EcsLaunchTemplateDataDiskOutput values. You can construct a concrete instance of `EcsLaunchTemplateDataDiskInput` via:
EcsLaunchTemplateDataDiskArgs{...}
type EcsLaunchTemplateDataDiskOutput ¶
type EcsLaunchTemplateDataDiskOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateDataDiskOutput) Category ¶
func (o EcsLaunchTemplateDataDiskOutput) Category() pulumi.StringPtrOutput
The category of the disk.
func (EcsLaunchTemplateDataDiskOutput) DeleteWithInstance ¶
func (o EcsLaunchTemplateDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Indicates whether the data disk is released with the instance.
func (EcsLaunchTemplateDataDiskOutput) Description ¶
func (o EcsLaunchTemplateDataDiskOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (EcsLaunchTemplateDataDiskOutput) ElementType ¶
func (EcsLaunchTemplateDataDiskOutput) ElementType() reflect.Type
func (EcsLaunchTemplateDataDiskOutput) Encrypted ¶
func (o EcsLaunchTemplateDataDiskOutput) Encrypted() pulumi.BoolPtrOutput
Encrypted the data in this disk.
func (EcsLaunchTemplateDataDiskOutput) Name ¶
func (o EcsLaunchTemplateDataDiskOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (EcsLaunchTemplateDataDiskOutput) PerformanceLevel ¶
func (o EcsLaunchTemplateDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
The performance level of the ESSD used as the data disk.
func (EcsLaunchTemplateDataDiskOutput) Size ¶
func (o EcsLaunchTemplateDataDiskOutput) Size() pulumi.IntPtrOutput
The size of the data disk.
func (EcsLaunchTemplateDataDiskOutput) SnapshotId ¶
func (o EcsLaunchTemplateDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
func (EcsLaunchTemplateDataDiskOutput) ToEcsLaunchTemplateDataDiskOutput ¶
func (o EcsLaunchTemplateDataDiskOutput) ToEcsLaunchTemplateDataDiskOutput() EcsLaunchTemplateDataDiskOutput
func (EcsLaunchTemplateDataDiskOutput) ToEcsLaunchTemplateDataDiskOutputWithContext ¶
func (o EcsLaunchTemplateDataDiskOutput) ToEcsLaunchTemplateDataDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateDataDiskOutput
type EcsLaunchTemplateInput ¶
type EcsLaunchTemplateInput interface { pulumi.Input ToEcsLaunchTemplateOutput() EcsLaunchTemplateOutput ToEcsLaunchTemplateOutputWithContext(ctx context.Context) EcsLaunchTemplateOutput }
type EcsLaunchTemplateMap ¶
type EcsLaunchTemplateMap map[string]EcsLaunchTemplateInput
func (EcsLaunchTemplateMap) ElementType ¶
func (EcsLaunchTemplateMap) ElementType() reflect.Type
func (EcsLaunchTemplateMap) ToEcsLaunchTemplateMapOutput ¶
func (i EcsLaunchTemplateMap) ToEcsLaunchTemplateMapOutput() EcsLaunchTemplateMapOutput
func (EcsLaunchTemplateMap) ToEcsLaunchTemplateMapOutputWithContext ¶
func (i EcsLaunchTemplateMap) ToEcsLaunchTemplateMapOutputWithContext(ctx context.Context) EcsLaunchTemplateMapOutput
type EcsLaunchTemplateMapInput ¶
type EcsLaunchTemplateMapInput interface { pulumi.Input ToEcsLaunchTemplateMapOutput() EcsLaunchTemplateMapOutput ToEcsLaunchTemplateMapOutputWithContext(context.Context) EcsLaunchTemplateMapOutput }
EcsLaunchTemplateMapInput is an input type that accepts EcsLaunchTemplateMap and EcsLaunchTemplateMapOutput values. You can construct a concrete instance of `EcsLaunchTemplateMapInput` via:
EcsLaunchTemplateMap{ "key": EcsLaunchTemplateArgs{...} }
type EcsLaunchTemplateMapOutput ¶
type EcsLaunchTemplateMapOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateMapOutput) ElementType ¶
func (EcsLaunchTemplateMapOutput) ElementType() reflect.Type
func (EcsLaunchTemplateMapOutput) MapIndex ¶
func (o EcsLaunchTemplateMapOutput) MapIndex(k pulumi.StringInput) EcsLaunchTemplateOutput
func (EcsLaunchTemplateMapOutput) ToEcsLaunchTemplateMapOutput ¶
func (o EcsLaunchTemplateMapOutput) ToEcsLaunchTemplateMapOutput() EcsLaunchTemplateMapOutput
func (EcsLaunchTemplateMapOutput) ToEcsLaunchTemplateMapOutputWithContext ¶
func (o EcsLaunchTemplateMapOutput) ToEcsLaunchTemplateMapOutputWithContext(ctx context.Context) EcsLaunchTemplateMapOutput
type EcsLaunchTemplateNetworkInterfaces ¶
type EcsLaunchTemplateNetworkInterfaces struct { // The description of the data disk. Description *string `pulumi:"description"` // The name of the data disk. Name *string `pulumi:"name"` // The primary private IP address of the ENI. PrimaryIp *string `pulumi:"primaryIp"` // The security group ID must be one in the same VPC. SecurityGroupId *string `pulumi:"securityGroupId"` // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId *string `pulumi:"vswitchId"` }
type EcsLaunchTemplateNetworkInterfacesArgs ¶
type EcsLaunchTemplateNetworkInterfacesArgs struct { // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` // The primary private IP address of the ENI. PrimaryIp pulumi.StringPtrInput `pulumi:"primaryIp"` // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
func (EcsLaunchTemplateNetworkInterfacesArgs) ElementType ¶
func (EcsLaunchTemplateNetworkInterfacesArgs) ElementType() reflect.Type
func (EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesOutput ¶
func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesOutput() EcsLaunchTemplateNetworkInterfacesOutput
func (EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesOutputWithContext ¶
func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesOutput
func (EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesPtrOutput ¶
func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput
func (EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext ¶
func (i EcsLaunchTemplateNetworkInterfacesArgs) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput
type EcsLaunchTemplateNetworkInterfacesInput ¶
type EcsLaunchTemplateNetworkInterfacesInput interface { pulumi.Input ToEcsLaunchTemplateNetworkInterfacesOutput() EcsLaunchTemplateNetworkInterfacesOutput ToEcsLaunchTemplateNetworkInterfacesOutputWithContext(context.Context) EcsLaunchTemplateNetworkInterfacesOutput }
EcsLaunchTemplateNetworkInterfacesInput is an input type that accepts EcsLaunchTemplateNetworkInterfacesArgs and EcsLaunchTemplateNetworkInterfacesOutput values. You can construct a concrete instance of `EcsLaunchTemplateNetworkInterfacesInput` via:
EcsLaunchTemplateNetworkInterfacesArgs{...}
type EcsLaunchTemplateNetworkInterfacesOutput ¶
type EcsLaunchTemplateNetworkInterfacesOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateNetworkInterfacesOutput) Description ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (EcsLaunchTemplateNetworkInterfacesOutput) ElementType ¶
func (EcsLaunchTemplateNetworkInterfacesOutput) ElementType() reflect.Type
func (EcsLaunchTemplateNetworkInterfacesOutput) Name ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (EcsLaunchTemplateNetworkInterfacesOutput) PrimaryIp ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) PrimaryIp() pulumi.StringPtrOutput
The primary private IP address of the ENI.
func (EcsLaunchTemplateNetworkInterfacesOutput) SecurityGroupId ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) SecurityGroupId() pulumi.StringPtrOutput
The security group ID must be one in the same VPC.
func (EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesOutput ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesOutput() EcsLaunchTemplateNetworkInterfacesOutput
func (EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesOutputWithContext ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesOutput
func (EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutput ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput
func (EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput
func (EcsLaunchTemplateNetworkInterfacesOutput) VswitchId ¶
func (o EcsLaunchTemplateNetworkInterfacesOutput) VswitchId() pulumi.StringPtrOutput
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
type EcsLaunchTemplateNetworkInterfacesPtrInput ¶
type EcsLaunchTemplateNetworkInterfacesPtrInput interface { pulumi.Input ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput }
EcsLaunchTemplateNetworkInterfacesPtrInput is an input type that accepts EcsLaunchTemplateNetworkInterfacesArgs, EcsLaunchTemplateNetworkInterfacesPtr and EcsLaunchTemplateNetworkInterfacesPtrOutput values. You can construct a concrete instance of `EcsLaunchTemplateNetworkInterfacesPtrInput` via:
EcsLaunchTemplateNetworkInterfacesArgs{...} or: nil
func EcsLaunchTemplateNetworkInterfacesPtr ¶
func EcsLaunchTemplateNetworkInterfacesPtr(v *EcsLaunchTemplateNetworkInterfacesArgs) EcsLaunchTemplateNetworkInterfacesPtrInput
type EcsLaunchTemplateNetworkInterfacesPtrOutput ¶
type EcsLaunchTemplateNetworkInterfacesPtrOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) Description ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) ElementType ¶
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) ElementType() reflect.Type
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) Name ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) PrimaryIp ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) PrimaryIp() pulumi.StringPtrOutput
The primary private IP address of the ENI.
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) SecurityGroupId ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) SecurityGroupId() pulumi.StringPtrOutput
The security group ID must be one in the same VPC.
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutput ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutput() EcsLaunchTemplateNetworkInterfacesPtrOutput
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) ToEcsLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateNetworkInterfacesPtrOutput
func (EcsLaunchTemplateNetworkInterfacesPtrOutput) VswitchId ¶
func (o EcsLaunchTemplateNetworkInterfacesPtrOutput) VswitchId() pulumi.StringPtrOutput
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
type EcsLaunchTemplateOutput ¶
type EcsLaunchTemplateOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateOutput) ElementType ¶
func (EcsLaunchTemplateOutput) ElementType() reflect.Type
func (EcsLaunchTemplateOutput) ToEcsLaunchTemplateOutput ¶
func (o EcsLaunchTemplateOutput) ToEcsLaunchTemplateOutput() EcsLaunchTemplateOutput
func (EcsLaunchTemplateOutput) ToEcsLaunchTemplateOutputWithContext ¶
func (o EcsLaunchTemplateOutput) ToEcsLaunchTemplateOutputWithContext(ctx context.Context) EcsLaunchTemplateOutput
type EcsLaunchTemplateState ¶
type EcsLaunchTemplateState struct { // Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ. AutoReleaseTime pulumi.StringPtrInput // The list of data disks created with instance. DataDisks EcsLaunchTemplateDataDiskArrayInput // The Deployment Set Id. DeploymentSetId pulumi.StringPtrInput // The description of the data disk. Description pulumi.StringPtrInput // Whether to enable the instance operating system configuration. EnableVmOsConfig pulumi.BoolPtrInput // Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-). HostName pulumi.StringPtrInput // The Image ID. ImageId pulumi.StringPtrInput // Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`. ImageOwnerAlias pulumi.StringPtrInput // Billing methods. Valid values: `PostPaid`, `PrePaid`. InstanceChargeType pulumi.StringPtrInput InstanceName pulumi.StringPtrInput // Instance type. For more information, call resourceAlicloudInstances to obtain the latest instance type list. InstanceType pulumi.StringPtrInput // Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`. InternetChargeType pulumi.StringPtrInput // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200]. InternetMaxBandwidthIn pulumi.IntPtrInput // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100]. InternetMaxBandwidthOut pulumi.IntPtrInput // Whether it is an I/O-optimized instance or not. Valid values: `none`, `optimized`. IoOptimized pulumi.StringPtrInput // The name of the key pair. // - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. // - The password logon method for Linux instances is set to forbidden upon initialization. KeyPairName pulumi.StringPtrInput // The name of Launch Template. LaunchTemplateName pulumi.StringPtrInput // The name of the data disk. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead. Name pulumi.StringPtrInput // The list of network interfaces created with instance. NetworkInterfaces EcsLaunchTemplateNetworkInterfacesPtrInput // Network type of the instance. Valid values: `classic`, `vpc`. NetworkType pulumi.StringPtrInput // Whether to use the password preset by the mirror. PasswordInherit pulumi.BoolPtrInput // The subscription period of the instance. Unit: months. This parameter takes effect and is required only when InstanceChargeType is set to PrePaid. If the DedicatedHostId parameter is specified, the value of the Period parameter must be within the subscription period of the dedicated host. // - When the PeriodUnit parameter is set to `Week`, the valid values of the Period parameter are `1`, `2`, `3`, and `4`. // - When the PeriodUnit parameter is set to `Month`, the valid values of the Period parameter are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, and `60`. Period pulumi.IntPtrInput // The private IP address of the instance. PrivateIpAddress pulumi.StringPtrInput // The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names. RamRoleName pulumi.StringPtrInput // The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI. ResourceGroupId pulumi.StringPtrInput // Whether or not to activate the security enhancement feature and install network security software free of charge. Valid values: `Active`, `Deactive`. SecurityEnhancementStrategy pulumi.StringPtrInput // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrInput // The ID of security group N to which to assign the instance. SecurityGroupIds pulumi.StringArrayInput // The protection period of the preemptible instance. Unit: hours. Valid values: `0`, `1`, `2`, `3`, `4`, `5`, and `6`. Default to: `1`. SpotDuration pulumi.StringPtrInput // -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places. SpotPriceLimit pulumi.Float64PtrInput // The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Valid values: `NoSpot`, `SpotAsPriceGo`, `SpotWithPriceLimit`. SpotStrategy pulumi.StringPtrInput // The System Disk. SystemDisk EcsLaunchTemplateSystemDiskPtrInput // Deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskCategory pulumi.StringPtrInput // Deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskDescription pulumi.StringPtrInput // Deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskName pulumi.StringPtrInput // Deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskSize pulumi.IntPtrInput // A mapping of tags to assign to instance, block storage, and elastic network. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.MapInput // The template resource group id. TemplateResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the launch template. TemplateTags pulumi.MapInput // The User Data. UserData pulumi.StringPtrInput // Deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead. Userdata pulumi.StringPtrInput // The description of the launch template version. The description must be 2 to 256 characters in length and cannot start with http:// or https://. VersionDescription pulumi.StringPtrInput VpcId pulumi.StringPtrInput // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrInput // The zone ID of the instance. ZoneId pulumi.StringPtrInput }
func (EcsLaunchTemplateState) ElementType ¶
func (EcsLaunchTemplateState) ElementType() reflect.Type
type EcsLaunchTemplateSystemDisk ¶
type EcsLaunchTemplateSystemDisk struct { // The category of the disk. Category *string `pulumi:"category"` // Indicates whether the data disk is released with the instance. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // The description of the data disk. Description *string `pulumi:"description"` // The Iops. Iops *string `pulumi:"iops"` // The name of the data disk. Name *string `pulumi:"name"` // The performance level of the ESSD used as the data disk. PerformanceLevel *string `pulumi:"performanceLevel"` // The size of the data disk. Size *int `pulumi:"size"` }
type EcsLaunchTemplateSystemDiskArgs ¶
type EcsLaunchTemplateSystemDiskArgs struct { // The category of the disk. Category pulumi.StringPtrInput `pulumi:"category"` // Indicates whether the data disk is released with the instance. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` // The Iops. Iops pulumi.StringPtrInput `pulumi:"iops"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` // The performance level of the ESSD used as the data disk. PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"` // The size of the data disk. Size pulumi.IntPtrInput `pulumi:"size"` }
func (EcsLaunchTemplateSystemDiskArgs) ElementType ¶
func (EcsLaunchTemplateSystemDiskArgs) ElementType() reflect.Type
func (EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskOutput ¶
func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskOutput() EcsLaunchTemplateSystemDiskOutput
func (EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskOutputWithContext ¶
func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskOutput
func (EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskPtrOutput ¶
func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput
func (EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext ¶
func (i EcsLaunchTemplateSystemDiskArgs) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskPtrOutput
type EcsLaunchTemplateSystemDiskInput ¶
type EcsLaunchTemplateSystemDiskInput interface { pulumi.Input ToEcsLaunchTemplateSystemDiskOutput() EcsLaunchTemplateSystemDiskOutput ToEcsLaunchTemplateSystemDiskOutputWithContext(context.Context) EcsLaunchTemplateSystemDiskOutput }
EcsLaunchTemplateSystemDiskInput is an input type that accepts EcsLaunchTemplateSystemDiskArgs and EcsLaunchTemplateSystemDiskOutput values. You can construct a concrete instance of `EcsLaunchTemplateSystemDiskInput` via:
EcsLaunchTemplateSystemDiskArgs{...}
type EcsLaunchTemplateSystemDiskOutput ¶
type EcsLaunchTemplateSystemDiskOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateSystemDiskOutput) Category ¶
func (o EcsLaunchTemplateSystemDiskOutput) Category() pulumi.StringPtrOutput
The category of the disk.
func (EcsLaunchTemplateSystemDiskOutput) DeleteWithInstance ¶
func (o EcsLaunchTemplateSystemDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Indicates whether the data disk is released with the instance.
func (EcsLaunchTemplateSystemDiskOutput) Description ¶
func (o EcsLaunchTemplateSystemDiskOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (EcsLaunchTemplateSystemDiskOutput) ElementType ¶
func (EcsLaunchTemplateSystemDiskOutput) ElementType() reflect.Type
func (EcsLaunchTemplateSystemDiskOutput) Iops ¶
func (o EcsLaunchTemplateSystemDiskOutput) Iops() pulumi.StringPtrOutput
The Iops.
func (EcsLaunchTemplateSystemDiskOutput) Name ¶
func (o EcsLaunchTemplateSystemDiskOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (EcsLaunchTemplateSystemDiskOutput) PerformanceLevel ¶
func (o EcsLaunchTemplateSystemDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
The performance level of the ESSD used as the data disk.
func (EcsLaunchTemplateSystemDiskOutput) Size ¶
func (o EcsLaunchTemplateSystemDiskOutput) Size() pulumi.IntPtrOutput
The size of the data disk.
func (EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskOutput ¶
func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskOutput() EcsLaunchTemplateSystemDiskOutput
func (EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskOutputWithContext ¶
func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskOutput
func (EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskPtrOutput ¶
func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput
func (EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext ¶
func (o EcsLaunchTemplateSystemDiskOutput) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskPtrOutput
type EcsLaunchTemplateSystemDiskPtrInput ¶
type EcsLaunchTemplateSystemDiskPtrInput interface { pulumi.Input ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(context.Context) EcsLaunchTemplateSystemDiskPtrOutput }
EcsLaunchTemplateSystemDiskPtrInput is an input type that accepts EcsLaunchTemplateSystemDiskArgs, EcsLaunchTemplateSystemDiskPtr and EcsLaunchTemplateSystemDiskPtrOutput values. You can construct a concrete instance of `EcsLaunchTemplateSystemDiskPtrInput` via:
EcsLaunchTemplateSystemDiskArgs{...} or: nil
func EcsLaunchTemplateSystemDiskPtr ¶
func EcsLaunchTemplateSystemDiskPtr(v *EcsLaunchTemplateSystemDiskArgs) EcsLaunchTemplateSystemDiskPtrInput
type EcsLaunchTemplateSystemDiskPtrOutput ¶
type EcsLaunchTemplateSystemDiskPtrOutput struct{ *pulumi.OutputState }
func (EcsLaunchTemplateSystemDiskPtrOutput) Category ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) Category() pulumi.StringPtrOutput
The category of the disk.
func (EcsLaunchTemplateSystemDiskPtrOutput) DeleteWithInstance ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Indicates whether the data disk is released with the instance.
func (EcsLaunchTemplateSystemDiskPtrOutput) Description ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (EcsLaunchTemplateSystemDiskPtrOutput) ElementType ¶
func (EcsLaunchTemplateSystemDiskPtrOutput) ElementType() reflect.Type
func (EcsLaunchTemplateSystemDiskPtrOutput) Iops ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) Iops() pulumi.StringPtrOutput
The Iops.
func (EcsLaunchTemplateSystemDiskPtrOutput) Name ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (EcsLaunchTemplateSystemDiskPtrOutput) PerformanceLevel ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) PerformanceLevel() pulumi.StringPtrOutput
The performance level of the ESSD used as the data disk.
func (EcsLaunchTemplateSystemDiskPtrOutput) Size ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) Size() pulumi.IntPtrOutput
The size of the data disk.
func (EcsLaunchTemplateSystemDiskPtrOutput) ToEcsLaunchTemplateSystemDiskPtrOutput ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) ToEcsLaunchTemplateSystemDiskPtrOutput() EcsLaunchTemplateSystemDiskPtrOutput
func (EcsLaunchTemplateSystemDiskPtrOutput) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext ¶
func (o EcsLaunchTemplateSystemDiskPtrOutput) ToEcsLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) EcsLaunchTemplateSystemDiskPtrOutput
type EcsNetworkInterface ¶ added in v3.3.0
type EcsNetworkInterface struct { pulumi.CustomResourceState // The description of the ENI. The description must be 2 to 256 characters in length and cannot start with http:// or https://. Description pulumi.StringPtrOutput `pulumi:"description"` // The MAC address of the ENI. Mac pulumi.StringOutput `pulumi:"mac"` // Field `name` has been deprecated from provider version 1.123.1. New field `networkInterfaceName` instead // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name pulumi.StringOutput `pulumi:"name"` // The name of the ENI. The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. NetworkInterfaceName pulumi.StringOutput `pulumi:"networkInterfaceName"` // The primary private IP address of the ENI. The specified IP address must be available within the CIDR block of the VSwitch. If this parameter is not specified, an available IP address is assigned from the VSwitch CIDR block at random. PrimaryIpAddress pulumi.StringOutput `pulumi:"primaryIpAddress"` // Field `privateIp` has been deprecated from provider version 1.123.1. New field `primaryIpAddress` instead // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp pulumi.StringOutput `pulumi:"privateIp"` // Specifies secondary private IP address N of the ENI. This IP address must be an available IP address within the CIDR block of the VSwitch to which the ENI belongs. PrivateIpAddresses pulumi.StringArrayOutput `pulumi:"privateIpAddresses"` // Field `privateIps` has been deprecated from provider version 1.123.1. New field `privateIpAddresses` instead // // Deprecated: Field 'private_ips' has been deprecated from provider version 1.123.1. New field 'private_ip_addresses' instead PrivateIps pulumi.StringArrayOutput `pulumi:"privateIps"` // Field `privateIpsCount` has been deprecated from provider version 1.123.1. New field `secondaryPrivateIpAddressCount` instead // // Deprecated: Field 'private_ips_count' has been deprecated from provider version 1.123.1. New field 'secondary_private_ip_address_count' instead PrivateIpsCount pulumi.IntOutput `pulumi:"privateIpsCount"` // The queue number of the ENI. QueueNumber pulumi.IntOutput `pulumi:"queueNumber"` // The resource group id. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The number of private IP addresses that can be automatically created by ECS. SecondaryPrivateIpAddressCount pulumi.IntOutput `pulumi:"secondaryPrivateIpAddressCount"` // The ID of security group N. The security groups and the ENI must belong to the same VPC. The valid values of N are based on the maximum number of security groups to which an ENI can be added. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // Field `securityGroups` has been deprecated from provider version 1.123.1. New field `securityGroupIds` instead // // Deprecated: Field 'security_groups' has been deprecated from provider version 1.123.1. New field 'security_group_ids' instead SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` // The status of the ENI. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The ID of the VSwitch in the specified VPC. The private IP addresses assigned to the ENI must be available IP addresses within the CIDR block of the VSwitch. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` }
Provides a ECS Network Interface resource.
For information about ECS Network Interface and how to use it, see [What is Network Interface](https://www.alibabacloud.com/help/en/doc-detail/58504.htm).
> **NOTE:** Available in v1.123.1+.
> **NOTE** Only one of `privateIpAddresses` or `secondaryPrivateIpAddressCount` can be specified when assign private IPs.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-testAcc" if param := cfg.Get("name"); param != "" { name = param } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("192.168.0.0/24"), }) if err != nil { return err } defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("192.168.0.0/24"), ZoneId: pulumi.String(defaultZones.Zones[0].Id), VpcId: defaultNetwork.ID(), }) if err != nil { return err } defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{ VpcId: defaultNetwork.ID(), }) if err != nil { return err } defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ Status: pulumi.StringRef("OK"), }, nil) if err != nil { return err } _, err = ecs.NewEcsNetworkInterface(ctx, "defaultEcsNetworkInterface", &ecs.EcsNetworkInterfaceArgs{ NetworkInterfaceName: pulumi.String(name), VswitchId: defaultSwitch.ID(), SecurityGroupIds: pulumi.StringArray{ defaultSecurityGroup.ID(), }, Description: pulumi.String("Basic test"), PrimaryIpAddress: pulumi.String("192.168.0.2"), Tags: pulumi.AnyMap{ "Created": pulumi.Any("TF"), "For": pulumi.Any("Test"), }, ResourceGroupId: pulumi.String(defaultResourceGroups.Ids[0]), }) if err != nil { return err } return nil }) }
```
## Import
ECS Network Interface can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsNetworkInterface:EcsNetworkInterface example eni-abcd12345
```
func GetEcsNetworkInterface ¶ added in v3.3.0
func GetEcsNetworkInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsNetworkInterfaceState, opts ...pulumi.ResourceOption) (*EcsNetworkInterface, error)
GetEcsNetworkInterface gets an existing EcsNetworkInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsNetworkInterface ¶ added in v3.3.0
func NewEcsNetworkInterface(ctx *pulumi.Context, name string, args *EcsNetworkInterfaceArgs, opts ...pulumi.ResourceOption) (*EcsNetworkInterface, error)
NewEcsNetworkInterface registers a new resource with the given unique name, arguments, and options.
func (*EcsNetworkInterface) ElementType ¶ added in v3.3.0
func (*EcsNetworkInterface) ElementType() reflect.Type
func (*EcsNetworkInterface) ToEcsNetworkInterfaceOutput ¶ added in v3.3.0
func (i *EcsNetworkInterface) ToEcsNetworkInterfaceOutput() EcsNetworkInterfaceOutput
func (*EcsNetworkInterface) ToEcsNetworkInterfaceOutputWithContext ¶ added in v3.3.0
func (i *EcsNetworkInterface) ToEcsNetworkInterfaceOutputWithContext(ctx context.Context) EcsNetworkInterfaceOutput
type EcsNetworkInterfaceArgs ¶ added in v3.3.0
type EcsNetworkInterfaceArgs struct { // The description of the ENI. The description must be 2 to 256 characters in length and cannot start with http:// or https://. Description pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1. New field `networkInterfaceName` instead // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name pulumi.StringPtrInput // The name of the ENI. The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. NetworkInterfaceName pulumi.StringPtrInput // The primary private IP address of the ENI. The specified IP address must be available within the CIDR block of the VSwitch. If this parameter is not specified, an available IP address is assigned from the VSwitch CIDR block at random. PrimaryIpAddress pulumi.StringPtrInput // Field `privateIp` has been deprecated from provider version 1.123.1. New field `primaryIpAddress` instead // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp pulumi.StringPtrInput // Specifies secondary private IP address N of the ENI. This IP address must be an available IP address within the CIDR block of the VSwitch to which the ENI belongs. PrivateIpAddresses pulumi.StringArrayInput // Field `privateIps` has been deprecated from provider version 1.123.1. New field `privateIpAddresses` instead // // Deprecated: Field 'private_ips' has been deprecated from provider version 1.123.1. New field 'private_ip_addresses' instead PrivateIps pulumi.StringArrayInput // Field `privateIpsCount` has been deprecated from provider version 1.123.1. New field `secondaryPrivateIpAddressCount` instead // // Deprecated: Field 'private_ips_count' has been deprecated from provider version 1.123.1. New field 'secondary_private_ip_address_count' instead PrivateIpsCount pulumi.IntPtrInput // The queue number of the ENI. QueueNumber pulumi.IntPtrInput // The resource group id. ResourceGroupId pulumi.StringPtrInput // The number of private IP addresses that can be automatically created by ECS. SecondaryPrivateIpAddressCount pulumi.IntPtrInput // The ID of security group N. The security groups and the ENI must belong to the same VPC. The valid values of N are based on the maximum number of security groups to which an ENI can be added. SecurityGroupIds pulumi.StringArrayInput // Field `securityGroups` has been deprecated from provider version 1.123.1. New field `securityGroupIds` instead // // Deprecated: Field 'security_groups' has been deprecated from provider version 1.123.1. New field 'security_group_ids' instead SecurityGroups pulumi.StringArrayInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The ID of the VSwitch in the specified VPC. The private IP addresses assigned to the ENI must be available IP addresses within the CIDR block of the VSwitch. VswitchId pulumi.StringInput }
The set of arguments for constructing a EcsNetworkInterface resource.
func (EcsNetworkInterfaceArgs) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceArgs) ElementType() reflect.Type
type EcsNetworkInterfaceArray ¶ added in v3.3.0
type EcsNetworkInterfaceArray []EcsNetworkInterfaceInput
func (EcsNetworkInterfaceArray) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceArray) ElementType() reflect.Type
func (EcsNetworkInterfaceArray) ToEcsNetworkInterfaceArrayOutput ¶ added in v3.3.0
func (i EcsNetworkInterfaceArray) ToEcsNetworkInterfaceArrayOutput() EcsNetworkInterfaceArrayOutput
func (EcsNetworkInterfaceArray) ToEcsNetworkInterfaceArrayOutputWithContext ¶ added in v3.3.0
func (i EcsNetworkInterfaceArray) ToEcsNetworkInterfaceArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceArrayOutput
type EcsNetworkInterfaceArrayInput ¶ added in v3.3.0
type EcsNetworkInterfaceArrayInput interface { pulumi.Input ToEcsNetworkInterfaceArrayOutput() EcsNetworkInterfaceArrayOutput ToEcsNetworkInterfaceArrayOutputWithContext(context.Context) EcsNetworkInterfaceArrayOutput }
EcsNetworkInterfaceArrayInput is an input type that accepts EcsNetworkInterfaceArray and EcsNetworkInterfaceArrayOutput values. You can construct a concrete instance of `EcsNetworkInterfaceArrayInput` via:
EcsNetworkInterfaceArray{ EcsNetworkInterfaceArgs{...} }
type EcsNetworkInterfaceArrayOutput ¶ added in v3.3.0
type EcsNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (EcsNetworkInterfaceArrayOutput) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (EcsNetworkInterfaceArrayOutput) Index ¶ added in v3.3.0
func (o EcsNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) EcsNetworkInterfaceOutput
func (EcsNetworkInterfaceArrayOutput) ToEcsNetworkInterfaceArrayOutput ¶ added in v3.3.0
func (o EcsNetworkInterfaceArrayOutput) ToEcsNetworkInterfaceArrayOutput() EcsNetworkInterfaceArrayOutput
func (EcsNetworkInterfaceArrayOutput) ToEcsNetworkInterfaceArrayOutputWithContext ¶ added in v3.3.0
func (o EcsNetworkInterfaceArrayOutput) ToEcsNetworkInterfaceArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceArrayOutput
type EcsNetworkInterfaceAttachment ¶ added in v3.3.0
type EcsNetworkInterfaceAttachment struct { pulumi.CustomResourceState // The instance id. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The network interface id. NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"` // The trunk network instance id. TrunkNetworkInstanceId pulumi.StringPtrOutput `pulumi:"trunkNetworkInstanceId"` // The wait for network configuration ready. WaitForNetworkConfigurationReady pulumi.BoolPtrOutput `pulumi:"waitForNetworkConfigurationReady"` }
Provides a ECS Network Interface Attachment resource.
For information about ECS Network Interface Attachment and how to use it, see [What is Network Interface Attachment](https://www.alibabacloud.com/help/en/doc-detail/58515.htm).
> **NOTE:** Available in v1.123.1+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-testAcc" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("Instance"), }, nil) if err != nil { return err } defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id), EniAmount: pulumi.IntRef(3), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("192.168.0.0/24"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("192.168.0.0/24"), ZoneId: pulumi.String(defaultZones.Zones[0].Id), VpcId: defaultNetwork.ID(), }) if err != nil { return err } defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{ Description: pulumi.String("New security group"), VpcId: defaultNetwork.ID(), }) if err != nil { return err } defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^ubuntu_[0-9]+_[0-9]+_x64*"), MostRecent: pulumi.BoolRef(true), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } defaultInstance, err := ecs.NewInstance(ctx, "defaultInstance", &ecs.InstanceArgs{ AvailabilityZone: pulumi.String(defaultZones.Zones[0].Id), InstanceName: pulumi.String(name), HostName: pulumi.String("tf-testAcc"), ImageId: pulumi.String(defaultImages.Images[0].Id), InstanceType: pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id), SecurityGroups: pulumi.StringArray{ defaultSecurityGroup.ID(), }, VswitchId: defaultSwitch.ID(), }) if err != nil { return err } defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ Status: pulumi.StringRef("OK"), }, nil) if err != nil { return err } defaultEcsNetworkInterface, err := ecs.NewEcsNetworkInterface(ctx, "defaultEcsNetworkInterface", &ecs.EcsNetworkInterfaceArgs{ NetworkInterfaceName: pulumi.String(name), VswitchId: defaultSwitch.ID(), SecurityGroupIds: pulumi.StringArray{ defaultSecurityGroup.ID(), }, Description: pulumi.String("Basic test"), PrimaryIpAddress: pulumi.String("192.168.0.2"), Tags: pulumi.AnyMap{ "Created": pulumi.Any("TF"), "For": pulumi.Any("Test"), }, ResourceGroupId: pulumi.String(defaultResourceGroups.Ids[0]), }) if err != nil { return err } _, err = ecs.NewEcsNetworkInterfaceAttachment(ctx, "defaultEcsNetworkInterfaceAttachment", &ecs.EcsNetworkInterfaceAttachmentArgs{ NetworkInterfaceId: defaultEcsNetworkInterface.ID(), InstanceId: defaultInstance.ID(), }) if err != nil { return err } return nil }) }
```
## Import
ECS Network Interface Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsNetworkInterfaceAttachment:EcsNetworkInterfaceAttachment example eni-abcd1234:i-abcd1234
```
func GetEcsNetworkInterfaceAttachment ¶ added in v3.3.0
func GetEcsNetworkInterfaceAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsNetworkInterfaceAttachmentState, opts ...pulumi.ResourceOption) (*EcsNetworkInterfaceAttachment, error)
GetEcsNetworkInterfaceAttachment gets an existing EcsNetworkInterfaceAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsNetworkInterfaceAttachment ¶ added in v3.3.0
func NewEcsNetworkInterfaceAttachment(ctx *pulumi.Context, name string, args *EcsNetworkInterfaceAttachmentArgs, opts ...pulumi.ResourceOption) (*EcsNetworkInterfaceAttachment, error)
NewEcsNetworkInterfaceAttachment registers a new resource with the given unique name, arguments, and options.
func (*EcsNetworkInterfaceAttachment) ElementType ¶ added in v3.3.0
func (*EcsNetworkInterfaceAttachment) ElementType() reflect.Type
func (*EcsNetworkInterfaceAttachment) ToEcsNetworkInterfaceAttachmentOutput ¶ added in v3.3.0
func (i *EcsNetworkInterfaceAttachment) ToEcsNetworkInterfaceAttachmentOutput() EcsNetworkInterfaceAttachmentOutput
func (*EcsNetworkInterfaceAttachment) ToEcsNetworkInterfaceAttachmentOutputWithContext ¶ added in v3.3.0
func (i *EcsNetworkInterfaceAttachment) ToEcsNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentOutput
type EcsNetworkInterfaceAttachmentArgs ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentArgs struct { // The instance id. InstanceId pulumi.StringInput // The network interface id. NetworkInterfaceId pulumi.StringInput // The trunk network instance id. TrunkNetworkInstanceId pulumi.StringPtrInput // The wait for network configuration ready. WaitForNetworkConfigurationReady pulumi.BoolPtrInput }
The set of arguments for constructing a EcsNetworkInterfaceAttachment resource.
func (EcsNetworkInterfaceAttachmentArgs) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentArgs) ElementType() reflect.Type
type EcsNetworkInterfaceAttachmentArray ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentArray []EcsNetworkInterfaceAttachmentInput
func (EcsNetworkInterfaceAttachmentArray) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentArray) ElementType() reflect.Type
func (EcsNetworkInterfaceAttachmentArray) ToEcsNetworkInterfaceAttachmentArrayOutput ¶ added in v3.3.0
func (i EcsNetworkInterfaceAttachmentArray) ToEcsNetworkInterfaceAttachmentArrayOutput() EcsNetworkInterfaceAttachmentArrayOutput
func (EcsNetworkInterfaceAttachmentArray) ToEcsNetworkInterfaceAttachmentArrayOutputWithContext ¶ added in v3.3.0
func (i EcsNetworkInterfaceAttachmentArray) ToEcsNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentArrayOutput
type EcsNetworkInterfaceAttachmentArrayInput ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentArrayInput interface { pulumi.Input ToEcsNetworkInterfaceAttachmentArrayOutput() EcsNetworkInterfaceAttachmentArrayOutput ToEcsNetworkInterfaceAttachmentArrayOutputWithContext(context.Context) EcsNetworkInterfaceAttachmentArrayOutput }
EcsNetworkInterfaceAttachmentArrayInput is an input type that accepts EcsNetworkInterfaceAttachmentArray and EcsNetworkInterfaceAttachmentArrayOutput values. You can construct a concrete instance of `EcsNetworkInterfaceAttachmentArrayInput` via:
EcsNetworkInterfaceAttachmentArray{ EcsNetworkInterfaceAttachmentArgs{...} }
type EcsNetworkInterfaceAttachmentArrayOutput ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentArrayOutput struct{ *pulumi.OutputState }
func (EcsNetworkInterfaceAttachmentArrayOutput) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentArrayOutput) ElementType() reflect.Type
func (EcsNetworkInterfaceAttachmentArrayOutput) ToEcsNetworkInterfaceAttachmentArrayOutput ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentArrayOutput) ToEcsNetworkInterfaceAttachmentArrayOutput() EcsNetworkInterfaceAttachmentArrayOutput
func (EcsNetworkInterfaceAttachmentArrayOutput) ToEcsNetworkInterfaceAttachmentArrayOutputWithContext ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentArrayOutput) ToEcsNetworkInterfaceAttachmentArrayOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentArrayOutput
type EcsNetworkInterfaceAttachmentInput ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentInput interface { pulumi.Input ToEcsNetworkInterfaceAttachmentOutput() EcsNetworkInterfaceAttachmentOutput ToEcsNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentOutput }
type EcsNetworkInterfaceAttachmentMap ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentMap map[string]EcsNetworkInterfaceAttachmentInput
func (EcsNetworkInterfaceAttachmentMap) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentMap) ElementType() reflect.Type
func (EcsNetworkInterfaceAttachmentMap) ToEcsNetworkInterfaceAttachmentMapOutput ¶ added in v3.3.0
func (i EcsNetworkInterfaceAttachmentMap) ToEcsNetworkInterfaceAttachmentMapOutput() EcsNetworkInterfaceAttachmentMapOutput
func (EcsNetworkInterfaceAttachmentMap) ToEcsNetworkInterfaceAttachmentMapOutputWithContext ¶ added in v3.3.0
func (i EcsNetworkInterfaceAttachmentMap) ToEcsNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentMapOutput
type EcsNetworkInterfaceAttachmentMapInput ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentMapInput interface { pulumi.Input ToEcsNetworkInterfaceAttachmentMapOutput() EcsNetworkInterfaceAttachmentMapOutput ToEcsNetworkInterfaceAttachmentMapOutputWithContext(context.Context) EcsNetworkInterfaceAttachmentMapOutput }
EcsNetworkInterfaceAttachmentMapInput is an input type that accepts EcsNetworkInterfaceAttachmentMap and EcsNetworkInterfaceAttachmentMapOutput values. You can construct a concrete instance of `EcsNetworkInterfaceAttachmentMapInput` via:
EcsNetworkInterfaceAttachmentMap{ "key": EcsNetworkInterfaceAttachmentArgs{...} }
type EcsNetworkInterfaceAttachmentMapOutput ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentMapOutput struct{ *pulumi.OutputState }
func (EcsNetworkInterfaceAttachmentMapOutput) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentMapOutput) ElementType() reflect.Type
func (EcsNetworkInterfaceAttachmentMapOutput) MapIndex ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentMapOutput) MapIndex(k pulumi.StringInput) EcsNetworkInterfaceAttachmentOutput
func (EcsNetworkInterfaceAttachmentMapOutput) ToEcsNetworkInterfaceAttachmentMapOutput ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentMapOutput) ToEcsNetworkInterfaceAttachmentMapOutput() EcsNetworkInterfaceAttachmentMapOutput
func (EcsNetworkInterfaceAttachmentMapOutput) ToEcsNetworkInterfaceAttachmentMapOutputWithContext ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentMapOutput) ToEcsNetworkInterfaceAttachmentMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentMapOutput
type EcsNetworkInterfaceAttachmentOutput ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentOutput struct{ *pulumi.OutputState }
func (EcsNetworkInterfaceAttachmentOutput) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentOutput) ElementType() reflect.Type
func (EcsNetworkInterfaceAttachmentOutput) ToEcsNetworkInterfaceAttachmentOutput ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentOutput) ToEcsNetworkInterfaceAttachmentOutput() EcsNetworkInterfaceAttachmentOutput
func (EcsNetworkInterfaceAttachmentOutput) ToEcsNetworkInterfaceAttachmentOutputWithContext ¶ added in v3.3.0
func (o EcsNetworkInterfaceAttachmentOutput) ToEcsNetworkInterfaceAttachmentOutputWithContext(ctx context.Context) EcsNetworkInterfaceAttachmentOutput
type EcsNetworkInterfaceAttachmentState ¶ added in v3.3.0
type EcsNetworkInterfaceAttachmentState struct { // The instance id. InstanceId pulumi.StringPtrInput // The network interface id. NetworkInterfaceId pulumi.StringPtrInput // The trunk network instance id. TrunkNetworkInstanceId pulumi.StringPtrInput // The wait for network configuration ready. WaitForNetworkConfigurationReady pulumi.BoolPtrInput }
func (EcsNetworkInterfaceAttachmentState) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceAttachmentState) ElementType() reflect.Type
type EcsNetworkInterfaceInput ¶ added in v3.3.0
type EcsNetworkInterfaceInput interface { pulumi.Input ToEcsNetworkInterfaceOutput() EcsNetworkInterfaceOutput ToEcsNetworkInterfaceOutputWithContext(ctx context.Context) EcsNetworkInterfaceOutput }
type EcsNetworkInterfaceMap ¶ added in v3.3.0
type EcsNetworkInterfaceMap map[string]EcsNetworkInterfaceInput
func (EcsNetworkInterfaceMap) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceMap) ElementType() reflect.Type
func (EcsNetworkInterfaceMap) ToEcsNetworkInterfaceMapOutput ¶ added in v3.3.0
func (i EcsNetworkInterfaceMap) ToEcsNetworkInterfaceMapOutput() EcsNetworkInterfaceMapOutput
func (EcsNetworkInterfaceMap) ToEcsNetworkInterfaceMapOutputWithContext ¶ added in v3.3.0
func (i EcsNetworkInterfaceMap) ToEcsNetworkInterfaceMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceMapOutput
type EcsNetworkInterfaceMapInput ¶ added in v3.3.0
type EcsNetworkInterfaceMapInput interface { pulumi.Input ToEcsNetworkInterfaceMapOutput() EcsNetworkInterfaceMapOutput ToEcsNetworkInterfaceMapOutputWithContext(context.Context) EcsNetworkInterfaceMapOutput }
EcsNetworkInterfaceMapInput is an input type that accepts EcsNetworkInterfaceMap and EcsNetworkInterfaceMapOutput values. You can construct a concrete instance of `EcsNetworkInterfaceMapInput` via:
EcsNetworkInterfaceMap{ "key": EcsNetworkInterfaceArgs{...} }
type EcsNetworkInterfaceMapOutput ¶ added in v3.3.0
type EcsNetworkInterfaceMapOutput struct{ *pulumi.OutputState }
func (EcsNetworkInterfaceMapOutput) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceMapOutput) ElementType() reflect.Type
func (EcsNetworkInterfaceMapOutput) MapIndex ¶ added in v3.3.0
func (o EcsNetworkInterfaceMapOutput) MapIndex(k pulumi.StringInput) EcsNetworkInterfaceOutput
func (EcsNetworkInterfaceMapOutput) ToEcsNetworkInterfaceMapOutput ¶ added in v3.3.0
func (o EcsNetworkInterfaceMapOutput) ToEcsNetworkInterfaceMapOutput() EcsNetworkInterfaceMapOutput
func (EcsNetworkInterfaceMapOutput) ToEcsNetworkInterfaceMapOutputWithContext ¶ added in v3.3.0
func (o EcsNetworkInterfaceMapOutput) ToEcsNetworkInterfaceMapOutputWithContext(ctx context.Context) EcsNetworkInterfaceMapOutput
type EcsNetworkInterfaceOutput ¶ added in v3.3.0
type EcsNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (EcsNetworkInterfaceOutput) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceOutput) ElementType() reflect.Type
func (EcsNetworkInterfaceOutput) ToEcsNetworkInterfaceOutput ¶ added in v3.3.0
func (o EcsNetworkInterfaceOutput) ToEcsNetworkInterfaceOutput() EcsNetworkInterfaceOutput
func (EcsNetworkInterfaceOutput) ToEcsNetworkInterfaceOutputWithContext ¶ added in v3.3.0
func (o EcsNetworkInterfaceOutput) ToEcsNetworkInterfaceOutputWithContext(ctx context.Context) EcsNetworkInterfaceOutput
type EcsNetworkInterfaceState ¶ added in v3.3.0
type EcsNetworkInterfaceState struct { // The description of the ENI. The description must be 2 to 256 characters in length and cannot start with http:// or https://. Description pulumi.StringPtrInput // The MAC address of the ENI. Mac pulumi.StringPtrInput // Field `name` has been deprecated from provider version 1.123.1. New field `networkInterfaceName` instead // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name pulumi.StringPtrInput // The name of the ENI. The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. NetworkInterfaceName pulumi.StringPtrInput // The primary private IP address of the ENI. The specified IP address must be available within the CIDR block of the VSwitch. If this parameter is not specified, an available IP address is assigned from the VSwitch CIDR block at random. PrimaryIpAddress pulumi.StringPtrInput // Field `privateIp` has been deprecated from provider version 1.123.1. New field `primaryIpAddress` instead // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp pulumi.StringPtrInput // Specifies secondary private IP address N of the ENI. This IP address must be an available IP address within the CIDR block of the VSwitch to which the ENI belongs. PrivateIpAddresses pulumi.StringArrayInput // Field `privateIps` has been deprecated from provider version 1.123.1. New field `privateIpAddresses` instead // // Deprecated: Field 'private_ips' has been deprecated from provider version 1.123.1. New field 'private_ip_addresses' instead PrivateIps pulumi.StringArrayInput // Field `privateIpsCount` has been deprecated from provider version 1.123.1. New field `secondaryPrivateIpAddressCount` instead // // Deprecated: Field 'private_ips_count' has been deprecated from provider version 1.123.1. New field 'secondary_private_ip_address_count' instead PrivateIpsCount pulumi.IntPtrInput // The queue number of the ENI. QueueNumber pulumi.IntPtrInput // The resource group id. ResourceGroupId pulumi.StringPtrInput // The number of private IP addresses that can be automatically created by ECS. SecondaryPrivateIpAddressCount pulumi.IntPtrInput // The ID of security group N. The security groups and the ENI must belong to the same VPC. The valid values of N are based on the maximum number of security groups to which an ENI can be added. SecurityGroupIds pulumi.StringArrayInput // Field `securityGroups` has been deprecated from provider version 1.123.1. New field `securityGroupIds` instead // // Deprecated: Field 'security_groups' has been deprecated from provider version 1.123.1. New field 'security_group_ids' instead SecurityGroups pulumi.StringArrayInput // The status of the ENI. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The ID of the VSwitch in the specified VPC. The private IP addresses assigned to the ENI must be available IP addresses within the CIDR block of the VSwitch. VswitchId pulumi.StringPtrInput }
func (EcsNetworkInterfaceState) ElementType ¶ added in v3.3.0
func (EcsNetworkInterfaceState) ElementType() reflect.Type
type EcsPrefixList ¶ added in v3.16.0
type EcsPrefixList struct { pulumi.CustomResourceState // The IP address family. Valid values: `IPv4`,`IPv6`. AddressFamily pulumi.StringOutput `pulumi:"addressFamily"` // The description in entry. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrOutput `pulumi:"description"` // The Entry. The details see Block `entry`. Entries EcsPrefixListEntryArrayOutput `pulumi:"entries"` // The maximum number of entries that the prefix list can contain. Valid values: 1 to 200. MaxEntries pulumi.IntOutput `pulumi:"maxEntries"` // The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://`, `https://`, `com.aliyun`, or `com.alibabacloud`. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). PrefixListName pulumi.StringOutput `pulumi:"prefixListName"` }
Provides a ECS Prefix List resource.
For information about ECS Prefix List and how to use it, see [What is Prefix List.](https://www.alibabacloud.com/help/en/doc-detail/207969.html).
> **NOTE:** Available in v1.152.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsPrefixList(ctx, "default", &ecs.EcsPrefixListArgs{ AddressFamily: pulumi.String("IPv4"), Description: pulumi.String("description"), Entries: ecs.EcsPrefixListEntryArray{ &ecs.EcsPrefixListEntryArgs{ Cidr: pulumi.String("192.168.0.0/24"), Description: pulumi.String("description"), }, }, MaxEntries: pulumi.Int(2), PrefixListName: pulumi.String("tftest"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Prefix List can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsPrefixList:EcsPrefixList example <id>
```
func GetEcsPrefixList ¶ added in v3.16.0
func GetEcsPrefixList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsPrefixListState, opts ...pulumi.ResourceOption) (*EcsPrefixList, error)
GetEcsPrefixList gets an existing EcsPrefixList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsPrefixList ¶ added in v3.16.0
func NewEcsPrefixList(ctx *pulumi.Context, name string, args *EcsPrefixListArgs, opts ...pulumi.ResourceOption) (*EcsPrefixList, error)
NewEcsPrefixList registers a new resource with the given unique name, arguments, and options.
func (*EcsPrefixList) ElementType ¶ added in v3.16.0
func (*EcsPrefixList) ElementType() reflect.Type
func (*EcsPrefixList) ToEcsPrefixListOutput ¶ added in v3.16.0
func (i *EcsPrefixList) ToEcsPrefixListOutput() EcsPrefixListOutput
func (*EcsPrefixList) ToEcsPrefixListOutputWithContext ¶ added in v3.16.0
func (i *EcsPrefixList) ToEcsPrefixListOutputWithContext(ctx context.Context) EcsPrefixListOutput
type EcsPrefixListArgs ¶ added in v3.16.0
type EcsPrefixListArgs struct { // The IP address family. Valid values: `IPv4`,`IPv6`. AddressFamily pulumi.StringInput // The description in entry. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The Entry. The details see Block `entry`. Entries EcsPrefixListEntryArrayInput // The maximum number of entries that the prefix list can contain. Valid values: 1 to 200. MaxEntries pulumi.IntInput // The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://`, `https://`, `com.aliyun`, or `com.alibabacloud`. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). PrefixListName pulumi.StringInput }
The set of arguments for constructing a EcsPrefixList resource.
func (EcsPrefixListArgs) ElementType ¶ added in v3.16.0
func (EcsPrefixListArgs) ElementType() reflect.Type
type EcsPrefixListArray ¶ added in v3.16.0
type EcsPrefixListArray []EcsPrefixListInput
func (EcsPrefixListArray) ElementType ¶ added in v3.16.0
func (EcsPrefixListArray) ElementType() reflect.Type
func (EcsPrefixListArray) ToEcsPrefixListArrayOutput ¶ added in v3.16.0
func (i EcsPrefixListArray) ToEcsPrefixListArrayOutput() EcsPrefixListArrayOutput
func (EcsPrefixListArray) ToEcsPrefixListArrayOutputWithContext ¶ added in v3.16.0
func (i EcsPrefixListArray) ToEcsPrefixListArrayOutputWithContext(ctx context.Context) EcsPrefixListArrayOutput
type EcsPrefixListArrayInput ¶ added in v3.16.0
type EcsPrefixListArrayInput interface { pulumi.Input ToEcsPrefixListArrayOutput() EcsPrefixListArrayOutput ToEcsPrefixListArrayOutputWithContext(context.Context) EcsPrefixListArrayOutput }
EcsPrefixListArrayInput is an input type that accepts EcsPrefixListArray and EcsPrefixListArrayOutput values. You can construct a concrete instance of `EcsPrefixListArrayInput` via:
EcsPrefixListArray{ EcsPrefixListArgs{...} }
type EcsPrefixListArrayOutput ¶ added in v3.16.0
type EcsPrefixListArrayOutput struct{ *pulumi.OutputState }
func (EcsPrefixListArrayOutput) ElementType ¶ added in v3.16.0
func (EcsPrefixListArrayOutput) ElementType() reflect.Type
func (EcsPrefixListArrayOutput) Index ¶ added in v3.16.0
func (o EcsPrefixListArrayOutput) Index(i pulumi.IntInput) EcsPrefixListOutput
func (EcsPrefixListArrayOutput) ToEcsPrefixListArrayOutput ¶ added in v3.16.0
func (o EcsPrefixListArrayOutput) ToEcsPrefixListArrayOutput() EcsPrefixListArrayOutput
func (EcsPrefixListArrayOutput) ToEcsPrefixListArrayOutputWithContext ¶ added in v3.16.0
func (o EcsPrefixListArrayOutput) ToEcsPrefixListArrayOutputWithContext(ctx context.Context) EcsPrefixListArrayOutput
type EcsPrefixListEntry ¶ added in v3.16.0
type EcsPrefixListEntry struct { // The CIDR block in entry. This parameter is empty by default. Take note of the following items: // * The total number of entries must not exceed the `maxEntries` value. // * CIDR block types are determined by the IP address family. You cannot combine `IPv4` and `IPv6` CIDR blocks in a single entry. // * CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0/24 twice in the entries of the prefix list. // * IP addresses are supported. The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100/32 CIDR block. // * If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it into 2001:db8::/32. // * For more information about CIDR blocks, see the "What is CIDR block?" section of the [Network FAQ](https://www.alibabacloud.com/help/doc-detail/40637.htm) topic. * The total number of entries must not exceed the `maxEntries` value. Cidr *string `pulumi:"cidr"` // The description in entry. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`. Description *string `pulumi:"description"` }
type EcsPrefixListEntryArgs ¶ added in v3.16.0
type EcsPrefixListEntryArgs struct { // The CIDR block in entry. This parameter is empty by default. Take note of the following items: // * The total number of entries must not exceed the `maxEntries` value. // * CIDR block types are determined by the IP address family. You cannot combine `IPv4` and `IPv6` CIDR blocks in a single entry. // * CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0/24 twice in the entries of the prefix list. // * IP addresses are supported. The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100/32 CIDR block. // * If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it into 2001:db8::/32. // * For more information about CIDR blocks, see the "What is CIDR block?" section of the [Network FAQ](https://www.alibabacloud.com/help/doc-detail/40637.htm) topic. * The total number of entries must not exceed the `maxEntries` value. Cidr pulumi.StringPtrInput `pulumi:"cidr"` // The description in entry. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput `pulumi:"description"` }
func (EcsPrefixListEntryArgs) ElementType ¶ added in v3.16.0
func (EcsPrefixListEntryArgs) ElementType() reflect.Type
func (EcsPrefixListEntryArgs) ToEcsPrefixListEntryOutput ¶ added in v3.16.0
func (i EcsPrefixListEntryArgs) ToEcsPrefixListEntryOutput() EcsPrefixListEntryOutput
func (EcsPrefixListEntryArgs) ToEcsPrefixListEntryOutputWithContext ¶ added in v3.16.0
func (i EcsPrefixListEntryArgs) ToEcsPrefixListEntryOutputWithContext(ctx context.Context) EcsPrefixListEntryOutput
type EcsPrefixListEntryArray ¶ added in v3.16.0
type EcsPrefixListEntryArray []EcsPrefixListEntryInput
func (EcsPrefixListEntryArray) ElementType ¶ added in v3.16.0
func (EcsPrefixListEntryArray) ElementType() reflect.Type
func (EcsPrefixListEntryArray) ToEcsPrefixListEntryArrayOutput ¶ added in v3.16.0
func (i EcsPrefixListEntryArray) ToEcsPrefixListEntryArrayOutput() EcsPrefixListEntryArrayOutput
func (EcsPrefixListEntryArray) ToEcsPrefixListEntryArrayOutputWithContext ¶ added in v3.16.0
func (i EcsPrefixListEntryArray) ToEcsPrefixListEntryArrayOutputWithContext(ctx context.Context) EcsPrefixListEntryArrayOutput
type EcsPrefixListEntryArrayInput ¶ added in v3.16.0
type EcsPrefixListEntryArrayInput interface { pulumi.Input ToEcsPrefixListEntryArrayOutput() EcsPrefixListEntryArrayOutput ToEcsPrefixListEntryArrayOutputWithContext(context.Context) EcsPrefixListEntryArrayOutput }
EcsPrefixListEntryArrayInput is an input type that accepts EcsPrefixListEntryArray and EcsPrefixListEntryArrayOutput values. You can construct a concrete instance of `EcsPrefixListEntryArrayInput` via:
EcsPrefixListEntryArray{ EcsPrefixListEntryArgs{...} }
type EcsPrefixListEntryArrayOutput ¶ added in v3.16.0
type EcsPrefixListEntryArrayOutput struct{ *pulumi.OutputState }
func (EcsPrefixListEntryArrayOutput) ElementType ¶ added in v3.16.0
func (EcsPrefixListEntryArrayOutput) ElementType() reflect.Type
func (EcsPrefixListEntryArrayOutput) Index ¶ added in v3.16.0
func (o EcsPrefixListEntryArrayOutput) Index(i pulumi.IntInput) EcsPrefixListEntryOutput
func (EcsPrefixListEntryArrayOutput) ToEcsPrefixListEntryArrayOutput ¶ added in v3.16.0
func (o EcsPrefixListEntryArrayOutput) ToEcsPrefixListEntryArrayOutput() EcsPrefixListEntryArrayOutput
func (EcsPrefixListEntryArrayOutput) ToEcsPrefixListEntryArrayOutputWithContext ¶ added in v3.16.0
func (o EcsPrefixListEntryArrayOutput) ToEcsPrefixListEntryArrayOutputWithContext(ctx context.Context) EcsPrefixListEntryArrayOutput
type EcsPrefixListEntryInput ¶ added in v3.16.0
type EcsPrefixListEntryInput interface { pulumi.Input ToEcsPrefixListEntryOutput() EcsPrefixListEntryOutput ToEcsPrefixListEntryOutputWithContext(context.Context) EcsPrefixListEntryOutput }
EcsPrefixListEntryInput is an input type that accepts EcsPrefixListEntryArgs and EcsPrefixListEntryOutput values. You can construct a concrete instance of `EcsPrefixListEntryInput` via:
EcsPrefixListEntryArgs{...}
type EcsPrefixListEntryOutput ¶ added in v3.16.0
type EcsPrefixListEntryOutput struct{ *pulumi.OutputState }
func (EcsPrefixListEntryOutput) Cidr ¶ added in v3.16.0
func (o EcsPrefixListEntryOutput) Cidr() pulumi.StringPtrOutput
The CIDR block in entry. This parameter is empty by default. Take note of the following items: * The total number of entries must not exceed the `maxEntries` value. * CIDR block types are determined by the IP address family. You cannot combine `IPv4` and `IPv6` CIDR blocks in a single entry. * CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0/24 twice in the entries of the prefix list. * IP addresses are supported. The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100/32 CIDR block. * If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32, the system converts it into 2001:db8::/32. * For more information about CIDR blocks, see the "What is CIDR block?" section of the [Network FAQ](https://www.alibabacloud.com/help/doc-detail/40637.htm) topic. * The total number of entries must not exceed the `maxEntries` value.
func (EcsPrefixListEntryOutput) Description ¶ added in v3.16.0
func (o EcsPrefixListEntryOutput) Description() pulumi.StringPtrOutput
The description in entry. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`.
func (EcsPrefixListEntryOutput) ElementType ¶ added in v3.16.0
func (EcsPrefixListEntryOutput) ElementType() reflect.Type
func (EcsPrefixListEntryOutput) ToEcsPrefixListEntryOutput ¶ added in v3.16.0
func (o EcsPrefixListEntryOutput) ToEcsPrefixListEntryOutput() EcsPrefixListEntryOutput
func (EcsPrefixListEntryOutput) ToEcsPrefixListEntryOutputWithContext ¶ added in v3.16.0
func (o EcsPrefixListEntryOutput) ToEcsPrefixListEntryOutputWithContext(ctx context.Context) EcsPrefixListEntryOutput
type EcsPrefixListInput ¶ added in v3.16.0
type EcsPrefixListInput interface { pulumi.Input ToEcsPrefixListOutput() EcsPrefixListOutput ToEcsPrefixListOutputWithContext(ctx context.Context) EcsPrefixListOutput }
type EcsPrefixListMap ¶ added in v3.16.0
type EcsPrefixListMap map[string]EcsPrefixListInput
func (EcsPrefixListMap) ElementType ¶ added in v3.16.0
func (EcsPrefixListMap) ElementType() reflect.Type
func (EcsPrefixListMap) ToEcsPrefixListMapOutput ¶ added in v3.16.0
func (i EcsPrefixListMap) ToEcsPrefixListMapOutput() EcsPrefixListMapOutput
func (EcsPrefixListMap) ToEcsPrefixListMapOutputWithContext ¶ added in v3.16.0
func (i EcsPrefixListMap) ToEcsPrefixListMapOutputWithContext(ctx context.Context) EcsPrefixListMapOutput
type EcsPrefixListMapInput ¶ added in v3.16.0
type EcsPrefixListMapInput interface { pulumi.Input ToEcsPrefixListMapOutput() EcsPrefixListMapOutput ToEcsPrefixListMapOutputWithContext(context.Context) EcsPrefixListMapOutput }
EcsPrefixListMapInput is an input type that accepts EcsPrefixListMap and EcsPrefixListMapOutput values. You can construct a concrete instance of `EcsPrefixListMapInput` via:
EcsPrefixListMap{ "key": EcsPrefixListArgs{...} }
type EcsPrefixListMapOutput ¶ added in v3.16.0
type EcsPrefixListMapOutput struct{ *pulumi.OutputState }
func (EcsPrefixListMapOutput) ElementType ¶ added in v3.16.0
func (EcsPrefixListMapOutput) ElementType() reflect.Type
func (EcsPrefixListMapOutput) MapIndex ¶ added in v3.16.0
func (o EcsPrefixListMapOutput) MapIndex(k pulumi.StringInput) EcsPrefixListOutput
func (EcsPrefixListMapOutput) ToEcsPrefixListMapOutput ¶ added in v3.16.0
func (o EcsPrefixListMapOutput) ToEcsPrefixListMapOutput() EcsPrefixListMapOutput
func (EcsPrefixListMapOutput) ToEcsPrefixListMapOutputWithContext ¶ added in v3.16.0
func (o EcsPrefixListMapOutput) ToEcsPrefixListMapOutputWithContext(ctx context.Context) EcsPrefixListMapOutput
type EcsPrefixListOutput ¶ added in v3.16.0
type EcsPrefixListOutput struct{ *pulumi.OutputState }
func (EcsPrefixListOutput) ElementType ¶ added in v3.16.0
func (EcsPrefixListOutput) ElementType() reflect.Type
func (EcsPrefixListOutput) ToEcsPrefixListOutput ¶ added in v3.16.0
func (o EcsPrefixListOutput) ToEcsPrefixListOutput() EcsPrefixListOutput
func (EcsPrefixListOutput) ToEcsPrefixListOutputWithContext ¶ added in v3.16.0
func (o EcsPrefixListOutput) ToEcsPrefixListOutputWithContext(ctx context.Context) EcsPrefixListOutput
type EcsPrefixListState ¶ added in v3.16.0
type EcsPrefixListState struct { // The IP address family. Valid values: `IPv4`,`IPv6`. AddressFamily pulumi.StringPtrInput // The description in entry. The description must be 2 to 32 characters in length and cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The Entry. The details see Block `entry`. Entries EcsPrefixListEntryArrayInput // The maximum number of entries that the prefix list can contain. Valid values: 1 to 200. MaxEntries pulumi.IntPtrInput // The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://`, `https://`, `com.aliyun`, or `com.alibabacloud`. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). PrefixListName pulumi.StringPtrInput }
func (EcsPrefixListState) ElementType ¶ added in v3.16.0
func (EcsPrefixListState) ElementType() reflect.Type
type EcsSessionManagerStatus ¶ added in v3.12.0
type EcsSessionManagerStatus struct { pulumi.CustomResourceState // The name of the resource. Valid values: `sessionManagerStatus`. SessionManagerStatusName pulumi.StringOutput `pulumi:"sessionManagerStatusName"` // The status of the resource. Valid values: `Disabled`, `Enabled`. Status pulumi.StringOutput `pulumi:"status"` }
Provides a ECS Session Manager Status resource.
For information about ECS Session Manager Status and how to use it, see [What is Session Manager Status](https://www.alibabacloud.com/help/zh/doc-detail/337915.html).
> **NOTE:** Available in v1.148.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsSessionManagerStatus(ctx, "default", &ecs.EcsSessionManagerStatusArgs{ SessionManagerStatusName: pulumi.String("sessionManagerStatus"), Status: pulumi.String("Disabled"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Session Manager Status can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsSessionManagerStatus:EcsSessionManagerStatus example <session_manager_status_name>
```
func GetEcsSessionManagerStatus ¶ added in v3.12.0
func GetEcsSessionManagerStatus(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsSessionManagerStatusState, opts ...pulumi.ResourceOption) (*EcsSessionManagerStatus, error)
GetEcsSessionManagerStatus gets an existing EcsSessionManagerStatus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsSessionManagerStatus ¶ added in v3.12.0
func NewEcsSessionManagerStatus(ctx *pulumi.Context, name string, args *EcsSessionManagerStatusArgs, opts ...pulumi.ResourceOption) (*EcsSessionManagerStatus, error)
NewEcsSessionManagerStatus registers a new resource with the given unique name, arguments, and options.
func (*EcsSessionManagerStatus) ElementType ¶ added in v3.12.0
func (*EcsSessionManagerStatus) ElementType() reflect.Type
func (*EcsSessionManagerStatus) ToEcsSessionManagerStatusOutput ¶ added in v3.12.0
func (i *EcsSessionManagerStatus) ToEcsSessionManagerStatusOutput() EcsSessionManagerStatusOutput
func (*EcsSessionManagerStatus) ToEcsSessionManagerStatusOutputWithContext ¶ added in v3.12.0
func (i *EcsSessionManagerStatus) ToEcsSessionManagerStatusOutputWithContext(ctx context.Context) EcsSessionManagerStatusOutput
type EcsSessionManagerStatusArgs ¶ added in v3.12.0
type EcsSessionManagerStatusArgs struct { // The name of the resource. Valid values: `sessionManagerStatus`. SessionManagerStatusName pulumi.StringInput // The status of the resource. Valid values: `Disabled`, `Enabled`. Status pulumi.StringInput }
The set of arguments for constructing a EcsSessionManagerStatus resource.
func (EcsSessionManagerStatusArgs) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusArgs) ElementType() reflect.Type
type EcsSessionManagerStatusArray ¶ added in v3.12.0
type EcsSessionManagerStatusArray []EcsSessionManagerStatusInput
func (EcsSessionManagerStatusArray) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusArray) ElementType() reflect.Type
func (EcsSessionManagerStatusArray) ToEcsSessionManagerStatusArrayOutput ¶ added in v3.12.0
func (i EcsSessionManagerStatusArray) ToEcsSessionManagerStatusArrayOutput() EcsSessionManagerStatusArrayOutput
func (EcsSessionManagerStatusArray) ToEcsSessionManagerStatusArrayOutputWithContext ¶ added in v3.12.0
func (i EcsSessionManagerStatusArray) ToEcsSessionManagerStatusArrayOutputWithContext(ctx context.Context) EcsSessionManagerStatusArrayOutput
type EcsSessionManagerStatusArrayInput ¶ added in v3.12.0
type EcsSessionManagerStatusArrayInput interface { pulumi.Input ToEcsSessionManagerStatusArrayOutput() EcsSessionManagerStatusArrayOutput ToEcsSessionManagerStatusArrayOutputWithContext(context.Context) EcsSessionManagerStatusArrayOutput }
EcsSessionManagerStatusArrayInput is an input type that accepts EcsSessionManagerStatusArray and EcsSessionManagerStatusArrayOutput values. You can construct a concrete instance of `EcsSessionManagerStatusArrayInput` via:
EcsSessionManagerStatusArray{ EcsSessionManagerStatusArgs{...} }
type EcsSessionManagerStatusArrayOutput ¶ added in v3.12.0
type EcsSessionManagerStatusArrayOutput struct{ *pulumi.OutputState }
func (EcsSessionManagerStatusArrayOutput) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusArrayOutput) ElementType() reflect.Type
func (EcsSessionManagerStatusArrayOutput) Index ¶ added in v3.12.0
func (o EcsSessionManagerStatusArrayOutput) Index(i pulumi.IntInput) EcsSessionManagerStatusOutput
func (EcsSessionManagerStatusArrayOutput) ToEcsSessionManagerStatusArrayOutput ¶ added in v3.12.0
func (o EcsSessionManagerStatusArrayOutput) ToEcsSessionManagerStatusArrayOutput() EcsSessionManagerStatusArrayOutput
func (EcsSessionManagerStatusArrayOutput) ToEcsSessionManagerStatusArrayOutputWithContext ¶ added in v3.12.0
func (o EcsSessionManagerStatusArrayOutput) ToEcsSessionManagerStatusArrayOutputWithContext(ctx context.Context) EcsSessionManagerStatusArrayOutput
type EcsSessionManagerStatusInput ¶ added in v3.12.0
type EcsSessionManagerStatusInput interface { pulumi.Input ToEcsSessionManagerStatusOutput() EcsSessionManagerStatusOutput ToEcsSessionManagerStatusOutputWithContext(ctx context.Context) EcsSessionManagerStatusOutput }
type EcsSessionManagerStatusMap ¶ added in v3.12.0
type EcsSessionManagerStatusMap map[string]EcsSessionManagerStatusInput
func (EcsSessionManagerStatusMap) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusMap) ElementType() reflect.Type
func (EcsSessionManagerStatusMap) ToEcsSessionManagerStatusMapOutput ¶ added in v3.12.0
func (i EcsSessionManagerStatusMap) ToEcsSessionManagerStatusMapOutput() EcsSessionManagerStatusMapOutput
func (EcsSessionManagerStatusMap) ToEcsSessionManagerStatusMapOutputWithContext ¶ added in v3.12.0
func (i EcsSessionManagerStatusMap) ToEcsSessionManagerStatusMapOutputWithContext(ctx context.Context) EcsSessionManagerStatusMapOutput
type EcsSessionManagerStatusMapInput ¶ added in v3.12.0
type EcsSessionManagerStatusMapInput interface { pulumi.Input ToEcsSessionManagerStatusMapOutput() EcsSessionManagerStatusMapOutput ToEcsSessionManagerStatusMapOutputWithContext(context.Context) EcsSessionManagerStatusMapOutput }
EcsSessionManagerStatusMapInput is an input type that accepts EcsSessionManagerStatusMap and EcsSessionManagerStatusMapOutput values. You can construct a concrete instance of `EcsSessionManagerStatusMapInput` via:
EcsSessionManagerStatusMap{ "key": EcsSessionManagerStatusArgs{...} }
type EcsSessionManagerStatusMapOutput ¶ added in v3.12.0
type EcsSessionManagerStatusMapOutput struct{ *pulumi.OutputState }
func (EcsSessionManagerStatusMapOutput) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusMapOutput) ElementType() reflect.Type
func (EcsSessionManagerStatusMapOutput) MapIndex ¶ added in v3.12.0
func (o EcsSessionManagerStatusMapOutput) MapIndex(k pulumi.StringInput) EcsSessionManagerStatusOutput
func (EcsSessionManagerStatusMapOutput) ToEcsSessionManagerStatusMapOutput ¶ added in v3.12.0
func (o EcsSessionManagerStatusMapOutput) ToEcsSessionManagerStatusMapOutput() EcsSessionManagerStatusMapOutput
func (EcsSessionManagerStatusMapOutput) ToEcsSessionManagerStatusMapOutputWithContext ¶ added in v3.12.0
func (o EcsSessionManagerStatusMapOutput) ToEcsSessionManagerStatusMapOutputWithContext(ctx context.Context) EcsSessionManagerStatusMapOutput
type EcsSessionManagerStatusOutput ¶ added in v3.12.0
type EcsSessionManagerStatusOutput struct{ *pulumi.OutputState }
func (EcsSessionManagerStatusOutput) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusOutput) ElementType() reflect.Type
func (EcsSessionManagerStatusOutput) ToEcsSessionManagerStatusOutput ¶ added in v3.12.0
func (o EcsSessionManagerStatusOutput) ToEcsSessionManagerStatusOutput() EcsSessionManagerStatusOutput
func (EcsSessionManagerStatusOutput) ToEcsSessionManagerStatusOutputWithContext ¶ added in v3.12.0
func (o EcsSessionManagerStatusOutput) ToEcsSessionManagerStatusOutputWithContext(ctx context.Context) EcsSessionManagerStatusOutput
type EcsSessionManagerStatusState ¶ added in v3.12.0
type EcsSessionManagerStatusState struct { // The name of the resource. Valid values: `sessionManagerStatus`. SessionManagerStatusName pulumi.StringPtrInput // The status of the resource. Valid values: `Disabled`, `Enabled`. Status pulumi.StringPtrInput }
func (EcsSessionManagerStatusState) ElementType ¶ added in v3.12.0
func (EcsSessionManagerStatusState) ElementType() reflect.Type
type EcsSnapshot ¶
type EcsSnapshot struct { pulumi.CustomResourceState // The category of the snapshot. Valid Values: `standard` and `flash`. Category pulumi.StringPtrOutput `pulumi:"category"` // The description of the snapshot. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the disk. DiskId pulumi.StringOutput `pulumi:"diskId"` // Specifies whether to forcibly delete the snapshot that has been used to create disks. Force pulumi.BoolPtrOutput `pulumi:"force"` // Specifies whether to enable the instant access feature. InstantAccess pulumi.BoolPtrOutput `pulumi:"instantAccess"` // Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released. InstantAccessRetentionDays pulumi.IntPtrOutput `pulumi:"instantAccessRetentionDays"` // Field `name` has been deprecated from provider version 1.120.0. New field `snapshotName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead. Name pulumi.StringOutput `pulumi:"name"` // The resource group id. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The retention period of the snapshot. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` // The name of the snapshot. SnapshotName pulumi.StringOutput `pulumi:"snapshotName"` // The status of snapshot. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the snapshot. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a ECS Snapshot resource.
For information about ECS Snapshot and how to use it, see [What is Snapshot](https://www.alibabacloud.com/help/en/doc-detail/25524.htm).
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEcsSnapshot(ctx, "default", &ecs.EcsSnapshotArgs{ Category: pulumi.String("standard"), Description: pulumi.String("Test For Terraform"), DiskId: pulumi.String("d-gw8csgxxxxxxxxx"), RetentionDays: pulumi.Int(20), SnapshotName: pulumi.String("tf-test"), Tags: pulumi.AnyMap{ "Created": pulumi.Any("TF"), "For": pulumi.Any("Acceptance-test"), }, }) if err != nil { return err } return nil }) }
```
## Import
ECS Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/ecsSnapshot:EcsSnapshot example <id>
```
func GetEcsSnapshot ¶
func GetEcsSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsSnapshotState, opts ...pulumi.ResourceOption) (*EcsSnapshot, error)
GetEcsSnapshot gets an existing EcsSnapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEcsSnapshot ¶
func NewEcsSnapshot(ctx *pulumi.Context, name string, args *EcsSnapshotArgs, opts ...pulumi.ResourceOption) (*EcsSnapshot, error)
NewEcsSnapshot registers a new resource with the given unique name, arguments, and options.
func (*EcsSnapshot) ElementType ¶
func (*EcsSnapshot) ElementType() reflect.Type
func (*EcsSnapshot) ToEcsSnapshotOutput ¶
func (i *EcsSnapshot) ToEcsSnapshotOutput() EcsSnapshotOutput
func (*EcsSnapshot) ToEcsSnapshotOutputWithContext ¶
func (i *EcsSnapshot) ToEcsSnapshotOutputWithContext(ctx context.Context) EcsSnapshotOutput
type EcsSnapshotArgs ¶
type EcsSnapshotArgs struct { // The category of the snapshot. Valid Values: `standard` and `flash`. Category pulumi.StringPtrInput // The description of the snapshot. Description pulumi.StringPtrInput // The ID of the disk. DiskId pulumi.StringInput // Specifies whether to forcibly delete the snapshot that has been used to create disks. Force pulumi.BoolPtrInput // Specifies whether to enable the instant access feature. InstantAccess pulumi.BoolPtrInput // Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released. InstantAccessRetentionDays pulumi.IntPtrInput // Field `name` has been deprecated from provider version 1.120.0. New field `snapshotName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead. Name pulumi.StringPtrInput // The resource group id. ResourceGroupId pulumi.StringPtrInput // The retention period of the snapshot. RetentionDays pulumi.IntPtrInput // The name of the snapshot. SnapshotName pulumi.StringPtrInput // A mapping of tags to assign to the snapshot. Tags pulumi.MapInput }
The set of arguments for constructing a EcsSnapshot resource.
func (EcsSnapshotArgs) ElementType ¶
func (EcsSnapshotArgs) ElementType() reflect.Type
type EcsSnapshotArray ¶
type EcsSnapshotArray []EcsSnapshotInput
func (EcsSnapshotArray) ElementType ¶
func (EcsSnapshotArray) ElementType() reflect.Type
func (EcsSnapshotArray) ToEcsSnapshotArrayOutput ¶
func (i EcsSnapshotArray) ToEcsSnapshotArrayOutput() EcsSnapshotArrayOutput
func (EcsSnapshotArray) ToEcsSnapshotArrayOutputWithContext ¶
func (i EcsSnapshotArray) ToEcsSnapshotArrayOutputWithContext(ctx context.Context) EcsSnapshotArrayOutput
type EcsSnapshotArrayInput ¶
type EcsSnapshotArrayInput interface { pulumi.Input ToEcsSnapshotArrayOutput() EcsSnapshotArrayOutput ToEcsSnapshotArrayOutputWithContext(context.Context) EcsSnapshotArrayOutput }
EcsSnapshotArrayInput is an input type that accepts EcsSnapshotArray and EcsSnapshotArrayOutput values. You can construct a concrete instance of `EcsSnapshotArrayInput` via:
EcsSnapshotArray{ EcsSnapshotArgs{...} }
type EcsSnapshotArrayOutput ¶
type EcsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (EcsSnapshotArrayOutput) ElementType ¶
func (EcsSnapshotArrayOutput) ElementType() reflect.Type
func (EcsSnapshotArrayOutput) Index ¶
func (o EcsSnapshotArrayOutput) Index(i pulumi.IntInput) EcsSnapshotOutput
func (EcsSnapshotArrayOutput) ToEcsSnapshotArrayOutput ¶
func (o EcsSnapshotArrayOutput) ToEcsSnapshotArrayOutput() EcsSnapshotArrayOutput
func (EcsSnapshotArrayOutput) ToEcsSnapshotArrayOutputWithContext ¶
func (o EcsSnapshotArrayOutput) ToEcsSnapshotArrayOutputWithContext(ctx context.Context) EcsSnapshotArrayOutput
type EcsSnapshotInput ¶
type EcsSnapshotInput interface { pulumi.Input ToEcsSnapshotOutput() EcsSnapshotOutput ToEcsSnapshotOutputWithContext(ctx context.Context) EcsSnapshotOutput }
type EcsSnapshotMap ¶
type EcsSnapshotMap map[string]EcsSnapshotInput
func (EcsSnapshotMap) ElementType ¶
func (EcsSnapshotMap) ElementType() reflect.Type
func (EcsSnapshotMap) ToEcsSnapshotMapOutput ¶
func (i EcsSnapshotMap) ToEcsSnapshotMapOutput() EcsSnapshotMapOutput
func (EcsSnapshotMap) ToEcsSnapshotMapOutputWithContext ¶
func (i EcsSnapshotMap) ToEcsSnapshotMapOutputWithContext(ctx context.Context) EcsSnapshotMapOutput
type EcsSnapshotMapInput ¶
type EcsSnapshotMapInput interface { pulumi.Input ToEcsSnapshotMapOutput() EcsSnapshotMapOutput ToEcsSnapshotMapOutputWithContext(context.Context) EcsSnapshotMapOutput }
EcsSnapshotMapInput is an input type that accepts EcsSnapshotMap and EcsSnapshotMapOutput values. You can construct a concrete instance of `EcsSnapshotMapInput` via:
EcsSnapshotMap{ "key": EcsSnapshotArgs{...} }
type EcsSnapshotMapOutput ¶
type EcsSnapshotMapOutput struct{ *pulumi.OutputState }
func (EcsSnapshotMapOutput) ElementType ¶
func (EcsSnapshotMapOutput) ElementType() reflect.Type
func (EcsSnapshotMapOutput) MapIndex ¶
func (o EcsSnapshotMapOutput) MapIndex(k pulumi.StringInput) EcsSnapshotOutput
func (EcsSnapshotMapOutput) ToEcsSnapshotMapOutput ¶
func (o EcsSnapshotMapOutput) ToEcsSnapshotMapOutput() EcsSnapshotMapOutput
func (EcsSnapshotMapOutput) ToEcsSnapshotMapOutputWithContext ¶
func (o EcsSnapshotMapOutput) ToEcsSnapshotMapOutputWithContext(ctx context.Context) EcsSnapshotMapOutput
type EcsSnapshotOutput ¶
type EcsSnapshotOutput struct{ *pulumi.OutputState }
func (EcsSnapshotOutput) ElementType ¶
func (EcsSnapshotOutput) ElementType() reflect.Type
func (EcsSnapshotOutput) ToEcsSnapshotOutput ¶
func (o EcsSnapshotOutput) ToEcsSnapshotOutput() EcsSnapshotOutput
func (EcsSnapshotOutput) ToEcsSnapshotOutputWithContext ¶
func (o EcsSnapshotOutput) ToEcsSnapshotOutputWithContext(ctx context.Context) EcsSnapshotOutput
type EcsSnapshotState ¶
type EcsSnapshotState struct { // The category of the snapshot. Valid Values: `standard` and `flash`. Category pulumi.StringPtrInput // The description of the snapshot. Description pulumi.StringPtrInput // The ID of the disk. DiskId pulumi.StringPtrInput // Specifies whether to forcibly delete the snapshot that has been used to create disks. Force pulumi.BoolPtrInput // Specifies whether to enable the instant access feature. InstantAccess pulumi.BoolPtrInput // Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released. InstantAccessRetentionDays pulumi.IntPtrInput // Field `name` has been deprecated from provider version 1.120.0. New field `snapshotName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead. Name pulumi.StringPtrInput // The resource group id. ResourceGroupId pulumi.StringPtrInput // The retention period of the snapshot. RetentionDays pulumi.IntPtrInput // The name of the snapshot. SnapshotName pulumi.StringPtrInput // The status of snapshot. Status pulumi.StringPtrInput // A mapping of tags to assign to the snapshot. Tags pulumi.MapInput }
func (EcsSnapshotState) ElementType ¶
func (EcsSnapshotState) ElementType() reflect.Type
type Eip
deprecated
type Eip struct { pulumi.CustomResourceState ActivityId pulumi.StringPtrOutput `pulumi:"activityId"` // 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://. AddressName pulumi.StringOutput `pulumi:"addressName"` AutoPay pulumi.BoolPtrOutput `pulumi:"autoPay"` // Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps. Bandwidth pulumi.StringOutput `pulumi:"bandwidth"` // Whether enable the deletion protection or not. Default value: `false`. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolOutput `pulumi:"deletionProtection"` // Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrOutput `pulumi:"description"` // (It has been deprecated from version 1.126.0 and using new attribute `paymentType` instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". // // Deprecated: Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead. InstanceChargeType pulumi.StringOutput `pulumi:"instanceChargeType"` // Internet charge type of the EIP, Valid values are `PayByBandwidth`, `PayByTraffic`. Default to `PayByBandwidth`. **NOTE:** From version `1.7.1` to `1.125.0`, it defaults to `PayByTraffic`. It is only "PayByBandwidth" when `instanceChargeType` is PrePaid. InternetChargeType pulumi.StringOutput `pulumi:"internetChargeType"` // The elastic ip address IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // The line type of the Elastic IP instance. Default to `BGP`. Other type of the isp need to open a whitelist. Isp pulumi.StringOutput `pulumi:"isp"` // It has been deprecated from version 1.126.0 and using new attribute `addressName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead. Name pulumi.StringOutput `pulumi:"name"` Netmode pulumi.StringPtrOutput `pulumi:"netmode"` // The billing method of the EIP. Valid values: `Subscription` and `PayAsYouGo`. Default value is `PayAsYouGo`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` Period pulumi.IntPtrOutput `pulumi:"period"` // The Id of resource group which the eip belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The EIP current status. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
## Import
Elastic IP address can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/eip:Eip example eip-abc12345678
```
Deprecated: This resource has been deprecated in favour of the EipAddress resource
func GetEip ¶
func GetEip(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EipState, opts ...pulumi.ResourceOption) (*Eip, error)
GetEip gets an existing Eip resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEip ¶
func NewEip(ctx *pulumi.Context, name string, args *EipArgs, opts ...pulumi.ResourceOption) (*Eip, error)
NewEip registers a new resource with the given unique name, arguments, and options.
func (*Eip) ElementType ¶
func (*Eip) ToEipOutput ¶
type EipAddress ¶ added in v3.4.0
type EipAddress struct { pulumi.CustomResourceState // The activity id. ActivityId pulumi.StringPtrOutput `pulumi:"activityId"` // 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://. AddressName pulumi.StringOutput `pulumi:"addressName"` // Whether to pay automatically. Valid values: `true` and `false`. Default value: `true`. When `autoPay` is `true`, The order will be automatically paid. When `autoPay` is `false`, The order needs to go to the order center to complete the payment. **NOTE:** When `paymentType` is `Subscription`, this parameter is valid. AutoPay pulumi.BoolPtrOutput `pulumi:"autoPay"` // The maximum bandwidth of the EIP. Valid values: `1` to `200`. Unit: Mbit/s. Default value: `5`. Bandwidth pulumi.StringOutput `pulumi:"bandwidth"` // Whether enable the deletion protection or not. Default value: `false`. DeletionProtection pulumi.BoolOutput `pulumi:"deletionProtection"` // The description of the EIP. Description pulumi.StringPtrOutput `pulumi:"description"` // Deprecated: Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead. InstanceChargeType pulumi.StringOutput `pulumi:"instanceChargeType"` // The metering method of the EIP. // Valid values: `PayByDominantTraffic`, `PayByBandwidth` and `PayByTraffic`. Default to `PayByBandwidth`. **NOTE:** It must be set to "PayByBandwidth" when `paymentType` is "Subscription". InternetChargeType pulumi.StringOutput `pulumi:"internetChargeType"` // The address of the EIP. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // The line type. You can set this parameter only when you create a `PayAsYouGo` EIP. Valid values: `BGP`: BGP (Multi-ISP) lines.Up to 89 high-quality BGP lines are available worldwide. Direct connections with multiple Internet Service Providers (ISPs), including Telecom, Unicom, Mobile, Railcom, Netcom, CERNET, China Broadcast Network, Dr. Peng, and Founder, can be established in all regions in mainland China. `BGP_PRO`: BGP (Multi-ISP) Pro lines optimize data transmission to mainland China and improve connection quality for international services. Compared with BGP (Multi-ISP), when BGP (Multi-ISP) Pro provides services to clients in mainland China (excluding data centers), cross-border connections are established without using international ISP services. This reduces network latency. Isp pulumi.StringOutput `pulumi:"isp"` // Deprecated: Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead. Name pulumi.StringOutput `pulumi:"name"` // The type of the network. Valid value is `public` (Internet). Netmode pulumi.StringPtrOutput `pulumi:"netmode"` // The billing method of the EIP. Valid values: `Subscription` and `PayAsYouGo`. Default value is `PayAsYouGo`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The duration that you will buy the resource, in month. It is valid when `paymentType` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. Period pulumi.IntPtrOutput `pulumi:"period"` // The ID of the resource group. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The status of the EIP. Valid values: `Associating`: The EIP is being associated. `Unassociating`: The EIP is being disassociated. `InUse`: The EIP is allocated. `Available`:The EIP is available. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a EIP Address resource.
For information about EIP Address and how to use it, see [What is EIP Address](https://www.alibabacloud.com/help/en/doc-detail/36016.htm).
> **NOTE:** Available in v1.126.0+.
> **NOTE:** BGP (Multi-ISP) lines are supported in all regions. BGP (Multi-ISP) Pro lines are supported only in the China (Hong Kong) region.
> **NOTE:** The resource only supports to create `PayAsYouGo PayByTraffic` or `Subscription PayByBandwidth` elastic IP for international account. Otherwise, you will happened error `COMMODITY.INVALID_COMPONENT`. Your account is international if you can use it to login in [International Web Console](https://account.alibabacloud.com/login/login.htm).
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewEipAddress(ctx, "example", &ecs.EipAddressArgs{ AddressName: pulumi.String("tf-testAcc1234"), InternetChargeType: pulumi.String("PayByBandwidth"), Isp: pulumi.String("BGP"), PaymentType: pulumi.String("PayAsYouGo"), }) if err != nil { return err } return nil }) }
```
## Import
EIP Address can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/eipAddress:EipAddress example <id>
```
func GetEipAddress ¶ added in v3.4.0
func GetEipAddress(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EipAddressState, opts ...pulumi.ResourceOption) (*EipAddress, error)
GetEipAddress gets an existing EipAddress resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEipAddress ¶ added in v3.4.0
func NewEipAddress(ctx *pulumi.Context, name string, args *EipAddressArgs, opts ...pulumi.ResourceOption) (*EipAddress, error)
NewEipAddress registers a new resource with the given unique name, arguments, and options.
func (*EipAddress) ElementType ¶ added in v3.4.0
func (*EipAddress) ElementType() reflect.Type
func (*EipAddress) ToEipAddressOutput ¶ added in v3.4.0
func (i *EipAddress) ToEipAddressOutput() EipAddressOutput
func (*EipAddress) ToEipAddressOutputWithContext ¶ added in v3.4.0
func (i *EipAddress) ToEipAddressOutputWithContext(ctx context.Context) EipAddressOutput
type EipAddressArgs ¶ added in v3.4.0
type EipAddressArgs struct { // The activity id. ActivityId pulumi.StringPtrInput // 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://. AddressName pulumi.StringPtrInput // Whether to pay automatically. Valid values: `true` and `false`. Default value: `true`. When `autoPay` is `true`, The order will be automatically paid. When `autoPay` is `false`, The order needs to go to the order center to complete the payment. **NOTE:** When `paymentType` is `Subscription`, this parameter is valid. AutoPay pulumi.BoolPtrInput // The maximum bandwidth of the EIP. Valid values: `1` to `200`. Unit: Mbit/s. Default value: `5`. Bandwidth pulumi.StringPtrInput // Whether enable the deletion protection or not. Default value: `false`. DeletionProtection pulumi.BoolPtrInput // The description of the EIP. Description pulumi.StringPtrInput // Deprecated: Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead. InstanceChargeType pulumi.StringPtrInput // The metering method of the EIP. // Valid values: `PayByDominantTraffic`, `PayByBandwidth` and `PayByTraffic`. Default to `PayByBandwidth`. **NOTE:** It must be set to "PayByBandwidth" when `paymentType` is "Subscription". InternetChargeType pulumi.StringPtrInput // The line type. You can set this parameter only when you create a `PayAsYouGo` EIP. Valid values: `BGP`: BGP (Multi-ISP) lines.Up to 89 high-quality BGP lines are available worldwide. Direct connections with multiple Internet Service Providers (ISPs), including Telecom, Unicom, Mobile, Railcom, Netcom, CERNET, China Broadcast Network, Dr. Peng, and Founder, can be established in all regions in mainland China. `BGP_PRO`: BGP (Multi-ISP) Pro lines optimize data transmission to mainland China and improve connection quality for international services. Compared with BGP (Multi-ISP), when BGP (Multi-ISP) Pro provides services to clients in mainland China (excluding data centers), cross-border connections are established without using international ISP services. This reduces network latency. Isp pulumi.StringPtrInput // Deprecated: Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead. Name pulumi.StringPtrInput // The type of the network. Valid value is `public` (Internet). Netmode pulumi.StringPtrInput // The billing method of the EIP. Valid values: `Subscription` and `PayAsYouGo`. Default value is `PayAsYouGo`. PaymentType pulumi.StringPtrInput // The duration that you will buy the resource, in month. It is valid when `paymentType` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. Period pulumi.IntPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a EipAddress resource.
func (EipAddressArgs) ElementType ¶ added in v3.4.0
func (EipAddressArgs) ElementType() reflect.Type
type EipAddressArray ¶ added in v3.4.0
type EipAddressArray []EipAddressInput
func (EipAddressArray) ElementType ¶ added in v3.4.0
func (EipAddressArray) ElementType() reflect.Type
func (EipAddressArray) ToEipAddressArrayOutput ¶ added in v3.4.0
func (i EipAddressArray) ToEipAddressArrayOutput() EipAddressArrayOutput
func (EipAddressArray) ToEipAddressArrayOutputWithContext ¶ added in v3.4.0
func (i EipAddressArray) ToEipAddressArrayOutputWithContext(ctx context.Context) EipAddressArrayOutput
type EipAddressArrayInput ¶ added in v3.4.0
type EipAddressArrayInput interface { pulumi.Input ToEipAddressArrayOutput() EipAddressArrayOutput ToEipAddressArrayOutputWithContext(context.Context) EipAddressArrayOutput }
EipAddressArrayInput is an input type that accepts EipAddressArray and EipAddressArrayOutput values. You can construct a concrete instance of `EipAddressArrayInput` via:
EipAddressArray{ EipAddressArgs{...} }
type EipAddressArrayOutput ¶ added in v3.4.0
type EipAddressArrayOutput struct{ *pulumi.OutputState }
func (EipAddressArrayOutput) ElementType ¶ added in v3.4.0
func (EipAddressArrayOutput) ElementType() reflect.Type
func (EipAddressArrayOutput) Index ¶ added in v3.4.0
func (o EipAddressArrayOutput) Index(i pulumi.IntInput) EipAddressOutput
func (EipAddressArrayOutput) ToEipAddressArrayOutput ¶ added in v3.4.0
func (o EipAddressArrayOutput) ToEipAddressArrayOutput() EipAddressArrayOutput
func (EipAddressArrayOutput) ToEipAddressArrayOutputWithContext ¶ added in v3.4.0
func (o EipAddressArrayOutput) ToEipAddressArrayOutputWithContext(ctx context.Context) EipAddressArrayOutput
type EipAddressInput ¶ added in v3.4.0
type EipAddressInput interface { pulumi.Input ToEipAddressOutput() EipAddressOutput ToEipAddressOutputWithContext(ctx context.Context) EipAddressOutput }
type EipAddressMap ¶ added in v3.4.0
type EipAddressMap map[string]EipAddressInput
func (EipAddressMap) ElementType ¶ added in v3.4.0
func (EipAddressMap) ElementType() reflect.Type
func (EipAddressMap) ToEipAddressMapOutput ¶ added in v3.4.0
func (i EipAddressMap) ToEipAddressMapOutput() EipAddressMapOutput
func (EipAddressMap) ToEipAddressMapOutputWithContext ¶ added in v3.4.0
func (i EipAddressMap) ToEipAddressMapOutputWithContext(ctx context.Context) EipAddressMapOutput
type EipAddressMapInput ¶ added in v3.4.0
type EipAddressMapInput interface { pulumi.Input ToEipAddressMapOutput() EipAddressMapOutput ToEipAddressMapOutputWithContext(context.Context) EipAddressMapOutput }
EipAddressMapInput is an input type that accepts EipAddressMap and EipAddressMapOutput values. You can construct a concrete instance of `EipAddressMapInput` via:
EipAddressMap{ "key": EipAddressArgs{...} }
type EipAddressMapOutput ¶ added in v3.4.0
type EipAddressMapOutput struct{ *pulumi.OutputState }
func (EipAddressMapOutput) ElementType ¶ added in v3.4.0
func (EipAddressMapOutput) ElementType() reflect.Type
func (EipAddressMapOutput) MapIndex ¶ added in v3.4.0
func (o EipAddressMapOutput) MapIndex(k pulumi.StringInput) EipAddressOutput
func (EipAddressMapOutput) ToEipAddressMapOutput ¶ added in v3.4.0
func (o EipAddressMapOutput) ToEipAddressMapOutput() EipAddressMapOutput
func (EipAddressMapOutput) ToEipAddressMapOutputWithContext ¶ added in v3.4.0
func (o EipAddressMapOutput) ToEipAddressMapOutputWithContext(ctx context.Context) EipAddressMapOutput
type EipAddressOutput ¶ added in v3.4.0
type EipAddressOutput struct{ *pulumi.OutputState }
func (EipAddressOutput) ElementType ¶ added in v3.4.0
func (EipAddressOutput) ElementType() reflect.Type
func (EipAddressOutput) ToEipAddressOutput ¶ added in v3.4.0
func (o EipAddressOutput) ToEipAddressOutput() EipAddressOutput
func (EipAddressOutput) ToEipAddressOutputWithContext ¶ added in v3.4.0
func (o EipAddressOutput) ToEipAddressOutputWithContext(ctx context.Context) EipAddressOutput
type EipAddressState ¶ added in v3.4.0
type EipAddressState struct { // The activity id. ActivityId pulumi.StringPtrInput // 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://. AddressName pulumi.StringPtrInput // Whether to pay automatically. Valid values: `true` and `false`. Default value: `true`. When `autoPay` is `true`, The order will be automatically paid. When `autoPay` is `false`, The order needs to go to the order center to complete the payment. **NOTE:** When `paymentType` is `Subscription`, this parameter is valid. AutoPay pulumi.BoolPtrInput // The maximum bandwidth of the EIP. Valid values: `1` to `200`. Unit: Mbit/s. Default value: `5`. Bandwidth pulumi.StringPtrInput // Whether enable the deletion protection or not. Default value: `false`. DeletionProtection pulumi.BoolPtrInput // The description of the EIP. Description pulumi.StringPtrInput // Deprecated: Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead. InstanceChargeType pulumi.StringPtrInput // The metering method of the EIP. // Valid values: `PayByDominantTraffic`, `PayByBandwidth` and `PayByTraffic`. Default to `PayByBandwidth`. **NOTE:** It must be set to "PayByBandwidth" when `paymentType` is "Subscription". InternetChargeType pulumi.StringPtrInput // The address of the EIP. IpAddress pulumi.StringPtrInput // The line type. You can set this parameter only when you create a `PayAsYouGo` EIP. Valid values: `BGP`: BGP (Multi-ISP) lines.Up to 89 high-quality BGP lines are available worldwide. Direct connections with multiple Internet Service Providers (ISPs), including Telecom, Unicom, Mobile, Railcom, Netcom, CERNET, China Broadcast Network, Dr. Peng, and Founder, can be established in all regions in mainland China. `BGP_PRO`: BGP (Multi-ISP) Pro lines optimize data transmission to mainland China and improve connection quality for international services. Compared with BGP (Multi-ISP), when BGP (Multi-ISP) Pro provides services to clients in mainland China (excluding data centers), cross-border connections are established without using international ISP services. This reduces network latency. Isp pulumi.StringPtrInput // Deprecated: Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead. Name pulumi.StringPtrInput // The type of the network. Valid value is `public` (Internet). Netmode pulumi.StringPtrInput // The billing method of the EIP. Valid values: `Subscription` and `PayAsYouGo`. Default value is `PayAsYouGo`. PaymentType pulumi.StringPtrInput // The duration that you will buy the resource, in month. It is valid when `paymentType` is `Subscription`. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. Period pulumi.IntPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The status of the EIP. Valid values: `Associating`: The EIP is being associated. `Unassociating`: The EIP is being disassociated. `InUse`: The EIP is allocated. `Available`:The EIP is available. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (EipAddressState) ElementType ¶ added in v3.4.0
func (EipAddressState) ElementType() reflect.Type
type EipArgs ¶
type EipArgs struct { ActivityId pulumi.StringPtrInput // 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://. AddressName pulumi.StringPtrInput AutoPay pulumi.BoolPtrInput // Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps. Bandwidth pulumi.StringPtrInput // Whether enable the deletion protection or not. Default value: `false`. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrInput // Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput // (It has been deprecated from version 1.126.0 and using new attribute `paymentType` instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". // // Deprecated: Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead. InstanceChargeType pulumi.StringPtrInput // Internet charge type of the EIP, Valid values are `PayByBandwidth`, `PayByTraffic`. Default to `PayByBandwidth`. **NOTE:** From version `1.7.1` to `1.125.0`, it defaults to `PayByTraffic`. It is only "PayByBandwidth" when `instanceChargeType` is PrePaid. InternetChargeType pulumi.StringPtrInput // The line type of the Elastic IP instance. Default to `BGP`. Other type of the isp need to open a whitelist. Isp pulumi.StringPtrInput // It has been deprecated from version 1.126.0 and using new attribute `addressName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead. Name pulumi.StringPtrInput Netmode pulumi.StringPtrInput // The billing method of the EIP. Valid values: `Subscription` and `PayAsYouGo`. Default value is `PayAsYouGo`. PaymentType pulumi.StringPtrInput Period pulumi.IntPtrInput // The Id of resource group which the eip belongs. ResourceGroupId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a Eip resource.
func (EipArgs) ElementType ¶
type EipArray ¶
type EipArray []EipInput
func (EipArray) ElementType ¶
func (EipArray) ToEipArrayOutput ¶
func (i EipArray) ToEipArrayOutput() EipArrayOutput
func (EipArray) ToEipArrayOutputWithContext ¶
func (i EipArray) ToEipArrayOutputWithContext(ctx context.Context) EipArrayOutput
type EipArrayInput ¶
type EipArrayInput interface { pulumi.Input ToEipArrayOutput() EipArrayOutput ToEipArrayOutputWithContext(context.Context) EipArrayOutput }
EipArrayInput is an input type that accepts EipArray and EipArrayOutput values. You can construct a concrete instance of `EipArrayInput` via:
EipArray{ EipArgs{...} }
type EipArrayOutput ¶
type EipArrayOutput struct{ *pulumi.OutputState }
func (EipArrayOutput) ElementType ¶
func (EipArrayOutput) ElementType() reflect.Type
func (EipArrayOutput) ToEipArrayOutput ¶
func (o EipArrayOutput) ToEipArrayOutput() EipArrayOutput
func (EipArrayOutput) ToEipArrayOutputWithContext ¶
func (o EipArrayOutput) ToEipArrayOutputWithContext(ctx context.Context) EipArrayOutput
type EipAssociation ¶
type EipAssociation struct { pulumi.CustomResourceState // The allocation EIP ID. AllocationId pulumi.StringOutput `pulumi:"allocationId"` // When EIP is bound to a NAT gateway, and the NAT gateway adds a DNAT or SNAT entry, set it for `true` can unassociation any way. Default to `false`. Force pulumi.BoolPtrOutput `pulumi:"force"` // The ID of the ECS or SLB instance or Nat Gateway or NetworkInterface or HaVip. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The type of cloud product that the eip instance to bind. Valid values: `EcsInstance`, `SlbInstance`, `Nat`, `NetworkInterface` and `HaVip`. InstanceType pulumi.StringOutput `pulumi:"instanceType"` // The private IP address in the network segment of the vswitch which has been assigned. PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"` }
## Import
Elastic IP address association can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/eipAssociation:EipAssociation example eip-abc12345678:i-abc12355
```
func GetEipAssociation ¶
func GetEipAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EipAssociationState, opts ...pulumi.ResourceOption) (*EipAssociation, error)
GetEipAssociation gets an existing EipAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEipAssociation ¶
func NewEipAssociation(ctx *pulumi.Context, name string, args *EipAssociationArgs, opts ...pulumi.ResourceOption) (*EipAssociation, error)
NewEipAssociation registers a new resource with the given unique name, arguments, and options.
func (*EipAssociation) ElementType ¶
func (*EipAssociation) ElementType() reflect.Type
func (*EipAssociation) ToEipAssociationOutput ¶
func (i *EipAssociation) ToEipAssociationOutput() EipAssociationOutput
func (*EipAssociation) ToEipAssociationOutputWithContext ¶
func (i *EipAssociation) ToEipAssociationOutputWithContext(ctx context.Context) EipAssociationOutput
type EipAssociationArgs ¶
type EipAssociationArgs struct { // The allocation EIP ID. AllocationId pulumi.StringInput // When EIP is bound to a NAT gateway, and the NAT gateway adds a DNAT or SNAT entry, set it for `true` can unassociation any way. Default to `false`. Force pulumi.BoolPtrInput // The ID of the ECS or SLB instance or Nat Gateway or NetworkInterface or HaVip. InstanceId pulumi.StringInput // The type of cloud product that the eip instance to bind. Valid values: `EcsInstance`, `SlbInstance`, `Nat`, `NetworkInterface` and `HaVip`. InstanceType pulumi.StringPtrInput // The private IP address in the network segment of the vswitch which has been assigned. PrivateIpAddress pulumi.StringPtrInput }
The set of arguments for constructing a EipAssociation resource.
func (EipAssociationArgs) ElementType ¶
func (EipAssociationArgs) ElementType() reflect.Type
type EipAssociationArray ¶
type EipAssociationArray []EipAssociationInput
func (EipAssociationArray) ElementType ¶
func (EipAssociationArray) ElementType() reflect.Type
func (EipAssociationArray) ToEipAssociationArrayOutput ¶
func (i EipAssociationArray) ToEipAssociationArrayOutput() EipAssociationArrayOutput
func (EipAssociationArray) ToEipAssociationArrayOutputWithContext ¶
func (i EipAssociationArray) ToEipAssociationArrayOutputWithContext(ctx context.Context) EipAssociationArrayOutput
type EipAssociationArrayInput ¶
type EipAssociationArrayInput interface { pulumi.Input ToEipAssociationArrayOutput() EipAssociationArrayOutput ToEipAssociationArrayOutputWithContext(context.Context) EipAssociationArrayOutput }
EipAssociationArrayInput is an input type that accepts EipAssociationArray and EipAssociationArrayOutput values. You can construct a concrete instance of `EipAssociationArrayInput` via:
EipAssociationArray{ EipAssociationArgs{...} }
type EipAssociationArrayOutput ¶
type EipAssociationArrayOutput struct{ *pulumi.OutputState }
func (EipAssociationArrayOutput) ElementType ¶
func (EipAssociationArrayOutput) ElementType() reflect.Type
func (EipAssociationArrayOutput) Index ¶
func (o EipAssociationArrayOutput) Index(i pulumi.IntInput) EipAssociationOutput
func (EipAssociationArrayOutput) ToEipAssociationArrayOutput ¶
func (o EipAssociationArrayOutput) ToEipAssociationArrayOutput() EipAssociationArrayOutput
func (EipAssociationArrayOutput) ToEipAssociationArrayOutputWithContext ¶
func (o EipAssociationArrayOutput) ToEipAssociationArrayOutputWithContext(ctx context.Context) EipAssociationArrayOutput
type EipAssociationInput ¶
type EipAssociationInput interface { pulumi.Input ToEipAssociationOutput() EipAssociationOutput ToEipAssociationOutputWithContext(ctx context.Context) EipAssociationOutput }
type EipAssociationMap ¶
type EipAssociationMap map[string]EipAssociationInput
func (EipAssociationMap) ElementType ¶
func (EipAssociationMap) ElementType() reflect.Type
func (EipAssociationMap) ToEipAssociationMapOutput ¶
func (i EipAssociationMap) ToEipAssociationMapOutput() EipAssociationMapOutput
func (EipAssociationMap) ToEipAssociationMapOutputWithContext ¶
func (i EipAssociationMap) ToEipAssociationMapOutputWithContext(ctx context.Context) EipAssociationMapOutput
type EipAssociationMapInput ¶
type EipAssociationMapInput interface { pulumi.Input ToEipAssociationMapOutput() EipAssociationMapOutput ToEipAssociationMapOutputWithContext(context.Context) EipAssociationMapOutput }
EipAssociationMapInput is an input type that accepts EipAssociationMap and EipAssociationMapOutput values. You can construct a concrete instance of `EipAssociationMapInput` via:
EipAssociationMap{ "key": EipAssociationArgs{...} }
type EipAssociationMapOutput ¶
type EipAssociationMapOutput struct{ *pulumi.OutputState }
func (EipAssociationMapOutput) ElementType ¶
func (EipAssociationMapOutput) ElementType() reflect.Type
func (EipAssociationMapOutput) MapIndex ¶
func (o EipAssociationMapOutput) MapIndex(k pulumi.StringInput) EipAssociationOutput
func (EipAssociationMapOutput) ToEipAssociationMapOutput ¶
func (o EipAssociationMapOutput) ToEipAssociationMapOutput() EipAssociationMapOutput
func (EipAssociationMapOutput) ToEipAssociationMapOutputWithContext ¶
func (o EipAssociationMapOutput) ToEipAssociationMapOutputWithContext(ctx context.Context) EipAssociationMapOutput
type EipAssociationOutput ¶
type EipAssociationOutput struct{ *pulumi.OutputState }
func (EipAssociationOutput) ElementType ¶
func (EipAssociationOutput) ElementType() reflect.Type
func (EipAssociationOutput) ToEipAssociationOutput ¶
func (o EipAssociationOutput) ToEipAssociationOutput() EipAssociationOutput
func (EipAssociationOutput) ToEipAssociationOutputWithContext ¶
func (o EipAssociationOutput) ToEipAssociationOutputWithContext(ctx context.Context) EipAssociationOutput
type EipAssociationState ¶
type EipAssociationState struct { // The allocation EIP ID. AllocationId pulumi.StringPtrInput // When EIP is bound to a NAT gateway, and the NAT gateway adds a DNAT or SNAT entry, set it for `true` can unassociation any way. Default to `false`. Force pulumi.BoolPtrInput // The ID of the ECS or SLB instance or Nat Gateway or NetworkInterface or HaVip. InstanceId pulumi.StringPtrInput // The type of cloud product that the eip instance to bind. Valid values: `EcsInstance`, `SlbInstance`, `Nat`, `NetworkInterface` and `HaVip`. InstanceType pulumi.StringPtrInput // The private IP address in the network segment of the vswitch which has been assigned. PrivateIpAddress pulumi.StringPtrInput }
func (EipAssociationState) ElementType ¶
func (EipAssociationState) ElementType() reflect.Type
type EipMap ¶
func (EipMap) ElementType ¶
func (EipMap) ToEipMapOutput ¶
func (i EipMap) ToEipMapOutput() EipMapOutput
func (EipMap) ToEipMapOutputWithContext ¶
func (i EipMap) ToEipMapOutputWithContext(ctx context.Context) EipMapOutput
type EipMapInput ¶
type EipMapInput interface { pulumi.Input ToEipMapOutput() EipMapOutput ToEipMapOutputWithContext(context.Context) EipMapOutput }
EipMapInput is an input type that accepts EipMap and EipMapOutput values. You can construct a concrete instance of `EipMapInput` via:
EipMap{ "key": EipArgs{...} }
type EipMapOutput ¶
type EipMapOutput struct{ *pulumi.OutputState }
func (EipMapOutput) ElementType ¶
func (EipMapOutput) ElementType() reflect.Type
func (EipMapOutput) MapIndex ¶
func (o EipMapOutput) MapIndex(k pulumi.StringInput) EipOutput
func (EipMapOutput) ToEipMapOutput ¶
func (o EipMapOutput) ToEipMapOutput() EipMapOutput
func (EipMapOutput) ToEipMapOutputWithContext ¶
func (o EipMapOutput) ToEipMapOutputWithContext(ctx context.Context) EipMapOutput
type EipOutput ¶
type EipOutput struct{ *pulumi.OutputState }
func (EipOutput) ElementType ¶
func (EipOutput) ToEipOutput ¶
type EipState ¶
type EipState struct { ActivityId pulumi.StringPtrInput // 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://. AddressName pulumi.StringPtrInput AutoPay pulumi.BoolPtrInput // Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps. Bandwidth pulumi.StringPtrInput // Whether enable the deletion protection or not. Default value: `false`. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrInput // Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput // (It has been deprecated from version 1.126.0 and using new attribute `paymentType` instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". // // Deprecated: Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead. InstanceChargeType pulumi.StringPtrInput // Internet charge type of the EIP, Valid values are `PayByBandwidth`, `PayByTraffic`. Default to `PayByBandwidth`. **NOTE:** From version `1.7.1` to `1.125.0`, it defaults to `PayByTraffic`. It is only "PayByBandwidth" when `instanceChargeType` is PrePaid. InternetChargeType pulumi.StringPtrInput // The elastic ip address IpAddress pulumi.StringPtrInput // The line type of the Elastic IP instance. Default to `BGP`. Other type of the isp need to open a whitelist. Isp pulumi.StringPtrInput // It has been deprecated from version 1.126.0 and using new attribute `addressName` instead. // // Deprecated: Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead. Name pulumi.StringPtrInput Netmode pulumi.StringPtrInput // The billing method of the EIP. Valid values: `Subscription` and `PayAsYouGo`. Default value is `PayAsYouGo`. PaymentType pulumi.StringPtrInput Period pulumi.IntPtrInput // The Id of resource group which the eip belongs. ResourceGroupId pulumi.StringPtrInput // The EIP current status. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (EipState) ElementType ¶
type GetAutoSnapshotPoliciesArgs ¶
type GetAutoSnapshotPoliciesArgs struct { // A list of Auto Snapshot Policy IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Auto Snapshot Policy name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of Auto Snapshot Policy. Status *string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getAutoSnapshotPolicies.
type GetAutoSnapshotPoliciesOutputArgs ¶ added in v3.9.0
type GetAutoSnapshotPoliciesOutputArgs struct { // A list of Auto Snapshot Policy IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Auto Snapshot Policy name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of Auto Snapshot Policy. Status pulumi.StringPtrInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getAutoSnapshotPolicies.
func (GetAutoSnapshotPoliciesOutputArgs) ElementType ¶ added in v3.9.0
func (GetAutoSnapshotPoliciesOutputArgs) ElementType() reflect.Type
type GetAutoSnapshotPoliciesPolicy ¶
type GetAutoSnapshotPoliciesPolicy struct { // The ID of the Auto Snapshot Policy. AutoSnapshotPolicyId string `pulumi:"autoSnapshotPolicyId"` // The retention period of the snapshot copied across regions. CopiedSnapshotsRetentionDays int `pulumi:"copiedSnapshotsRetentionDays"` // The number of disks to which the automatic snapshot policy is applied. DiskNums int `pulumi:"diskNums"` // Specifies whether to enable the system to automatically copy snapshots across regions. EnableCrossRegionCopy bool `pulumi:"enableCrossRegionCopy"` // The ID of the Auto Snapshot Policy. Id string `pulumi:"id"` // The snapshot policy name.. Name string `pulumi:"name"` // The automatic snapshot repetition dates. RepeatWeekdays []string `pulumi:"repeatWeekdays"` // The snapshot retention time, and the unit of measurement is day. RetentionDays int `pulumi:"retentionDays"` // The status of Auto Snapshot Policy. Status string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // The destination region to which the snapshot is copied. TargetCopyRegions []string `pulumi:"targetCopyRegions"` // The automatic snapshot creation schedule, and the unit of measurement is hour. TimePoints []string `pulumi:"timePoints"` // The number of extended volumes on which this policy is enabled. VolumeNums int `pulumi:"volumeNums"` }
type GetAutoSnapshotPoliciesPolicyArgs ¶
type GetAutoSnapshotPoliciesPolicyArgs struct { // The ID of the Auto Snapshot Policy. AutoSnapshotPolicyId pulumi.StringInput `pulumi:"autoSnapshotPolicyId"` // The retention period of the snapshot copied across regions. CopiedSnapshotsRetentionDays pulumi.IntInput `pulumi:"copiedSnapshotsRetentionDays"` // The number of disks to which the automatic snapshot policy is applied. DiskNums pulumi.IntInput `pulumi:"diskNums"` // Specifies whether to enable the system to automatically copy snapshots across regions. EnableCrossRegionCopy pulumi.BoolInput `pulumi:"enableCrossRegionCopy"` // The ID of the Auto Snapshot Policy. Id pulumi.StringInput `pulumi:"id"` // The snapshot policy name.. Name pulumi.StringInput `pulumi:"name"` // The automatic snapshot repetition dates. RepeatWeekdays pulumi.StringArrayInput `pulumi:"repeatWeekdays"` // The snapshot retention time, and the unit of measurement is day. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` // The status of Auto Snapshot Policy. Status pulumi.StringInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // The destination region to which the snapshot is copied. TargetCopyRegions pulumi.StringArrayInput `pulumi:"targetCopyRegions"` // The automatic snapshot creation schedule, and the unit of measurement is hour. TimePoints pulumi.StringArrayInput `pulumi:"timePoints"` // The number of extended volumes on which this policy is enabled. VolumeNums pulumi.IntInput `pulumi:"volumeNums"` }
func (GetAutoSnapshotPoliciesPolicyArgs) ElementType ¶
func (GetAutoSnapshotPoliciesPolicyArgs) ElementType() reflect.Type
func (GetAutoSnapshotPoliciesPolicyArgs) ToGetAutoSnapshotPoliciesPolicyOutput ¶
func (i GetAutoSnapshotPoliciesPolicyArgs) ToGetAutoSnapshotPoliciesPolicyOutput() GetAutoSnapshotPoliciesPolicyOutput
func (GetAutoSnapshotPoliciesPolicyArgs) ToGetAutoSnapshotPoliciesPolicyOutputWithContext ¶
func (i GetAutoSnapshotPoliciesPolicyArgs) ToGetAutoSnapshotPoliciesPolicyOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyOutput
type GetAutoSnapshotPoliciesPolicyArray ¶
type GetAutoSnapshotPoliciesPolicyArray []GetAutoSnapshotPoliciesPolicyInput
func (GetAutoSnapshotPoliciesPolicyArray) ElementType ¶
func (GetAutoSnapshotPoliciesPolicyArray) ElementType() reflect.Type
func (GetAutoSnapshotPoliciesPolicyArray) ToGetAutoSnapshotPoliciesPolicyArrayOutput ¶
func (i GetAutoSnapshotPoliciesPolicyArray) ToGetAutoSnapshotPoliciesPolicyArrayOutput() GetAutoSnapshotPoliciesPolicyArrayOutput
func (GetAutoSnapshotPoliciesPolicyArray) ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext ¶
func (i GetAutoSnapshotPoliciesPolicyArray) ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyArrayOutput
type GetAutoSnapshotPoliciesPolicyArrayInput ¶
type GetAutoSnapshotPoliciesPolicyArrayInput interface { pulumi.Input ToGetAutoSnapshotPoliciesPolicyArrayOutput() GetAutoSnapshotPoliciesPolicyArrayOutput ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext(context.Context) GetAutoSnapshotPoliciesPolicyArrayOutput }
GetAutoSnapshotPoliciesPolicyArrayInput is an input type that accepts GetAutoSnapshotPoliciesPolicyArray and GetAutoSnapshotPoliciesPolicyArrayOutput values. You can construct a concrete instance of `GetAutoSnapshotPoliciesPolicyArrayInput` via:
GetAutoSnapshotPoliciesPolicyArray{ GetAutoSnapshotPoliciesPolicyArgs{...} }
type GetAutoSnapshotPoliciesPolicyArrayOutput ¶
type GetAutoSnapshotPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetAutoSnapshotPoliciesPolicyArrayOutput) ElementType ¶
func (GetAutoSnapshotPoliciesPolicyArrayOutput) ElementType() reflect.Type
func (GetAutoSnapshotPoliciesPolicyArrayOutput) ToGetAutoSnapshotPoliciesPolicyArrayOutput ¶
func (o GetAutoSnapshotPoliciesPolicyArrayOutput) ToGetAutoSnapshotPoliciesPolicyArrayOutput() GetAutoSnapshotPoliciesPolicyArrayOutput
func (GetAutoSnapshotPoliciesPolicyArrayOutput) ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext ¶
func (o GetAutoSnapshotPoliciesPolicyArrayOutput) ToGetAutoSnapshotPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyArrayOutput
type GetAutoSnapshotPoliciesPolicyInput ¶
type GetAutoSnapshotPoliciesPolicyInput interface { pulumi.Input ToGetAutoSnapshotPoliciesPolicyOutput() GetAutoSnapshotPoliciesPolicyOutput ToGetAutoSnapshotPoliciesPolicyOutputWithContext(context.Context) GetAutoSnapshotPoliciesPolicyOutput }
GetAutoSnapshotPoliciesPolicyInput is an input type that accepts GetAutoSnapshotPoliciesPolicyArgs and GetAutoSnapshotPoliciesPolicyOutput values. You can construct a concrete instance of `GetAutoSnapshotPoliciesPolicyInput` via:
GetAutoSnapshotPoliciesPolicyArgs{...}
type GetAutoSnapshotPoliciesPolicyOutput ¶
type GetAutoSnapshotPoliciesPolicyOutput struct{ *pulumi.OutputState }
func (GetAutoSnapshotPoliciesPolicyOutput) AutoSnapshotPolicyId ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) AutoSnapshotPolicyId() pulumi.StringOutput
The ID of the Auto Snapshot Policy.
func (GetAutoSnapshotPoliciesPolicyOutput) CopiedSnapshotsRetentionDays ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) CopiedSnapshotsRetentionDays() pulumi.IntOutput
The retention period of the snapshot copied across regions.
func (GetAutoSnapshotPoliciesPolicyOutput) DiskNums ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) DiskNums() pulumi.IntOutput
The number of disks to which the automatic snapshot policy is applied.
func (GetAutoSnapshotPoliciesPolicyOutput) ElementType ¶
func (GetAutoSnapshotPoliciesPolicyOutput) ElementType() reflect.Type
func (GetAutoSnapshotPoliciesPolicyOutput) EnableCrossRegionCopy ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) EnableCrossRegionCopy() pulumi.BoolOutput
Specifies whether to enable the system to automatically copy snapshots across regions.
func (GetAutoSnapshotPoliciesPolicyOutput) Id ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) Id() pulumi.StringOutput
The ID of the Auto Snapshot Policy.
func (GetAutoSnapshotPoliciesPolicyOutput) Name ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) Name() pulumi.StringOutput
The snapshot policy name..
func (GetAutoSnapshotPoliciesPolicyOutput) RepeatWeekdays ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) RepeatWeekdays() pulumi.StringArrayOutput
The automatic snapshot repetition dates.
func (GetAutoSnapshotPoliciesPolicyOutput) RetentionDays ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) RetentionDays() pulumi.IntOutput
The snapshot retention time, and the unit of measurement is day.
func (GetAutoSnapshotPoliciesPolicyOutput) Status ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) Status() pulumi.StringOutput
The status of Auto Snapshot Policy.
func (GetAutoSnapshotPoliciesPolicyOutput) Tags ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetAutoSnapshotPoliciesPolicyOutput) TargetCopyRegions ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) TargetCopyRegions() pulumi.StringArrayOutput
The destination region to which the snapshot is copied.
func (GetAutoSnapshotPoliciesPolicyOutput) TimePoints ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) TimePoints() pulumi.StringArrayOutput
The automatic snapshot creation schedule, and the unit of measurement is hour.
func (GetAutoSnapshotPoliciesPolicyOutput) ToGetAutoSnapshotPoliciesPolicyOutput ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) ToGetAutoSnapshotPoliciesPolicyOutput() GetAutoSnapshotPoliciesPolicyOutput
func (GetAutoSnapshotPoliciesPolicyOutput) ToGetAutoSnapshotPoliciesPolicyOutputWithContext ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) ToGetAutoSnapshotPoliciesPolicyOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesPolicyOutput
func (GetAutoSnapshotPoliciesPolicyOutput) VolumeNums ¶
func (o GetAutoSnapshotPoliciesPolicyOutput) VolumeNums() pulumi.IntOutput
The number of extended volumes on which this policy is enabled.
type GetAutoSnapshotPoliciesResult ¶
type GetAutoSnapshotPoliciesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Policies []GetAutoSnapshotPoliciesPolicy `pulumi:"policies"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getAutoSnapshotPolicies.
func GetAutoSnapshotPolicies ¶
func GetAutoSnapshotPolicies(ctx *pulumi.Context, args *GetAutoSnapshotPoliciesArgs, opts ...pulumi.InvokeOption) (*GetAutoSnapshotPoliciesResult, error)
This data source provides the Ecs Auto Snapshot Policies of the current Alibaba Cloud user.
> **NOTE:** Available in v1.117.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetAutoSnapshotPolicies(ctx, &ecs.GetAutoSnapshotPoliciesArgs{ Ids: []string{ "sp-bp14e66xxxxxxxx", }, NameRegex: pulumi.StringRef("tf-testAcc"), }, nil) if err != nil { return err } ctx.Export("firstEcsAutoSnapshotPolicyId", example.Policies[0].Id) return nil }) }
```
type GetAutoSnapshotPoliciesResultOutput ¶ added in v3.9.0
type GetAutoSnapshotPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAutoSnapshotPolicies.
func GetAutoSnapshotPoliciesOutput ¶ added in v3.9.0
func GetAutoSnapshotPoliciesOutput(ctx *pulumi.Context, args GetAutoSnapshotPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetAutoSnapshotPoliciesResultOutput
func (GetAutoSnapshotPoliciesResultOutput) ElementType ¶ added in v3.9.0
func (GetAutoSnapshotPoliciesResultOutput) ElementType() reflect.Type
func (GetAutoSnapshotPoliciesResultOutput) Id ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAutoSnapshotPoliciesResultOutput) Ids ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) Ids() pulumi.StringArrayOutput
func (GetAutoSnapshotPoliciesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAutoSnapshotPoliciesResultOutput) Names ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) Names() pulumi.StringArrayOutput
func (GetAutoSnapshotPoliciesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAutoSnapshotPoliciesResultOutput) Policies ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) Policies() GetAutoSnapshotPoliciesPolicyArrayOutput
func (GetAutoSnapshotPoliciesResultOutput) Status ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) Status() pulumi.StringPtrOutput
func (GetAutoSnapshotPoliciesResultOutput) Tags ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) Tags() pulumi.MapOutput
func (GetAutoSnapshotPoliciesResultOutput) ToGetAutoSnapshotPoliciesResultOutput ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) ToGetAutoSnapshotPoliciesResultOutput() GetAutoSnapshotPoliciesResultOutput
func (GetAutoSnapshotPoliciesResultOutput) ToGetAutoSnapshotPoliciesResultOutputWithContext ¶ added in v3.9.0
func (o GetAutoSnapshotPoliciesResultOutput) ToGetAutoSnapshotPoliciesResultOutputWithContext(ctx context.Context) GetAutoSnapshotPoliciesResultOutput
type GetCommandsArgs ¶
type GetCommandsArgs struct { // Public order provider. CommandProvider *string `pulumi:"commandProvider"` // The Base64-encoded content of the command. ContentEncoding *string `pulumi:"contentEncoding"` // The description of command. Description *string `pulumi:"description"` // A list of Command IDs. Ids []string `pulumi:"ids"` // The name of the command Name *string `pulumi:"name"` // A regex string to filter results by Command name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The command type. Type *string `pulumi:"type"` }
A collection of arguments for invoking getCommands.
type GetCommandsCommand ¶
type GetCommandsCommand struct { // The Base64-encoded content of the command. CommandContent string `pulumi:"commandContent"` // The ID of the Command. CommandId string `pulumi:"commandId"` // The description of command. Description string `pulumi:"description"` // Specifies whether to use custom parameters in the command to be created. EnableParameter bool `pulumi:"enableParameter"` // The ID of the Command. Id string `pulumi:"id"` // The name of the command Name string `pulumi:"name"` // A list of custom parameter names which are parsed from the command content specified when the command was being created. ParameterNames []string `pulumi:"parameterNames"` // The timeout period that is specified for the command to be run on ECS instances. Timeout int `pulumi:"timeout"` // The command type. Type string `pulumi:"type"` // The execution path of the command in the ECS instance. WorkingDir string `pulumi:"workingDir"` }
type GetCommandsCommandArgs ¶
type GetCommandsCommandArgs struct { // The Base64-encoded content of the command. CommandContent pulumi.StringInput `pulumi:"commandContent"` // The ID of the Command. CommandId pulumi.StringInput `pulumi:"commandId"` // The description of command. Description pulumi.StringInput `pulumi:"description"` // Specifies whether to use custom parameters in the command to be created. EnableParameter pulumi.BoolInput `pulumi:"enableParameter"` // The ID of the Command. Id pulumi.StringInput `pulumi:"id"` // The name of the command Name pulumi.StringInput `pulumi:"name"` // A list of custom parameter names which are parsed from the command content specified when the command was being created. ParameterNames pulumi.StringArrayInput `pulumi:"parameterNames"` // The timeout period that is specified for the command to be run on ECS instances. Timeout pulumi.IntInput `pulumi:"timeout"` // The command type. Type pulumi.StringInput `pulumi:"type"` // The execution path of the command in the ECS instance. WorkingDir pulumi.StringInput `pulumi:"workingDir"` }
func (GetCommandsCommandArgs) ElementType ¶
func (GetCommandsCommandArgs) ElementType() reflect.Type
func (GetCommandsCommandArgs) ToGetCommandsCommandOutput ¶
func (i GetCommandsCommandArgs) ToGetCommandsCommandOutput() GetCommandsCommandOutput
func (GetCommandsCommandArgs) ToGetCommandsCommandOutputWithContext ¶
func (i GetCommandsCommandArgs) ToGetCommandsCommandOutputWithContext(ctx context.Context) GetCommandsCommandOutput
type GetCommandsCommandArray ¶
type GetCommandsCommandArray []GetCommandsCommandInput
func (GetCommandsCommandArray) ElementType ¶
func (GetCommandsCommandArray) ElementType() reflect.Type
func (GetCommandsCommandArray) ToGetCommandsCommandArrayOutput ¶
func (i GetCommandsCommandArray) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput
func (GetCommandsCommandArray) ToGetCommandsCommandArrayOutputWithContext ¶
func (i GetCommandsCommandArray) ToGetCommandsCommandArrayOutputWithContext(ctx context.Context) GetCommandsCommandArrayOutput
type GetCommandsCommandArrayInput ¶
type GetCommandsCommandArrayInput interface { pulumi.Input ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput ToGetCommandsCommandArrayOutputWithContext(context.Context) GetCommandsCommandArrayOutput }
GetCommandsCommandArrayInput is an input type that accepts GetCommandsCommandArray and GetCommandsCommandArrayOutput values. You can construct a concrete instance of `GetCommandsCommandArrayInput` via:
GetCommandsCommandArray{ GetCommandsCommandArgs{...} }
type GetCommandsCommandArrayOutput ¶
type GetCommandsCommandArrayOutput struct{ *pulumi.OutputState }
func (GetCommandsCommandArrayOutput) ElementType ¶
func (GetCommandsCommandArrayOutput) ElementType() reflect.Type
func (GetCommandsCommandArrayOutput) Index ¶
func (o GetCommandsCommandArrayOutput) Index(i pulumi.IntInput) GetCommandsCommandOutput
func (GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput ¶
func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutput() GetCommandsCommandArrayOutput
func (GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutputWithContext ¶
func (o GetCommandsCommandArrayOutput) ToGetCommandsCommandArrayOutputWithContext(ctx context.Context) GetCommandsCommandArrayOutput
type GetCommandsCommandInput ¶
type GetCommandsCommandInput interface { pulumi.Input ToGetCommandsCommandOutput() GetCommandsCommandOutput ToGetCommandsCommandOutputWithContext(context.Context) GetCommandsCommandOutput }
GetCommandsCommandInput is an input type that accepts GetCommandsCommandArgs and GetCommandsCommandOutput values. You can construct a concrete instance of `GetCommandsCommandInput` via:
GetCommandsCommandArgs{...}
type GetCommandsCommandOutput ¶
type GetCommandsCommandOutput struct{ *pulumi.OutputState }
func (GetCommandsCommandOutput) CommandContent ¶
func (o GetCommandsCommandOutput) CommandContent() pulumi.StringOutput
The Base64-encoded content of the command.
func (GetCommandsCommandOutput) CommandId ¶
func (o GetCommandsCommandOutput) CommandId() pulumi.StringOutput
The ID of the Command.
func (GetCommandsCommandOutput) Description ¶
func (o GetCommandsCommandOutput) Description() pulumi.StringOutput
The description of command.
func (GetCommandsCommandOutput) ElementType ¶
func (GetCommandsCommandOutput) ElementType() reflect.Type
func (GetCommandsCommandOutput) EnableParameter ¶
func (o GetCommandsCommandOutput) EnableParameter() pulumi.BoolOutput
Specifies whether to use custom parameters in the command to be created.
func (GetCommandsCommandOutput) Id ¶
func (o GetCommandsCommandOutput) Id() pulumi.StringOutput
The ID of the Command.
func (GetCommandsCommandOutput) Name ¶
func (o GetCommandsCommandOutput) Name() pulumi.StringOutput
The name of the command
func (GetCommandsCommandOutput) ParameterNames ¶
func (o GetCommandsCommandOutput) ParameterNames() pulumi.StringArrayOutput
A list of custom parameter names which are parsed from the command content specified when the command was being created.
func (GetCommandsCommandOutput) Timeout ¶
func (o GetCommandsCommandOutput) Timeout() pulumi.IntOutput
The timeout period that is specified for the command to be run on ECS instances.
func (GetCommandsCommandOutput) ToGetCommandsCommandOutput ¶
func (o GetCommandsCommandOutput) ToGetCommandsCommandOutput() GetCommandsCommandOutput
func (GetCommandsCommandOutput) ToGetCommandsCommandOutputWithContext ¶
func (o GetCommandsCommandOutput) ToGetCommandsCommandOutputWithContext(ctx context.Context) GetCommandsCommandOutput
func (GetCommandsCommandOutput) Type ¶
func (o GetCommandsCommandOutput) Type() pulumi.StringOutput
The command type.
func (GetCommandsCommandOutput) WorkingDir ¶
func (o GetCommandsCommandOutput) WorkingDir() pulumi.StringOutput
The execution path of the command in the ECS instance.
type GetCommandsOutputArgs ¶ added in v3.9.0
type GetCommandsOutputArgs struct { // Public order provider. CommandProvider pulumi.StringPtrInput `pulumi:"commandProvider"` // The Base64-encoded content of the command. ContentEncoding pulumi.StringPtrInput `pulumi:"contentEncoding"` // The description of command. Description pulumi.StringPtrInput `pulumi:"description"` // A list of Command IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The name of the command Name pulumi.StringPtrInput `pulumi:"name"` // A regex string to filter results by Command name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The command type. Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking getCommands.
func (GetCommandsOutputArgs) ElementType ¶ added in v3.9.0
func (GetCommandsOutputArgs) ElementType() reflect.Type
type GetCommandsResult ¶
type GetCommandsResult struct { CommandProvider *string `pulumi:"commandProvider"` Commands []GetCommandsCommand `pulumi:"commands"` ContentEncoding *string `pulumi:"contentEncoding"` Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Name *string `pulumi:"name"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Type *string `pulumi:"type"` }
A collection of values returned by getCommands.
func GetCommands ¶
func GetCommands(ctx *pulumi.Context, args *GetCommandsArgs, opts ...pulumi.InvokeOption) (*GetCommandsResult, error)
This data source provides the Ecs Commands of the current Alibaba Cloud user.
> **NOTE:** Available in v1.116.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetCommands(ctx, &ecs.GetCommandsArgs{ Ids: []string{ "E2RY53-xxxx", }, NameRegex: pulumi.StringRef("tf-testAcc"), }, nil) if err != nil { return err } ctx.Export("firstEcsCommandId", example.Commands[0].Id) return nil }) }
```
type GetCommandsResultOutput ¶ added in v3.9.0
type GetCommandsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCommands.
func GetCommandsOutput ¶ added in v3.9.0
func GetCommandsOutput(ctx *pulumi.Context, args GetCommandsOutputArgs, opts ...pulumi.InvokeOption) GetCommandsResultOutput
func (GetCommandsResultOutput) CommandProvider ¶ added in v3.9.0
func (o GetCommandsResultOutput) CommandProvider() pulumi.StringPtrOutput
func (GetCommandsResultOutput) Commands ¶ added in v3.9.0
func (o GetCommandsResultOutput) Commands() GetCommandsCommandArrayOutput
func (GetCommandsResultOutput) ContentEncoding ¶ added in v3.9.0
func (o GetCommandsResultOutput) ContentEncoding() pulumi.StringPtrOutput
func (GetCommandsResultOutput) Description ¶ added in v3.9.0
func (o GetCommandsResultOutput) Description() pulumi.StringPtrOutput
func (GetCommandsResultOutput) ElementType ¶ added in v3.9.0
func (GetCommandsResultOutput) ElementType() reflect.Type
func (GetCommandsResultOutput) Id ¶ added in v3.9.0
func (o GetCommandsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCommandsResultOutput) Ids ¶ added in v3.9.0
func (o GetCommandsResultOutput) Ids() pulumi.StringArrayOutput
func (GetCommandsResultOutput) Name ¶ added in v3.9.0
func (o GetCommandsResultOutput) Name() pulumi.StringPtrOutput
func (GetCommandsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetCommandsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetCommandsResultOutput) Names ¶ added in v3.9.0
func (o GetCommandsResultOutput) Names() pulumi.StringArrayOutput
func (GetCommandsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetCommandsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetCommandsResultOutput) ToGetCommandsResultOutput ¶ added in v3.9.0
func (o GetCommandsResultOutput) ToGetCommandsResultOutput() GetCommandsResultOutput
func (GetCommandsResultOutput) ToGetCommandsResultOutputWithContext ¶ added in v3.9.0
func (o GetCommandsResultOutput) ToGetCommandsResultOutputWithContext(ctx context.Context) GetCommandsResultOutput
func (GetCommandsResultOutput) Type ¶ added in v3.9.0
func (o GetCommandsResultOutput) Type() pulumi.StringPtrOutput
type GetDedicatedHostsArgs ¶
type GetDedicatedHostsArgs struct { // The ID of ECS Dedicated Host. DedicatedHostId *string `pulumi:"dedicatedHostId"` // The name of ECS Dedicated Host. DedicatedHostName *string `pulumi:"dedicatedHostName"` // The type of the dedicated host. DedicatedHostType *string `pulumi:"dedicatedHostType"` // A list of ECS Dedicated Host ids. Ids []string `pulumi:"ids"` // A regex string to filter results by the ECS Dedicated Host name. NameRegex *string `pulumi:"nameRegex"` // The reason why the dedicated host resource is locked. OperationLocks []GetDedicatedHostsOperationLock `pulumi:"operationLocks"` // Save the result to the file. OutputFile *string `pulumi:"outputFile"` // The ID of the resource group to which the ECS Dedicated Host belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // The status of the ECS Dedicated Host. validate value: `Available`, `Creating`, `PermanentFailure`, `Released`, `UnderAssessment`. Status *string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // The zone ID of the ECS Dedicated Host. ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking getDedicatedHosts.
type GetDedicatedHostsHost ¶
type GetDedicatedHostsHost struct { // The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online. ActionOnMaintenance string `pulumi:"actionOnMaintenance"` // Specifies whether to add the dedicated host to the resource pool for automatic deployment. AutoPlacement string `pulumi:"autoPlacement"` // The automatic release time of the dedicated host. AutoReleaseTime string `pulumi:"autoReleaseTime"` // (Available in 1.123.1+) A collection of proprietary host performance indicators. Capacities []GetDedicatedHostsHostCapacity `pulumi:"capacities"` // A mapping of tags to assign to the resource. Cores int `pulumi:"cores"` // (Available in 1.123.1+) CPU oversold ratio. CpuOverCommitRatio float64 `pulumi:"cpuOverCommitRatio"` // The ID of ECS Dedicated Host. DedicatedHostId string `pulumi:"dedicatedHostId"` // The name of ECS Dedicated Host. DedicatedHostName string `pulumi:"dedicatedHostName"` // The type of the dedicated host. DedicatedHostType string `pulumi:"dedicatedHostType"` // The description of the dedicated host. Description string `pulumi:"description"` // The expiration time of the subscription dedicated host. ExpiredTime string `pulumi:"expiredTime"` // The GPU model. GpuSpec string `pulumi:"gpuSpec"` // ID of the ECS Dedicated Host. Id string `pulumi:"id"` // The machine code of the dedicated host. MachineId string `pulumi:"machineId"` // dedicated host network parameters. contains the following attributes: NetworkAttributes []GetDedicatedHostsHostNetworkAttribute `pulumi:"networkAttributes"` // The reason why the dedicated host resource is locked. OperationLocks []GetDedicatedHostsHostOperationLock `pulumi:"operationLocks"` // The billing method of the dedicated host. PaymentType string `pulumi:"paymentType"` // The number of physical GPUs. PhysicalGpus int `pulumi:"physicalGpus"` // The ID of the resource group to which the ECS Dedicated Host belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // The unit of the subscription billing method. SaleCycle string `pulumi:"saleCycle"` // The number of physical CPUs. Sockets int `pulumi:"sockets"` // The status of the ECS Dedicated Host. validate value: `Available`, `Creating`, `PermanentFailure`, `Released`, `UnderAssessment`. Status string `pulumi:"status"` // (Available in 1.123.1+) A custom instance type family supported by a dedicated host. SupportedCustomInstanceTypeFamilies []string `pulumi:"supportedCustomInstanceTypeFamilies"` // (Available in 1.123.1+) ECS instance type family supported by the dedicated host. SupportedInstanceTypeFamilies []string `pulumi:"supportedInstanceTypeFamilies"` // The list of ECS instance SupportedInstanceTypesLists []string `pulumi:"supportedInstanceTypesLists"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // The zone ID of the ECS Dedicated Host. ZoneId string `pulumi:"zoneId"` }
type GetDedicatedHostsHostArgs ¶
type GetDedicatedHostsHostArgs struct { // The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online. ActionOnMaintenance pulumi.StringInput `pulumi:"actionOnMaintenance"` // Specifies whether to add the dedicated host to the resource pool for automatic deployment. AutoPlacement pulumi.StringInput `pulumi:"autoPlacement"` // The automatic release time of the dedicated host. AutoReleaseTime pulumi.StringInput `pulumi:"autoReleaseTime"` // (Available in 1.123.1+) A collection of proprietary host performance indicators. Capacities GetDedicatedHostsHostCapacityArrayInput `pulumi:"capacities"` // A mapping of tags to assign to the resource. Cores pulumi.IntInput `pulumi:"cores"` // (Available in 1.123.1+) CPU oversold ratio. CpuOverCommitRatio pulumi.Float64Input `pulumi:"cpuOverCommitRatio"` // The ID of ECS Dedicated Host. DedicatedHostId pulumi.StringInput `pulumi:"dedicatedHostId"` // The name of ECS Dedicated Host. DedicatedHostName pulumi.StringInput `pulumi:"dedicatedHostName"` // The type of the dedicated host. DedicatedHostType pulumi.StringInput `pulumi:"dedicatedHostType"` // The description of the dedicated host. Description pulumi.StringInput `pulumi:"description"` // The expiration time of the subscription dedicated host. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // The GPU model. GpuSpec pulumi.StringInput `pulumi:"gpuSpec"` // ID of the ECS Dedicated Host. Id pulumi.StringInput `pulumi:"id"` // The machine code of the dedicated host. MachineId pulumi.StringInput `pulumi:"machineId"` // dedicated host network parameters. contains the following attributes: NetworkAttributes GetDedicatedHostsHostNetworkAttributeArrayInput `pulumi:"networkAttributes"` // The reason why the dedicated host resource is locked. OperationLocks GetDedicatedHostsHostOperationLockArrayInput `pulumi:"operationLocks"` // The billing method of the dedicated host. PaymentType pulumi.StringInput `pulumi:"paymentType"` // The number of physical GPUs. PhysicalGpus pulumi.IntInput `pulumi:"physicalGpus"` // The ID of the resource group to which the ECS Dedicated Host belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The unit of the subscription billing method. SaleCycle pulumi.StringInput `pulumi:"saleCycle"` // The number of physical CPUs. Sockets pulumi.IntInput `pulumi:"sockets"` // The status of the ECS Dedicated Host. validate value: `Available`, `Creating`, `PermanentFailure`, `Released`, `UnderAssessment`. Status pulumi.StringInput `pulumi:"status"` // (Available in 1.123.1+) A custom instance type family supported by a dedicated host. SupportedCustomInstanceTypeFamilies pulumi.StringArrayInput `pulumi:"supportedCustomInstanceTypeFamilies"` // (Available in 1.123.1+) ECS instance type family supported by the dedicated host. SupportedInstanceTypeFamilies pulumi.StringArrayInput `pulumi:"supportedInstanceTypeFamilies"` // The list of ECS instance SupportedInstanceTypesLists pulumi.StringArrayInput `pulumi:"supportedInstanceTypesLists"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // The zone ID of the ECS Dedicated Host. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetDedicatedHostsHostArgs) ElementType ¶
func (GetDedicatedHostsHostArgs) ElementType() reflect.Type
func (GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutput ¶
func (i GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutputWithContext ¶
func (i GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput
type GetDedicatedHostsHostArray ¶
type GetDedicatedHostsHostArray []GetDedicatedHostsHostInput
func (GetDedicatedHostsHostArray) ElementType ¶
func (GetDedicatedHostsHostArray) ElementType() reflect.Type
func (GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput ¶
func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
func (GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext ¶
func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
type GetDedicatedHostsHostArrayInput ¶
type GetDedicatedHostsHostArrayInput interface { pulumi.Input ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput ToGetDedicatedHostsHostArrayOutputWithContext(context.Context) GetDedicatedHostsHostArrayOutput }
GetDedicatedHostsHostArrayInput is an input type that accepts GetDedicatedHostsHostArray and GetDedicatedHostsHostArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsHostArrayInput` via:
GetDedicatedHostsHostArray{ GetDedicatedHostsHostArgs{...} }
type GetDedicatedHostsHostArrayOutput ¶
type GetDedicatedHostsHostArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostArrayOutput) ElementType ¶
func (GetDedicatedHostsHostArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostArrayOutput) Index ¶
func (o GetDedicatedHostsHostArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput ¶
func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
func (GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext ¶
func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
type GetDedicatedHostsHostCapacity ¶ added in v3.3.0
type GetDedicatedHostsHostCapacity struct { // The remaining local disk capacity. Unit: GiB. AvailableLocalStorage int `pulumi:"availableLocalStorage"` // The remaining memory capacity, unit: GiB. AvailableMemory float64 `pulumi:"availableMemory"` // The number of remaining vCPU cores. AvailableVcpus int `pulumi:"availableVcpus"` // The number of available virtual GPUs. AvailableVgpus int `pulumi:"availableVgpus"` // Local disk type. LocalStorageCategory string `pulumi:"localStorageCategory"` // The total capacity of the local disk, in GiB. TotalLocalStorage int `pulumi:"totalLocalStorage"` // The total memory capacity, unit: GiB. TotalMemory float64 `pulumi:"totalMemory"` // The total number of vCPU cores. TotalVcpus int `pulumi:"totalVcpus"` // The total number of virtual GPUs. TotalVgpus int `pulumi:"totalVgpus"` }
type GetDedicatedHostsHostCapacityArgs ¶ added in v3.3.0
type GetDedicatedHostsHostCapacityArgs struct { // The remaining local disk capacity. Unit: GiB. AvailableLocalStorage pulumi.IntInput `pulumi:"availableLocalStorage"` // The remaining memory capacity, unit: GiB. AvailableMemory pulumi.Float64Input `pulumi:"availableMemory"` // The number of remaining vCPU cores. AvailableVcpus pulumi.IntInput `pulumi:"availableVcpus"` // The number of available virtual GPUs. AvailableVgpus pulumi.IntInput `pulumi:"availableVgpus"` // Local disk type. LocalStorageCategory pulumi.StringInput `pulumi:"localStorageCategory"` // The total capacity of the local disk, in GiB. TotalLocalStorage pulumi.IntInput `pulumi:"totalLocalStorage"` // The total memory capacity, unit: GiB. TotalMemory pulumi.Float64Input `pulumi:"totalMemory"` // The total number of vCPU cores. TotalVcpus pulumi.IntInput `pulumi:"totalVcpus"` // The total number of virtual GPUs. TotalVgpus pulumi.IntInput `pulumi:"totalVgpus"` }
func (GetDedicatedHostsHostCapacityArgs) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostCapacityArgs) ElementType() reflect.Type
func (GetDedicatedHostsHostCapacityArgs) ToGetDedicatedHostsHostCapacityOutput ¶ added in v3.3.0
func (i GetDedicatedHostsHostCapacityArgs) ToGetDedicatedHostsHostCapacityOutput() GetDedicatedHostsHostCapacityOutput
func (GetDedicatedHostsHostCapacityArgs) ToGetDedicatedHostsHostCapacityOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsHostCapacityArgs) ToGetDedicatedHostsHostCapacityOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityOutput
type GetDedicatedHostsHostCapacityArray ¶ added in v3.3.0
type GetDedicatedHostsHostCapacityArray []GetDedicatedHostsHostCapacityInput
func (GetDedicatedHostsHostCapacityArray) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostCapacityArray) ElementType() reflect.Type
func (GetDedicatedHostsHostCapacityArray) ToGetDedicatedHostsHostCapacityArrayOutput ¶ added in v3.3.0
func (i GetDedicatedHostsHostCapacityArray) ToGetDedicatedHostsHostCapacityArrayOutput() GetDedicatedHostsHostCapacityArrayOutput
func (GetDedicatedHostsHostCapacityArray) ToGetDedicatedHostsHostCapacityArrayOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsHostCapacityArray) ToGetDedicatedHostsHostCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityArrayOutput
type GetDedicatedHostsHostCapacityArrayInput ¶ added in v3.3.0
type GetDedicatedHostsHostCapacityArrayInput interface { pulumi.Input ToGetDedicatedHostsHostCapacityArrayOutput() GetDedicatedHostsHostCapacityArrayOutput ToGetDedicatedHostsHostCapacityArrayOutputWithContext(context.Context) GetDedicatedHostsHostCapacityArrayOutput }
GetDedicatedHostsHostCapacityArrayInput is an input type that accepts GetDedicatedHostsHostCapacityArray and GetDedicatedHostsHostCapacityArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsHostCapacityArrayInput` via:
GetDedicatedHostsHostCapacityArray{ GetDedicatedHostsHostCapacityArgs{...} }
type GetDedicatedHostsHostCapacityArrayOutput ¶ added in v3.3.0
type GetDedicatedHostsHostCapacityArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostCapacityArrayOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostCapacityArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostCapacityArrayOutput) ToGetDedicatedHostsHostCapacityArrayOutput ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityArrayOutput) ToGetDedicatedHostsHostCapacityArrayOutput() GetDedicatedHostsHostCapacityArrayOutput
func (GetDedicatedHostsHostCapacityArrayOutput) ToGetDedicatedHostsHostCapacityArrayOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityArrayOutput) ToGetDedicatedHostsHostCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityArrayOutput
type GetDedicatedHostsHostCapacityInput ¶ added in v3.3.0
type GetDedicatedHostsHostCapacityInput interface { pulumi.Input ToGetDedicatedHostsHostCapacityOutput() GetDedicatedHostsHostCapacityOutput ToGetDedicatedHostsHostCapacityOutputWithContext(context.Context) GetDedicatedHostsHostCapacityOutput }
GetDedicatedHostsHostCapacityInput is an input type that accepts GetDedicatedHostsHostCapacityArgs and GetDedicatedHostsHostCapacityOutput values. You can construct a concrete instance of `GetDedicatedHostsHostCapacityInput` via:
GetDedicatedHostsHostCapacityArgs{...}
type GetDedicatedHostsHostCapacityOutput ¶ added in v3.3.0
type GetDedicatedHostsHostCapacityOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostCapacityOutput) AvailableLocalStorage ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) AvailableLocalStorage() pulumi.IntOutput
The remaining local disk capacity. Unit: GiB.
func (GetDedicatedHostsHostCapacityOutput) AvailableMemory ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) AvailableMemory() pulumi.Float64Output
The remaining memory capacity, unit: GiB.
func (GetDedicatedHostsHostCapacityOutput) AvailableVcpus ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) AvailableVcpus() pulumi.IntOutput
The number of remaining vCPU cores.
func (GetDedicatedHostsHostCapacityOutput) AvailableVgpus ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) AvailableVgpus() pulumi.IntOutput
The number of available virtual GPUs.
func (GetDedicatedHostsHostCapacityOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostCapacityOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostCapacityOutput) LocalStorageCategory ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) LocalStorageCategory() pulumi.StringOutput
Local disk type.
func (GetDedicatedHostsHostCapacityOutput) ToGetDedicatedHostsHostCapacityOutput ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) ToGetDedicatedHostsHostCapacityOutput() GetDedicatedHostsHostCapacityOutput
func (GetDedicatedHostsHostCapacityOutput) ToGetDedicatedHostsHostCapacityOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) ToGetDedicatedHostsHostCapacityOutputWithContext(ctx context.Context) GetDedicatedHostsHostCapacityOutput
func (GetDedicatedHostsHostCapacityOutput) TotalLocalStorage ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) TotalLocalStorage() pulumi.IntOutput
The total capacity of the local disk, in GiB.
func (GetDedicatedHostsHostCapacityOutput) TotalMemory ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) TotalMemory() pulumi.Float64Output
The total memory capacity, unit: GiB.
func (GetDedicatedHostsHostCapacityOutput) TotalVcpus ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) TotalVcpus() pulumi.IntOutput
The total number of vCPU cores.
func (GetDedicatedHostsHostCapacityOutput) TotalVgpus ¶ added in v3.3.0
func (o GetDedicatedHostsHostCapacityOutput) TotalVgpus() pulumi.IntOutput
The total number of virtual GPUs.
type GetDedicatedHostsHostInput ¶
type GetDedicatedHostsHostInput interface { pulumi.Input ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput ToGetDedicatedHostsHostOutputWithContext(context.Context) GetDedicatedHostsHostOutput }
GetDedicatedHostsHostInput is an input type that accepts GetDedicatedHostsHostArgs and GetDedicatedHostsHostOutput values. You can construct a concrete instance of `GetDedicatedHostsHostInput` via:
GetDedicatedHostsHostArgs{...}
type GetDedicatedHostsHostNetworkAttribute ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttribute struct { // The timeout period for a UDP session between Server Load Balancer (SLB) and the dedicated host. Unit: seconds. SlbUdpTimeout int `pulumi:"slbUdpTimeout"` // (Available in 1.123.1+) The timeout period for a UDP session between a user and an Alibaba Cloud service on the dedicated host. Unit: seconds. UdpTimeout int `pulumi:"udpTimeout"` }
type GetDedicatedHostsHostNetworkAttributeArgs ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttributeArgs struct { // The timeout period for a UDP session between Server Load Balancer (SLB) and the dedicated host. Unit: seconds. SlbUdpTimeout pulumi.IntInput `pulumi:"slbUdpTimeout"` // (Available in 1.123.1+) The timeout period for a UDP session between a user and an Alibaba Cloud service on the dedicated host. Unit: seconds. UdpTimeout pulumi.IntInput `pulumi:"udpTimeout"` }
func (GetDedicatedHostsHostNetworkAttributeArgs) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostNetworkAttributeArgs) ElementType() reflect.Type
func (GetDedicatedHostsHostNetworkAttributeArgs) ToGetDedicatedHostsHostNetworkAttributeOutput ¶ added in v3.3.0
func (i GetDedicatedHostsHostNetworkAttributeArgs) ToGetDedicatedHostsHostNetworkAttributeOutput() GetDedicatedHostsHostNetworkAttributeOutput
func (GetDedicatedHostsHostNetworkAttributeArgs) ToGetDedicatedHostsHostNetworkAttributeOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsHostNetworkAttributeArgs) ToGetDedicatedHostsHostNetworkAttributeOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeOutput
type GetDedicatedHostsHostNetworkAttributeArray ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttributeArray []GetDedicatedHostsHostNetworkAttributeInput
func (GetDedicatedHostsHostNetworkAttributeArray) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostNetworkAttributeArray) ElementType() reflect.Type
func (GetDedicatedHostsHostNetworkAttributeArray) ToGetDedicatedHostsHostNetworkAttributeArrayOutput ¶ added in v3.3.0
func (i GetDedicatedHostsHostNetworkAttributeArray) ToGetDedicatedHostsHostNetworkAttributeArrayOutput() GetDedicatedHostsHostNetworkAttributeArrayOutput
func (GetDedicatedHostsHostNetworkAttributeArray) ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsHostNetworkAttributeArray) ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeArrayOutput
type GetDedicatedHostsHostNetworkAttributeArrayInput ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttributeArrayInput interface { pulumi.Input ToGetDedicatedHostsHostNetworkAttributeArrayOutput() GetDedicatedHostsHostNetworkAttributeArrayOutput ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext(context.Context) GetDedicatedHostsHostNetworkAttributeArrayOutput }
GetDedicatedHostsHostNetworkAttributeArrayInput is an input type that accepts GetDedicatedHostsHostNetworkAttributeArray and GetDedicatedHostsHostNetworkAttributeArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsHostNetworkAttributeArrayInput` via:
GetDedicatedHostsHostNetworkAttributeArray{ GetDedicatedHostsHostNetworkAttributeArgs{...} }
type GetDedicatedHostsHostNetworkAttributeArrayOutput ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttributeArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostNetworkAttributeArrayOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostNetworkAttributeArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostNetworkAttributeArrayOutput) ToGetDedicatedHostsHostNetworkAttributeArrayOutput ¶ added in v3.3.0
func (o GetDedicatedHostsHostNetworkAttributeArrayOutput) ToGetDedicatedHostsHostNetworkAttributeArrayOutput() GetDedicatedHostsHostNetworkAttributeArrayOutput
func (GetDedicatedHostsHostNetworkAttributeArrayOutput) ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsHostNetworkAttributeArrayOutput) ToGetDedicatedHostsHostNetworkAttributeArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeArrayOutput
type GetDedicatedHostsHostNetworkAttributeInput ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttributeInput interface { pulumi.Input ToGetDedicatedHostsHostNetworkAttributeOutput() GetDedicatedHostsHostNetworkAttributeOutput ToGetDedicatedHostsHostNetworkAttributeOutputWithContext(context.Context) GetDedicatedHostsHostNetworkAttributeOutput }
GetDedicatedHostsHostNetworkAttributeInput is an input type that accepts GetDedicatedHostsHostNetworkAttributeArgs and GetDedicatedHostsHostNetworkAttributeOutput values. You can construct a concrete instance of `GetDedicatedHostsHostNetworkAttributeInput` via:
GetDedicatedHostsHostNetworkAttributeArgs{...}
type GetDedicatedHostsHostNetworkAttributeOutput ¶ added in v3.3.0
type GetDedicatedHostsHostNetworkAttributeOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostNetworkAttributeOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostNetworkAttributeOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostNetworkAttributeOutput) SlbUdpTimeout ¶ added in v3.3.0
func (o GetDedicatedHostsHostNetworkAttributeOutput) SlbUdpTimeout() pulumi.IntOutput
The timeout period for a UDP session between Server Load Balancer (SLB) and the dedicated host. Unit: seconds.
func (GetDedicatedHostsHostNetworkAttributeOutput) ToGetDedicatedHostsHostNetworkAttributeOutput ¶ added in v3.3.0
func (o GetDedicatedHostsHostNetworkAttributeOutput) ToGetDedicatedHostsHostNetworkAttributeOutput() GetDedicatedHostsHostNetworkAttributeOutput
func (GetDedicatedHostsHostNetworkAttributeOutput) ToGetDedicatedHostsHostNetworkAttributeOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsHostNetworkAttributeOutput) ToGetDedicatedHostsHostNetworkAttributeOutputWithContext(ctx context.Context) GetDedicatedHostsHostNetworkAttributeOutput
func (GetDedicatedHostsHostNetworkAttributeOutput) UdpTimeout ¶ added in v3.3.0
func (o GetDedicatedHostsHostNetworkAttributeOutput) UdpTimeout() pulumi.IntOutput
(Available in 1.123.1+) The timeout period for a UDP session between a user and an Alibaba Cloud service on the dedicated host. Unit: seconds.
type GetDedicatedHostsHostOperationLock ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLock struct { // The reason why the dedicated host resource is locked. LockReason string `pulumi:"lockReason"` }
type GetDedicatedHostsHostOperationLockArgs ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLockArgs struct { // The reason why the dedicated host resource is locked. LockReason pulumi.StringInput `pulumi:"lockReason"` }
func (GetDedicatedHostsHostOperationLockArgs) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostOperationLockArgs) ElementType() reflect.Type
func (GetDedicatedHostsHostOperationLockArgs) ToGetDedicatedHostsHostOperationLockOutput ¶ added in v3.3.0
func (i GetDedicatedHostsHostOperationLockArgs) ToGetDedicatedHostsHostOperationLockOutput() GetDedicatedHostsHostOperationLockOutput
func (GetDedicatedHostsHostOperationLockArgs) ToGetDedicatedHostsHostOperationLockOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsHostOperationLockArgs) ToGetDedicatedHostsHostOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockOutput
type GetDedicatedHostsHostOperationLockArray ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLockArray []GetDedicatedHostsHostOperationLockInput
func (GetDedicatedHostsHostOperationLockArray) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostOperationLockArray) ElementType() reflect.Type
func (GetDedicatedHostsHostOperationLockArray) ToGetDedicatedHostsHostOperationLockArrayOutput ¶ added in v3.3.0
func (i GetDedicatedHostsHostOperationLockArray) ToGetDedicatedHostsHostOperationLockArrayOutput() GetDedicatedHostsHostOperationLockArrayOutput
func (GetDedicatedHostsHostOperationLockArray) ToGetDedicatedHostsHostOperationLockArrayOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsHostOperationLockArray) ToGetDedicatedHostsHostOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockArrayOutput
type GetDedicatedHostsHostOperationLockArrayInput ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLockArrayInput interface { pulumi.Input ToGetDedicatedHostsHostOperationLockArrayOutput() GetDedicatedHostsHostOperationLockArrayOutput ToGetDedicatedHostsHostOperationLockArrayOutputWithContext(context.Context) GetDedicatedHostsHostOperationLockArrayOutput }
GetDedicatedHostsHostOperationLockArrayInput is an input type that accepts GetDedicatedHostsHostOperationLockArray and GetDedicatedHostsHostOperationLockArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsHostOperationLockArrayInput` via:
GetDedicatedHostsHostOperationLockArray{ GetDedicatedHostsHostOperationLockArgs{...} }
type GetDedicatedHostsHostOperationLockArrayOutput ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLockArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostOperationLockArrayOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostOperationLockArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostOperationLockArrayOutput) ToGetDedicatedHostsHostOperationLockArrayOutput ¶ added in v3.3.0
func (o GetDedicatedHostsHostOperationLockArrayOutput) ToGetDedicatedHostsHostOperationLockArrayOutput() GetDedicatedHostsHostOperationLockArrayOutput
func (GetDedicatedHostsHostOperationLockArrayOutput) ToGetDedicatedHostsHostOperationLockArrayOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsHostOperationLockArrayOutput) ToGetDedicatedHostsHostOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockArrayOutput
type GetDedicatedHostsHostOperationLockInput ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLockInput interface { pulumi.Input ToGetDedicatedHostsHostOperationLockOutput() GetDedicatedHostsHostOperationLockOutput ToGetDedicatedHostsHostOperationLockOutputWithContext(context.Context) GetDedicatedHostsHostOperationLockOutput }
GetDedicatedHostsHostOperationLockInput is an input type that accepts GetDedicatedHostsHostOperationLockArgs and GetDedicatedHostsHostOperationLockOutput values. You can construct a concrete instance of `GetDedicatedHostsHostOperationLockInput` via:
GetDedicatedHostsHostOperationLockArgs{...}
type GetDedicatedHostsHostOperationLockOutput ¶ added in v3.3.0
type GetDedicatedHostsHostOperationLockOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostOperationLockOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsHostOperationLockOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostOperationLockOutput) LockReason ¶ added in v3.3.0
func (o GetDedicatedHostsHostOperationLockOutput) LockReason() pulumi.StringOutput
The reason why the dedicated host resource is locked.
func (GetDedicatedHostsHostOperationLockOutput) ToGetDedicatedHostsHostOperationLockOutput ¶ added in v3.3.0
func (o GetDedicatedHostsHostOperationLockOutput) ToGetDedicatedHostsHostOperationLockOutput() GetDedicatedHostsHostOperationLockOutput
func (GetDedicatedHostsHostOperationLockOutput) ToGetDedicatedHostsHostOperationLockOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsHostOperationLockOutput) ToGetDedicatedHostsHostOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsHostOperationLockOutput
type GetDedicatedHostsHostOutput ¶
type GetDedicatedHostsHostOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostOutput) ActionOnMaintenance ¶
func (o GetDedicatedHostsHostOutput) ActionOnMaintenance() pulumi.StringOutput
The policy used to migrate the instances from the dedicated host when the dedicated host fails or needs to be repaired online.
func (GetDedicatedHostsHostOutput) AutoPlacement ¶
func (o GetDedicatedHostsHostOutput) AutoPlacement() pulumi.StringOutput
Specifies whether to add the dedicated host to the resource pool for automatic deployment.
func (GetDedicatedHostsHostOutput) AutoReleaseTime ¶
func (o GetDedicatedHostsHostOutput) AutoReleaseTime() pulumi.StringOutput
The automatic release time of the dedicated host.
func (GetDedicatedHostsHostOutput) Capacities ¶ added in v3.3.0
func (o GetDedicatedHostsHostOutput) Capacities() GetDedicatedHostsHostCapacityArrayOutput
(Available in 1.123.1+) A collection of proprietary host performance indicators.
func (GetDedicatedHostsHostOutput) Cores ¶
func (o GetDedicatedHostsHostOutput) Cores() pulumi.IntOutput
A mapping of tags to assign to the resource.
func (GetDedicatedHostsHostOutput) CpuOverCommitRatio ¶ added in v3.3.0
func (o GetDedicatedHostsHostOutput) CpuOverCommitRatio() pulumi.Float64Output
(Available in 1.123.1+) CPU oversold ratio.
func (GetDedicatedHostsHostOutput) DedicatedHostId ¶
func (o GetDedicatedHostsHostOutput) DedicatedHostId() pulumi.StringOutput
The ID of ECS Dedicated Host.
func (GetDedicatedHostsHostOutput) DedicatedHostName ¶
func (o GetDedicatedHostsHostOutput) DedicatedHostName() pulumi.StringOutput
The name of ECS Dedicated Host.
func (GetDedicatedHostsHostOutput) DedicatedHostType ¶
func (o GetDedicatedHostsHostOutput) DedicatedHostType() pulumi.StringOutput
The type of the dedicated host.
func (GetDedicatedHostsHostOutput) Description ¶
func (o GetDedicatedHostsHostOutput) Description() pulumi.StringOutput
The description of the dedicated host.
func (GetDedicatedHostsHostOutput) ElementType ¶
func (GetDedicatedHostsHostOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostOutput) ExpiredTime ¶
func (o GetDedicatedHostsHostOutput) ExpiredTime() pulumi.StringOutput
The expiration time of the subscription dedicated host.
func (GetDedicatedHostsHostOutput) GpuSpec ¶
func (o GetDedicatedHostsHostOutput) GpuSpec() pulumi.StringOutput
The GPU model.
func (GetDedicatedHostsHostOutput) Id ¶
func (o GetDedicatedHostsHostOutput) Id() pulumi.StringOutput
ID of the ECS Dedicated Host.
func (GetDedicatedHostsHostOutput) MachineId ¶
func (o GetDedicatedHostsHostOutput) MachineId() pulumi.StringOutput
The machine code of the dedicated host.
func (GetDedicatedHostsHostOutput) NetworkAttributes ¶ added in v3.3.0
func (o GetDedicatedHostsHostOutput) NetworkAttributes() GetDedicatedHostsHostNetworkAttributeArrayOutput
dedicated host network parameters. contains the following attributes:
func (GetDedicatedHostsHostOutput) OperationLocks ¶ added in v3.3.0
func (o GetDedicatedHostsHostOutput) OperationLocks() GetDedicatedHostsHostOperationLockArrayOutput
The reason why the dedicated host resource is locked.
func (GetDedicatedHostsHostOutput) PaymentType ¶
func (o GetDedicatedHostsHostOutput) PaymentType() pulumi.StringOutput
The billing method of the dedicated host.
func (GetDedicatedHostsHostOutput) PhysicalGpus ¶
func (o GetDedicatedHostsHostOutput) PhysicalGpus() pulumi.IntOutput
The number of physical GPUs.
func (GetDedicatedHostsHostOutput) ResourceGroupId ¶
func (o GetDedicatedHostsHostOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group to which the ECS Dedicated Host belongs.
func (GetDedicatedHostsHostOutput) SaleCycle ¶
func (o GetDedicatedHostsHostOutput) SaleCycle() pulumi.StringOutput
The unit of the subscription billing method.
func (GetDedicatedHostsHostOutput) Sockets ¶
func (o GetDedicatedHostsHostOutput) Sockets() pulumi.IntOutput
The number of physical CPUs.
func (GetDedicatedHostsHostOutput) Status ¶
func (o GetDedicatedHostsHostOutput) Status() pulumi.StringOutput
The status of the ECS Dedicated Host. validate value: `Available`, `Creating`, `PermanentFailure`, `Released`, `UnderAssessment`.
func (GetDedicatedHostsHostOutput) SupportedCustomInstanceTypeFamilies ¶ added in v3.3.0
func (o GetDedicatedHostsHostOutput) SupportedCustomInstanceTypeFamilies() pulumi.StringArrayOutput
(Available in 1.123.1+) A custom instance type family supported by a dedicated host.
func (GetDedicatedHostsHostOutput) SupportedInstanceTypeFamilies ¶ added in v3.3.0
func (o GetDedicatedHostsHostOutput) SupportedInstanceTypeFamilies() pulumi.StringArrayOutput
(Available in 1.123.1+) ECS instance type family supported by the dedicated host.
func (GetDedicatedHostsHostOutput) SupportedInstanceTypesLists ¶
func (o GetDedicatedHostsHostOutput) SupportedInstanceTypesLists() pulumi.StringArrayOutput
The list of ECS instance
func (GetDedicatedHostsHostOutput) Tags ¶
func (o GetDedicatedHostsHostOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput ¶
func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext ¶
func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostOutput) ZoneId ¶
func (o GetDedicatedHostsHostOutput) ZoneId() pulumi.StringOutput
The zone ID of the ECS Dedicated Host.
type GetDedicatedHostsOperationLock ¶ added in v3.3.0
type GetDedicatedHostsOperationLock struct { // The reason why the dedicated host resource is locked. LockReason *string `pulumi:"lockReason"` }
type GetDedicatedHostsOperationLockArgs ¶ added in v3.3.0
type GetDedicatedHostsOperationLockArgs struct { // The reason why the dedicated host resource is locked. LockReason pulumi.StringPtrInput `pulumi:"lockReason"` }
func (GetDedicatedHostsOperationLockArgs) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsOperationLockArgs) ElementType() reflect.Type
func (GetDedicatedHostsOperationLockArgs) ToGetDedicatedHostsOperationLockOutput ¶ added in v3.3.0
func (i GetDedicatedHostsOperationLockArgs) ToGetDedicatedHostsOperationLockOutput() GetDedicatedHostsOperationLockOutput
func (GetDedicatedHostsOperationLockArgs) ToGetDedicatedHostsOperationLockOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsOperationLockArgs) ToGetDedicatedHostsOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockOutput
type GetDedicatedHostsOperationLockArray ¶ added in v3.3.0
type GetDedicatedHostsOperationLockArray []GetDedicatedHostsOperationLockInput
func (GetDedicatedHostsOperationLockArray) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsOperationLockArray) ElementType() reflect.Type
func (GetDedicatedHostsOperationLockArray) ToGetDedicatedHostsOperationLockArrayOutput ¶ added in v3.3.0
func (i GetDedicatedHostsOperationLockArray) ToGetDedicatedHostsOperationLockArrayOutput() GetDedicatedHostsOperationLockArrayOutput
func (GetDedicatedHostsOperationLockArray) ToGetDedicatedHostsOperationLockArrayOutputWithContext ¶ added in v3.3.0
func (i GetDedicatedHostsOperationLockArray) ToGetDedicatedHostsOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockArrayOutput
type GetDedicatedHostsOperationLockArrayInput ¶ added in v3.3.0
type GetDedicatedHostsOperationLockArrayInput interface { pulumi.Input ToGetDedicatedHostsOperationLockArrayOutput() GetDedicatedHostsOperationLockArrayOutput ToGetDedicatedHostsOperationLockArrayOutputWithContext(context.Context) GetDedicatedHostsOperationLockArrayOutput }
GetDedicatedHostsOperationLockArrayInput is an input type that accepts GetDedicatedHostsOperationLockArray and GetDedicatedHostsOperationLockArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsOperationLockArrayInput` via:
GetDedicatedHostsOperationLockArray{ GetDedicatedHostsOperationLockArgs{...} }
type GetDedicatedHostsOperationLockArrayOutput ¶ added in v3.3.0
type GetDedicatedHostsOperationLockArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsOperationLockArrayOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsOperationLockArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostsOperationLockArrayOutput) ToGetDedicatedHostsOperationLockArrayOutput ¶ added in v3.3.0
func (o GetDedicatedHostsOperationLockArrayOutput) ToGetDedicatedHostsOperationLockArrayOutput() GetDedicatedHostsOperationLockArrayOutput
func (GetDedicatedHostsOperationLockArrayOutput) ToGetDedicatedHostsOperationLockArrayOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsOperationLockArrayOutput) ToGetDedicatedHostsOperationLockArrayOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockArrayOutput
type GetDedicatedHostsOperationLockInput ¶ added in v3.3.0
type GetDedicatedHostsOperationLockInput interface { pulumi.Input ToGetDedicatedHostsOperationLockOutput() GetDedicatedHostsOperationLockOutput ToGetDedicatedHostsOperationLockOutputWithContext(context.Context) GetDedicatedHostsOperationLockOutput }
GetDedicatedHostsOperationLockInput is an input type that accepts GetDedicatedHostsOperationLockArgs and GetDedicatedHostsOperationLockOutput values. You can construct a concrete instance of `GetDedicatedHostsOperationLockInput` via:
GetDedicatedHostsOperationLockArgs{...}
type GetDedicatedHostsOperationLockOutput ¶ added in v3.3.0
type GetDedicatedHostsOperationLockOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsOperationLockOutput) ElementType ¶ added in v3.3.0
func (GetDedicatedHostsOperationLockOutput) ElementType() reflect.Type
func (GetDedicatedHostsOperationLockOutput) LockReason ¶ added in v3.3.0
func (o GetDedicatedHostsOperationLockOutput) LockReason() pulumi.StringPtrOutput
The reason why the dedicated host resource is locked.
func (GetDedicatedHostsOperationLockOutput) ToGetDedicatedHostsOperationLockOutput ¶ added in v3.3.0
func (o GetDedicatedHostsOperationLockOutput) ToGetDedicatedHostsOperationLockOutput() GetDedicatedHostsOperationLockOutput
func (GetDedicatedHostsOperationLockOutput) ToGetDedicatedHostsOperationLockOutputWithContext ¶ added in v3.3.0
func (o GetDedicatedHostsOperationLockOutput) ToGetDedicatedHostsOperationLockOutputWithContext(ctx context.Context) GetDedicatedHostsOperationLockOutput
type GetDedicatedHostsOutputArgs ¶ added in v3.9.0
type GetDedicatedHostsOutputArgs struct { // The ID of ECS Dedicated Host. DedicatedHostId pulumi.StringPtrInput `pulumi:"dedicatedHostId"` // The name of ECS Dedicated Host. DedicatedHostName pulumi.StringPtrInput `pulumi:"dedicatedHostName"` // The type of the dedicated host. DedicatedHostType pulumi.StringPtrInput `pulumi:"dedicatedHostType"` // A list of ECS Dedicated Host ids. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by the ECS Dedicated Host name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // The reason why the dedicated host resource is locked. OperationLocks GetDedicatedHostsOperationLockArrayInput `pulumi:"operationLocks"` // Save the result to the file. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of the resource group to which the ECS Dedicated Host belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The status of the ECS Dedicated Host. validate value: `Available`, `Creating`, `PermanentFailure`, `Released`, `UnderAssessment`. Status pulumi.StringPtrInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // The zone ID of the ECS Dedicated Host. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking getDedicatedHosts.
func (GetDedicatedHostsOutputArgs) ElementType ¶ added in v3.9.0
func (GetDedicatedHostsOutputArgs) ElementType() reflect.Type
type GetDedicatedHostsResult ¶
type GetDedicatedHostsResult struct { // ID of the ECS Dedicated Host. DedicatedHostId *string `pulumi:"dedicatedHostId"` // The name of the dedicated host. DedicatedHostName *string `pulumi:"dedicatedHostName"` // The type of the dedicated host. DedicatedHostType *string `pulumi:"dedicatedHostType"` // A list of ECS Dedicated Hosts. Each element contains the following attributes: Hosts []GetDedicatedHostsHost `pulumi:"hosts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of ECS Dedicated Host ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of ECS Dedicated Host names. Names []string `pulumi:"names"` // (Available in 1.123.1+) The operation_locks. contains the following attribute: OperationLocks []GetDedicatedHostsOperationLock `pulumi:"operationLocks"` OutputFile *string `pulumi:"outputFile"` // The ID of the resource group to which the dedicated host belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // The service status of the dedicated host. Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by getDedicatedHosts.
func GetDedicatedHosts ¶
func GetDedicatedHosts(ctx *pulumi.Context, args *GetDedicatedHostsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostsResult, error)
This data source provides a list of ECS Dedicated Hosts in an Alibaba Cloud account according to the specified filters.
> **NOTE:** Available in v1.91.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dedicatedHostsDs, err := ecs.GetDedicatedHosts(ctx, &ecs.GetDedicatedHostsArgs{ DedicatedHostType: pulumi.StringRef("ddh.g5"), NameRegex: pulumi.StringRef("tf-testAcc"), Status: pulumi.StringRef("Available"), }, nil) if err != nil { return err } ctx.Export("firstDedicatedHostsId", dedicatedHostsDs.Hosts[0].Id) return nil }) }
```
type GetDedicatedHostsResultOutput ¶ added in v3.9.0
type GetDedicatedHostsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDedicatedHosts.
func GetDedicatedHostsOutput ¶ added in v3.9.0
func GetDedicatedHostsOutput(ctx *pulumi.Context, args GetDedicatedHostsOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedHostsResultOutput
func (GetDedicatedHostsResultOutput) DedicatedHostId ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) DedicatedHostId() pulumi.StringPtrOutput
ID of the ECS Dedicated Host.
func (GetDedicatedHostsResultOutput) DedicatedHostName ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) DedicatedHostName() pulumi.StringPtrOutput
The name of the dedicated host.
func (GetDedicatedHostsResultOutput) DedicatedHostType ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) DedicatedHostType() pulumi.StringPtrOutput
The type of the dedicated host.
func (GetDedicatedHostsResultOutput) ElementType ¶ added in v3.9.0
func (GetDedicatedHostsResultOutput) ElementType() reflect.Type
func (GetDedicatedHostsResultOutput) Hosts ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) Hosts() GetDedicatedHostsHostArrayOutput
A list of ECS Dedicated Hosts. Each element contains the following attributes:
func (GetDedicatedHostsResultOutput) Id ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDedicatedHostsResultOutput) Ids ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) Ids() pulumi.StringArrayOutput
A list of ECS Dedicated Host ids.
func (GetDedicatedHostsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) Names ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) Names() pulumi.StringArrayOutput
A list of ECS Dedicated Host names.
func (GetDedicatedHostsResultOutput) OperationLocks ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) OperationLocks() GetDedicatedHostsOperationLockArrayOutput
(Available in 1.123.1+) The operation_locks. contains the following attribute:
func (GetDedicatedHostsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The ID of the resource group to which the dedicated host belongs.
func (GetDedicatedHostsResultOutput) Status ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) Status() pulumi.StringPtrOutput
The service status of the dedicated host.
func (GetDedicatedHostsResultOutput) Tags ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) Tags() pulumi.MapOutput
func (GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput() GetDedicatedHostsResultOutput
func (GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext(ctx context.Context) GetDedicatedHostsResultOutput
func (GetDedicatedHostsResultOutput) ZoneId ¶ added in v3.9.0
func (o GetDedicatedHostsResultOutput) ZoneId() pulumi.StringPtrOutput
type GetDisksArgs ¶
type GetDisksArgs struct { AdditionalAttributes []string `pulumi:"additionalAttributes"` AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone *string `pulumi:"availabilityZone"` // Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk). Category *string `pulumi:"category"` DeleteAutoSnapshot *bool `pulumi:"deleteAutoSnapshot"` DeleteWithInstance *bool `pulumi:"deleteWithInstance"` DiskName *string `pulumi:"diskName"` DiskType *string `pulumi:"diskType"` DryRun *bool `pulumi:"dryRun"` EnableAutoSnapshot *bool `pulumi:"enableAutoSnapshot"` EnableAutomatedSnapshotPolicy *bool `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Possible values: `on` and `off`. Encrypted *string `pulumi:"encrypted"` // A list of disks IDs. Ids []string `pulumi:"ids"` // Filter the results by the specified ECS instance ID. InstanceId *string `pulumi:"instanceId"` KmsKeyId *string `pulumi:"kmsKeyId"` // A regex string to filter results by disk name. NameRegex *string `pulumi:"nameRegex"` OperationLocks []GetDisksOperationLock `pulumi:"operationLocks"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PaymentType *string `pulumi:"paymentType"` Portable *bool `pulumi:"portable"` // The Id of resource group which the disk belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId *string `pulumi:"snapshotId"` // Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`. Status *string `pulumi:"status"` // A map of tags assigned to the disks. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetDisks(ctx, &ecs.GetDisksArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // Disk type. Possible values: `system` and `data`. // // Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead. Type *string `pulumi:"type"` ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking getDisks.
type GetDisksDisk ¶
type GetDisksDisk struct { // Disk attachment time. AttachedTime string `pulumi:"attachedTime"` AutoSnapshotPolicyId string `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. AvailabilityZone string `pulumi:"availabilityZone"` // Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk). Category string `pulumi:"category"` // Disk creation time. CreationTime string `pulumi:"creationTime"` DeleteAutoSnapshot bool `pulumi:"deleteAutoSnapshot"` DeleteWithInstance bool `pulumi:"deleteWithInstance"` // Disk description. Description string `pulumi:"description"` // Disk detachment time. DetachedTime string `pulumi:"detachedTime"` Device string `pulumi:"device"` DiskId string `pulumi:"diskId"` DiskName string `pulumi:"diskName"` DiskType string `pulumi:"diskType"` EnableAutoSnapshot bool `pulumi:"enableAutoSnapshot"` EnableAutomatedSnapshotPolicy bool `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Possible values: `on` and `off`. Encrypted string `pulumi:"encrypted"` ExpiredTime string `pulumi:"expiredTime"` // ID of the disk. Id string `pulumi:"id"` // ID of the image from which the disk is created. It is null unless the disk is created using an image. ImageId string `pulumi:"imageId"` // Filter the results by the specified ECS instance ID. InstanceId string `pulumi:"instanceId"` Iops int `pulumi:"iops"` IopsRead int `pulumi:"iopsRead"` IopsWrite int `pulumi:"iopsWrite"` KmsKeyId string `pulumi:"kmsKeyId"` MountInstanceNum int `pulumi:"mountInstanceNum"` MountInstances []GetDisksDiskMountInstance `pulumi:"mountInstances"` // Disk name. Name string `pulumi:"name"` OperationLocks []GetDisksDiskOperationLock `pulumi:"operationLocks"` PaymentType string `pulumi:"paymentType"` PerformanceLevel string `pulumi:"performanceLevel"` Portable bool `pulumi:"portable"` ProductCode string `pulumi:"productCode"` // Region ID the disk belongs to. RegionId string `pulumi:"regionId"` // The Id of resource group which the disk belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // Disk size in GiB. Size int `pulumi:"size"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId string `pulumi:"snapshotId"` // Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`. Status string `pulumi:"status"` // A map of tags assigned to the disks. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetDisks(ctx, &ecs.GetDisksArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // Disk type. Possible values: `system` and `data`. Type string `pulumi:"type"` ZoneId string `pulumi:"zoneId"` }
type GetDisksDiskArgs ¶
type GetDisksDiskArgs struct { // Disk attachment time. AttachedTime pulumi.StringInput `pulumi:"attachedTime"` AutoSnapshotPolicyId pulumi.StringInput `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk). Category pulumi.StringInput `pulumi:"category"` // Disk creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` DeleteAutoSnapshot pulumi.BoolInput `pulumi:"deleteAutoSnapshot"` DeleteWithInstance pulumi.BoolInput `pulumi:"deleteWithInstance"` // Disk description. Description pulumi.StringInput `pulumi:"description"` // Disk detachment time. DetachedTime pulumi.StringInput `pulumi:"detachedTime"` Device pulumi.StringInput `pulumi:"device"` DiskId pulumi.StringInput `pulumi:"diskId"` DiskName pulumi.StringInput `pulumi:"diskName"` DiskType pulumi.StringInput `pulumi:"diskType"` EnableAutoSnapshot pulumi.BoolInput `pulumi:"enableAutoSnapshot"` EnableAutomatedSnapshotPolicy pulumi.BoolInput `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Possible values: `on` and `off`. Encrypted pulumi.StringInput `pulumi:"encrypted"` ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // ID of the disk. Id pulumi.StringInput `pulumi:"id"` // ID of the image from which the disk is created. It is null unless the disk is created using an image. ImageId pulumi.StringInput `pulumi:"imageId"` // Filter the results by the specified ECS instance ID. InstanceId pulumi.StringInput `pulumi:"instanceId"` Iops pulumi.IntInput `pulumi:"iops"` IopsRead pulumi.IntInput `pulumi:"iopsRead"` IopsWrite pulumi.IntInput `pulumi:"iopsWrite"` KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` MountInstanceNum pulumi.IntInput `pulumi:"mountInstanceNum"` MountInstances GetDisksDiskMountInstanceArrayInput `pulumi:"mountInstances"` // Disk name. Name pulumi.StringInput `pulumi:"name"` OperationLocks GetDisksDiskOperationLockArrayInput `pulumi:"operationLocks"` PaymentType pulumi.StringInput `pulumi:"paymentType"` PerformanceLevel pulumi.StringInput `pulumi:"performanceLevel"` Portable pulumi.BoolInput `pulumi:"portable"` ProductCode pulumi.StringInput `pulumi:"productCode"` // Region ID the disk belongs to. RegionId pulumi.StringInput `pulumi:"regionId"` // The Id of resource group which the disk belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // Disk size in GiB. Size pulumi.IntInput `pulumi:"size"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the disks. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetDisks(ctx, &ecs.GetDisksArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // Disk type. Possible values: `system` and `data`. Type pulumi.StringInput `pulumi:"type"` ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetDisksDiskArgs) ElementType ¶
func (GetDisksDiskArgs) ElementType() reflect.Type
func (GetDisksDiskArgs) ToGetDisksDiskOutput ¶
func (i GetDisksDiskArgs) ToGetDisksDiskOutput() GetDisksDiskOutput
func (GetDisksDiskArgs) ToGetDisksDiskOutputWithContext ¶
func (i GetDisksDiskArgs) ToGetDisksDiskOutputWithContext(ctx context.Context) GetDisksDiskOutput
type GetDisksDiskArray ¶
type GetDisksDiskArray []GetDisksDiskInput
func (GetDisksDiskArray) ElementType ¶
func (GetDisksDiskArray) ElementType() reflect.Type
func (GetDisksDiskArray) ToGetDisksDiskArrayOutput ¶
func (i GetDisksDiskArray) ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput
func (GetDisksDiskArray) ToGetDisksDiskArrayOutputWithContext ¶
func (i GetDisksDiskArray) ToGetDisksDiskArrayOutputWithContext(ctx context.Context) GetDisksDiskArrayOutput
type GetDisksDiskArrayInput ¶
type GetDisksDiskArrayInput interface { pulumi.Input ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput ToGetDisksDiskArrayOutputWithContext(context.Context) GetDisksDiskArrayOutput }
GetDisksDiskArrayInput is an input type that accepts GetDisksDiskArray and GetDisksDiskArrayOutput values. You can construct a concrete instance of `GetDisksDiskArrayInput` via:
GetDisksDiskArray{ GetDisksDiskArgs{...} }
type GetDisksDiskArrayOutput ¶
type GetDisksDiskArrayOutput struct{ *pulumi.OutputState }
func (GetDisksDiskArrayOutput) ElementType ¶
func (GetDisksDiskArrayOutput) ElementType() reflect.Type
func (GetDisksDiskArrayOutput) Index ¶
func (o GetDisksDiskArrayOutput) Index(i pulumi.IntInput) GetDisksDiskOutput
func (GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutput ¶
func (o GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput
func (GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutputWithContext ¶
func (o GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutputWithContext(ctx context.Context) GetDisksDiskArrayOutput
type GetDisksDiskInput ¶
type GetDisksDiskInput interface { pulumi.Input ToGetDisksDiskOutput() GetDisksDiskOutput ToGetDisksDiskOutputWithContext(context.Context) GetDisksDiskOutput }
GetDisksDiskInput is an input type that accepts GetDisksDiskArgs and GetDisksDiskOutput values. You can construct a concrete instance of `GetDisksDiskInput` via:
GetDisksDiskArgs{...}
type GetDisksDiskMountInstance ¶ added in v3.1.0
type GetDisksDiskMountInstanceArgs ¶ added in v3.1.0
type GetDisksDiskMountInstanceArgs struct { // Disk attachment time. AttachedTime pulumi.StringInput `pulumi:"attachedTime"` Device pulumi.StringInput `pulumi:"device"` // Filter the results by the specified ECS instance ID. InstanceId pulumi.StringInput `pulumi:"instanceId"` }
func (GetDisksDiskMountInstanceArgs) ElementType ¶ added in v3.1.0
func (GetDisksDiskMountInstanceArgs) ElementType() reflect.Type
func (GetDisksDiskMountInstanceArgs) ToGetDisksDiskMountInstanceOutput ¶ added in v3.1.0
func (i GetDisksDiskMountInstanceArgs) ToGetDisksDiskMountInstanceOutput() GetDisksDiskMountInstanceOutput
func (GetDisksDiskMountInstanceArgs) ToGetDisksDiskMountInstanceOutputWithContext ¶ added in v3.1.0
func (i GetDisksDiskMountInstanceArgs) ToGetDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceOutput
type GetDisksDiskMountInstanceArray ¶ added in v3.1.0
type GetDisksDiskMountInstanceArray []GetDisksDiskMountInstanceInput
func (GetDisksDiskMountInstanceArray) ElementType ¶ added in v3.1.0
func (GetDisksDiskMountInstanceArray) ElementType() reflect.Type
func (GetDisksDiskMountInstanceArray) ToGetDisksDiskMountInstanceArrayOutput ¶ added in v3.1.0
func (i GetDisksDiskMountInstanceArray) ToGetDisksDiskMountInstanceArrayOutput() GetDisksDiskMountInstanceArrayOutput
func (GetDisksDiskMountInstanceArray) ToGetDisksDiskMountInstanceArrayOutputWithContext ¶ added in v3.1.0
func (i GetDisksDiskMountInstanceArray) ToGetDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceArrayOutput
type GetDisksDiskMountInstanceArrayInput ¶ added in v3.1.0
type GetDisksDiskMountInstanceArrayInput interface { pulumi.Input ToGetDisksDiskMountInstanceArrayOutput() GetDisksDiskMountInstanceArrayOutput ToGetDisksDiskMountInstanceArrayOutputWithContext(context.Context) GetDisksDiskMountInstanceArrayOutput }
GetDisksDiskMountInstanceArrayInput is an input type that accepts GetDisksDiskMountInstanceArray and GetDisksDiskMountInstanceArrayOutput values. You can construct a concrete instance of `GetDisksDiskMountInstanceArrayInput` via:
GetDisksDiskMountInstanceArray{ GetDisksDiskMountInstanceArgs{...} }
type GetDisksDiskMountInstanceArrayOutput ¶ added in v3.1.0
type GetDisksDiskMountInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetDisksDiskMountInstanceArrayOutput) ElementType ¶ added in v3.1.0
func (GetDisksDiskMountInstanceArrayOutput) ElementType() reflect.Type
func (GetDisksDiskMountInstanceArrayOutput) Index ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceArrayOutput) Index(i pulumi.IntInput) GetDisksDiskMountInstanceOutput
func (GetDisksDiskMountInstanceArrayOutput) ToGetDisksDiskMountInstanceArrayOutput ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceArrayOutput) ToGetDisksDiskMountInstanceArrayOutput() GetDisksDiskMountInstanceArrayOutput
func (GetDisksDiskMountInstanceArrayOutput) ToGetDisksDiskMountInstanceArrayOutputWithContext ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceArrayOutput) ToGetDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceArrayOutput
type GetDisksDiskMountInstanceInput ¶ added in v3.1.0
type GetDisksDiskMountInstanceInput interface { pulumi.Input ToGetDisksDiskMountInstanceOutput() GetDisksDiskMountInstanceOutput ToGetDisksDiskMountInstanceOutputWithContext(context.Context) GetDisksDiskMountInstanceOutput }
GetDisksDiskMountInstanceInput is an input type that accepts GetDisksDiskMountInstanceArgs and GetDisksDiskMountInstanceOutput values. You can construct a concrete instance of `GetDisksDiskMountInstanceInput` via:
GetDisksDiskMountInstanceArgs{...}
type GetDisksDiskMountInstanceOutput ¶ added in v3.1.0
type GetDisksDiskMountInstanceOutput struct{ *pulumi.OutputState }
func (GetDisksDiskMountInstanceOutput) AttachedTime ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceOutput) AttachedTime() pulumi.StringOutput
Disk attachment time.
func (GetDisksDiskMountInstanceOutput) Device ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceOutput) Device() pulumi.StringOutput
func (GetDisksDiskMountInstanceOutput) ElementType ¶ added in v3.1.0
func (GetDisksDiskMountInstanceOutput) ElementType() reflect.Type
func (GetDisksDiskMountInstanceOutput) InstanceId ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceOutput) InstanceId() pulumi.StringOutput
Filter the results by the specified ECS instance ID.
func (GetDisksDiskMountInstanceOutput) ToGetDisksDiskMountInstanceOutput ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceOutput) ToGetDisksDiskMountInstanceOutput() GetDisksDiskMountInstanceOutput
func (GetDisksDiskMountInstanceOutput) ToGetDisksDiskMountInstanceOutputWithContext ¶ added in v3.1.0
func (o GetDisksDiskMountInstanceOutput) ToGetDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetDisksDiskMountInstanceOutput
type GetDisksDiskOperationLock ¶ added in v3.1.0
type GetDisksDiskOperationLock struct {
LockReason string `pulumi:"lockReason"`
}
type GetDisksDiskOperationLockArgs ¶ added in v3.1.0
type GetDisksDiskOperationLockArgs struct {
LockReason pulumi.StringInput `pulumi:"lockReason"`
}
func (GetDisksDiskOperationLockArgs) ElementType ¶ added in v3.1.0
func (GetDisksDiskOperationLockArgs) ElementType() reflect.Type
func (GetDisksDiskOperationLockArgs) ToGetDisksDiskOperationLockOutput ¶ added in v3.1.0
func (i GetDisksDiskOperationLockArgs) ToGetDisksDiskOperationLockOutput() GetDisksDiskOperationLockOutput
func (GetDisksDiskOperationLockArgs) ToGetDisksDiskOperationLockOutputWithContext ¶ added in v3.1.0
func (i GetDisksDiskOperationLockArgs) ToGetDisksDiskOperationLockOutputWithContext(ctx context.Context) GetDisksDiskOperationLockOutput
type GetDisksDiskOperationLockArray ¶ added in v3.1.0
type GetDisksDiskOperationLockArray []GetDisksDiskOperationLockInput
func (GetDisksDiskOperationLockArray) ElementType ¶ added in v3.1.0
func (GetDisksDiskOperationLockArray) ElementType() reflect.Type
func (GetDisksDiskOperationLockArray) ToGetDisksDiskOperationLockArrayOutput ¶ added in v3.1.0
func (i GetDisksDiskOperationLockArray) ToGetDisksDiskOperationLockArrayOutput() GetDisksDiskOperationLockArrayOutput
func (GetDisksDiskOperationLockArray) ToGetDisksDiskOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (i GetDisksDiskOperationLockArray) ToGetDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetDisksDiskOperationLockArrayOutput
type GetDisksDiskOperationLockArrayInput ¶ added in v3.1.0
type GetDisksDiskOperationLockArrayInput interface { pulumi.Input ToGetDisksDiskOperationLockArrayOutput() GetDisksDiskOperationLockArrayOutput ToGetDisksDiskOperationLockArrayOutputWithContext(context.Context) GetDisksDiskOperationLockArrayOutput }
GetDisksDiskOperationLockArrayInput is an input type that accepts GetDisksDiskOperationLockArray and GetDisksDiskOperationLockArrayOutput values. You can construct a concrete instance of `GetDisksDiskOperationLockArrayInput` via:
GetDisksDiskOperationLockArray{ GetDisksDiskOperationLockArgs{...} }
type GetDisksDiskOperationLockArrayOutput ¶ added in v3.1.0
type GetDisksDiskOperationLockArrayOutput struct{ *pulumi.OutputState }
func (GetDisksDiskOperationLockArrayOutput) ElementType ¶ added in v3.1.0
func (GetDisksDiskOperationLockArrayOutput) ElementType() reflect.Type
func (GetDisksDiskOperationLockArrayOutput) Index ¶ added in v3.1.0
func (o GetDisksDiskOperationLockArrayOutput) Index(i pulumi.IntInput) GetDisksDiskOperationLockOutput
func (GetDisksDiskOperationLockArrayOutput) ToGetDisksDiskOperationLockArrayOutput ¶ added in v3.1.0
func (o GetDisksDiskOperationLockArrayOutput) ToGetDisksDiskOperationLockArrayOutput() GetDisksDiskOperationLockArrayOutput
func (GetDisksDiskOperationLockArrayOutput) ToGetDisksDiskOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (o GetDisksDiskOperationLockArrayOutput) ToGetDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetDisksDiskOperationLockArrayOutput
type GetDisksDiskOperationLockInput ¶ added in v3.1.0
type GetDisksDiskOperationLockInput interface { pulumi.Input ToGetDisksDiskOperationLockOutput() GetDisksDiskOperationLockOutput ToGetDisksDiskOperationLockOutputWithContext(context.Context) GetDisksDiskOperationLockOutput }
GetDisksDiskOperationLockInput is an input type that accepts GetDisksDiskOperationLockArgs and GetDisksDiskOperationLockOutput values. You can construct a concrete instance of `GetDisksDiskOperationLockInput` via:
GetDisksDiskOperationLockArgs{...}
type GetDisksDiskOperationLockOutput ¶ added in v3.1.0
type GetDisksDiskOperationLockOutput struct{ *pulumi.OutputState }
func (GetDisksDiskOperationLockOutput) ElementType ¶ added in v3.1.0
func (GetDisksDiskOperationLockOutput) ElementType() reflect.Type
func (GetDisksDiskOperationLockOutput) LockReason ¶ added in v3.1.0
func (o GetDisksDiskOperationLockOutput) LockReason() pulumi.StringOutput
func (GetDisksDiskOperationLockOutput) ToGetDisksDiskOperationLockOutput ¶ added in v3.1.0
func (o GetDisksDiskOperationLockOutput) ToGetDisksDiskOperationLockOutput() GetDisksDiskOperationLockOutput
func (GetDisksDiskOperationLockOutput) ToGetDisksDiskOperationLockOutputWithContext ¶ added in v3.1.0
func (o GetDisksDiskOperationLockOutput) ToGetDisksDiskOperationLockOutputWithContext(ctx context.Context) GetDisksDiskOperationLockOutput
type GetDisksDiskOutput ¶
type GetDisksDiskOutput struct{ *pulumi.OutputState }
func (GetDisksDiskOutput) AttachedTime ¶
func (o GetDisksDiskOutput) AttachedTime() pulumi.StringOutput
Disk attachment time.
func (GetDisksDiskOutput) AutoSnapshotPolicyId ¶ added in v3.1.0
func (o GetDisksDiskOutput) AutoSnapshotPolicyId() pulumi.StringOutput
func (GetDisksDiskOutput) AvailabilityZone ¶
func (o GetDisksDiskOutput) AvailabilityZone() pulumi.StringOutput
Availability zone of the disk.
func (GetDisksDiskOutput) Category ¶
func (o GetDisksDiskOutput) Category() pulumi.StringOutput
Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk).
func (GetDisksDiskOutput) CreationTime ¶
func (o GetDisksDiskOutput) CreationTime() pulumi.StringOutput
Disk creation time.
func (GetDisksDiskOutput) DeleteAutoSnapshot ¶ added in v3.1.0
func (o GetDisksDiskOutput) DeleteAutoSnapshot() pulumi.BoolOutput
func (GetDisksDiskOutput) DeleteWithInstance ¶ added in v3.1.0
func (o GetDisksDiskOutput) DeleteWithInstance() pulumi.BoolOutput
func (GetDisksDiskOutput) Description ¶
func (o GetDisksDiskOutput) Description() pulumi.StringOutput
Disk description.
func (GetDisksDiskOutput) DetachedTime ¶
func (o GetDisksDiskOutput) DetachedTime() pulumi.StringOutput
Disk detachment time.
func (GetDisksDiskOutput) Device ¶ added in v3.1.0
func (o GetDisksDiskOutput) Device() pulumi.StringOutput
func (GetDisksDiskOutput) DiskId ¶ added in v3.1.0
func (o GetDisksDiskOutput) DiskId() pulumi.StringOutput
func (GetDisksDiskOutput) DiskName ¶ added in v3.1.0
func (o GetDisksDiskOutput) DiskName() pulumi.StringOutput
func (GetDisksDiskOutput) DiskType ¶ added in v3.1.0
func (o GetDisksDiskOutput) DiskType() pulumi.StringOutput
func (GetDisksDiskOutput) ElementType ¶
func (GetDisksDiskOutput) ElementType() reflect.Type
func (GetDisksDiskOutput) EnableAutoSnapshot ¶ added in v3.1.0
func (o GetDisksDiskOutput) EnableAutoSnapshot() pulumi.BoolOutput
func (GetDisksDiskOutput) EnableAutomatedSnapshotPolicy ¶ added in v3.1.0
func (o GetDisksDiskOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolOutput
func (GetDisksDiskOutput) Encrypted ¶
func (o GetDisksDiskOutput) Encrypted() pulumi.StringOutput
Indicate whether the disk is encrypted or not. Possible values: `on` and `off`.
func (GetDisksDiskOutput) ExpiredTime ¶ added in v3.1.0
func (o GetDisksDiskOutput) ExpiredTime() pulumi.StringOutput
func (GetDisksDiskOutput) ImageId ¶
func (o GetDisksDiskOutput) ImageId() pulumi.StringOutput
ID of the image from which the disk is created. It is null unless the disk is created using an image.
func (GetDisksDiskOutput) InstanceId ¶
func (o GetDisksDiskOutput) InstanceId() pulumi.StringOutput
Filter the results by the specified ECS instance ID.
func (GetDisksDiskOutput) Iops ¶ added in v3.1.0
func (o GetDisksDiskOutput) Iops() pulumi.IntOutput
func (GetDisksDiskOutput) IopsRead ¶ added in v3.1.0
func (o GetDisksDiskOutput) IopsRead() pulumi.IntOutput
func (GetDisksDiskOutput) IopsWrite ¶ added in v3.1.0
func (o GetDisksDiskOutput) IopsWrite() pulumi.IntOutput
func (GetDisksDiskOutput) KmsKeyId ¶ added in v3.1.0
func (o GetDisksDiskOutput) KmsKeyId() pulumi.StringOutput
func (GetDisksDiskOutput) MountInstanceNum ¶ added in v3.1.0
func (o GetDisksDiskOutput) MountInstanceNum() pulumi.IntOutput
func (GetDisksDiskOutput) MountInstances ¶ added in v3.1.0
func (o GetDisksDiskOutput) MountInstances() GetDisksDiskMountInstanceArrayOutput
func (GetDisksDiskOutput) OperationLocks ¶ added in v3.1.0
func (o GetDisksDiskOutput) OperationLocks() GetDisksDiskOperationLockArrayOutput
func (GetDisksDiskOutput) PaymentType ¶ added in v3.1.0
func (o GetDisksDiskOutput) PaymentType() pulumi.StringOutput
func (GetDisksDiskOutput) PerformanceLevel ¶ added in v3.1.0
func (o GetDisksDiskOutput) PerformanceLevel() pulumi.StringOutput
func (GetDisksDiskOutput) Portable ¶ added in v3.1.0
func (o GetDisksDiskOutput) Portable() pulumi.BoolOutput
func (GetDisksDiskOutput) ProductCode ¶ added in v3.1.0
func (o GetDisksDiskOutput) ProductCode() pulumi.StringOutput
func (GetDisksDiskOutput) RegionId ¶
func (o GetDisksDiskOutput) RegionId() pulumi.StringOutput
Region ID the disk belongs to.
func (GetDisksDiskOutput) ResourceGroupId ¶
func (o GetDisksDiskOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the disk belongs.
func (GetDisksDiskOutput) Size ¶
func (o GetDisksDiskOutput) Size() pulumi.IntOutput
Disk size in GiB.
func (GetDisksDiskOutput) SnapshotId ¶
func (o GetDisksDiskOutput) SnapshotId() pulumi.StringOutput
Snapshot used to create the disk. It is null if no snapshot is used to create the disk.
func (GetDisksDiskOutput) Status ¶
func (o GetDisksDiskOutput) Status() pulumi.StringOutput
Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`.
func (GetDisksDiskOutput) Tags ¶
func (o GetDisksDiskOutput) Tags() pulumi.MapOutput
A map of tags assigned to the disks. It must be in the format: ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.GetDisks(ctx, &ecs.GetDisksArgs{ Tags: map[string]interface{}{ "tagKey1": "tagValue1", "tagKey2": "tagValue2", }, }, nil) if err != nil { return err } return nil }) }
```
func (GetDisksDiskOutput) ToGetDisksDiskOutput ¶
func (o GetDisksDiskOutput) ToGetDisksDiskOutput() GetDisksDiskOutput
func (GetDisksDiskOutput) ToGetDisksDiskOutputWithContext ¶
func (o GetDisksDiskOutput) ToGetDisksDiskOutputWithContext(ctx context.Context) GetDisksDiskOutput
func (GetDisksDiskOutput) Type ¶
func (o GetDisksDiskOutput) Type() pulumi.StringOutput
Disk type. Possible values: `system` and `data`.
func (GetDisksDiskOutput) ZoneId ¶ added in v3.1.0
func (o GetDisksDiskOutput) ZoneId() pulumi.StringOutput
type GetDisksOperationLock ¶ added in v3.1.0
type GetDisksOperationLock struct {
LockReason *string `pulumi:"lockReason"`
}
type GetDisksOperationLockArgs ¶ added in v3.1.0
type GetDisksOperationLockArgs struct {
LockReason pulumi.StringPtrInput `pulumi:"lockReason"`
}
func (GetDisksOperationLockArgs) ElementType ¶ added in v3.1.0
func (GetDisksOperationLockArgs) ElementType() reflect.Type
func (GetDisksOperationLockArgs) ToGetDisksOperationLockOutput ¶ added in v3.1.0
func (i GetDisksOperationLockArgs) ToGetDisksOperationLockOutput() GetDisksOperationLockOutput
func (GetDisksOperationLockArgs) ToGetDisksOperationLockOutputWithContext ¶ added in v3.1.0
func (i GetDisksOperationLockArgs) ToGetDisksOperationLockOutputWithContext(ctx context.Context) GetDisksOperationLockOutput
type GetDisksOperationLockArray ¶ added in v3.1.0
type GetDisksOperationLockArray []GetDisksOperationLockInput
func (GetDisksOperationLockArray) ElementType ¶ added in v3.1.0
func (GetDisksOperationLockArray) ElementType() reflect.Type
func (GetDisksOperationLockArray) ToGetDisksOperationLockArrayOutput ¶ added in v3.1.0
func (i GetDisksOperationLockArray) ToGetDisksOperationLockArrayOutput() GetDisksOperationLockArrayOutput
func (GetDisksOperationLockArray) ToGetDisksOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (i GetDisksOperationLockArray) ToGetDisksOperationLockArrayOutputWithContext(ctx context.Context) GetDisksOperationLockArrayOutput
type GetDisksOperationLockArrayInput ¶ added in v3.1.0
type GetDisksOperationLockArrayInput interface { pulumi.Input ToGetDisksOperationLockArrayOutput() GetDisksOperationLockArrayOutput ToGetDisksOperationLockArrayOutputWithContext(context.Context) GetDisksOperationLockArrayOutput }
GetDisksOperationLockArrayInput is an input type that accepts GetDisksOperationLockArray and GetDisksOperationLockArrayOutput values. You can construct a concrete instance of `GetDisksOperationLockArrayInput` via:
GetDisksOperationLockArray{ GetDisksOperationLockArgs{...} }
type GetDisksOperationLockArrayOutput ¶ added in v3.1.0
type GetDisksOperationLockArrayOutput struct{ *pulumi.OutputState }
func (GetDisksOperationLockArrayOutput) ElementType ¶ added in v3.1.0
func (GetDisksOperationLockArrayOutput) ElementType() reflect.Type
func (GetDisksOperationLockArrayOutput) Index ¶ added in v3.1.0
func (o GetDisksOperationLockArrayOutput) Index(i pulumi.IntInput) GetDisksOperationLockOutput
func (GetDisksOperationLockArrayOutput) ToGetDisksOperationLockArrayOutput ¶ added in v3.1.0
func (o GetDisksOperationLockArrayOutput) ToGetDisksOperationLockArrayOutput() GetDisksOperationLockArrayOutput
func (GetDisksOperationLockArrayOutput) ToGetDisksOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (o GetDisksOperationLockArrayOutput) ToGetDisksOperationLockArrayOutputWithContext(ctx context.Context) GetDisksOperationLockArrayOutput
type GetDisksOperationLockInput ¶ added in v3.1.0
type GetDisksOperationLockInput interface { pulumi.Input ToGetDisksOperationLockOutput() GetDisksOperationLockOutput ToGetDisksOperationLockOutputWithContext(context.Context) GetDisksOperationLockOutput }
GetDisksOperationLockInput is an input type that accepts GetDisksOperationLockArgs and GetDisksOperationLockOutput values. You can construct a concrete instance of `GetDisksOperationLockInput` via:
GetDisksOperationLockArgs{...}
type GetDisksOperationLockOutput ¶ added in v3.1.0
type GetDisksOperationLockOutput struct{ *pulumi.OutputState }
func (GetDisksOperationLockOutput) ElementType ¶ added in v3.1.0
func (GetDisksOperationLockOutput) ElementType() reflect.Type
func (GetDisksOperationLockOutput) LockReason ¶ added in v3.1.0
func (o GetDisksOperationLockOutput) LockReason() pulumi.StringPtrOutput
func (GetDisksOperationLockOutput) ToGetDisksOperationLockOutput ¶ added in v3.1.0
func (o GetDisksOperationLockOutput) ToGetDisksOperationLockOutput() GetDisksOperationLockOutput
func (GetDisksOperationLockOutput) ToGetDisksOperationLockOutputWithContext ¶ added in v3.1.0
func (o GetDisksOperationLockOutput) ToGetDisksOperationLockOutputWithContext(ctx context.Context) GetDisksOperationLockOutput
type GetDisksOutputArgs ¶ added in v3.9.0
type GetDisksOutputArgs struct { AdditionalAttributes pulumi.StringArrayInput `pulumi:"additionalAttributes"` AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk). Category pulumi.StringPtrInput `pulumi:"category"` DeleteAutoSnapshot pulumi.BoolPtrInput `pulumi:"deleteAutoSnapshot"` DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` DiskName pulumi.StringPtrInput `pulumi:"diskName"` DiskType pulumi.StringPtrInput `pulumi:"diskType"` DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` EnableAutoSnapshot pulumi.BoolPtrInput `pulumi:"enableAutoSnapshot"` EnableAutomatedSnapshotPolicy pulumi.BoolPtrInput `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Possible values: `on` and `off`. Encrypted pulumi.StringPtrInput `pulumi:"encrypted"` // A list of disks IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // Filter the results by the specified ECS instance ID. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // A regex string to filter results by disk name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OperationLocks GetDisksOperationLockArrayInput `pulumi:"operationLocks"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` Portable pulumi.BoolPtrInput `pulumi:"portable"` // The Id of resource group which the disk belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` // Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the disks. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetDisks(ctx, &ecs.GetDisksArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // Disk type. Possible values: `system` and `data`. // // Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead. Type pulumi.StringPtrInput `pulumi:"type"` ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking getDisks.
func (GetDisksOutputArgs) ElementType ¶ added in v3.9.0
func (GetDisksOutputArgs) ElementType() reflect.Type
type GetDisksResult ¶
type GetDisksResult struct { AdditionalAttributes []string `pulumi:"additionalAttributes"` AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone *string `pulumi:"availabilityZone"` // Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk). Category *string `pulumi:"category"` DeleteAutoSnapshot *bool `pulumi:"deleteAutoSnapshot"` DeleteWithInstance *bool `pulumi:"deleteWithInstance"` DiskName *string `pulumi:"diskName"` DiskType *string `pulumi:"diskType"` // A list of disks. Each element contains the following attributes: Disks []GetDisksDisk `pulumi:"disks"` DryRun *bool `pulumi:"dryRun"` EnableAutoSnapshot *bool `pulumi:"enableAutoSnapshot"` EnableAutomatedSnapshotPolicy *bool `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Possible values: `on` and `off`. Encrypted *string `pulumi:"encrypted"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // ID of the related instance. It is `null` unless the `status` is `In_use`. InstanceId *string `pulumi:"instanceId"` KmsKeyId *string `pulumi:"kmsKeyId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OperationLocks []GetDisksOperationLock `pulumi:"operationLocks"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PaymentType *string `pulumi:"paymentType"` Portable *bool `pulumi:"portable"` // The Id of resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId *string `pulumi:"snapshotId"` // Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`. Status *string `pulumi:"status"` // A map of tags assigned to the disk. Tags map[string]interface{} `pulumi:"tags"` TotalCount int `pulumi:"totalCount"` // Disk type. Possible values: `system` and `data`. // // Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead. Type *string `pulumi:"type"` ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by getDisks.
func GetDisks ¶
func GetDisks(ctx *pulumi.Context, args *GetDisksArgs, opts ...pulumi.InvokeOption) (*GetDisksResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { disksDs, err := ecs.GetDisks(ctx, &ecs.GetDisksArgs{ NameRegex: pulumi.StringRef("sample_disk"), }, nil) if err != nil { return err } ctx.Export("firstDiskId", disksDs.Disks[0].Id) return nil }) }
```
type GetDisksResultOutput ¶ added in v3.9.0
type GetDisksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDisks.
func GetDisksOutput ¶ added in v3.9.0
func GetDisksOutput(ctx *pulumi.Context, args GetDisksOutputArgs, opts ...pulumi.InvokeOption) GetDisksResultOutput
func (GetDisksResultOutput) AdditionalAttributes ¶ added in v3.9.0
func (o GetDisksResultOutput) AdditionalAttributes() pulumi.StringArrayOutput
func (GetDisksResultOutput) AutoSnapshotPolicyId ¶ added in v3.9.0
func (o GetDisksResultOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
func (GetDisksResultOutput) AvailabilityZone
deprecated
added in
v3.9.0
func (o GetDisksResultOutput) AvailabilityZone() pulumi.StringPtrOutput
Availability zone of the disk.
Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead
func (GetDisksResultOutput) Category ¶ added in v3.9.0
func (o GetDisksResultOutput) Category() pulumi.StringPtrOutput
Disk category. Possible values: `cloud` (basic cloud disk), `cloudEfficiency` (ultra cloud disk), `ephemeralSsd` (local SSD cloud disk), `cloudSsd` (SSD cloud disk), and `cloudEssd` (ESSD cloud disk).
func (GetDisksResultOutput) DeleteAutoSnapshot ¶ added in v3.9.0
func (o GetDisksResultOutput) DeleteAutoSnapshot() pulumi.BoolPtrOutput
func (GetDisksResultOutput) DeleteWithInstance ¶ added in v3.9.0
func (o GetDisksResultOutput) DeleteWithInstance() pulumi.BoolPtrOutput
func (GetDisksResultOutput) DiskName ¶ added in v3.9.0
func (o GetDisksResultOutput) DiskName() pulumi.StringPtrOutput
func (GetDisksResultOutput) DiskType ¶ added in v3.9.0
func (o GetDisksResultOutput) DiskType() pulumi.StringPtrOutput
func (GetDisksResultOutput) Disks ¶ added in v3.9.0
func (o GetDisksResultOutput) Disks() GetDisksDiskArrayOutput
A list of disks. Each element contains the following attributes:
func (GetDisksResultOutput) DryRun ¶ added in v3.9.0
func (o GetDisksResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetDisksResultOutput) ElementType ¶ added in v3.9.0
func (GetDisksResultOutput) ElementType() reflect.Type
func (GetDisksResultOutput) EnableAutoSnapshot ¶ added in v3.9.0
func (o GetDisksResultOutput) EnableAutoSnapshot() pulumi.BoolPtrOutput
func (GetDisksResultOutput) EnableAutomatedSnapshotPolicy ¶ added in v3.9.0
func (o GetDisksResultOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolPtrOutput
func (GetDisksResultOutput) EnableShared ¶ added in v3.9.0
func (o GetDisksResultOutput) EnableShared() pulumi.BoolPtrOutput
func (GetDisksResultOutput) Encrypted ¶ added in v3.9.0
func (o GetDisksResultOutput) Encrypted() pulumi.StringPtrOutput
Indicate whether the disk is encrypted or not. Possible values: `on` and `off`.
func (GetDisksResultOutput) Id ¶ added in v3.9.0
func (o GetDisksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDisksResultOutput) Ids ¶ added in v3.9.0
func (o GetDisksResultOutput) Ids() pulumi.StringArrayOutput
func (GetDisksResultOutput) InstanceId ¶ added in v3.9.0
func (o GetDisksResultOutput) InstanceId() pulumi.StringPtrOutput
ID of the related instance. It is `null` unless the `status` is `In_use`.
func (GetDisksResultOutput) KmsKeyId ¶ added in v3.9.0
func (o GetDisksResultOutput) KmsKeyId() pulumi.StringPtrOutput
func (GetDisksResultOutput) NameRegex ¶ added in v3.9.0
func (o GetDisksResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDisksResultOutput) Names ¶ added in v3.9.0
func (o GetDisksResultOutput) Names() pulumi.StringArrayOutput
func (GetDisksResultOutput) OperationLocks ¶ added in v3.9.0
func (o GetDisksResultOutput) OperationLocks() GetDisksOperationLockArrayOutput
func (GetDisksResultOutput) OutputFile ¶ added in v3.9.0
func (o GetDisksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDisksResultOutput) PageNumber ¶ added in v3.16.0
func (o GetDisksResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetDisksResultOutput) PageSize ¶ added in v3.16.0
func (o GetDisksResultOutput) PageSize() pulumi.IntPtrOutput
func (GetDisksResultOutput) PaymentType ¶ added in v3.9.0
func (o GetDisksResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetDisksResultOutput) Portable ¶ added in v3.9.0
func (o GetDisksResultOutput) Portable() pulumi.BoolPtrOutput
func (GetDisksResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetDisksResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group.
func (GetDisksResultOutput) SnapshotId ¶ added in v3.9.0
func (o GetDisksResultOutput) SnapshotId() pulumi.StringPtrOutput
Snapshot used to create the disk. It is null if no snapshot is used to create the disk.
func (GetDisksResultOutput) Status ¶ added in v3.9.0
func (o GetDisksResultOutput) Status() pulumi.StringPtrOutput
Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`.
func (GetDisksResultOutput) Tags ¶ added in v3.9.0
func (o GetDisksResultOutput) Tags() pulumi.MapOutput
A map of tags assigned to the disk.
func (GetDisksResultOutput) ToGetDisksResultOutput ¶ added in v3.9.0
func (o GetDisksResultOutput) ToGetDisksResultOutput() GetDisksResultOutput
func (GetDisksResultOutput) ToGetDisksResultOutputWithContext ¶ added in v3.9.0
func (o GetDisksResultOutput) ToGetDisksResultOutputWithContext(ctx context.Context) GetDisksResultOutput
func (GetDisksResultOutput) TotalCount ¶ added in v3.16.0
func (o GetDisksResultOutput) TotalCount() pulumi.IntOutput
func (GetDisksResultOutput) Type
deprecated
added in
v3.9.0
func (o GetDisksResultOutput) Type() pulumi.StringPtrOutput
Disk type. Possible values: `system` and `data`.
Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.
func (GetDisksResultOutput) ZoneId ¶ added in v3.9.0
func (o GetDisksResultOutput) ZoneId() pulumi.StringPtrOutput
type GetEcsDedicatedHostClustersArgs ¶ added in v3.11.0
type GetEcsDedicatedHostClustersArgs struct { // The IDs of dedicated host clusters. DedicatedHostClusterIds []string `pulumi:"dedicatedHostClusterIds"` // The name of the dedicated host cluster. DedicatedHostClusterName *string `pulumi:"dedicatedHostClusterName"` // A list of Dedicated Host Cluster IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Dedicated Host Cluster name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // The zone ID of the dedicated host cluster. ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking getEcsDedicatedHostClusters.
type GetEcsDedicatedHostClustersCluster ¶ added in v3.11.0
type GetEcsDedicatedHostClustersCluster struct { // The capacity of the dedicated host cluster. DedicatedHostClusterCapacities []GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity `pulumi:"dedicatedHostClusterCapacities"` // The ID of the dedicated host cluster. DedicatedHostClusterId string `pulumi:"dedicatedHostClusterId"` // The name of the dedicated host cluster. DedicatedHostClusterName string `pulumi:"dedicatedHostClusterName"` // The IDs of dedicated hosts in the dedicated host cluster. DedicatedHostIds []string `pulumi:"dedicatedHostIds"` // The description of the dedicated host cluster. Description string `pulumi:"description"` // The ID of the Dedicated Host Cluster. Id string `pulumi:"id"` // The ID of the resource group to which the dedicated host cluster belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // The zone ID of the dedicated host cluster. ZoneId string `pulumi:"zoneId"` }
type GetEcsDedicatedHostClustersClusterArgs ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterArgs struct { // The capacity of the dedicated host cluster. DedicatedHostClusterCapacities GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayInput `pulumi:"dedicatedHostClusterCapacities"` // The ID of the dedicated host cluster. DedicatedHostClusterId pulumi.StringInput `pulumi:"dedicatedHostClusterId"` // The name of the dedicated host cluster. DedicatedHostClusterName pulumi.StringInput `pulumi:"dedicatedHostClusterName"` // The IDs of dedicated hosts in the dedicated host cluster. DedicatedHostIds pulumi.StringArrayInput `pulumi:"dedicatedHostIds"` // The description of the dedicated host cluster. Description pulumi.StringInput `pulumi:"description"` // The ID of the Dedicated Host Cluster. Id pulumi.StringInput `pulumi:"id"` // The ID of the resource group to which the dedicated host cluster belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // The zone ID of the dedicated host cluster. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetEcsDedicatedHostClustersClusterArgs) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterArgs) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterArgs) ToGetEcsDedicatedHostClustersClusterOutput ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterArgs) ToGetEcsDedicatedHostClustersClusterOutput() GetEcsDedicatedHostClustersClusterOutput
func (GetEcsDedicatedHostClustersClusterArgs) ToGetEcsDedicatedHostClustersClusterOutputWithContext ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterArgs) ToGetEcsDedicatedHostClustersClusterOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterOutput
type GetEcsDedicatedHostClustersClusterArray ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterArray []GetEcsDedicatedHostClustersClusterInput
func (GetEcsDedicatedHostClustersClusterArray) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterArray) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterArray) ToGetEcsDedicatedHostClustersClusterArrayOutput ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterArray) ToGetEcsDedicatedHostClustersClusterArrayOutput() GetEcsDedicatedHostClustersClusterArrayOutput
func (GetEcsDedicatedHostClustersClusterArray) ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterArray) ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterArrayOutput
type GetEcsDedicatedHostClustersClusterArrayInput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterArrayInput interface { pulumi.Input ToGetEcsDedicatedHostClustersClusterArrayOutput() GetEcsDedicatedHostClustersClusterArrayOutput ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext(context.Context) GetEcsDedicatedHostClustersClusterArrayOutput }
GetEcsDedicatedHostClustersClusterArrayInput is an input type that accepts GetEcsDedicatedHostClustersClusterArray and GetEcsDedicatedHostClustersClusterArrayOutput values. You can construct a concrete instance of `GetEcsDedicatedHostClustersClusterArrayInput` via:
GetEcsDedicatedHostClustersClusterArray{ GetEcsDedicatedHostClustersClusterArgs{...} }
type GetEcsDedicatedHostClustersClusterArrayOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDedicatedHostClustersClusterArrayOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterArrayOutput) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterArrayOutput) ToGetEcsDedicatedHostClustersClusterArrayOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterArrayOutput) ToGetEcsDedicatedHostClustersClusterArrayOutput() GetEcsDedicatedHostClustersClusterArrayOutput
func (GetEcsDedicatedHostClustersClusterArrayOutput) ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterArrayOutput) ToGetEcsDedicatedHostClustersClusterArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterArrayOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacity struct { // The available memory size. Unit: `GiB`. AvailableMemory int `pulumi:"availableMemory"` // The number of available vCPUs. AvailableVcpus int `pulumi:"availableVcpus"` // The local storage. LocalStorageCapacities []GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity `pulumi:"localStorageCapacities"` // The total memory size. Unit: `GiB`. TotalMemory int `pulumi:"totalMemory"` // The total number of vCPUs. TotalVcpus int `pulumi:"totalVcpus"` }
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs struct { // The available memory size. Unit: `GiB`. AvailableMemory pulumi.IntInput `pulumi:"availableMemory"` // The number of available vCPUs. AvailableVcpus pulumi.IntInput `pulumi:"availableVcpus"` // The local storage. LocalStorageCapacities GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayInput `pulumi:"localStorageCapacities"` // The total memory size. Unit: `GiB`. TotalMemory pulumi.IntInput `pulumi:"totalMemory"` // The total number of vCPUs. TotalVcpus pulumi.IntInput `pulumi:"totalVcpus"` }
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray []GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityInput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayInput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayInput interface { pulumi.Input ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext(context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput }
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayInput is an input type that accepts GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray and GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput values. You can construct a concrete instance of `GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayInput` via:
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArray{ GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs{...} }
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) Index ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityInput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityInput interface { pulumi.Input ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext(context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput }
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityInput is an input type that accepts GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs and GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput values. You can construct a concrete instance of `GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityInput` via:
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArgs{...}
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacity struct { // The available capacity of the local disk. Unit: `GiB`. AvailableDisk int `pulumi:"availableDisk"` // The category of the data disk. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd`, `ephemeralSsd`, `cloudEssd`. DataDiskCategory string `pulumi:"dataDiskCategory"` // The total capacity of the local disk. Unit: `GiB`. TotalDisk int `pulumi:"totalDisk"` }
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs struct { // The available capacity of the local disk. Unit: `GiB`. AvailableDisk pulumi.IntInput `pulumi:"availableDisk"` // The category of the data disk. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd`, `ephemeralSsd`, `cloudEssd`. DataDiskCategory pulumi.StringInput `pulumi:"dataDiskCategory"` // The total capacity of the local disk. Unit: `GiB`. TotalDisk pulumi.IntInput `pulumi:"totalDisk"` }
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray []GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityInput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext ¶ added in v3.11.0
func (i GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayInput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayInput interface { pulumi.Input ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext(context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput }
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayInput is an input type that accepts GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray and GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput values. You can construct a concrete instance of `GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayInput` via:
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArray{ GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs{...} }
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) Index ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityInput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityInput interface { pulumi.Input ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext(context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput }
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityInput is an input type that accepts GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs and GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput values. You can construct a concrete instance of `GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityInput` via:
GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArgs{...}
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput struct{ *pulumi.OutputState }
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) AvailableDisk ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) AvailableDisk() pulumi.IntOutput
The available capacity of the local disk. Unit: `GiB`.
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) DataDiskCategory ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) DataDiskCategory() pulumi.StringOutput
The category of the data disk. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd`, `ephemeralSsd`, `cloudEssd`.
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) TotalDisk ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityOutput) TotalDisk() pulumi.IntOutput
The total capacity of the local disk. Unit: `GiB`.
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput struct{ *pulumi.OutputState }
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) AvailableMemory ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) AvailableMemory() pulumi.IntOutput
The available memory size. Unit: `GiB`.
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) AvailableVcpus ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) AvailableVcpus() pulumi.IntOutput
The number of available vCPUs.
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) LocalStorageCapacities ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) LocalStorageCapacities() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityLocalStorageCapacityArrayOutput
The local storage.
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) ToGetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) TotalMemory ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) TotalMemory() pulumi.IntOutput
The total memory size. Unit: `GiB`.
func (GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) TotalVcpus ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityOutput) TotalVcpus() pulumi.IntOutput
The total number of vCPUs.
type GetEcsDedicatedHostClustersClusterInput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterInput interface { pulumi.Input ToGetEcsDedicatedHostClustersClusterOutput() GetEcsDedicatedHostClustersClusterOutput ToGetEcsDedicatedHostClustersClusterOutputWithContext(context.Context) GetEcsDedicatedHostClustersClusterOutput }
GetEcsDedicatedHostClustersClusterInput is an input type that accepts GetEcsDedicatedHostClustersClusterArgs and GetEcsDedicatedHostClustersClusterOutput values. You can construct a concrete instance of `GetEcsDedicatedHostClustersClusterInput` via:
GetEcsDedicatedHostClustersClusterArgs{...}
type GetEcsDedicatedHostClustersClusterOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersClusterOutput struct{ *pulumi.OutputState }
func (GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterCapacities ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterCapacities() GetEcsDedicatedHostClustersClusterDedicatedHostClusterCapacityArrayOutput
The capacity of the dedicated host cluster.
func (GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterId ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterId() pulumi.StringOutput
The ID of the dedicated host cluster.
func (GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterName ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostClusterName() pulumi.StringOutput
The name of the dedicated host cluster.
func (GetEcsDedicatedHostClustersClusterOutput) DedicatedHostIds ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) DedicatedHostIds() pulumi.StringArrayOutput
The IDs of dedicated hosts in the dedicated host cluster.
func (GetEcsDedicatedHostClustersClusterOutput) Description ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) Description() pulumi.StringOutput
The description of the dedicated host cluster.
func (GetEcsDedicatedHostClustersClusterOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersClusterOutput) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersClusterOutput) Id ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) Id() pulumi.StringOutput
The ID of the Dedicated Host Cluster.
func (GetEcsDedicatedHostClustersClusterOutput) ResourceGroupId ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group to which the dedicated host cluster belongs.
func (GetEcsDedicatedHostClustersClusterOutput) Tags ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetEcsDedicatedHostClustersClusterOutput) ToGetEcsDedicatedHostClustersClusterOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) ToGetEcsDedicatedHostClustersClusterOutput() GetEcsDedicatedHostClustersClusterOutput
func (GetEcsDedicatedHostClustersClusterOutput) ToGetEcsDedicatedHostClustersClusterOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) ToGetEcsDedicatedHostClustersClusterOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersClusterOutput
func (GetEcsDedicatedHostClustersClusterOutput) ZoneId ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersClusterOutput) ZoneId() pulumi.StringOutput
The zone ID of the dedicated host cluster.
type GetEcsDedicatedHostClustersOutputArgs ¶ added in v3.11.0
type GetEcsDedicatedHostClustersOutputArgs struct { // The IDs of dedicated host clusters. DedicatedHostClusterIds pulumi.StringArrayInput `pulumi:"dedicatedHostClusterIds"` // The name of the dedicated host cluster. DedicatedHostClusterName pulumi.StringPtrInput `pulumi:"dedicatedHostClusterName"` // A list of Dedicated Host Cluster IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Dedicated Host Cluster name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // The zone ID of the dedicated host cluster. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking getEcsDedicatedHostClusters.
func (GetEcsDedicatedHostClustersOutputArgs) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersOutputArgs) ElementType() reflect.Type
type GetEcsDedicatedHostClustersResult ¶ added in v3.11.0
type GetEcsDedicatedHostClustersResult struct { Clusters []GetEcsDedicatedHostClustersCluster `pulumi:"clusters"` DedicatedHostClusterIds []string `pulumi:"dedicatedHostClusterIds"` DedicatedHostClusterName *string `pulumi:"dedicatedHostClusterName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Tags map[string]interface{} `pulumi:"tags"` ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by getEcsDedicatedHostClusters.
func GetEcsDedicatedHostClusters ¶ added in v3.11.0
func GetEcsDedicatedHostClusters(ctx *pulumi.Context, args *GetEcsDedicatedHostClustersArgs, opts ...pulumi.InvokeOption) (*GetEcsDedicatedHostClustersResult, error)
This data source provides the Ecs Dedicated Host Clusters of the current Alibaba Cloud user.
> **NOTE:** Available in v1.146.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("ecsDedicatedHostClusterId1", ids.Clusters[0].Id) nameRegex, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{ NameRegex: pulumi.StringRef("^my-DedicatedHostCluster"), }, nil) if err != nil { return err } ctx.Export("ecsDedicatedHostClusterId2", nameRegex.Clusters[0].Id) zoneId, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{ ZoneId: pulumi.StringRef("example_value"), }, nil) if err != nil { return err } ctx.Export("ecsDedicatedHostClusterId3", zoneId.Clusters[0].Id) clusterName, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{ DedicatedHostClusterName: pulumi.StringRef("example_value"), }, nil) if err != nil { return err } ctx.Export("ecsDedicatedHostClusterId4", clusterName.Clusters[0].Id) clusterIds, err := ecs.GetEcsDedicatedHostClusters(ctx, &ecs.GetEcsDedicatedHostClustersArgs{ DedicatedHostClusterIds: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("ecsDedicatedHostClusterId5", clusterIds.Clusters[0].Id) return nil }) }
```
type GetEcsDedicatedHostClustersResultOutput ¶ added in v3.11.0
type GetEcsDedicatedHostClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsDedicatedHostClusters.
func GetEcsDedicatedHostClustersOutput ¶ added in v3.11.0
func GetEcsDedicatedHostClustersOutput(ctx *pulumi.Context, args GetEcsDedicatedHostClustersOutputArgs, opts ...pulumi.InvokeOption) GetEcsDedicatedHostClustersResultOutput
func (GetEcsDedicatedHostClustersResultOutput) Clusters ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) Clusters() GetEcsDedicatedHostClustersClusterArrayOutput
func (GetEcsDedicatedHostClustersResultOutput) DedicatedHostClusterIds ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) DedicatedHostClusterIds() pulumi.StringArrayOutput
func (GetEcsDedicatedHostClustersResultOutput) DedicatedHostClusterName ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) DedicatedHostClusterName() pulumi.StringPtrOutput
func (GetEcsDedicatedHostClustersResultOutput) ElementType ¶ added in v3.11.0
func (GetEcsDedicatedHostClustersResultOutput) ElementType() reflect.Type
func (GetEcsDedicatedHostClustersResultOutput) Id ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsDedicatedHostClustersResultOutput) Ids ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsDedicatedHostClustersResultOutput) NameRegex ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsDedicatedHostClustersResultOutput) Names ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsDedicatedHostClustersResultOutput) OutputFile ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsDedicatedHostClustersResultOutput) Tags ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) Tags() pulumi.MapOutput
func (GetEcsDedicatedHostClustersResultOutput) ToGetEcsDedicatedHostClustersResultOutput ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) ToGetEcsDedicatedHostClustersResultOutput() GetEcsDedicatedHostClustersResultOutput
func (GetEcsDedicatedHostClustersResultOutput) ToGetEcsDedicatedHostClustersResultOutputWithContext ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) ToGetEcsDedicatedHostClustersResultOutputWithContext(ctx context.Context) GetEcsDedicatedHostClustersResultOutput
func (GetEcsDedicatedHostClustersResultOutput) ZoneId ¶ added in v3.11.0
func (o GetEcsDedicatedHostClustersResultOutput) ZoneId() pulumi.StringPtrOutput
type GetEcsDeploymentSetsArgs ¶ added in v3.9.0
type GetEcsDeploymentSetsArgs struct { // The name of the deployment set. DeploymentSetName *string `pulumi:"deploymentSetName"` // A list of Deployment Set IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Deployment Set name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The deployment strategy. Strategy *string `pulumi:"strategy"` }
A collection of arguments for invoking getEcsDeploymentSets.
type GetEcsDeploymentSetsOutputArgs ¶ added in v3.9.0
type GetEcsDeploymentSetsOutputArgs struct { // The name of the deployment set. DeploymentSetName pulumi.StringPtrInput `pulumi:"deploymentSetName"` // A list of Deployment Set IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Deployment Set name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The deployment strategy. Strategy pulumi.StringPtrInput `pulumi:"strategy"` }
A collection of arguments for invoking getEcsDeploymentSets.
func (GetEcsDeploymentSetsOutputArgs) ElementType ¶ added in v3.9.0
func (GetEcsDeploymentSetsOutputArgs) ElementType() reflect.Type
type GetEcsDeploymentSetsResult ¶ added in v3.9.0
type GetEcsDeploymentSetsResult struct { DeploymentSetName *string `pulumi:"deploymentSetName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Sets []GetEcsDeploymentSetsSet `pulumi:"sets"` Strategy *string `pulumi:"strategy"` }
A collection of values returned by getEcsDeploymentSets.
func GetEcsDeploymentSets ¶ added in v3.9.0
func GetEcsDeploymentSets(ctx *pulumi.Context, args *GetEcsDeploymentSetsArgs, opts ...pulumi.InvokeOption) (*GetEcsDeploymentSetsResult, error)
This data source provides the Ecs Deployment Sets of the current Alibaba Cloud user.
> **NOTE:** Available in v1.140.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := ecs.GetEcsDeploymentSets(ctx, &ecs.GetEcsDeploymentSetsArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("ecsDeploymentSetId1", ids.Sets[0].Id) nameRegex, err := ecs.GetEcsDeploymentSets(ctx, &ecs.GetEcsDeploymentSetsArgs{ NameRegex: pulumi.StringRef("^my-DeploymentSet"), }, nil) if err != nil { return err } ctx.Export("ecsDeploymentSetId2", nameRegex.Sets[0].Id) return nil }) }
```
type GetEcsDeploymentSetsResultOutput ¶ added in v3.9.0
type GetEcsDeploymentSetsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsDeploymentSets.
func GetEcsDeploymentSetsOutput ¶ added in v3.9.0
func GetEcsDeploymentSetsOutput(ctx *pulumi.Context, args GetEcsDeploymentSetsOutputArgs, opts ...pulumi.InvokeOption) GetEcsDeploymentSetsResultOutput
func (GetEcsDeploymentSetsResultOutput) DeploymentSetName ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) DeploymentSetName() pulumi.StringPtrOutput
func (GetEcsDeploymentSetsResultOutput) ElementType ¶ added in v3.9.0
func (GetEcsDeploymentSetsResultOutput) ElementType() reflect.Type
func (GetEcsDeploymentSetsResultOutput) Id ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsDeploymentSetsResultOutput) Ids ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsDeploymentSetsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsDeploymentSetsResultOutput) Names ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsDeploymentSetsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsDeploymentSetsResultOutput) Sets ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) Sets() GetEcsDeploymentSetsSetArrayOutput
func (GetEcsDeploymentSetsResultOutput) Strategy ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) Strategy() pulumi.StringPtrOutput
func (GetEcsDeploymentSetsResultOutput) ToGetEcsDeploymentSetsResultOutput ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) ToGetEcsDeploymentSetsResultOutput() GetEcsDeploymentSetsResultOutput
func (GetEcsDeploymentSetsResultOutput) ToGetEcsDeploymentSetsResultOutputWithContext ¶ added in v3.9.0
func (o GetEcsDeploymentSetsResultOutput) ToGetEcsDeploymentSetsResultOutputWithContext(ctx context.Context) GetEcsDeploymentSetsResultOutput
type GetEcsDeploymentSetsSet ¶ added in v3.9.0
type GetEcsDeploymentSetsSet struct { // The time when the deployment set was created. CreateTime string `pulumi:"createTime"` // The ID of the Deployment Set. DeploymentSetId string `pulumi:"deploymentSetId"` // The name of the deployment set. DeploymentSetName string `pulumi:"deploymentSetName"` // The description of the deployment set. Description string `pulumi:"description"` // The deployment domain. Domain string `pulumi:"domain"` // The deployment granularity. Granularity string `pulumi:"granularity"` // The ID of the Deployment Set. Id string `pulumi:"id"` // The number of instances in the deployment set. InstanceAmount int `pulumi:"instanceAmount"` // The IDs of the instances in the deployment set. InstanceIds []string `pulumi:"instanceIds"` // The deployment strategy. Strategy string `pulumi:"strategy"` }
type GetEcsDeploymentSetsSetArgs ¶ added in v3.9.0
type GetEcsDeploymentSetsSetArgs struct { // The time when the deployment set was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the Deployment Set. DeploymentSetId pulumi.StringInput `pulumi:"deploymentSetId"` // The name of the deployment set. DeploymentSetName pulumi.StringInput `pulumi:"deploymentSetName"` // The description of the deployment set. Description pulumi.StringInput `pulumi:"description"` // The deployment domain. Domain pulumi.StringInput `pulumi:"domain"` // The deployment granularity. Granularity pulumi.StringInput `pulumi:"granularity"` // The ID of the Deployment Set. Id pulumi.StringInput `pulumi:"id"` // The number of instances in the deployment set. InstanceAmount pulumi.IntInput `pulumi:"instanceAmount"` // The IDs of the instances in the deployment set. InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"` // The deployment strategy. Strategy pulumi.StringInput `pulumi:"strategy"` }
func (GetEcsDeploymentSetsSetArgs) ElementType ¶ added in v3.9.0
func (GetEcsDeploymentSetsSetArgs) ElementType() reflect.Type
func (GetEcsDeploymentSetsSetArgs) ToGetEcsDeploymentSetsSetOutput ¶ added in v3.9.0
func (i GetEcsDeploymentSetsSetArgs) ToGetEcsDeploymentSetsSetOutput() GetEcsDeploymentSetsSetOutput
func (GetEcsDeploymentSetsSetArgs) ToGetEcsDeploymentSetsSetOutputWithContext ¶ added in v3.9.0
func (i GetEcsDeploymentSetsSetArgs) ToGetEcsDeploymentSetsSetOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetOutput
type GetEcsDeploymentSetsSetArray ¶ added in v3.9.0
type GetEcsDeploymentSetsSetArray []GetEcsDeploymentSetsSetInput
func (GetEcsDeploymentSetsSetArray) ElementType ¶ added in v3.9.0
func (GetEcsDeploymentSetsSetArray) ElementType() reflect.Type
func (GetEcsDeploymentSetsSetArray) ToGetEcsDeploymentSetsSetArrayOutput ¶ added in v3.9.0
func (i GetEcsDeploymentSetsSetArray) ToGetEcsDeploymentSetsSetArrayOutput() GetEcsDeploymentSetsSetArrayOutput
func (GetEcsDeploymentSetsSetArray) ToGetEcsDeploymentSetsSetArrayOutputWithContext ¶ added in v3.9.0
func (i GetEcsDeploymentSetsSetArray) ToGetEcsDeploymentSetsSetArrayOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetArrayOutput
type GetEcsDeploymentSetsSetArrayInput ¶ added in v3.9.0
type GetEcsDeploymentSetsSetArrayInput interface { pulumi.Input ToGetEcsDeploymentSetsSetArrayOutput() GetEcsDeploymentSetsSetArrayOutput ToGetEcsDeploymentSetsSetArrayOutputWithContext(context.Context) GetEcsDeploymentSetsSetArrayOutput }
GetEcsDeploymentSetsSetArrayInput is an input type that accepts GetEcsDeploymentSetsSetArray and GetEcsDeploymentSetsSetArrayOutput values. You can construct a concrete instance of `GetEcsDeploymentSetsSetArrayInput` via:
GetEcsDeploymentSetsSetArray{ GetEcsDeploymentSetsSetArgs{...} }
type GetEcsDeploymentSetsSetArrayOutput ¶ added in v3.9.0
type GetEcsDeploymentSetsSetArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDeploymentSetsSetArrayOutput) ElementType ¶ added in v3.9.0
func (GetEcsDeploymentSetsSetArrayOutput) ElementType() reflect.Type
func (GetEcsDeploymentSetsSetArrayOutput) Index ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetArrayOutput) Index(i pulumi.IntInput) GetEcsDeploymentSetsSetOutput
func (GetEcsDeploymentSetsSetArrayOutput) ToGetEcsDeploymentSetsSetArrayOutput ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetArrayOutput) ToGetEcsDeploymentSetsSetArrayOutput() GetEcsDeploymentSetsSetArrayOutput
func (GetEcsDeploymentSetsSetArrayOutput) ToGetEcsDeploymentSetsSetArrayOutputWithContext ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetArrayOutput) ToGetEcsDeploymentSetsSetArrayOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetArrayOutput
type GetEcsDeploymentSetsSetInput ¶ added in v3.9.0
type GetEcsDeploymentSetsSetInput interface { pulumi.Input ToGetEcsDeploymentSetsSetOutput() GetEcsDeploymentSetsSetOutput ToGetEcsDeploymentSetsSetOutputWithContext(context.Context) GetEcsDeploymentSetsSetOutput }
GetEcsDeploymentSetsSetInput is an input type that accepts GetEcsDeploymentSetsSetArgs and GetEcsDeploymentSetsSetOutput values. You can construct a concrete instance of `GetEcsDeploymentSetsSetInput` via:
GetEcsDeploymentSetsSetArgs{...}
type GetEcsDeploymentSetsSetOutput ¶ added in v3.9.0
type GetEcsDeploymentSetsSetOutput struct{ *pulumi.OutputState }
func (GetEcsDeploymentSetsSetOutput) CreateTime ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) CreateTime() pulumi.StringOutput
The time when the deployment set was created.
func (GetEcsDeploymentSetsSetOutput) DeploymentSetId ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) DeploymentSetId() pulumi.StringOutput
The ID of the Deployment Set.
func (GetEcsDeploymentSetsSetOutput) DeploymentSetName ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) DeploymentSetName() pulumi.StringOutput
The name of the deployment set.
func (GetEcsDeploymentSetsSetOutput) Description ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) Description() pulumi.StringOutput
The description of the deployment set.
func (GetEcsDeploymentSetsSetOutput) Domain ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) Domain() pulumi.StringOutput
The deployment domain.
func (GetEcsDeploymentSetsSetOutput) ElementType ¶ added in v3.9.0
func (GetEcsDeploymentSetsSetOutput) ElementType() reflect.Type
func (GetEcsDeploymentSetsSetOutput) Granularity ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) Granularity() pulumi.StringOutput
The deployment granularity.
func (GetEcsDeploymentSetsSetOutput) Id ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) Id() pulumi.StringOutput
The ID of the Deployment Set.
func (GetEcsDeploymentSetsSetOutput) InstanceAmount ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) InstanceAmount() pulumi.IntOutput
The number of instances in the deployment set.
func (GetEcsDeploymentSetsSetOutput) InstanceIds ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) InstanceIds() pulumi.StringArrayOutput
The IDs of the instances in the deployment set.
func (GetEcsDeploymentSetsSetOutput) Strategy ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) Strategy() pulumi.StringOutput
The deployment strategy.
func (GetEcsDeploymentSetsSetOutput) ToGetEcsDeploymentSetsSetOutput ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) ToGetEcsDeploymentSetsSetOutput() GetEcsDeploymentSetsSetOutput
func (GetEcsDeploymentSetsSetOutput) ToGetEcsDeploymentSetsSetOutputWithContext ¶ added in v3.9.0
func (o GetEcsDeploymentSetsSetOutput) ToGetEcsDeploymentSetsSetOutputWithContext(ctx context.Context) GetEcsDeploymentSetsSetOutput
type GetEcsDisksArgs ¶ added in v3.1.0
type GetEcsDisksArgs struct { // Other attribute values. Currently, only the incoming value of IOPS is supported, which means to query the IOPS upper limit of the current disk. AdditionalAttributes []string `pulumi:"additionalAttributes"` // Query cloud disks based on the automatic snapshot policy ID. AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone *string `pulumi:"availabilityZone"` // Disk category. Category *string `pulumi:"category"` // Indicates whether the automatic snapshot is deleted when the disk is released. DeleteAutoSnapshot *bool `pulumi:"deleteAutoSnapshot"` // Indicates whether the disk is released together with the instance. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // The disk name. DiskName *string `pulumi:"diskName"` // The disk type. DiskType *string `pulumi:"diskType"` // Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values: // * `true`: The validity of the request is checked but the request is not made. Check items include the required parameters, request format, service limits, and available ECS resources. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked. If the check succeeds, a 2xx HTTP status code is returned and the request is made. DryRun *bool `pulumi:"dryRun"` // Whether the disk implements an automatic snapshot policy. EnableAutoSnapshot *bool `pulumi:"enableAutoSnapshot"` // Whether the disk implements an automatic snapshot policy. EnableAutomatedSnapshotPolicy *bool `pulumi:"enableAutomatedSnapshotPolicy"` EnableShared *bool `pulumi:"enableShared"` // Indicate whether the disk is encrypted or not. Encrypted *string `pulumi:"encrypted"` // A list of Disk IDs. Ids []string `pulumi:"ids"` // The instance ID of the disk mount. InstanceId *string `pulumi:"instanceId"` // The kms key id. KmsKeyId *string `pulumi:"kmsKeyId"` // A regex string to filter results by Disk name. NameRegex *string `pulumi:"nameRegex"` OperationLocks []GetEcsDisksOperationLock `pulumi:"operationLocks"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // Payment method for disk. PaymentType *string `pulumi:"paymentType"` // Whether the disk is unmountable. Portable *bool `pulumi:"portable"` // The Id of resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId *string `pulumi:"snapshotId"` // Current status. Status *string `pulumi:"status"` // A map of tags assigned to the disk. Tags map[string]interface{} `pulumi:"tags"` // Disk type. // // Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead. Type *string `pulumi:"type"` // The zone id. ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking getEcsDisks.
type GetEcsDisksDisk ¶ added in v3.1.0
type GetEcsDisksDisk struct { // A mount of time. AttachedTime string `pulumi:"attachedTime"` // Query cloud disks based on the automatic snapshot policy ID. AutoSnapshotPolicyId string `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. AvailabilityZone string `pulumi:"availabilityZone"` // Disk category. Category string `pulumi:"category"` // Disk creation time. CreationTime string `pulumi:"creationTime"` // Indicates whether the automatic snapshot is deleted when the disk is released. DeleteAutoSnapshot bool `pulumi:"deleteAutoSnapshot"` // Indicates whether the disk is released together with the instance. DeleteWithInstance bool `pulumi:"deleteWithInstance"` // Disk description. Description string `pulumi:"description"` // Disk detachment time. DetachedTime string `pulumi:"detachedTime"` // The mount point of the disk. Device string `pulumi:"device"` // ID of the disk. DiskId string `pulumi:"diskId"` // The disk name. DiskName string `pulumi:"diskName"` // The disk type. DiskType string `pulumi:"diskType"` // Whether the disk implements an automatic snapshot policy. EnableAutoSnapshot bool `pulumi:"enableAutoSnapshot"` // Whether the disk implements an automatic snapshot policy. EnableAutomatedSnapshotPolicy bool `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Encrypted string `pulumi:"encrypted"` ExpiredTime string `pulumi:"expiredTime"` // ID of the disk. Id string `pulumi:"id"` // ID of the image from which the disk is created. It is null unless the disk is created using an image. ImageId string `pulumi:"imageId"` // The instance ID of the disk mount. InstanceId string `pulumi:"instanceId"` Iops int `pulumi:"iops"` IopsRead int `pulumi:"iopsRead"` IopsWrite int `pulumi:"iopsWrite"` // The kms key id. KmsKeyId string `pulumi:"kmsKeyId"` // Number of instances mounted on shared storage. MountInstanceNum int `pulumi:"mountInstanceNum"` // Disk mount instances. MountInstances []GetEcsDisksDiskMountInstance `pulumi:"mountInstances"` // Disk name. Name string `pulumi:"name"` OperationLocks []GetEcsDisksDiskOperationLock `pulumi:"operationLocks"` // Payment method for disk. PaymentType string `pulumi:"paymentType"` // Performance levels of ESSD cloud disk. PerformanceLevel string `pulumi:"performanceLevel"` // Whether the disk is unmountable. Portable bool `pulumi:"portable"` // The product logo of the cloud market. ProductCode string `pulumi:"productCode"` // Region ID the disk belongs to. RegionId string `pulumi:"regionId"` // The Id of resource group. ResourceGroupId string `pulumi:"resourceGroupId"` // Disk size in GiB. Size int `pulumi:"size"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId string `pulumi:"snapshotId"` // Current status. Status string `pulumi:"status"` // A map of tags assigned to the disk. Tags map[string]interface{} `pulumi:"tags"` // Disk type. Type string `pulumi:"type"` // The zone id. ZoneId string `pulumi:"zoneId"` }
type GetEcsDisksDiskArgs ¶ added in v3.1.0
type GetEcsDisksDiskArgs struct { // A mount of time. AttachedTime pulumi.StringInput `pulumi:"attachedTime"` // Query cloud disks based on the automatic snapshot policy ID. AutoSnapshotPolicyId pulumi.StringInput `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Disk category. Category pulumi.StringInput `pulumi:"category"` // Disk creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // Indicates whether the automatic snapshot is deleted when the disk is released. DeleteAutoSnapshot pulumi.BoolInput `pulumi:"deleteAutoSnapshot"` // Indicates whether the disk is released together with the instance. DeleteWithInstance pulumi.BoolInput `pulumi:"deleteWithInstance"` // Disk description. Description pulumi.StringInput `pulumi:"description"` // Disk detachment time. DetachedTime pulumi.StringInput `pulumi:"detachedTime"` // The mount point of the disk. Device pulumi.StringInput `pulumi:"device"` // ID of the disk. DiskId pulumi.StringInput `pulumi:"diskId"` // The disk name. DiskName pulumi.StringInput `pulumi:"diskName"` // The disk type. DiskType pulumi.StringInput `pulumi:"diskType"` // Whether the disk implements an automatic snapshot policy. EnableAutoSnapshot pulumi.BoolInput `pulumi:"enableAutoSnapshot"` // Whether the disk implements an automatic snapshot policy. EnableAutomatedSnapshotPolicy pulumi.BoolInput `pulumi:"enableAutomatedSnapshotPolicy"` // Indicate whether the disk is encrypted or not. Encrypted pulumi.StringInput `pulumi:"encrypted"` ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // ID of the disk. Id pulumi.StringInput `pulumi:"id"` // ID of the image from which the disk is created. It is null unless the disk is created using an image. ImageId pulumi.StringInput `pulumi:"imageId"` // The instance ID of the disk mount. InstanceId pulumi.StringInput `pulumi:"instanceId"` Iops pulumi.IntInput `pulumi:"iops"` IopsRead pulumi.IntInput `pulumi:"iopsRead"` IopsWrite pulumi.IntInput `pulumi:"iopsWrite"` // The kms key id. KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` // Number of instances mounted on shared storage. MountInstanceNum pulumi.IntInput `pulumi:"mountInstanceNum"` // Disk mount instances. MountInstances GetEcsDisksDiskMountInstanceArrayInput `pulumi:"mountInstances"` // Disk name. Name pulumi.StringInput `pulumi:"name"` OperationLocks GetEcsDisksDiskOperationLockArrayInput `pulumi:"operationLocks"` // Payment method for disk. PaymentType pulumi.StringInput `pulumi:"paymentType"` // Performance levels of ESSD cloud disk. PerformanceLevel pulumi.StringInput `pulumi:"performanceLevel"` // Whether the disk is unmountable. Portable pulumi.BoolInput `pulumi:"portable"` // The product logo of the cloud market. ProductCode pulumi.StringInput `pulumi:"productCode"` // Region ID the disk belongs to. RegionId pulumi.StringInput `pulumi:"regionId"` // The Id of resource group. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // Disk size in GiB. Size pulumi.IntInput `pulumi:"size"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // Current status. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the disk. Tags pulumi.MapInput `pulumi:"tags"` // Disk type. Type pulumi.StringInput `pulumi:"type"` // The zone id. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetEcsDisksDiskArgs) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskArgs) ElementType() reflect.Type
func (GetEcsDisksDiskArgs) ToGetEcsDisksDiskOutput ¶ added in v3.1.0
func (i GetEcsDisksDiskArgs) ToGetEcsDisksDiskOutput() GetEcsDisksDiskOutput
func (GetEcsDisksDiskArgs) ToGetEcsDisksDiskOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksDiskArgs) ToGetEcsDisksDiskOutputWithContext(ctx context.Context) GetEcsDisksDiskOutput
type GetEcsDisksDiskArray ¶ added in v3.1.0
type GetEcsDisksDiskArray []GetEcsDisksDiskInput
func (GetEcsDisksDiskArray) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskArray) ElementType() reflect.Type
func (GetEcsDisksDiskArray) ToGetEcsDisksDiskArrayOutput ¶ added in v3.1.0
func (i GetEcsDisksDiskArray) ToGetEcsDisksDiskArrayOutput() GetEcsDisksDiskArrayOutput
func (GetEcsDisksDiskArray) ToGetEcsDisksDiskArrayOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksDiskArray) ToGetEcsDisksDiskArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskArrayOutput
type GetEcsDisksDiskArrayInput ¶ added in v3.1.0
type GetEcsDisksDiskArrayInput interface { pulumi.Input ToGetEcsDisksDiskArrayOutput() GetEcsDisksDiskArrayOutput ToGetEcsDisksDiskArrayOutputWithContext(context.Context) GetEcsDisksDiskArrayOutput }
GetEcsDisksDiskArrayInput is an input type that accepts GetEcsDisksDiskArray and GetEcsDisksDiskArrayOutput values. You can construct a concrete instance of `GetEcsDisksDiskArrayInput` via:
GetEcsDisksDiskArray{ GetEcsDisksDiskArgs{...} }
type GetEcsDisksDiskArrayOutput ¶ added in v3.1.0
type GetEcsDisksDiskArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDisksDiskArrayOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskArrayOutput) ElementType() reflect.Type
func (GetEcsDisksDiskArrayOutput) Index ¶ added in v3.1.0
func (o GetEcsDisksDiskArrayOutput) Index(i pulumi.IntInput) GetEcsDisksDiskOutput
func (GetEcsDisksDiskArrayOutput) ToGetEcsDisksDiskArrayOutput ¶ added in v3.1.0
func (o GetEcsDisksDiskArrayOutput) ToGetEcsDisksDiskArrayOutput() GetEcsDisksDiskArrayOutput
func (GetEcsDisksDiskArrayOutput) ToGetEcsDisksDiskArrayOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksDiskArrayOutput) ToGetEcsDisksDiskArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskArrayOutput
type GetEcsDisksDiskInput ¶ added in v3.1.0
type GetEcsDisksDiskInput interface { pulumi.Input ToGetEcsDisksDiskOutput() GetEcsDisksDiskOutput ToGetEcsDisksDiskOutputWithContext(context.Context) GetEcsDisksDiskOutput }
GetEcsDisksDiskInput is an input type that accepts GetEcsDisksDiskArgs and GetEcsDisksDiskOutput values. You can construct a concrete instance of `GetEcsDisksDiskInput` via:
GetEcsDisksDiskArgs{...}
type GetEcsDisksDiskMountInstance ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceArgs ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceArgs struct { // A mount of time. AttachedTime pulumi.StringInput `pulumi:"attachedTime"` // The mount point of the disk. Device pulumi.StringInput `pulumi:"device"` // The instance ID of the disk mount. InstanceId pulumi.StringInput `pulumi:"instanceId"` }
func (GetEcsDisksDiskMountInstanceArgs) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskMountInstanceArgs) ElementType() reflect.Type
func (GetEcsDisksDiskMountInstanceArgs) ToGetEcsDisksDiskMountInstanceOutput ¶ added in v3.1.0
func (i GetEcsDisksDiskMountInstanceArgs) ToGetEcsDisksDiskMountInstanceOutput() GetEcsDisksDiskMountInstanceOutput
func (GetEcsDisksDiskMountInstanceArgs) ToGetEcsDisksDiskMountInstanceOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksDiskMountInstanceArgs) ToGetEcsDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceOutput
type GetEcsDisksDiskMountInstanceArray ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceArray []GetEcsDisksDiskMountInstanceInput
func (GetEcsDisksDiskMountInstanceArray) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskMountInstanceArray) ElementType() reflect.Type
func (GetEcsDisksDiskMountInstanceArray) ToGetEcsDisksDiskMountInstanceArrayOutput ¶ added in v3.1.0
func (i GetEcsDisksDiskMountInstanceArray) ToGetEcsDisksDiskMountInstanceArrayOutput() GetEcsDisksDiskMountInstanceArrayOutput
func (GetEcsDisksDiskMountInstanceArray) ToGetEcsDisksDiskMountInstanceArrayOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksDiskMountInstanceArray) ToGetEcsDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceArrayOutput
type GetEcsDisksDiskMountInstanceArrayInput ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceArrayInput interface { pulumi.Input ToGetEcsDisksDiskMountInstanceArrayOutput() GetEcsDisksDiskMountInstanceArrayOutput ToGetEcsDisksDiskMountInstanceArrayOutputWithContext(context.Context) GetEcsDisksDiskMountInstanceArrayOutput }
GetEcsDisksDiskMountInstanceArrayInput is an input type that accepts GetEcsDisksDiskMountInstanceArray and GetEcsDisksDiskMountInstanceArrayOutput values. You can construct a concrete instance of `GetEcsDisksDiskMountInstanceArrayInput` via:
GetEcsDisksDiskMountInstanceArray{ GetEcsDisksDiskMountInstanceArgs{...} }
type GetEcsDisksDiskMountInstanceArrayOutput ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDisksDiskMountInstanceArrayOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskMountInstanceArrayOutput) ElementType() reflect.Type
func (GetEcsDisksDiskMountInstanceArrayOutput) ToGetEcsDisksDiskMountInstanceArrayOutput ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceArrayOutput) ToGetEcsDisksDiskMountInstanceArrayOutput() GetEcsDisksDiskMountInstanceArrayOutput
func (GetEcsDisksDiskMountInstanceArrayOutput) ToGetEcsDisksDiskMountInstanceArrayOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceArrayOutput) ToGetEcsDisksDiskMountInstanceArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceArrayOutput
type GetEcsDisksDiskMountInstanceInput ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceInput interface { pulumi.Input ToGetEcsDisksDiskMountInstanceOutput() GetEcsDisksDiskMountInstanceOutput ToGetEcsDisksDiskMountInstanceOutputWithContext(context.Context) GetEcsDisksDiskMountInstanceOutput }
GetEcsDisksDiskMountInstanceInput is an input type that accepts GetEcsDisksDiskMountInstanceArgs and GetEcsDisksDiskMountInstanceOutput values. You can construct a concrete instance of `GetEcsDisksDiskMountInstanceInput` via:
GetEcsDisksDiskMountInstanceArgs{...}
type GetEcsDisksDiskMountInstanceOutput ¶ added in v3.1.0
type GetEcsDisksDiskMountInstanceOutput struct{ *pulumi.OutputState }
func (GetEcsDisksDiskMountInstanceOutput) AttachedTime ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceOutput) AttachedTime() pulumi.StringOutput
A mount of time.
func (GetEcsDisksDiskMountInstanceOutput) Device ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceOutput) Device() pulumi.StringOutput
The mount point of the disk.
func (GetEcsDisksDiskMountInstanceOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskMountInstanceOutput) ElementType() reflect.Type
func (GetEcsDisksDiskMountInstanceOutput) InstanceId ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceOutput) InstanceId() pulumi.StringOutput
The instance ID of the disk mount.
func (GetEcsDisksDiskMountInstanceOutput) ToGetEcsDisksDiskMountInstanceOutput ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceOutput) ToGetEcsDisksDiskMountInstanceOutput() GetEcsDisksDiskMountInstanceOutput
func (GetEcsDisksDiskMountInstanceOutput) ToGetEcsDisksDiskMountInstanceOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksDiskMountInstanceOutput) ToGetEcsDisksDiskMountInstanceOutputWithContext(ctx context.Context) GetEcsDisksDiskMountInstanceOutput
type GetEcsDisksDiskOperationLock ¶ added in v3.1.0
type GetEcsDisksDiskOperationLock struct {
LockReason string `pulumi:"lockReason"`
}
type GetEcsDisksDiskOperationLockArgs ¶ added in v3.1.0
type GetEcsDisksDiskOperationLockArgs struct {
LockReason pulumi.StringInput `pulumi:"lockReason"`
}
func (GetEcsDisksDiskOperationLockArgs) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskOperationLockArgs) ElementType() reflect.Type
func (GetEcsDisksDiskOperationLockArgs) ToGetEcsDisksDiskOperationLockOutput ¶ added in v3.1.0
func (i GetEcsDisksDiskOperationLockArgs) ToGetEcsDisksDiskOperationLockOutput() GetEcsDisksDiskOperationLockOutput
func (GetEcsDisksDiskOperationLockArgs) ToGetEcsDisksDiskOperationLockOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksDiskOperationLockArgs) ToGetEcsDisksDiskOperationLockOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockOutput
type GetEcsDisksDiskOperationLockArray ¶ added in v3.1.0
type GetEcsDisksDiskOperationLockArray []GetEcsDisksDiskOperationLockInput
func (GetEcsDisksDiskOperationLockArray) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskOperationLockArray) ElementType() reflect.Type
func (GetEcsDisksDiskOperationLockArray) ToGetEcsDisksDiskOperationLockArrayOutput ¶ added in v3.1.0
func (i GetEcsDisksDiskOperationLockArray) ToGetEcsDisksDiskOperationLockArrayOutput() GetEcsDisksDiskOperationLockArrayOutput
func (GetEcsDisksDiskOperationLockArray) ToGetEcsDisksDiskOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksDiskOperationLockArray) ToGetEcsDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockArrayOutput
type GetEcsDisksDiskOperationLockArrayInput ¶ added in v3.1.0
type GetEcsDisksDiskOperationLockArrayInput interface { pulumi.Input ToGetEcsDisksDiskOperationLockArrayOutput() GetEcsDisksDiskOperationLockArrayOutput ToGetEcsDisksDiskOperationLockArrayOutputWithContext(context.Context) GetEcsDisksDiskOperationLockArrayOutput }
GetEcsDisksDiskOperationLockArrayInput is an input type that accepts GetEcsDisksDiskOperationLockArray and GetEcsDisksDiskOperationLockArrayOutput values. You can construct a concrete instance of `GetEcsDisksDiskOperationLockArrayInput` via:
GetEcsDisksDiskOperationLockArray{ GetEcsDisksDiskOperationLockArgs{...} }
type GetEcsDisksDiskOperationLockArrayOutput ¶ added in v3.1.0
type GetEcsDisksDiskOperationLockArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDisksDiskOperationLockArrayOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskOperationLockArrayOutput) ElementType() reflect.Type
func (GetEcsDisksDiskOperationLockArrayOutput) ToGetEcsDisksDiskOperationLockArrayOutput ¶ added in v3.1.0
func (o GetEcsDisksDiskOperationLockArrayOutput) ToGetEcsDisksDiskOperationLockArrayOutput() GetEcsDisksDiskOperationLockArrayOutput
func (GetEcsDisksDiskOperationLockArrayOutput) ToGetEcsDisksDiskOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksDiskOperationLockArrayOutput) ToGetEcsDisksDiskOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockArrayOutput
type GetEcsDisksDiskOperationLockInput ¶ added in v3.1.0
type GetEcsDisksDiskOperationLockInput interface { pulumi.Input ToGetEcsDisksDiskOperationLockOutput() GetEcsDisksDiskOperationLockOutput ToGetEcsDisksDiskOperationLockOutputWithContext(context.Context) GetEcsDisksDiskOperationLockOutput }
GetEcsDisksDiskOperationLockInput is an input type that accepts GetEcsDisksDiskOperationLockArgs and GetEcsDisksDiskOperationLockOutput values. You can construct a concrete instance of `GetEcsDisksDiskOperationLockInput` via:
GetEcsDisksDiskOperationLockArgs{...}
type GetEcsDisksDiskOperationLockOutput ¶ added in v3.1.0
type GetEcsDisksDiskOperationLockOutput struct{ *pulumi.OutputState }
func (GetEcsDisksDiskOperationLockOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskOperationLockOutput) ElementType() reflect.Type
func (GetEcsDisksDiskOperationLockOutput) LockReason ¶ added in v3.1.0
func (o GetEcsDisksDiskOperationLockOutput) LockReason() pulumi.StringOutput
func (GetEcsDisksDiskOperationLockOutput) ToGetEcsDisksDiskOperationLockOutput ¶ added in v3.1.0
func (o GetEcsDisksDiskOperationLockOutput) ToGetEcsDisksDiskOperationLockOutput() GetEcsDisksDiskOperationLockOutput
func (GetEcsDisksDiskOperationLockOutput) ToGetEcsDisksDiskOperationLockOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksDiskOperationLockOutput) ToGetEcsDisksDiskOperationLockOutputWithContext(ctx context.Context) GetEcsDisksDiskOperationLockOutput
type GetEcsDisksDiskOutput ¶ added in v3.1.0
type GetEcsDisksDiskOutput struct{ *pulumi.OutputState }
func (GetEcsDisksDiskOutput) AttachedTime ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) AttachedTime() pulumi.StringOutput
A mount of time.
func (GetEcsDisksDiskOutput) AutoSnapshotPolicyId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) AutoSnapshotPolicyId() pulumi.StringOutput
Query cloud disks based on the automatic snapshot policy ID.
func (GetEcsDisksDiskOutput) AvailabilityZone ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) AvailabilityZone() pulumi.StringOutput
Availability zone of the disk.
func (GetEcsDisksDiskOutput) Category ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Category() pulumi.StringOutput
Disk category.
func (GetEcsDisksDiskOutput) CreationTime ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) CreationTime() pulumi.StringOutput
Disk creation time.
func (GetEcsDisksDiskOutput) DeleteAutoSnapshot ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) DeleteAutoSnapshot() pulumi.BoolOutput
Indicates whether the automatic snapshot is deleted when the disk is released.
func (GetEcsDisksDiskOutput) DeleteWithInstance ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) DeleteWithInstance() pulumi.BoolOutput
Indicates whether the disk is released together with the instance.
func (GetEcsDisksDiskOutput) Description ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Description() pulumi.StringOutput
Disk description.
func (GetEcsDisksDiskOutput) DetachedTime ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) DetachedTime() pulumi.StringOutput
Disk detachment time.
func (GetEcsDisksDiskOutput) Device ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Device() pulumi.StringOutput
The mount point of the disk.
func (GetEcsDisksDiskOutput) DiskId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) DiskId() pulumi.StringOutput
ID of the disk.
func (GetEcsDisksDiskOutput) DiskName ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) DiskName() pulumi.StringOutput
The disk name.
func (GetEcsDisksDiskOutput) DiskType ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) DiskType() pulumi.StringOutput
The disk type.
func (GetEcsDisksDiskOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksDiskOutput) ElementType() reflect.Type
func (GetEcsDisksDiskOutput) EnableAutoSnapshot ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) EnableAutoSnapshot() pulumi.BoolOutput
Whether the disk implements an automatic snapshot policy.
func (GetEcsDisksDiskOutput) EnableAutomatedSnapshotPolicy ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolOutput
Whether the disk implements an automatic snapshot policy.
func (GetEcsDisksDiskOutput) Encrypted ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Encrypted() pulumi.StringOutput
Indicate whether the disk is encrypted or not.
func (GetEcsDisksDiskOutput) ExpiredTime ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ExpiredTime() pulumi.StringOutput
func (GetEcsDisksDiskOutput) Id ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Id() pulumi.StringOutput
ID of the disk.
func (GetEcsDisksDiskOutput) ImageId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ImageId() pulumi.StringOutput
ID of the image from which the disk is created. It is null unless the disk is created using an image.
func (GetEcsDisksDiskOutput) InstanceId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) InstanceId() pulumi.StringOutput
The instance ID of the disk mount.
func (GetEcsDisksDiskOutput) Iops ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Iops() pulumi.IntOutput
func (GetEcsDisksDiskOutput) IopsRead ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) IopsRead() pulumi.IntOutput
func (GetEcsDisksDiskOutput) IopsWrite ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) IopsWrite() pulumi.IntOutput
func (GetEcsDisksDiskOutput) KmsKeyId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) KmsKeyId() pulumi.StringOutput
The kms key id.
func (GetEcsDisksDiskOutput) MountInstanceNum ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) MountInstanceNum() pulumi.IntOutput
Number of instances mounted on shared storage.
func (GetEcsDisksDiskOutput) MountInstances ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) MountInstances() GetEcsDisksDiskMountInstanceArrayOutput
Disk mount instances.
func (GetEcsDisksDiskOutput) Name ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Name() pulumi.StringOutput
Disk name.
func (GetEcsDisksDiskOutput) OperationLocks ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) OperationLocks() GetEcsDisksDiskOperationLockArrayOutput
func (GetEcsDisksDiskOutput) PaymentType ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) PaymentType() pulumi.StringOutput
Payment method for disk.
func (GetEcsDisksDiskOutput) PerformanceLevel ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) PerformanceLevel() pulumi.StringOutput
Performance levels of ESSD cloud disk.
func (GetEcsDisksDiskOutput) Portable ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Portable() pulumi.BoolOutput
Whether the disk is unmountable.
func (GetEcsDisksDiskOutput) ProductCode ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ProductCode() pulumi.StringOutput
The product logo of the cloud market.
func (GetEcsDisksDiskOutput) RegionId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) RegionId() pulumi.StringOutput
Region ID the disk belongs to.
func (GetEcsDisksDiskOutput) ResourceGroupId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group.
func (GetEcsDisksDiskOutput) Size ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Size() pulumi.IntOutput
Disk size in GiB.
func (GetEcsDisksDiskOutput) SnapshotId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) SnapshotId() pulumi.StringOutput
Snapshot used to create the disk. It is null if no snapshot is used to create the disk.
func (GetEcsDisksDiskOutput) Status ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Status() pulumi.StringOutput
Current status.
func (GetEcsDisksDiskOutput) Tags ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Tags() pulumi.MapOutput
A map of tags assigned to the disk.
func (GetEcsDisksDiskOutput) ToGetEcsDisksDiskOutput ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ToGetEcsDisksDiskOutput() GetEcsDisksDiskOutput
func (GetEcsDisksDiskOutput) ToGetEcsDisksDiskOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ToGetEcsDisksDiskOutputWithContext(ctx context.Context) GetEcsDisksDiskOutput
func (GetEcsDisksDiskOutput) Type ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) Type() pulumi.StringOutput
Disk type.
func (GetEcsDisksDiskOutput) ZoneId ¶ added in v3.1.0
func (o GetEcsDisksDiskOutput) ZoneId() pulumi.StringOutput
The zone id.
type GetEcsDisksOperationLock ¶ added in v3.1.0
type GetEcsDisksOperationLock struct {
LockReason *string `pulumi:"lockReason"`
}
type GetEcsDisksOperationLockArgs ¶ added in v3.1.0
type GetEcsDisksOperationLockArgs struct {
LockReason pulumi.StringPtrInput `pulumi:"lockReason"`
}
func (GetEcsDisksOperationLockArgs) ElementType ¶ added in v3.1.0
func (GetEcsDisksOperationLockArgs) ElementType() reflect.Type
func (GetEcsDisksOperationLockArgs) ToGetEcsDisksOperationLockOutput ¶ added in v3.1.0
func (i GetEcsDisksOperationLockArgs) ToGetEcsDisksOperationLockOutput() GetEcsDisksOperationLockOutput
func (GetEcsDisksOperationLockArgs) ToGetEcsDisksOperationLockOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksOperationLockArgs) ToGetEcsDisksOperationLockOutputWithContext(ctx context.Context) GetEcsDisksOperationLockOutput
type GetEcsDisksOperationLockArray ¶ added in v3.1.0
type GetEcsDisksOperationLockArray []GetEcsDisksOperationLockInput
func (GetEcsDisksOperationLockArray) ElementType ¶ added in v3.1.0
func (GetEcsDisksOperationLockArray) ElementType() reflect.Type
func (GetEcsDisksOperationLockArray) ToGetEcsDisksOperationLockArrayOutput ¶ added in v3.1.0
func (i GetEcsDisksOperationLockArray) ToGetEcsDisksOperationLockArrayOutput() GetEcsDisksOperationLockArrayOutput
func (GetEcsDisksOperationLockArray) ToGetEcsDisksOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (i GetEcsDisksOperationLockArray) ToGetEcsDisksOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksOperationLockArrayOutput
type GetEcsDisksOperationLockArrayInput ¶ added in v3.1.0
type GetEcsDisksOperationLockArrayInput interface { pulumi.Input ToGetEcsDisksOperationLockArrayOutput() GetEcsDisksOperationLockArrayOutput ToGetEcsDisksOperationLockArrayOutputWithContext(context.Context) GetEcsDisksOperationLockArrayOutput }
GetEcsDisksOperationLockArrayInput is an input type that accepts GetEcsDisksOperationLockArray and GetEcsDisksOperationLockArrayOutput values. You can construct a concrete instance of `GetEcsDisksOperationLockArrayInput` via:
GetEcsDisksOperationLockArray{ GetEcsDisksOperationLockArgs{...} }
type GetEcsDisksOperationLockArrayOutput ¶ added in v3.1.0
type GetEcsDisksOperationLockArrayOutput struct{ *pulumi.OutputState }
func (GetEcsDisksOperationLockArrayOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksOperationLockArrayOutput) ElementType() reflect.Type
func (GetEcsDisksOperationLockArrayOutput) Index ¶ added in v3.1.0
func (o GetEcsDisksOperationLockArrayOutput) Index(i pulumi.IntInput) GetEcsDisksOperationLockOutput
func (GetEcsDisksOperationLockArrayOutput) ToGetEcsDisksOperationLockArrayOutput ¶ added in v3.1.0
func (o GetEcsDisksOperationLockArrayOutput) ToGetEcsDisksOperationLockArrayOutput() GetEcsDisksOperationLockArrayOutput
func (GetEcsDisksOperationLockArrayOutput) ToGetEcsDisksOperationLockArrayOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksOperationLockArrayOutput) ToGetEcsDisksOperationLockArrayOutputWithContext(ctx context.Context) GetEcsDisksOperationLockArrayOutput
type GetEcsDisksOperationLockInput ¶ added in v3.1.0
type GetEcsDisksOperationLockInput interface { pulumi.Input ToGetEcsDisksOperationLockOutput() GetEcsDisksOperationLockOutput ToGetEcsDisksOperationLockOutputWithContext(context.Context) GetEcsDisksOperationLockOutput }
GetEcsDisksOperationLockInput is an input type that accepts GetEcsDisksOperationLockArgs and GetEcsDisksOperationLockOutput values. You can construct a concrete instance of `GetEcsDisksOperationLockInput` via:
GetEcsDisksOperationLockArgs{...}
type GetEcsDisksOperationLockOutput ¶ added in v3.1.0
type GetEcsDisksOperationLockOutput struct{ *pulumi.OutputState }
func (GetEcsDisksOperationLockOutput) ElementType ¶ added in v3.1.0
func (GetEcsDisksOperationLockOutput) ElementType() reflect.Type
func (GetEcsDisksOperationLockOutput) LockReason ¶ added in v3.1.0
func (o GetEcsDisksOperationLockOutput) LockReason() pulumi.StringPtrOutput
func (GetEcsDisksOperationLockOutput) ToGetEcsDisksOperationLockOutput ¶ added in v3.1.0
func (o GetEcsDisksOperationLockOutput) ToGetEcsDisksOperationLockOutput() GetEcsDisksOperationLockOutput
func (GetEcsDisksOperationLockOutput) ToGetEcsDisksOperationLockOutputWithContext ¶ added in v3.1.0
func (o GetEcsDisksOperationLockOutput) ToGetEcsDisksOperationLockOutputWithContext(ctx context.Context) GetEcsDisksOperationLockOutput
type GetEcsDisksOutputArgs ¶ added in v3.9.0
type GetEcsDisksOutputArgs struct { // Other attribute values. Currently, only the incoming value of IOPS is supported, which means to query the IOPS upper limit of the current disk. AdditionalAttributes pulumi.StringArrayInput `pulumi:"additionalAttributes"` // Query cloud disks based on the automatic snapshot policy ID. AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"` // Availability zone of the disk. // // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Disk category. Category pulumi.StringPtrInput `pulumi:"category"` // Indicates whether the automatic snapshot is deleted when the disk is released. DeleteAutoSnapshot pulumi.BoolPtrInput `pulumi:"deleteAutoSnapshot"` // Indicates whether the disk is released together with the instance. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // The disk name. DiskName pulumi.StringPtrInput `pulumi:"diskName"` // The disk type. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Specifies whether to check the validity of the request without actually making the request.request Default value: false. Valid values: // * `true`: The validity of the request is checked but the request is not made. Check items include the required parameters, request format, service limits, and available ECS resources. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked. If the check succeeds, a 2xx HTTP status code is returned and the request is made. DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` // Whether the disk implements an automatic snapshot policy. EnableAutoSnapshot pulumi.BoolPtrInput `pulumi:"enableAutoSnapshot"` // Whether the disk implements an automatic snapshot policy. EnableAutomatedSnapshotPolicy pulumi.BoolPtrInput `pulumi:"enableAutomatedSnapshotPolicy"` EnableShared pulumi.BoolPtrInput `pulumi:"enableShared"` // Indicate whether the disk is encrypted or not. Encrypted pulumi.StringPtrInput `pulumi:"encrypted"` // A list of Disk IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The instance ID of the disk mount. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // The kms key id. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // A regex string to filter results by Disk name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OperationLocks GetEcsDisksOperationLockArrayInput `pulumi:"operationLocks"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // Payment method for disk. PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` // Whether the disk is unmountable. Portable pulumi.BoolPtrInput `pulumi:"portable"` // The Id of resource group. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // Snapshot used to create the disk. It is null if no snapshot is used to create the disk. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` // Current status. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the disk. Tags pulumi.MapInput `pulumi:"tags"` // Disk type. // // Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead. Type pulumi.StringPtrInput `pulumi:"type"` // The zone id. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking getEcsDisks.
func (GetEcsDisksOutputArgs) ElementType ¶ added in v3.9.0
func (GetEcsDisksOutputArgs) ElementType() reflect.Type
type GetEcsDisksResult ¶ added in v3.1.0
type GetEcsDisksResult struct { AdditionalAttributes []string `pulumi:"additionalAttributes"` AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` // Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead AvailabilityZone *string `pulumi:"availabilityZone"` Category *string `pulumi:"category"` DeleteAutoSnapshot *bool `pulumi:"deleteAutoSnapshot"` DeleteWithInstance *bool `pulumi:"deleteWithInstance"` DiskName *string `pulumi:"diskName"` DiskType *string `pulumi:"diskType"` Disks []GetEcsDisksDisk `pulumi:"disks"` DryRun *bool `pulumi:"dryRun"` EnableAutoSnapshot *bool `pulumi:"enableAutoSnapshot"` EnableAutomatedSnapshotPolicy *bool `pulumi:"enableAutomatedSnapshotPolicy"` Encrypted *string `pulumi:"encrypted"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId *string `pulumi:"instanceId"` KmsKeyId *string `pulumi:"kmsKeyId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OperationLocks []GetEcsDisksOperationLock `pulumi:"operationLocks"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` PaymentType *string `pulumi:"paymentType"` Portable *bool `pulumi:"portable"` ResourceGroupId *string `pulumi:"resourceGroupId"` SnapshotId *string `pulumi:"snapshotId"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` TotalCount int `pulumi:"totalCount"` // Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead. Type *string `pulumi:"type"` ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by getEcsDisks.
func GetEcsDisks ¶ added in v3.1.0
func GetEcsDisks(ctx *pulumi.Context, args *GetEcsDisksArgs, opts ...pulumi.InvokeOption) (*GetEcsDisksResult, error)
This data source provides the Ecs Disks of the current Alibaba Cloud user.
> **NOTE:** Available in v1.122.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEcsDisks(ctx, &ecs.GetEcsDisksArgs{ Ids: []string{ "d-artgdsvdvxxxx", }, NameRegex: pulumi.StringRef("tf-test"), }, nil) if err != nil { return err } ctx.Export("firstEcsDiskId", example.Disks[0].Id) return nil }) }
```
type GetEcsDisksResultOutput ¶ added in v3.9.0
type GetEcsDisksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsDisks.
func GetEcsDisksOutput ¶ added in v3.9.0
func GetEcsDisksOutput(ctx *pulumi.Context, args GetEcsDisksOutputArgs, opts ...pulumi.InvokeOption) GetEcsDisksResultOutput
func (GetEcsDisksResultOutput) AdditionalAttributes ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) AdditionalAttributes() pulumi.StringArrayOutput
func (GetEcsDisksResultOutput) AutoSnapshotPolicyId ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) AvailabilityZone
deprecated
added in
v3.9.0
func (o GetEcsDisksResultOutput) AvailabilityZone() pulumi.StringPtrOutput
Deprecated: Field 'availability_zone' has been deprecated from provider version 1.122.0. New field 'zone_id' instead
func (GetEcsDisksResultOutput) Category ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Category() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) DeleteAutoSnapshot ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) DeleteAutoSnapshot() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) DeleteWithInstance ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) DeleteWithInstance() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) DiskName ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) DiskName() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) DiskType ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) DiskType() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) Disks ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Disks() GetEcsDisksDiskArrayOutput
func (GetEcsDisksResultOutput) DryRun ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) ElementType ¶ added in v3.9.0
func (GetEcsDisksResultOutput) ElementType() reflect.Type
func (GetEcsDisksResultOutput) EnableAutoSnapshot ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) EnableAutoSnapshot() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) EnableAutomatedSnapshotPolicy ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) EnableAutomatedSnapshotPolicy() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) EnableShared ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) EnableShared() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) Encrypted ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Encrypted() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) Id ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsDisksResultOutput) Ids ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsDisksResultOutput) InstanceId ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) InstanceId() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) KmsKeyId ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) KmsKeyId() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) Names ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsDisksResultOutput) OperationLocks ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) OperationLocks() GetEcsDisksOperationLockArrayOutput
func (GetEcsDisksResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) PageNumber ¶ added in v3.16.0
func (o GetEcsDisksResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetEcsDisksResultOutput) PageSize ¶ added in v3.16.0
func (o GetEcsDisksResultOutput) PageSize() pulumi.IntPtrOutput
func (GetEcsDisksResultOutput) PaymentType ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) Portable ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Portable() pulumi.BoolPtrOutput
func (GetEcsDisksResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) SnapshotId ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) SnapshotId() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) Status ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Status() pulumi.StringPtrOutput
func (GetEcsDisksResultOutput) Tags ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) Tags() pulumi.MapOutput
func (GetEcsDisksResultOutput) ToGetEcsDisksResultOutput ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) ToGetEcsDisksResultOutput() GetEcsDisksResultOutput
func (GetEcsDisksResultOutput) ToGetEcsDisksResultOutputWithContext ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) ToGetEcsDisksResultOutputWithContext(ctx context.Context) GetEcsDisksResultOutput
func (GetEcsDisksResultOutput) TotalCount ¶ added in v3.16.0
func (o GetEcsDisksResultOutput) TotalCount() pulumi.IntOutput
func (GetEcsDisksResultOutput) Type
deprecated
added in
v3.9.0
func (o GetEcsDisksResultOutput) Type() pulumi.StringPtrOutput
Deprecated: Field 'type' has been deprecated from provider version 1.122.0. New field 'disk_type' instead.
func (GetEcsDisksResultOutput) ZoneId ¶ added in v3.9.0
func (o GetEcsDisksResultOutput) ZoneId() pulumi.StringPtrOutput
type GetEcsKeyPairsArgs ¶
type GetEcsKeyPairsArgs struct { // The finger print of the key pair. FingerPrint *string `pulumi:"fingerPrint"` // A list of Key Pair IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Key Pair name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The Resource Group Id. ResourceGroupId *string `pulumi:"resourceGroupId"` // The tags. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getEcsKeyPairs.
type GetEcsKeyPairsKeyPair ¶
type GetEcsKeyPairsKeyPair struct { // The finger print of the key pair. FingerPrint string `pulumi:"fingerPrint"` // The ID of the Key Pair. Id string `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances []GetEcsKeyPairsKeyPairInstance `pulumi:"instances"` // The Key Pair Name. KeyName string `pulumi:"keyName"` KeyPairName string `pulumi:"keyPairName"` // The Resource Group Id. ResourceGroupId string `pulumi:"resourceGroupId"` // The tags. Tags map[string]interface{} `pulumi:"tags"` }
type GetEcsKeyPairsKeyPairArgs ¶
type GetEcsKeyPairsKeyPairArgs struct { // The finger print of the key pair. FingerPrint pulumi.StringInput `pulumi:"fingerPrint"` // The ID of the Key Pair. Id pulumi.StringInput `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances GetEcsKeyPairsKeyPairInstanceArrayInput `pulumi:"instances"` // The Key Pair Name. KeyName pulumi.StringInput `pulumi:"keyName"` KeyPairName pulumi.StringInput `pulumi:"keyPairName"` // The Resource Group Id. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetEcsKeyPairsKeyPairArgs) ElementType ¶
func (GetEcsKeyPairsKeyPairArgs) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairArgs) ToGetEcsKeyPairsKeyPairOutput ¶
func (i GetEcsKeyPairsKeyPairArgs) ToGetEcsKeyPairsKeyPairOutput() GetEcsKeyPairsKeyPairOutput
func (GetEcsKeyPairsKeyPairArgs) ToGetEcsKeyPairsKeyPairOutputWithContext ¶
func (i GetEcsKeyPairsKeyPairArgs) ToGetEcsKeyPairsKeyPairOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairOutput
type GetEcsKeyPairsKeyPairArray ¶
type GetEcsKeyPairsKeyPairArray []GetEcsKeyPairsKeyPairInput
func (GetEcsKeyPairsKeyPairArray) ElementType ¶
func (GetEcsKeyPairsKeyPairArray) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairArray) ToGetEcsKeyPairsKeyPairArrayOutput ¶
func (i GetEcsKeyPairsKeyPairArray) ToGetEcsKeyPairsKeyPairArrayOutput() GetEcsKeyPairsKeyPairArrayOutput
func (GetEcsKeyPairsKeyPairArray) ToGetEcsKeyPairsKeyPairArrayOutputWithContext ¶
func (i GetEcsKeyPairsKeyPairArray) ToGetEcsKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairArrayOutput
type GetEcsKeyPairsKeyPairArrayInput ¶
type GetEcsKeyPairsKeyPairArrayInput interface { pulumi.Input ToGetEcsKeyPairsKeyPairArrayOutput() GetEcsKeyPairsKeyPairArrayOutput ToGetEcsKeyPairsKeyPairArrayOutputWithContext(context.Context) GetEcsKeyPairsKeyPairArrayOutput }
GetEcsKeyPairsKeyPairArrayInput is an input type that accepts GetEcsKeyPairsKeyPairArray and GetEcsKeyPairsKeyPairArrayOutput values. You can construct a concrete instance of `GetEcsKeyPairsKeyPairArrayInput` via:
GetEcsKeyPairsKeyPairArray{ GetEcsKeyPairsKeyPairArgs{...} }
type GetEcsKeyPairsKeyPairArrayOutput ¶
type GetEcsKeyPairsKeyPairArrayOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsKeyPairArrayOutput) ElementType ¶
func (GetEcsKeyPairsKeyPairArrayOutput) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairArrayOutput) Index ¶
func (o GetEcsKeyPairsKeyPairArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsKeyPairOutput
func (GetEcsKeyPairsKeyPairArrayOutput) ToGetEcsKeyPairsKeyPairArrayOutput ¶
func (o GetEcsKeyPairsKeyPairArrayOutput) ToGetEcsKeyPairsKeyPairArrayOutput() GetEcsKeyPairsKeyPairArrayOutput
func (GetEcsKeyPairsKeyPairArrayOutput) ToGetEcsKeyPairsKeyPairArrayOutputWithContext ¶
func (o GetEcsKeyPairsKeyPairArrayOutput) ToGetEcsKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairArrayOutput
type GetEcsKeyPairsKeyPairInput ¶
type GetEcsKeyPairsKeyPairInput interface { pulumi.Input ToGetEcsKeyPairsKeyPairOutput() GetEcsKeyPairsKeyPairOutput ToGetEcsKeyPairsKeyPairOutputWithContext(context.Context) GetEcsKeyPairsKeyPairOutput }
GetEcsKeyPairsKeyPairInput is an input type that accepts GetEcsKeyPairsKeyPairArgs and GetEcsKeyPairsKeyPairOutput values. You can construct a concrete instance of `GetEcsKeyPairsKeyPairInput` via:
GetEcsKeyPairsKeyPairArgs{...}
type GetEcsKeyPairsKeyPairInstance ¶
type GetEcsKeyPairsKeyPairInstance struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone string `pulumi:"availabilityZone"` Description string `pulumi:"description"` ImageId string `pulumi:"imageId"` // The ID of the ECS instance. InstanceId string `pulumi:"instanceId"` // The name of the ECS instance. InstanceName string `pulumi:"instanceName"` InstanceType string `pulumi:"instanceType"` // The Key Pair Name. KeyName string `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp string `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp string `pulumi:"publicIp"` RegionId string `pulumi:"regionId"` Status string `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId string `pulumi:"vswitchId"` }
type GetEcsKeyPairsKeyPairInstanceArgs ¶
type GetEcsKeyPairsKeyPairInstanceArgs struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` Description pulumi.StringInput `pulumi:"description"` ImageId pulumi.StringInput `pulumi:"imageId"` // The ID of the ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the ECS instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` InstanceType pulumi.StringInput `pulumi:"instanceType"` // The Key Pair Name. KeyName pulumi.StringInput `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp pulumi.StringInput `pulumi:"publicIp"` RegionId pulumi.StringInput `pulumi:"regionId"` Status pulumi.StringInput `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetEcsKeyPairsKeyPairInstanceArgs) ElementType ¶
func (GetEcsKeyPairsKeyPairInstanceArgs) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairInstanceArgs) ToGetEcsKeyPairsKeyPairInstanceOutput ¶
func (i GetEcsKeyPairsKeyPairInstanceArgs) ToGetEcsKeyPairsKeyPairInstanceOutput() GetEcsKeyPairsKeyPairInstanceOutput
func (GetEcsKeyPairsKeyPairInstanceArgs) ToGetEcsKeyPairsKeyPairInstanceOutputWithContext ¶
func (i GetEcsKeyPairsKeyPairInstanceArgs) ToGetEcsKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceOutput
type GetEcsKeyPairsKeyPairInstanceArray ¶
type GetEcsKeyPairsKeyPairInstanceArray []GetEcsKeyPairsKeyPairInstanceInput
func (GetEcsKeyPairsKeyPairInstanceArray) ElementType ¶
func (GetEcsKeyPairsKeyPairInstanceArray) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairInstanceArray) ToGetEcsKeyPairsKeyPairInstanceArrayOutput ¶
func (i GetEcsKeyPairsKeyPairInstanceArray) ToGetEcsKeyPairsKeyPairInstanceArrayOutput() GetEcsKeyPairsKeyPairInstanceArrayOutput
func (GetEcsKeyPairsKeyPairInstanceArray) ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext ¶
func (i GetEcsKeyPairsKeyPairInstanceArray) ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceArrayOutput
type GetEcsKeyPairsKeyPairInstanceArrayInput ¶
type GetEcsKeyPairsKeyPairInstanceArrayInput interface { pulumi.Input ToGetEcsKeyPairsKeyPairInstanceArrayOutput() GetEcsKeyPairsKeyPairInstanceArrayOutput ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext(context.Context) GetEcsKeyPairsKeyPairInstanceArrayOutput }
GetEcsKeyPairsKeyPairInstanceArrayInput is an input type that accepts GetEcsKeyPairsKeyPairInstanceArray and GetEcsKeyPairsKeyPairInstanceArrayOutput values. You can construct a concrete instance of `GetEcsKeyPairsKeyPairInstanceArrayInput` via:
GetEcsKeyPairsKeyPairInstanceArray{ GetEcsKeyPairsKeyPairInstanceArgs{...} }
type GetEcsKeyPairsKeyPairInstanceArrayOutput ¶
type GetEcsKeyPairsKeyPairInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsKeyPairInstanceArrayOutput) ElementType ¶
func (GetEcsKeyPairsKeyPairInstanceArrayOutput) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairInstanceArrayOutput) ToGetEcsKeyPairsKeyPairInstanceArrayOutput ¶
func (o GetEcsKeyPairsKeyPairInstanceArrayOutput) ToGetEcsKeyPairsKeyPairInstanceArrayOutput() GetEcsKeyPairsKeyPairInstanceArrayOutput
func (GetEcsKeyPairsKeyPairInstanceArrayOutput) ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext ¶
func (o GetEcsKeyPairsKeyPairInstanceArrayOutput) ToGetEcsKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceArrayOutput
type GetEcsKeyPairsKeyPairInstanceInput ¶
type GetEcsKeyPairsKeyPairInstanceInput interface { pulumi.Input ToGetEcsKeyPairsKeyPairInstanceOutput() GetEcsKeyPairsKeyPairInstanceOutput ToGetEcsKeyPairsKeyPairInstanceOutputWithContext(context.Context) GetEcsKeyPairsKeyPairInstanceOutput }
GetEcsKeyPairsKeyPairInstanceInput is an input type that accepts GetEcsKeyPairsKeyPairInstanceArgs and GetEcsKeyPairsKeyPairInstanceOutput values. You can construct a concrete instance of `GetEcsKeyPairsKeyPairInstanceInput` via:
GetEcsKeyPairsKeyPairInstanceArgs{...}
type GetEcsKeyPairsKeyPairInstanceOutput ¶
type GetEcsKeyPairsKeyPairInstanceOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsKeyPairInstanceOutput) AvailabilityZone ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
The ID of the availability zone where the ECS instance is located.
func (GetEcsKeyPairsKeyPairInstanceOutput) Description ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) Description() pulumi.StringOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) ElementType ¶
func (GetEcsKeyPairsKeyPairInstanceOutput) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairInstanceOutput) ImageId ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) ImageId() pulumi.StringOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) InstanceId ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the ECS instance.
func (GetEcsKeyPairsKeyPairInstanceOutput) InstanceName ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) InstanceName() pulumi.StringOutput
The name of the ECS instance.
func (GetEcsKeyPairsKeyPairInstanceOutput) InstanceType ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) InstanceType() pulumi.StringOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) KeyName ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) KeyName() pulumi.StringOutput
The Key Pair Name.
func (GetEcsKeyPairsKeyPairInstanceOutput) PrivateIp ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) PrivateIp() pulumi.StringOutput
The private IP address of the ECS instance.
func (GetEcsKeyPairsKeyPairInstanceOutput) PublicIp ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) PublicIp() pulumi.StringOutput
The public IP address or EIP of the ECS instance.
func (GetEcsKeyPairsKeyPairInstanceOutput) RegionId ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) RegionId() pulumi.StringOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) Status ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) Status() pulumi.StringOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) ToGetEcsKeyPairsKeyPairInstanceOutput ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) ToGetEcsKeyPairsKeyPairInstanceOutput() GetEcsKeyPairsKeyPairInstanceOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) ToGetEcsKeyPairsKeyPairInstanceOutputWithContext ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) ToGetEcsKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairInstanceOutput
func (GetEcsKeyPairsKeyPairInstanceOutput) VswitchId ¶
func (o GetEcsKeyPairsKeyPairInstanceOutput) VswitchId() pulumi.StringOutput
The ID of the VSwitch attached to the ECS instance.
type GetEcsKeyPairsKeyPairOutput ¶
type GetEcsKeyPairsKeyPairOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsKeyPairOutput) ElementType ¶
func (GetEcsKeyPairsKeyPairOutput) ElementType() reflect.Type
func (GetEcsKeyPairsKeyPairOutput) FingerPrint ¶
func (o GetEcsKeyPairsKeyPairOutput) FingerPrint() pulumi.StringOutput
The finger print of the key pair.
func (GetEcsKeyPairsKeyPairOutput) Id ¶
func (o GetEcsKeyPairsKeyPairOutput) Id() pulumi.StringOutput
The ID of the Key Pair.
func (GetEcsKeyPairsKeyPairOutput) Instances ¶
func (o GetEcsKeyPairsKeyPairOutput) Instances() GetEcsKeyPairsKeyPairInstanceArrayOutput
A list of ECS instances that has been bound this key pair.
func (GetEcsKeyPairsKeyPairOutput) KeyName ¶
func (o GetEcsKeyPairsKeyPairOutput) KeyName() pulumi.StringOutput
The Key Pair Name.
func (GetEcsKeyPairsKeyPairOutput) KeyPairName ¶
func (o GetEcsKeyPairsKeyPairOutput) KeyPairName() pulumi.StringOutput
func (GetEcsKeyPairsKeyPairOutput) ResourceGroupId ¶
func (o GetEcsKeyPairsKeyPairOutput) ResourceGroupId() pulumi.StringOutput
The Resource Group Id.
func (GetEcsKeyPairsKeyPairOutput) Tags ¶
func (o GetEcsKeyPairsKeyPairOutput) Tags() pulumi.MapOutput
The tags.
func (GetEcsKeyPairsKeyPairOutput) ToGetEcsKeyPairsKeyPairOutput ¶
func (o GetEcsKeyPairsKeyPairOutput) ToGetEcsKeyPairsKeyPairOutput() GetEcsKeyPairsKeyPairOutput
func (GetEcsKeyPairsKeyPairOutput) ToGetEcsKeyPairsKeyPairOutputWithContext ¶
func (o GetEcsKeyPairsKeyPairOutput) ToGetEcsKeyPairsKeyPairOutputWithContext(ctx context.Context) GetEcsKeyPairsKeyPairOutput
type GetEcsKeyPairsOutputArgs ¶ added in v3.9.0
type GetEcsKeyPairsOutputArgs struct { // The finger print of the key pair. FingerPrint pulumi.StringPtrInput `pulumi:"fingerPrint"` // A list of Key Pair IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Key Pair name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Resource Group Id. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getEcsKeyPairs.
func (GetEcsKeyPairsOutputArgs) ElementType ¶ added in v3.9.0
func (GetEcsKeyPairsOutputArgs) ElementType() reflect.Type
type GetEcsKeyPairsPair ¶
type GetEcsKeyPairsPair struct { // The finger print of the key pair. FingerPrint string `pulumi:"fingerPrint"` // The ID of the Key Pair. Id string `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances []GetEcsKeyPairsPairInstance `pulumi:"instances"` // The Key Pair Name. KeyName string `pulumi:"keyName"` KeyPairName string `pulumi:"keyPairName"` // The Resource Group Id. ResourceGroupId string `pulumi:"resourceGroupId"` // The tags. Tags map[string]interface{} `pulumi:"tags"` }
type GetEcsKeyPairsPairArgs ¶
type GetEcsKeyPairsPairArgs struct { // The finger print of the key pair. FingerPrint pulumi.StringInput `pulumi:"fingerPrint"` // The ID of the Key Pair. Id pulumi.StringInput `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances GetEcsKeyPairsPairInstanceArrayInput `pulumi:"instances"` // The Key Pair Name. KeyName pulumi.StringInput `pulumi:"keyName"` KeyPairName pulumi.StringInput `pulumi:"keyPairName"` // The Resource Group Id. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetEcsKeyPairsPairArgs) ElementType ¶
func (GetEcsKeyPairsPairArgs) ElementType() reflect.Type
func (GetEcsKeyPairsPairArgs) ToGetEcsKeyPairsPairOutput ¶
func (i GetEcsKeyPairsPairArgs) ToGetEcsKeyPairsPairOutput() GetEcsKeyPairsPairOutput
func (GetEcsKeyPairsPairArgs) ToGetEcsKeyPairsPairOutputWithContext ¶
func (i GetEcsKeyPairsPairArgs) ToGetEcsKeyPairsPairOutputWithContext(ctx context.Context) GetEcsKeyPairsPairOutput
type GetEcsKeyPairsPairArray ¶
type GetEcsKeyPairsPairArray []GetEcsKeyPairsPairInput
func (GetEcsKeyPairsPairArray) ElementType ¶
func (GetEcsKeyPairsPairArray) ElementType() reflect.Type
func (GetEcsKeyPairsPairArray) ToGetEcsKeyPairsPairArrayOutput ¶
func (i GetEcsKeyPairsPairArray) ToGetEcsKeyPairsPairArrayOutput() GetEcsKeyPairsPairArrayOutput
func (GetEcsKeyPairsPairArray) ToGetEcsKeyPairsPairArrayOutputWithContext ¶
func (i GetEcsKeyPairsPairArray) ToGetEcsKeyPairsPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairArrayOutput
type GetEcsKeyPairsPairArrayInput ¶
type GetEcsKeyPairsPairArrayInput interface { pulumi.Input ToGetEcsKeyPairsPairArrayOutput() GetEcsKeyPairsPairArrayOutput ToGetEcsKeyPairsPairArrayOutputWithContext(context.Context) GetEcsKeyPairsPairArrayOutput }
GetEcsKeyPairsPairArrayInput is an input type that accepts GetEcsKeyPairsPairArray and GetEcsKeyPairsPairArrayOutput values. You can construct a concrete instance of `GetEcsKeyPairsPairArrayInput` via:
GetEcsKeyPairsPairArray{ GetEcsKeyPairsPairArgs{...} }
type GetEcsKeyPairsPairArrayOutput ¶
type GetEcsKeyPairsPairArrayOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsPairArrayOutput) ElementType ¶
func (GetEcsKeyPairsPairArrayOutput) ElementType() reflect.Type
func (GetEcsKeyPairsPairArrayOutput) Index ¶
func (o GetEcsKeyPairsPairArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsPairOutput
func (GetEcsKeyPairsPairArrayOutput) ToGetEcsKeyPairsPairArrayOutput ¶
func (o GetEcsKeyPairsPairArrayOutput) ToGetEcsKeyPairsPairArrayOutput() GetEcsKeyPairsPairArrayOutput
func (GetEcsKeyPairsPairArrayOutput) ToGetEcsKeyPairsPairArrayOutputWithContext ¶
func (o GetEcsKeyPairsPairArrayOutput) ToGetEcsKeyPairsPairArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairArrayOutput
type GetEcsKeyPairsPairInput ¶
type GetEcsKeyPairsPairInput interface { pulumi.Input ToGetEcsKeyPairsPairOutput() GetEcsKeyPairsPairOutput ToGetEcsKeyPairsPairOutputWithContext(context.Context) GetEcsKeyPairsPairOutput }
GetEcsKeyPairsPairInput is an input type that accepts GetEcsKeyPairsPairArgs and GetEcsKeyPairsPairOutput values. You can construct a concrete instance of `GetEcsKeyPairsPairInput` via:
GetEcsKeyPairsPairArgs{...}
type GetEcsKeyPairsPairInstance ¶
type GetEcsKeyPairsPairInstance struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone string `pulumi:"availabilityZone"` Description string `pulumi:"description"` ImageId string `pulumi:"imageId"` // The ID of the ECS instance. InstanceId string `pulumi:"instanceId"` // The name of the ECS instance. InstanceName string `pulumi:"instanceName"` InstanceType string `pulumi:"instanceType"` // The Key Pair Name. KeyName string `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp string `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp string `pulumi:"publicIp"` RegionId string `pulumi:"regionId"` Status string `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId string `pulumi:"vswitchId"` }
type GetEcsKeyPairsPairInstanceArgs ¶
type GetEcsKeyPairsPairInstanceArgs struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` Description pulumi.StringInput `pulumi:"description"` ImageId pulumi.StringInput `pulumi:"imageId"` // The ID of the ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the ECS instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` InstanceType pulumi.StringInput `pulumi:"instanceType"` // The Key Pair Name. KeyName pulumi.StringInput `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp pulumi.StringInput `pulumi:"publicIp"` RegionId pulumi.StringInput `pulumi:"regionId"` Status pulumi.StringInput `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetEcsKeyPairsPairInstanceArgs) ElementType ¶
func (GetEcsKeyPairsPairInstanceArgs) ElementType() reflect.Type
func (GetEcsKeyPairsPairInstanceArgs) ToGetEcsKeyPairsPairInstanceOutput ¶
func (i GetEcsKeyPairsPairInstanceArgs) ToGetEcsKeyPairsPairInstanceOutput() GetEcsKeyPairsPairInstanceOutput
func (GetEcsKeyPairsPairInstanceArgs) ToGetEcsKeyPairsPairInstanceOutputWithContext ¶
func (i GetEcsKeyPairsPairInstanceArgs) ToGetEcsKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceOutput
type GetEcsKeyPairsPairInstanceArray ¶
type GetEcsKeyPairsPairInstanceArray []GetEcsKeyPairsPairInstanceInput
func (GetEcsKeyPairsPairInstanceArray) ElementType ¶
func (GetEcsKeyPairsPairInstanceArray) ElementType() reflect.Type
func (GetEcsKeyPairsPairInstanceArray) ToGetEcsKeyPairsPairInstanceArrayOutput ¶
func (i GetEcsKeyPairsPairInstanceArray) ToGetEcsKeyPairsPairInstanceArrayOutput() GetEcsKeyPairsPairInstanceArrayOutput
func (GetEcsKeyPairsPairInstanceArray) ToGetEcsKeyPairsPairInstanceArrayOutputWithContext ¶
func (i GetEcsKeyPairsPairInstanceArray) ToGetEcsKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceArrayOutput
type GetEcsKeyPairsPairInstanceArrayInput ¶
type GetEcsKeyPairsPairInstanceArrayInput interface { pulumi.Input ToGetEcsKeyPairsPairInstanceArrayOutput() GetEcsKeyPairsPairInstanceArrayOutput ToGetEcsKeyPairsPairInstanceArrayOutputWithContext(context.Context) GetEcsKeyPairsPairInstanceArrayOutput }
GetEcsKeyPairsPairInstanceArrayInput is an input type that accepts GetEcsKeyPairsPairInstanceArray and GetEcsKeyPairsPairInstanceArrayOutput values. You can construct a concrete instance of `GetEcsKeyPairsPairInstanceArrayInput` via:
GetEcsKeyPairsPairInstanceArray{ GetEcsKeyPairsPairInstanceArgs{...} }
type GetEcsKeyPairsPairInstanceArrayOutput ¶
type GetEcsKeyPairsPairInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsPairInstanceArrayOutput) ElementType ¶
func (GetEcsKeyPairsPairInstanceArrayOutput) ElementType() reflect.Type
func (GetEcsKeyPairsPairInstanceArrayOutput) Index ¶
func (o GetEcsKeyPairsPairInstanceArrayOutput) Index(i pulumi.IntInput) GetEcsKeyPairsPairInstanceOutput
func (GetEcsKeyPairsPairInstanceArrayOutput) ToGetEcsKeyPairsPairInstanceArrayOutput ¶
func (o GetEcsKeyPairsPairInstanceArrayOutput) ToGetEcsKeyPairsPairInstanceArrayOutput() GetEcsKeyPairsPairInstanceArrayOutput
func (GetEcsKeyPairsPairInstanceArrayOutput) ToGetEcsKeyPairsPairInstanceArrayOutputWithContext ¶
func (o GetEcsKeyPairsPairInstanceArrayOutput) ToGetEcsKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceArrayOutput
type GetEcsKeyPairsPairInstanceInput ¶
type GetEcsKeyPairsPairInstanceInput interface { pulumi.Input ToGetEcsKeyPairsPairInstanceOutput() GetEcsKeyPairsPairInstanceOutput ToGetEcsKeyPairsPairInstanceOutputWithContext(context.Context) GetEcsKeyPairsPairInstanceOutput }
GetEcsKeyPairsPairInstanceInput is an input type that accepts GetEcsKeyPairsPairInstanceArgs and GetEcsKeyPairsPairInstanceOutput values. You can construct a concrete instance of `GetEcsKeyPairsPairInstanceInput` via:
GetEcsKeyPairsPairInstanceArgs{...}
type GetEcsKeyPairsPairInstanceOutput ¶
type GetEcsKeyPairsPairInstanceOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsPairInstanceOutput) AvailabilityZone ¶
func (o GetEcsKeyPairsPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
The ID of the availability zone where the ECS instance is located.
func (GetEcsKeyPairsPairInstanceOutput) Description ¶
func (o GetEcsKeyPairsPairInstanceOutput) Description() pulumi.StringOutput
func (GetEcsKeyPairsPairInstanceOutput) ElementType ¶
func (GetEcsKeyPairsPairInstanceOutput) ElementType() reflect.Type
func (GetEcsKeyPairsPairInstanceOutput) ImageId ¶
func (o GetEcsKeyPairsPairInstanceOutput) ImageId() pulumi.StringOutput
func (GetEcsKeyPairsPairInstanceOutput) InstanceId ¶
func (o GetEcsKeyPairsPairInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the ECS instance.
func (GetEcsKeyPairsPairInstanceOutput) InstanceName ¶
func (o GetEcsKeyPairsPairInstanceOutput) InstanceName() pulumi.StringOutput
The name of the ECS instance.
func (GetEcsKeyPairsPairInstanceOutput) InstanceType ¶
func (o GetEcsKeyPairsPairInstanceOutput) InstanceType() pulumi.StringOutput
func (GetEcsKeyPairsPairInstanceOutput) KeyName ¶
func (o GetEcsKeyPairsPairInstanceOutput) KeyName() pulumi.StringOutput
The Key Pair Name.
func (GetEcsKeyPairsPairInstanceOutput) PrivateIp ¶
func (o GetEcsKeyPairsPairInstanceOutput) PrivateIp() pulumi.StringOutput
The private IP address of the ECS instance.
func (GetEcsKeyPairsPairInstanceOutput) PublicIp ¶
func (o GetEcsKeyPairsPairInstanceOutput) PublicIp() pulumi.StringOutput
The public IP address or EIP of the ECS instance.
func (GetEcsKeyPairsPairInstanceOutput) RegionId ¶
func (o GetEcsKeyPairsPairInstanceOutput) RegionId() pulumi.StringOutput
func (GetEcsKeyPairsPairInstanceOutput) Status ¶
func (o GetEcsKeyPairsPairInstanceOutput) Status() pulumi.StringOutput
func (GetEcsKeyPairsPairInstanceOutput) ToGetEcsKeyPairsPairInstanceOutput ¶
func (o GetEcsKeyPairsPairInstanceOutput) ToGetEcsKeyPairsPairInstanceOutput() GetEcsKeyPairsPairInstanceOutput
func (GetEcsKeyPairsPairInstanceOutput) ToGetEcsKeyPairsPairInstanceOutputWithContext ¶
func (o GetEcsKeyPairsPairInstanceOutput) ToGetEcsKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetEcsKeyPairsPairInstanceOutput
func (GetEcsKeyPairsPairInstanceOutput) VswitchId ¶
func (o GetEcsKeyPairsPairInstanceOutput) VswitchId() pulumi.StringOutput
The ID of the VSwitch attached to the ECS instance.
type GetEcsKeyPairsPairOutput ¶
type GetEcsKeyPairsPairOutput struct{ *pulumi.OutputState }
func (GetEcsKeyPairsPairOutput) ElementType ¶
func (GetEcsKeyPairsPairOutput) ElementType() reflect.Type
func (GetEcsKeyPairsPairOutput) FingerPrint ¶
func (o GetEcsKeyPairsPairOutput) FingerPrint() pulumi.StringOutput
The finger print of the key pair.
func (GetEcsKeyPairsPairOutput) Id ¶
func (o GetEcsKeyPairsPairOutput) Id() pulumi.StringOutput
The ID of the Key Pair.
func (GetEcsKeyPairsPairOutput) Instances ¶
func (o GetEcsKeyPairsPairOutput) Instances() GetEcsKeyPairsPairInstanceArrayOutput
A list of ECS instances that has been bound this key pair.
func (GetEcsKeyPairsPairOutput) KeyName ¶
func (o GetEcsKeyPairsPairOutput) KeyName() pulumi.StringOutput
The Key Pair Name.
func (GetEcsKeyPairsPairOutput) KeyPairName ¶
func (o GetEcsKeyPairsPairOutput) KeyPairName() pulumi.StringOutput
func (GetEcsKeyPairsPairOutput) ResourceGroupId ¶
func (o GetEcsKeyPairsPairOutput) ResourceGroupId() pulumi.StringOutput
The Resource Group Id.
func (GetEcsKeyPairsPairOutput) Tags ¶
func (o GetEcsKeyPairsPairOutput) Tags() pulumi.MapOutput
The tags.
func (GetEcsKeyPairsPairOutput) ToGetEcsKeyPairsPairOutput ¶
func (o GetEcsKeyPairsPairOutput) ToGetEcsKeyPairsPairOutput() GetEcsKeyPairsPairOutput
func (GetEcsKeyPairsPairOutput) ToGetEcsKeyPairsPairOutputWithContext ¶
func (o GetEcsKeyPairsPairOutput) ToGetEcsKeyPairsPairOutputWithContext(ctx context.Context) GetEcsKeyPairsPairOutput
type GetEcsKeyPairsResult ¶
type GetEcsKeyPairsResult struct { FingerPrint *string `pulumi:"fingerPrint"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // Deprecated: Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead. KeyPairs []GetEcsKeyPairsKeyPair `pulumi:"keyPairs"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Pairs []GetEcsKeyPairsPair `pulumi:"pairs"` ResourceGroupId *string `pulumi:"resourceGroupId"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getEcsKeyPairs.
func GetEcsKeyPairs ¶
func GetEcsKeyPairs(ctx *pulumi.Context, args *GetEcsKeyPairsArgs, opts ...pulumi.InvokeOption) (*GetEcsKeyPairsResult, error)
This data source provides the Ecs Key Pairs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.121.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEcsKeyPairs(ctx, &ecs.GetEcsKeyPairsArgs{ Ids: []string{ "key_pair_name", }, NameRegex: pulumi.StringRef("key_pair_name"), }, nil) if err != nil { return err } ctx.Export("firstEcsKeyPairId", example.Pairs[0].Id) return nil }) }
```
type GetEcsKeyPairsResultOutput ¶ added in v3.9.0
type GetEcsKeyPairsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsKeyPairs.
func GetEcsKeyPairsOutput ¶ added in v3.9.0
func GetEcsKeyPairsOutput(ctx *pulumi.Context, args GetEcsKeyPairsOutputArgs, opts ...pulumi.InvokeOption) GetEcsKeyPairsResultOutput
func (GetEcsKeyPairsResultOutput) ElementType ¶ added in v3.9.0
func (GetEcsKeyPairsResultOutput) ElementType() reflect.Type
func (GetEcsKeyPairsResultOutput) FingerPrint ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) FingerPrint() pulumi.StringPtrOutput
func (GetEcsKeyPairsResultOutput) Id ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsKeyPairsResultOutput) Ids ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsKeyPairsResultOutput) KeyPairs
deprecated
added in
v3.9.0
func (o GetEcsKeyPairsResultOutput) KeyPairs() GetEcsKeyPairsKeyPairArrayOutput
Deprecated: Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.
func (GetEcsKeyPairsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsKeyPairsResultOutput) Names ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsKeyPairsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsKeyPairsResultOutput) Pairs ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) Pairs() GetEcsKeyPairsPairArrayOutput
func (GetEcsKeyPairsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetEcsKeyPairsResultOutput) Tags ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) Tags() pulumi.MapOutput
func (GetEcsKeyPairsResultOutput) ToGetEcsKeyPairsResultOutput ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) ToGetEcsKeyPairsResultOutput() GetEcsKeyPairsResultOutput
func (GetEcsKeyPairsResultOutput) ToGetEcsKeyPairsResultOutputWithContext ¶ added in v3.9.0
func (o GetEcsKeyPairsResultOutput) ToGetEcsKeyPairsResultOutputWithContext(ctx context.Context) GetEcsKeyPairsResultOutput
type GetEcsLaunchTemplatesArgs ¶
type GetEcsLaunchTemplatesArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Launch Template IDs. Ids []string `pulumi:"ids"` // The Launch Template Name. LaunchTemplateName *string `pulumi:"launchTemplateName"` // A regex string to filter results by Launch Template name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The template resource group id. TemplateResourceGroupId *string `pulumi:"templateResourceGroupId"` // The template tags. TemplateTags map[string]interface{} `pulumi:"templateTags"` }
A collection of arguments for invoking getEcsLaunchTemplates.
type GetEcsLaunchTemplatesOutputArgs ¶ added in v3.9.0
type GetEcsLaunchTemplatesOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Launch Template IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The Launch Template Name. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` // A regex string to filter results by Launch Template name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The template resource group id. TemplateResourceGroupId pulumi.StringPtrInput `pulumi:"templateResourceGroupId"` // The template tags. TemplateTags pulumi.MapInput `pulumi:"templateTags"` }
A collection of arguments for invoking getEcsLaunchTemplates.
func (GetEcsLaunchTemplatesOutputArgs) ElementType ¶ added in v3.9.0
func (GetEcsLaunchTemplatesOutputArgs) ElementType() reflect.Type
type GetEcsLaunchTemplatesResult ¶
type GetEcsLaunchTemplatesResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` LaunchTemplateName *string `pulumi:"launchTemplateName"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` TemplateResourceGroupId *string `pulumi:"templateResourceGroupId"` TemplateTags map[string]interface{} `pulumi:"templateTags"` Templates []GetEcsLaunchTemplatesTemplate `pulumi:"templates"` }
A collection of values returned by getEcsLaunchTemplates.
func GetEcsLaunchTemplates ¶
func GetEcsLaunchTemplates(ctx *pulumi.Context, args *GetEcsLaunchTemplatesArgs, opts ...pulumi.InvokeOption) (*GetEcsLaunchTemplatesResult, error)
This data source provides the Ecs Launch Templates of the current Alibaba Cloud user.
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEcsLaunchTemplates(ctx, &ecs.GetEcsLaunchTemplatesArgs{ Ids: []string{ "lt-bp1a469uxxxxxx", }, NameRegex: pulumi.StringRef("your_launch_name"), }, nil) if err != nil { return err } ctx.Export("firstEcsLaunchTemplateId", example.Templates[0].Id) return nil }) }
```
type GetEcsLaunchTemplatesResultOutput ¶ added in v3.9.0
type GetEcsLaunchTemplatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsLaunchTemplates.
func GetEcsLaunchTemplatesOutput ¶ added in v3.9.0
func GetEcsLaunchTemplatesOutput(ctx *pulumi.Context, args GetEcsLaunchTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetEcsLaunchTemplatesResultOutput
func (GetEcsLaunchTemplatesResultOutput) ElementType ¶ added in v3.9.0
func (GetEcsLaunchTemplatesResultOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetEcsLaunchTemplatesResultOutput) Id ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsLaunchTemplatesResultOutput) Ids ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsLaunchTemplatesResultOutput) LaunchTemplateName ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) LaunchTemplateName() pulumi.StringPtrOutput
func (GetEcsLaunchTemplatesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsLaunchTemplatesResultOutput) Names ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsLaunchTemplatesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsLaunchTemplatesResultOutput) TemplateResourceGroupId ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) TemplateResourceGroupId() pulumi.StringPtrOutput
func (GetEcsLaunchTemplatesResultOutput) TemplateTags ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) TemplateTags() pulumi.MapOutput
func (GetEcsLaunchTemplatesResultOutput) Templates ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) Templates() GetEcsLaunchTemplatesTemplateArrayOutput
func (GetEcsLaunchTemplatesResultOutput) ToGetEcsLaunchTemplatesResultOutput ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) ToGetEcsLaunchTemplatesResultOutput() GetEcsLaunchTemplatesResultOutput
func (GetEcsLaunchTemplatesResultOutput) ToGetEcsLaunchTemplatesResultOutputWithContext ¶ added in v3.9.0
func (o GetEcsLaunchTemplatesResultOutput) ToGetEcsLaunchTemplatesResultOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesResultOutput
type GetEcsLaunchTemplatesTemplate ¶
type GetEcsLaunchTemplatesTemplate struct { // Instance auto release time. AutoReleaseTime string `pulumi:"autoReleaseTime"` // CreatedBy. CreatedBy string `pulumi:"createdBy"` // The list of data disks created with instance. DataDisks []GetEcsLaunchTemplatesTemplateDataDisk `pulumi:"dataDisks"` // The Default Version Number. DefaultVersionNumber int `pulumi:"defaultVersionNumber"` // The Deployment Set Id. DeploymentSetId string `pulumi:"deploymentSetId"` // System disk description. Description string `pulumi:"description"` // Whether to enable the instance operating system configuration. EnableVmOsConfig bool `pulumi:"enableVmOsConfig"` // Instance host name. HostName string `pulumi:"hostName"` // The ID of the Launch Template. Id string `pulumi:"id"` // The Image Id. ImageId string `pulumi:"imageId"` // Mirror source. ImageOwnerAlias string `pulumi:"imageOwnerAlias"` // Internet bandwidth billing method. InstanceChargeType string `pulumi:"instanceChargeType"` // The Instance Name. InstanceName string `pulumi:"instanceName"` // Instance type. InstanceType string `pulumi:"instanceType"` // Internet bandwidth billing method. InternetChargeType string `pulumi:"internetChargeType"` // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. InternetMaxBandwidthIn int `pulumi:"internetMaxBandwidthIn"` // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. InternetMaxBandwidthOut int `pulumi:"internetMaxBandwidthOut"` // Whether it is an I/O-optimized instance or not. IoOptimized string `pulumi:"ioOptimized"` // The name of the key pair. KeyPairName string `pulumi:"keyPairName"` // The Latest Version Number. LatestVersionNumber int `pulumi:"latestVersionNumber"` // The ID of the Launch Template. LaunchTemplateId string `pulumi:"launchTemplateId"` // The Launch Template Name. LaunchTemplateName string `pulumi:"launchTemplateName"` // The Modified Time. ModifiedTime string `pulumi:"modifiedTime"` // The list of network interfaces created with instance. NetworkInterfaces []GetEcsLaunchTemplatesTemplateNetworkInterface `pulumi:"networkInterfaces"` // Network type of the instance. NetworkType string `pulumi:"networkType"` // Whether to use the password preset by the mirror. PasswordInherit bool `pulumi:"passwordInherit"` // The subscription period of the instance. Period int `pulumi:"period"` // The private IP address of the instance. PrivateIpAddress string `pulumi:"privateIpAddress"` // The RAM role name of the instance. RamRoleName string `pulumi:"ramRoleName"` // The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI. ResourceGroupId string `pulumi:"resourceGroupId"` // Whether or not to activate the security enhancement feature and install network security software free of charge. SecurityEnhancementStrategy string `pulumi:"securityEnhancementStrategy"` // The security group ID. SecurityGroupId string `pulumi:"securityGroupId"` // The security group IDs. SecurityGroupIds []string `pulumi:"securityGroupIds"` // The protection period of the preemptible instance. SpotDuration string `pulumi:"spotDuration"` // Sets the maximum hourly instance price. SpotPriceLimit float64 `pulumi:"spotPriceLimit"` // The spot strategy for a Pay-As-You-Go instance. SpotStrategy string `pulumi:"spotStrategy"` // The System Disk. SystemDisks []GetEcsLaunchTemplatesTemplateSystemDisk `pulumi:"systemDisks"` // The template tags. TemplateTags map[string]interface{} `pulumi:"templateTags"` // The User Data. UserData string `pulumi:"userData"` // The Version Description. VersionDescription string `pulumi:"versionDescription"` // VpcId. VpcId string `pulumi:"vpcId"` // The vswitch id. VswitchId string `pulumi:"vswitchId"` // The Zone Id. ZoneId string `pulumi:"zoneId"` }
type GetEcsLaunchTemplatesTemplateArgs ¶
type GetEcsLaunchTemplatesTemplateArgs struct { // Instance auto release time. AutoReleaseTime pulumi.StringInput `pulumi:"autoReleaseTime"` // CreatedBy. CreatedBy pulumi.StringInput `pulumi:"createdBy"` // The list of data disks created with instance. DataDisks GetEcsLaunchTemplatesTemplateDataDiskArrayInput `pulumi:"dataDisks"` // The Default Version Number. DefaultVersionNumber pulumi.IntInput `pulumi:"defaultVersionNumber"` // The Deployment Set Id. DeploymentSetId pulumi.StringInput `pulumi:"deploymentSetId"` // System disk description. Description pulumi.StringInput `pulumi:"description"` // Whether to enable the instance operating system configuration. EnableVmOsConfig pulumi.BoolInput `pulumi:"enableVmOsConfig"` // Instance host name. HostName pulumi.StringInput `pulumi:"hostName"` // The ID of the Launch Template. Id pulumi.StringInput `pulumi:"id"` // The Image Id. ImageId pulumi.StringInput `pulumi:"imageId"` // Mirror source. ImageOwnerAlias pulumi.StringInput `pulumi:"imageOwnerAlias"` // Internet bandwidth billing method. InstanceChargeType pulumi.StringInput `pulumi:"instanceChargeType"` // The Instance Name. InstanceName pulumi.StringInput `pulumi:"instanceName"` // Instance type. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Internet bandwidth billing method. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. InternetMaxBandwidthIn pulumi.IntInput `pulumi:"internetMaxBandwidthIn"` // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. InternetMaxBandwidthOut pulumi.IntInput `pulumi:"internetMaxBandwidthOut"` // Whether it is an I/O-optimized instance or not. IoOptimized pulumi.StringInput `pulumi:"ioOptimized"` // The name of the key pair. KeyPairName pulumi.StringInput `pulumi:"keyPairName"` // The Latest Version Number. LatestVersionNumber pulumi.IntInput `pulumi:"latestVersionNumber"` // The ID of the Launch Template. LaunchTemplateId pulumi.StringInput `pulumi:"launchTemplateId"` // The Launch Template Name. LaunchTemplateName pulumi.StringInput `pulumi:"launchTemplateName"` // The Modified Time. ModifiedTime pulumi.StringInput `pulumi:"modifiedTime"` // The list of network interfaces created with instance. NetworkInterfaces GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayInput `pulumi:"networkInterfaces"` // Network type of the instance. NetworkType pulumi.StringInput `pulumi:"networkType"` // Whether to use the password preset by the mirror. PasswordInherit pulumi.BoolInput `pulumi:"passwordInherit"` // The subscription period of the instance. Period pulumi.IntInput `pulumi:"period"` // The private IP address of the instance. PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"` // The RAM role name of the instance. RamRoleName pulumi.StringInput `pulumi:"ramRoleName"` // The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // Whether or not to activate the security enhancement feature and install network security software free of charge. SecurityEnhancementStrategy pulumi.StringInput `pulumi:"securityEnhancementStrategy"` // The security group ID. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // The security group IDs. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // The protection period of the preemptible instance. SpotDuration pulumi.StringInput `pulumi:"spotDuration"` // Sets the maximum hourly instance price. SpotPriceLimit pulumi.Float64Input `pulumi:"spotPriceLimit"` // The spot strategy for a Pay-As-You-Go instance. SpotStrategy pulumi.StringInput `pulumi:"spotStrategy"` // The System Disk. SystemDisks GetEcsLaunchTemplatesTemplateSystemDiskArrayInput `pulumi:"systemDisks"` // The template tags. TemplateTags pulumi.MapInput `pulumi:"templateTags"` // The User Data. UserData pulumi.StringInput `pulumi:"userData"` // The Version Description. VersionDescription pulumi.StringInput `pulumi:"versionDescription"` // VpcId. VpcId pulumi.StringInput `pulumi:"vpcId"` // The vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The Zone Id. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetEcsLaunchTemplatesTemplateArgs) ElementType ¶
func (GetEcsLaunchTemplatesTemplateArgs) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateArgs) ToGetEcsLaunchTemplatesTemplateOutput ¶
func (i GetEcsLaunchTemplatesTemplateArgs) ToGetEcsLaunchTemplatesTemplateOutput() GetEcsLaunchTemplatesTemplateOutput
func (GetEcsLaunchTemplatesTemplateArgs) ToGetEcsLaunchTemplatesTemplateOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateArgs) ToGetEcsLaunchTemplatesTemplateOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateOutput
type GetEcsLaunchTemplatesTemplateArray ¶
type GetEcsLaunchTemplatesTemplateArray []GetEcsLaunchTemplatesTemplateInput
func (GetEcsLaunchTemplatesTemplateArray) ElementType ¶
func (GetEcsLaunchTemplatesTemplateArray) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateArray) ToGetEcsLaunchTemplatesTemplateArrayOutput ¶
func (i GetEcsLaunchTemplatesTemplateArray) ToGetEcsLaunchTemplatesTemplateArrayOutput() GetEcsLaunchTemplatesTemplateArrayOutput
func (GetEcsLaunchTemplatesTemplateArray) ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateArray) ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateArrayOutput
type GetEcsLaunchTemplatesTemplateArrayInput ¶
type GetEcsLaunchTemplatesTemplateArrayInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateArrayOutput() GetEcsLaunchTemplatesTemplateArrayOutput ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateArrayOutput }
GetEcsLaunchTemplatesTemplateArrayInput is an input type that accepts GetEcsLaunchTemplatesTemplateArray and GetEcsLaunchTemplatesTemplateArrayOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateArrayInput` via:
GetEcsLaunchTemplatesTemplateArray{ GetEcsLaunchTemplatesTemplateArgs{...} }
type GetEcsLaunchTemplatesTemplateArrayOutput ¶
type GetEcsLaunchTemplatesTemplateArrayOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateArrayOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateArrayOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateArrayOutput) ToGetEcsLaunchTemplatesTemplateArrayOutput ¶
func (o GetEcsLaunchTemplatesTemplateArrayOutput) ToGetEcsLaunchTemplatesTemplateArrayOutput() GetEcsLaunchTemplatesTemplateArrayOutput
func (GetEcsLaunchTemplatesTemplateArrayOutput) ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateArrayOutput) ToGetEcsLaunchTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateArrayOutput
type GetEcsLaunchTemplatesTemplateDataDisk ¶
type GetEcsLaunchTemplatesTemplateDataDisk struct { // The category of the system disk. Category string `pulumi:"category"` // Specifies whether to release the system disk when the instance is released. DeleteWithInstance bool `pulumi:"deleteWithInstance"` // System disk description. Description string `pulumi:"description"` // Encrypted the data in this disk. Encrypted bool `pulumi:"encrypted"` // System disk name. Name string `pulumi:"name"` // The performance level of the ESSD used as the system disk. PerformanceLevel string `pulumi:"performanceLevel"` // Size of the system disk, measured in GB. Size int `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId string `pulumi:"snapshotId"` }
type GetEcsLaunchTemplatesTemplateDataDiskArgs ¶
type GetEcsLaunchTemplatesTemplateDataDiskArgs struct { // The category of the system disk. Category pulumi.StringInput `pulumi:"category"` // Specifies whether to release the system disk when the instance is released. DeleteWithInstance pulumi.BoolInput `pulumi:"deleteWithInstance"` // System disk description. Description pulumi.StringInput `pulumi:"description"` // Encrypted the data in this disk. Encrypted pulumi.BoolInput `pulumi:"encrypted"` // System disk name. Name pulumi.StringInput `pulumi:"name"` // The performance level of the ESSD used as the system disk. PerformanceLevel pulumi.StringInput `pulumi:"performanceLevel"` // Size of the system disk, measured in GB. Size pulumi.IntInput `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` }
func (GetEcsLaunchTemplatesTemplateDataDiskArgs) ElementType ¶
func (GetEcsLaunchTemplatesTemplateDataDiskArgs) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateDataDiskArgs) ToGetEcsLaunchTemplatesTemplateDataDiskOutput ¶
func (i GetEcsLaunchTemplatesTemplateDataDiskArgs) ToGetEcsLaunchTemplatesTemplateDataDiskOutput() GetEcsLaunchTemplatesTemplateDataDiskOutput
func (GetEcsLaunchTemplatesTemplateDataDiskArgs) ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateDataDiskArgs) ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskOutput
type GetEcsLaunchTemplatesTemplateDataDiskArray ¶
type GetEcsLaunchTemplatesTemplateDataDiskArray []GetEcsLaunchTemplatesTemplateDataDiskInput
func (GetEcsLaunchTemplatesTemplateDataDiskArray) ElementType ¶
func (GetEcsLaunchTemplatesTemplateDataDiskArray) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateDataDiskArray) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput ¶
func (i GetEcsLaunchTemplatesTemplateDataDiskArray) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
func (GetEcsLaunchTemplatesTemplateDataDiskArray) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateDataDiskArray) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
type GetEcsLaunchTemplatesTemplateDataDiskArrayInput ¶
type GetEcsLaunchTemplatesTemplateDataDiskArrayInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateDataDiskArrayOutput }
GetEcsLaunchTemplatesTemplateDataDiskArrayInput is an input type that accepts GetEcsLaunchTemplatesTemplateDataDiskArray and GetEcsLaunchTemplatesTemplateDataDiskArrayOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateDataDiskArrayInput` via:
GetEcsLaunchTemplatesTemplateDataDiskArray{ GetEcsLaunchTemplatesTemplateDataDiskArgs{...} }
type GetEcsLaunchTemplatesTemplateDataDiskArrayOutput ¶
type GetEcsLaunchTemplatesTemplateDataDiskArrayOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutput() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
func (GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateDataDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
type GetEcsLaunchTemplatesTemplateDataDiskInput ¶
type GetEcsLaunchTemplatesTemplateDataDiskInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateDataDiskOutput() GetEcsLaunchTemplatesTemplateDataDiskOutput ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateDataDiskOutput }
GetEcsLaunchTemplatesTemplateDataDiskInput is an input type that accepts GetEcsLaunchTemplatesTemplateDataDiskArgs and GetEcsLaunchTemplatesTemplateDataDiskOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateDataDiskInput` via:
GetEcsLaunchTemplatesTemplateDataDiskArgs{...}
type GetEcsLaunchTemplatesTemplateDataDiskOutput ¶
type GetEcsLaunchTemplatesTemplateDataDiskOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) Category ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Category() pulumi.StringOutput
The category of the system disk.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) DeleteWithInstance ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) DeleteWithInstance() pulumi.BoolOutput
Specifies whether to release the system disk when the instance is released.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) Description ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Description() pulumi.StringOutput
System disk description.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) Encrypted ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Encrypted() pulumi.BoolOutput
Encrypted the data in this disk.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) Name ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Name() pulumi.StringOutput
System disk name.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) PerformanceLevel ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) PerformanceLevel() pulumi.StringOutput
The performance level of the ESSD used as the system disk.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) Size ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) Size() pulumi.IntOutput
Size of the system disk, measured in GB.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) SnapshotId ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) SnapshotId() pulumi.StringOutput
The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) ToGetEcsLaunchTemplatesTemplateDataDiskOutput ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) ToGetEcsLaunchTemplatesTemplateDataDiskOutput() GetEcsLaunchTemplatesTemplateDataDiskOutput
func (GetEcsLaunchTemplatesTemplateDataDiskOutput) ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateDataDiskOutput) ToGetEcsLaunchTemplatesTemplateDataDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateDataDiskOutput
type GetEcsLaunchTemplatesTemplateInput ¶
type GetEcsLaunchTemplatesTemplateInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateOutput() GetEcsLaunchTemplatesTemplateOutput ToGetEcsLaunchTemplatesTemplateOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateOutput }
GetEcsLaunchTemplatesTemplateInput is an input type that accepts GetEcsLaunchTemplatesTemplateArgs and GetEcsLaunchTemplatesTemplateOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateInput` via:
GetEcsLaunchTemplatesTemplateArgs{...}
type GetEcsLaunchTemplatesTemplateNetworkInterface ¶
type GetEcsLaunchTemplatesTemplateNetworkInterface struct { // System disk description. Description string `pulumi:"description"` // System disk name. Name string `pulumi:"name"` // The primary private IP address of the ENI. PrimaryIp string `pulumi:"primaryIp"` // The security group ID. SecurityGroupId string `pulumi:"securityGroupId"` // The vswitch id. VswitchId string `pulumi:"vswitchId"` }
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs ¶
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs struct { // System disk description. Description pulumi.StringInput `pulumi:"description"` // System disk name. Name pulumi.StringInput `pulumi:"name"` // The primary private IP address of the ENI. PrimaryIp pulumi.StringInput `pulumi:"primaryIp"` // The security group ID. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // The vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ElementType ¶
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput ¶
func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArray ¶
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArray []GetEcsLaunchTemplatesTemplateNetworkInterfaceInput
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ElementType ¶
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput ¶
func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateNetworkInterfaceArray) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayInput ¶
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput }
GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayInput is an input type that accepts GetEcsLaunchTemplatesTemplateNetworkInterfaceArray and GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayInput` via:
GetEcsLaunchTemplatesTemplateNetworkInterfaceArray{ GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs{...} }
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput ¶
type GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
type GetEcsLaunchTemplatesTemplateNetworkInterfaceInput ¶
type GetEcsLaunchTemplatesTemplateNetworkInterfaceInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput }
GetEcsLaunchTemplatesTemplateNetworkInterfaceInput is an input type that accepts GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs and GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateNetworkInterfaceInput` via:
GetEcsLaunchTemplatesTemplateNetworkInterfaceArgs{...}
type GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput ¶
type GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) Description ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) Description() pulumi.StringOutput
System disk description.
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) Name ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) Name() pulumi.StringOutput
System disk name.
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) PrimaryIp ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) PrimaryIp() pulumi.StringOutput
The primary private IP address of the ENI.
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) SecurityGroupId ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) SecurityGroupId() pulumi.StringOutput
The security group ID.
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutput() GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) ToGetEcsLaunchTemplatesTemplateNetworkInterfaceOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput
func (GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) VswitchId ¶
func (o GetEcsLaunchTemplatesTemplateNetworkInterfaceOutput) VswitchId() pulumi.StringOutput
The vswitch id.
type GetEcsLaunchTemplatesTemplateOutput ¶
type GetEcsLaunchTemplatesTemplateOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateOutput) AutoReleaseTime ¶
func (o GetEcsLaunchTemplatesTemplateOutput) AutoReleaseTime() pulumi.StringOutput
Instance auto release time.
func (GetEcsLaunchTemplatesTemplateOutput) CreatedBy ¶
func (o GetEcsLaunchTemplatesTemplateOutput) CreatedBy() pulumi.StringOutput
CreatedBy.
func (GetEcsLaunchTemplatesTemplateOutput) DataDisks ¶
func (o GetEcsLaunchTemplatesTemplateOutput) DataDisks() GetEcsLaunchTemplatesTemplateDataDiskArrayOutput
The list of data disks created with instance.
func (GetEcsLaunchTemplatesTemplateOutput) DefaultVersionNumber ¶
func (o GetEcsLaunchTemplatesTemplateOutput) DefaultVersionNumber() pulumi.IntOutput
The Default Version Number.
func (GetEcsLaunchTemplatesTemplateOutput) DeploymentSetId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) DeploymentSetId() pulumi.StringOutput
The Deployment Set Id.
func (GetEcsLaunchTemplatesTemplateOutput) Description ¶
func (o GetEcsLaunchTemplatesTemplateOutput) Description() pulumi.StringOutput
System disk description.
func (GetEcsLaunchTemplatesTemplateOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateOutput) EnableVmOsConfig ¶
func (o GetEcsLaunchTemplatesTemplateOutput) EnableVmOsConfig() pulumi.BoolOutput
Whether to enable the instance operating system configuration.
func (GetEcsLaunchTemplatesTemplateOutput) HostName ¶
func (o GetEcsLaunchTemplatesTemplateOutput) HostName() pulumi.StringOutput
Instance host name.
func (GetEcsLaunchTemplatesTemplateOutput) Id ¶
func (o GetEcsLaunchTemplatesTemplateOutput) Id() pulumi.StringOutput
The ID of the Launch Template.
func (GetEcsLaunchTemplatesTemplateOutput) ImageId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ImageId() pulumi.StringOutput
The Image Id.
func (GetEcsLaunchTemplatesTemplateOutput) ImageOwnerAlias ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ImageOwnerAlias() pulumi.StringOutput
Mirror source.
func (GetEcsLaunchTemplatesTemplateOutput) InstanceChargeType ¶
func (o GetEcsLaunchTemplatesTemplateOutput) InstanceChargeType() pulumi.StringOutput
Internet bandwidth billing method.
func (GetEcsLaunchTemplatesTemplateOutput) InstanceName ¶
func (o GetEcsLaunchTemplatesTemplateOutput) InstanceName() pulumi.StringOutput
The Instance Name.
func (GetEcsLaunchTemplatesTemplateOutput) InstanceType ¶
func (o GetEcsLaunchTemplatesTemplateOutput) InstanceType() pulumi.StringOutput
Instance type.
func (GetEcsLaunchTemplatesTemplateOutput) InternetChargeType ¶
func (o GetEcsLaunchTemplatesTemplateOutput) InternetChargeType() pulumi.StringOutput
Internet bandwidth billing method.
func (GetEcsLaunchTemplatesTemplateOutput) InternetMaxBandwidthIn ¶
func (o GetEcsLaunchTemplatesTemplateOutput) InternetMaxBandwidthIn() pulumi.IntOutput
The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
func (GetEcsLaunchTemplatesTemplateOutput) InternetMaxBandwidthOut ¶
func (o GetEcsLaunchTemplatesTemplateOutput) InternetMaxBandwidthOut() pulumi.IntOutput
Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
func (GetEcsLaunchTemplatesTemplateOutput) IoOptimized ¶
func (o GetEcsLaunchTemplatesTemplateOutput) IoOptimized() pulumi.StringOutput
Whether it is an I/O-optimized instance or not.
func (GetEcsLaunchTemplatesTemplateOutput) KeyPairName ¶
func (o GetEcsLaunchTemplatesTemplateOutput) KeyPairName() pulumi.StringOutput
The name of the key pair.
func (GetEcsLaunchTemplatesTemplateOutput) LatestVersionNumber ¶
func (o GetEcsLaunchTemplatesTemplateOutput) LatestVersionNumber() pulumi.IntOutput
The Latest Version Number.
func (GetEcsLaunchTemplatesTemplateOutput) LaunchTemplateId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) LaunchTemplateId() pulumi.StringOutput
The ID of the Launch Template.
func (GetEcsLaunchTemplatesTemplateOutput) LaunchTemplateName ¶
func (o GetEcsLaunchTemplatesTemplateOutput) LaunchTemplateName() pulumi.StringOutput
The Launch Template Name.
func (GetEcsLaunchTemplatesTemplateOutput) ModifiedTime ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ModifiedTime() pulumi.StringOutput
The Modified Time.
func (GetEcsLaunchTemplatesTemplateOutput) NetworkInterfaces ¶
func (o GetEcsLaunchTemplatesTemplateOutput) NetworkInterfaces() GetEcsLaunchTemplatesTemplateNetworkInterfaceArrayOutput
The list of network interfaces created with instance.
func (GetEcsLaunchTemplatesTemplateOutput) NetworkType ¶
func (o GetEcsLaunchTemplatesTemplateOutput) NetworkType() pulumi.StringOutput
Network type of the instance.
func (GetEcsLaunchTemplatesTemplateOutput) PasswordInherit ¶
func (o GetEcsLaunchTemplatesTemplateOutput) PasswordInherit() pulumi.BoolOutput
Whether to use the password preset by the mirror.
func (GetEcsLaunchTemplatesTemplateOutput) Period ¶
func (o GetEcsLaunchTemplatesTemplateOutput) Period() pulumi.IntOutput
The subscription period of the instance.
func (GetEcsLaunchTemplatesTemplateOutput) PrivateIpAddress ¶
func (o GetEcsLaunchTemplatesTemplateOutput) PrivateIpAddress() pulumi.StringOutput
The private IP address of the instance.
func (GetEcsLaunchTemplatesTemplateOutput) RamRoleName ¶
func (o GetEcsLaunchTemplatesTemplateOutput) RamRoleName() pulumi.StringOutput
The RAM role name of the instance.
func (GetEcsLaunchTemplatesTemplateOutput) ResourceGroupId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
func (GetEcsLaunchTemplatesTemplateOutput) SecurityEnhancementStrategy ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SecurityEnhancementStrategy() pulumi.StringOutput
Whether or not to activate the security enhancement feature and install network security software free of charge.
func (GetEcsLaunchTemplatesTemplateOutput) SecurityGroupId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SecurityGroupId() pulumi.StringOutput
The security group ID.
func (GetEcsLaunchTemplatesTemplateOutput) SecurityGroupIds ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SecurityGroupIds() pulumi.StringArrayOutput
The security group IDs.
func (GetEcsLaunchTemplatesTemplateOutput) SpotDuration ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SpotDuration() pulumi.StringOutput
The protection period of the preemptible instance.
func (GetEcsLaunchTemplatesTemplateOutput) SpotPriceLimit ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SpotPriceLimit() pulumi.Float64Output
Sets the maximum hourly instance price.
func (GetEcsLaunchTemplatesTemplateOutput) SpotStrategy ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SpotStrategy() pulumi.StringOutput
The spot strategy for a Pay-As-You-Go instance.
func (GetEcsLaunchTemplatesTemplateOutput) SystemDisks ¶
func (o GetEcsLaunchTemplatesTemplateOutput) SystemDisks() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
The System Disk.
func (GetEcsLaunchTemplatesTemplateOutput) TemplateTags ¶
func (o GetEcsLaunchTemplatesTemplateOutput) TemplateTags() pulumi.MapOutput
The template tags.
func (GetEcsLaunchTemplatesTemplateOutput) ToGetEcsLaunchTemplatesTemplateOutput ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ToGetEcsLaunchTemplatesTemplateOutput() GetEcsLaunchTemplatesTemplateOutput
func (GetEcsLaunchTemplatesTemplateOutput) ToGetEcsLaunchTemplatesTemplateOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ToGetEcsLaunchTemplatesTemplateOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateOutput
func (GetEcsLaunchTemplatesTemplateOutput) UserData ¶
func (o GetEcsLaunchTemplatesTemplateOutput) UserData() pulumi.StringOutput
The User Data.
func (GetEcsLaunchTemplatesTemplateOutput) VersionDescription ¶
func (o GetEcsLaunchTemplatesTemplateOutput) VersionDescription() pulumi.StringOutput
The Version Description.
func (GetEcsLaunchTemplatesTemplateOutput) VpcId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) VpcId() pulumi.StringOutput
VpcId.
func (GetEcsLaunchTemplatesTemplateOutput) VswitchId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) VswitchId() pulumi.StringOutput
The vswitch id.
func (GetEcsLaunchTemplatesTemplateOutput) ZoneId ¶
func (o GetEcsLaunchTemplatesTemplateOutput) ZoneId() pulumi.StringOutput
The Zone Id.
type GetEcsLaunchTemplatesTemplateSystemDisk ¶
type GetEcsLaunchTemplatesTemplateSystemDisk struct { // The category of the system disk. Category string `pulumi:"category"` // Specifies whether to release the system disk when the instance is released. DeleteWithInstance bool `pulumi:"deleteWithInstance"` // System disk description. Description string `pulumi:"description"` // The Iops. Iops string `pulumi:"iops"` // System disk name. Name string `pulumi:"name"` // The performance level of the ESSD used as the system disk. PerformanceLevel string `pulumi:"performanceLevel"` // Size of the system disk, measured in GB. Size int `pulumi:"size"` }
type GetEcsLaunchTemplatesTemplateSystemDiskArgs ¶
type GetEcsLaunchTemplatesTemplateSystemDiskArgs struct { // The category of the system disk. Category pulumi.StringInput `pulumi:"category"` // Specifies whether to release the system disk when the instance is released. DeleteWithInstance pulumi.BoolInput `pulumi:"deleteWithInstance"` // System disk description. Description pulumi.StringInput `pulumi:"description"` // The Iops. Iops pulumi.StringInput `pulumi:"iops"` // System disk name. Name pulumi.StringInput `pulumi:"name"` // The performance level of the ESSD used as the system disk. PerformanceLevel pulumi.StringInput `pulumi:"performanceLevel"` // Size of the system disk, measured in GB. Size pulumi.IntInput `pulumi:"size"` }
func (GetEcsLaunchTemplatesTemplateSystemDiskArgs) ElementType ¶
func (GetEcsLaunchTemplatesTemplateSystemDiskArgs) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateSystemDiskArgs) ToGetEcsLaunchTemplatesTemplateSystemDiskOutput ¶
func (i GetEcsLaunchTemplatesTemplateSystemDiskArgs) ToGetEcsLaunchTemplatesTemplateSystemDiskOutput() GetEcsLaunchTemplatesTemplateSystemDiskOutput
func (GetEcsLaunchTemplatesTemplateSystemDiskArgs) ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateSystemDiskArgs) ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskOutput
type GetEcsLaunchTemplatesTemplateSystemDiskArray ¶
type GetEcsLaunchTemplatesTemplateSystemDiskArray []GetEcsLaunchTemplatesTemplateSystemDiskInput
func (GetEcsLaunchTemplatesTemplateSystemDiskArray) ElementType ¶
func (GetEcsLaunchTemplatesTemplateSystemDiskArray) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateSystemDiskArray) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput ¶
func (i GetEcsLaunchTemplatesTemplateSystemDiskArray) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
func (GetEcsLaunchTemplatesTemplateSystemDiskArray) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext ¶
func (i GetEcsLaunchTemplatesTemplateSystemDiskArray) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
type GetEcsLaunchTemplatesTemplateSystemDiskArrayInput ¶
type GetEcsLaunchTemplatesTemplateSystemDiskArrayInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput }
GetEcsLaunchTemplatesTemplateSystemDiskArrayInput is an input type that accepts GetEcsLaunchTemplatesTemplateSystemDiskArray and GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateSystemDiskArrayInput` via:
GetEcsLaunchTemplatesTemplateSystemDiskArray{ GetEcsLaunchTemplatesTemplateSystemDiskArgs{...} }
type GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput ¶
type GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutput() GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
func (GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskArrayOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskArrayOutput
type GetEcsLaunchTemplatesTemplateSystemDiskInput ¶
type GetEcsLaunchTemplatesTemplateSystemDiskInput interface { pulumi.Input ToGetEcsLaunchTemplatesTemplateSystemDiskOutput() GetEcsLaunchTemplatesTemplateSystemDiskOutput ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext(context.Context) GetEcsLaunchTemplatesTemplateSystemDiskOutput }
GetEcsLaunchTemplatesTemplateSystemDiskInput is an input type that accepts GetEcsLaunchTemplatesTemplateSystemDiskArgs and GetEcsLaunchTemplatesTemplateSystemDiskOutput values. You can construct a concrete instance of `GetEcsLaunchTemplatesTemplateSystemDiskInput` via:
GetEcsLaunchTemplatesTemplateSystemDiskArgs{...}
type GetEcsLaunchTemplatesTemplateSystemDiskOutput ¶
type GetEcsLaunchTemplatesTemplateSystemDiskOutput struct{ *pulumi.OutputState }
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) Category ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Category() pulumi.StringOutput
The category of the system disk.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) DeleteWithInstance ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) DeleteWithInstance() pulumi.BoolOutput
Specifies whether to release the system disk when the instance is released.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) Description ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Description() pulumi.StringOutput
System disk description.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) ElementType ¶
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) ElementType() reflect.Type
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) Iops ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Iops() pulumi.StringOutput
The Iops.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) Name ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Name() pulumi.StringOutput
System disk name.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) PerformanceLevel ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) PerformanceLevel() pulumi.StringOutput
The performance level of the ESSD used as the system disk.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) Size ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) Size() pulumi.IntOutput
Size of the system disk, measured in GB.
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskOutput ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskOutput() GetEcsLaunchTemplatesTemplateSystemDiskOutput
func (GetEcsLaunchTemplatesTemplateSystemDiskOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext ¶
func (o GetEcsLaunchTemplatesTemplateSystemDiskOutput) ToGetEcsLaunchTemplatesTemplateSystemDiskOutputWithContext(ctx context.Context) GetEcsLaunchTemplatesTemplateSystemDiskOutput
type GetEcsNetworkInterfacesArgs ¶ added in v3.3.0
type GetEcsNetworkInterfacesArgs struct { // A list of Network Interface IDs. Ids []string `pulumi:"ids"` // The instance id. InstanceId *string `pulumi:"instanceId"` // The network interface name. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name *string `pulumi:"name"` // A regex string to filter results by Network Interface name. NameRegex *string `pulumi:"nameRegex"` // The network interface name. NetworkInterfaceName *string `pulumi:"networkInterfaceName"` OutputFile *string `pulumi:"outputFile"` // The primary private IP address of the ENI. PrimaryIpAddress *string `pulumi:"primaryIpAddress"` // The primary private IP address of the ENI. // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp *string `pulumi:"privateIp"` // The resource group id. ResourceGroupId *string `pulumi:"resourceGroupId"` // The security group id. SecurityGroupId *string `pulumi:"securityGroupId"` // Whether the user of the elastic network card is a cloud product or a virtual vendor. ServiceManaged *bool `pulumi:"serviceManaged"` // The status of the ENI. Status *string `pulumi:"status"` // The tags. Tags map[string]interface{} `pulumi:"tags"` // The type of the ENI. Type *string `pulumi:"type"` // The Vpc Id. VpcId *string `pulumi:"vpcId"` // The vswitch id. VswitchId *string `pulumi:"vswitchId"` }
A collection of arguments for invoking getEcsNetworkInterfaces.
type GetEcsNetworkInterfacesInterface ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterface struct { // The creation time. CreationTime string `pulumi:"creationTime"` // The description of the ENI. Description string `pulumi:"description"` // The ID of the Network Interface. Id string `pulumi:"id"` // The instance id. InstanceId string `pulumi:"instanceId"` // The MAC address of the ENI. Mac string `pulumi:"mac"` // The network interface name. Name string `pulumi:"name"` // The network interface id. NetworkInterfaceId string `pulumi:"networkInterfaceId"` // The network interface name. NetworkInterfaceName string `pulumi:"networkInterfaceName"` // The primary private IP address of the ENI. PrimaryIpAddress string `pulumi:"primaryIpAddress"` // The primary private IP address of the ENI. PrivateIp string `pulumi:"privateIp"` PrivateIpAddresses []string `pulumi:"privateIpAddresses"` // A list of secondary private IP address that is assigned to the ENI. PrivateIps []string `pulumi:"privateIps"` // Number of network card queues. QueueNumber int `pulumi:"queueNumber"` // The resource group id. ResourceGroupId string `pulumi:"resourceGroupId"` // The security group ids. SecurityGroupIds []string `pulumi:"securityGroupIds"` // The security groups. SecurityGroups []string `pulumi:"securityGroups"` // The service id. ServiceId int `pulumi:"serviceId"` // Whether the user of the elastic network card is a cloud product or a virtual vendor. ServiceManaged bool `pulumi:"serviceManaged"` // The status of the ENI. Status string `pulumi:"status"` // The tags. Tags map[string]interface{} `pulumi:"tags"` // The type of the ENI. Type string `pulumi:"type"` // The Vpc Id. VpcId string `pulumi:"vpcId"` // The vswitch id. VswitchId string `pulumi:"vswitchId"` // The zone id. ZoneId string `pulumi:"zoneId"` }
type GetEcsNetworkInterfacesInterfaceArgs ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterfaceArgs struct { // The creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // The description of the ENI. Description pulumi.StringInput `pulumi:"description"` // The ID of the Network Interface. Id pulumi.StringInput `pulumi:"id"` // The instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The MAC address of the ENI. Mac pulumi.StringInput `pulumi:"mac"` // The network interface name. Name pulumi.StringInput `pulumi:"name"` // The network interface id. NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"` // The network interface name. NetworkInterfaceName pulumi.StringInput `pulumi:"networkInterfaceName"` // The primary private IP address of the ENI. PrimaryIpAddress pulumi.StringInput `pulumi:"primaryIpAddress"` // The primary private IP address of the ENI. PrivateIp pulumi.StringInput `pulumi:"privateIp"` PrivateIpAddresses pulumi.StringArrayInput `pulumi:"privateIpAddresses"` // A list of secondary private IP address that is assigned to the ENI. PrivateIps pulumi.StringArrayInput `pulumi:"privateIps"` // Number of network card queues. QueueNumber pulumi.IntInput `pulumi:"queueNumber"` // The resource group id. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The security group ids. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // The security groups. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` // The service id. ServiceId pulumi.IntInput `pulumi:"serviceId"` // Whether the user of the elastic network card is a cloud product or a virtual vendor. ServiceManaged pulumi.BoolInput `pulumi:"serviceManaged"` // The status of the ENI. Status pulumi.StringInput `pulumi:"status"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` // The type of the ENI. Type pulumi.StringInput `pulumi:"type"` // The Vpc Id. VpcId pulumi.StringInput `pulumi:"vpcId"` // The vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The zone id. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetEcsNetworkInterfacesInterfaceArgs) ElementType ¶ added in v3.3.0
func (GetEcsNetworkInterfacesInterfaceArgs) ElementType() reflect.Type
func (GetEcsNetworkInterfacesInterfaceArgs) ToGetEcsNetworkInterfacesInterfaceOutput ¶ added in v3.3.0
func (i GetEcsNetworkInterfacesInterfaceArgs) ToGetEcsNetworkInterfacesInterfaceOutput() GetEcsNetworkInterfacesInterfaceOutput
func (GetEcsNetworkInterfacesInterfaceArgs) ToGetEcsNetworkInterfacesInterfaceOutputWithContext ¶ added in v3.3.0
func (i GetEcsNetworkInterfacesInterfaceArgs) ToGetEcsNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceOutput
type GetEcsNetworkInterfacesInterfaceArray ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterfaceArray []GetEcsNetworkInterfacesInterfaceInput
func (GetEcsNetworkInterfacesInterfaceArray) ElementType ¶ added in v3.3.0
func (GetEcsNetworkInterfacesInterfaceArray) ElementType() reflect.Type
func (GetEcsNetworkInterfacesInterfaceArray) ToGetEcsNetworkInterfacesInterfaceArrayOutput ¶ added in v3.3.0
func (i GetEcsNetworkInterfacesInterfaceArray) ToGetEcsNetworkInterfacesInterfaceArrayOutput() GetEcsNetworkInterfacesInterfaceArrayOutput
func (GetEcsNetworkInterfacesInterfaceArray) ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext ¶ added in v3.3.0
func (i GetEcsNetworkInterfacesInterfaceArray) ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceArrayOutput
type GetEcsNetworkInterfacesInterfaceArrayInput ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterfaceArrayInput interface { pulumi.Input ToGetEcsNetworkInterfacesInterfaceArrayOutput() GetEcsNetworkInterfacesInterfaceArrayOutput ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext(context.Context) GetEcsNetworkInterfacesInterfaceArrayOutput }
GetEcsNetworkInterfacesInterfaceArrayInput is an input type that accepts GetEcsNetworkInterfacesInterfaceArray and GetEcsNetworkInterfacesInterfaceArrayOutput values. You can construct a concrete instance of `GetEcsNetworkInterfacesInterfaceArrayInput` via:
GetEcsNetworkInterfacesInterfaceArray{ GetEcsNetworkInterfacesInterfaceArgs{...} }
type GetEcsNetworkInterfacesInterfaceArrayOutput ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetEcsNetworkInterfacesInterfaceArrayOutput) ElementType ¶ added in v3.3.0
func (GetEcsNetworkInterfacesInterfaceArrayOutput) ElementType() reflect.Type
func (GetEcsNetworkInterfacesInterfaceArrayOutput) ToGetEcsNetworkInterfacesInterfaceArrayOutput ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceArrayOutput) ToGetEcsNetworkInterfacesInterfaceArrayOutput() GetEcsNetworkInterfacesInterfaceArrayOutput
func (GetEcsNetworkInterfacesInterfaceArrayOutput) ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceArrayOutput) ToGetEcsNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceArrayOutput
type GetEcsNetworkInterfacesInterfaceInput ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterfaceInput interface { pulumi.Input ToGetEcsNetworkInterfacesInterfaceOutput() GetEcsNetworkInterfacesInterfaceOutput ToGetEcsNetworkInterfacesInterfaceOutputWithContext(context.Context) GetEcsNetworkInterfacesInterfaceOutput }
GetEcsNetworkInterfacesInterfaceInput is an input type that accepts GetEcsNetworkInterfacesInterfaceArgs and GetEcsNetworkInterfacesInterfaceOutput values. You can construct a concrete instance of `GetEcsNetworkInterfacesInterfaceInput` via:
GetEcsNetworkInterfacesInterfaceArgs{...}
type GetEcsNetworkInterfacesInterfaceOutput ¶ added in v3.3.0
type GetEcsNetworkInterfacesInterfaceOutput struct{ *pulumi.OutputState }
func (GetEcsNetworkInterfacesInterfaceOutput) CreationTime ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) CreationTime() pulumi.StringOutput
The creation time.
func (GetEcsNetworkInterfacesInterfaceOutput) Description ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Description() pulumi.StringOutput
The description of the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) ElementType ¶ added in v3.3.0
func (GetEcsNetworkInterfacesInterfaceOutput) ElementType() reflect.Type
func (GetEcsNetworkInterfacesInterfaceOutput) Id ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Id() pulumi.StringOutput
The ID of the Network Interface.
func (GetEcsNetworkInterfacesInterfaceOutput) InstanceId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) InstanceId() pulumi.StringOutput
The instance id.
func (GetEcsNetworkInterfacesInterfaceOutput) Mac ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Mac() pulumi.StringOutput
The MAC address of the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) Name ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Name() pulumi.StringOutput
The network interface name.
func (GetEcsNetworkInterfacesInterfaceOutput) NetworkInterfaceId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
The network interface id.
func (GetEcsNetworkInterfacesInterfaceOutput) NetworkInterfaceName ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) NetworkInterfaceName() pulumi.StringOutput
The network interface name.
func (GetEcsNetworkInterfacesInterfaceOutput) PrimaryIpAddress ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) PrimaryIpAddress() pulumi.StringOutput
The primary private IP address of the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) PrivateIp ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) PrivateIp() pulumi.StringOutput
The primary private IP address of the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) PrivateIpAddresses ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) PrivateIpAddresses() pulumi.StringArrayOutput
func (GetEcsNetworkInterfacesInterfaceOutput) PrivateIps ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) PrivateIps() pulumi.StringArrayOutput
A list of secondary private IP address that is assigned to the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) QueueNumber ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) QueueNumber() pulumi.IntOutput
Number of network card queues.
func (GetEcsNetworkInterfacesInterfaceOutput) ResourceGroupId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) ResourceGroupId() pulumi.StringOutput
The resource group id.
func (GetEcsNetworkInterfacesInterfaceOutput) SecurityGroupIds ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) SecurityGroupIds() pulumi.StringArrayOutput
The security group ids.
func (GetEcsNetworkInterfacesInterfaceOutput) SecurityGroups ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
The security groups.
func (GetEcsNetworkInterfacesInterfaceOutput) ServiceId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) ServiceId() pulumi.IntOutput
The service id.
func (GetEcsNetworkInterfacesInterfaceOutput) ServiceManaged ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) ServiceManaged() pulumi.BoolOutput
Whether the user of the elastic network card is a cloud product or a virtual vendor.
func (GetEcsNetworkInterfacesInterfaceOutput) Status ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Status() pulumi.StringOutput
The status of the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) Tags ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Tags() pulumi.MapOutput
The tags.
func (GetEcsNetworkInterfacesInterfaceOutput) ToGetEcsNetworkInterfacesInterfaceOutput ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) ToGetEcsNetworkInterfacesInterfaceOutput() GetEcsNetworkInterfacesInterfaceOutput
func (GetEcsNetworkInterfacesInterfaceOutput) ToGetEcsNetworkInterfacesInterfaceOutputWithContext ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) ToGetEcsNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesInterfaceOutput
func (GetEcsNetworkInterfacesInterfaceOutput) Type ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) Type() pulumi.StringOutput
The type of the ENI.
func (GetEcsNetworkInterfacesInterfaceOutput) VpcId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) VpcId() pulumi.StringOutput
The Vpc Id.
func (GetEcsNetworkInterfacesInterfaceOutput) VswitchId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) VswitchId() pulumi.StringOutput
The vswitch id.
func (GetEcsNetworkInterfacesInterfaceOutput) ZoneId ¶ added in v3.3.0
func (o GetEcsNetworkInterfacesInterfaceOutput) ZoneId() pulumi.StringOutput
The zone id.
type GetEcsNetworkInterfacesOutputArgs ¶ added in v3.9.0
type GetEcsNetworkInterfacesOutputArgs struct { // A list of Network Interface IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The instance id. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // The network interface name. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name pulumi.StringPtrInput `pulumi:"name"` // A regex string to filter results by Network Interface name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // The network interface name. NetworkInterfaceName pulumi.StringPtrInput `pulumi:"networkInterfaceName"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The primary private IP address of the ENI. PrimaryIpAddress pulumi.StringPtrInput `pulumi:"primaryIpAddress"` // The primary private IP address of the ENI. // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // The resource group id. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The security group id. SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` // Whether the user of the elastic network card is a cloud product or a virtual vendor. ServiceManaged pulumi.BoolPtrInput `pulumi:"serviceManaged"` // The status of the ENI. Status pulumi.StringPtrInput `pulumi:"status"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` // The type of the ENI. Type pulumi.StringPtrInput `pulumi:"type"` // The Vpc Id. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // The vswitch id. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
A collection of arguments for invoking getEcsNetworkInterfaces.
func (GetEcsNetworkInterfacesOutputArgs) ElementType ¶ added in v3.9.0
func (GetEcsNetworkInterfacesOutputArgs) ElementType() reflect.Type
type GetEcsNetworkInterfacesResult ¶ added in v3.3.0
type GetEcsNetworkInterfacesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId *string `pulumi:"instanceId"` Interfaces []GetEcsNetworkInterfacesInterface `pulumi:"interfaces"` // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name *string `pulumi:"name"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` NetworkInterfaceName *string `pulumi:"networkInterfaceName"` OutputFile *string `pulumi:"outputFile"` PrimaryIpAddress *string `pulumi:"primaryIpAddress"` // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp *string `pulumi:"privateIp"` ResourceGroupId *string `pulumi:"resourceGroupId"` SecurityGroupId *string `pulumi:"securityGroupId"` ServiceManaged *bool `pulumi:"serviceManaged"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` VpcId *string `pulumi:"vpcId"` VswitchId *string `pulumi:"vswitchId"` }
A collection of values returned by getEcsNetworkInterfaces.
func GetEcsNetworkInterfaces ¶ added in v3.3.0
func GetEcsNetworkInterfaces(ctx *pulumi.Context, args *GetEcsNetworkInterfacesArgs, opts ...pulumi.InvokeOption) (*GetEcsNetworkInterfacesResult, error)
This data source provides the Ecs Network Interfaces of the current Alibaba Cloud user.
> **NOTE:** Available in v1.123.1+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEcsNetworkInterfaces(ctx, &ecs.GetEcsNetworkInterfacesArgs{ Ids: []string{ "eni-abcd1234", }, NameRegex: pulumi.StringRef("tf-testAcc"), }, nil) if err != nil { return err } ctx.Export("firstEcsNetworkInterfaceId", example.Interfaces[0].Id) return nil }) }
```
type GetEcsNetworkInterfacesResultOutput ¶ added in v3.9.0
type GetEcsNetworkInterfacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsNetworkInterfaces.
func GetEcsNetworkInterfacesOutput ¶ added in v3.9.0
func GetEcsNetworkInterfacesOutput(ctx *pulumi.Context, args GetEcsNetworkInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetEcsNetworkInterfacesResultOutput
func (GetEcsNetworkInterfacesResultOutput) ElementType ¶ added in v3.9.0
func (GetEcsNetworkInterfacesResultOutput) ElementType() reflect.Type
func (GetEcsNetworkInterfacesResultOutput) Id ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsNetworkInterfacesResultOutput) Ids ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsNetworkInterfacesResultOutput) InstanceId ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) InstanceId() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) Interfaces ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Interfaces() GetEcsNetworkInterfacesInterfaceArrayOutput
func (GetEcsNetworkInterfacesResultOutput) Name
deprecated
added in
v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Name() pulumi.StringPtrOutput
Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
func (GetEcsNetworkInterfacesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) Names ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsNetworkInterfacesResultOutput) NetworkInterfaceName ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) NetworkInterfaceName() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) PrimaryIpAddress ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) PrimaryIpAddress() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) PrivateIp
deprecated
added in
v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) PrivateIp() pulumi.StringPtrOutput
Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
func (GetEcsNetworkInterfacesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) SecurityGroupId ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) SecurityGroupId() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) ServiceManaged ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) ServiceManaged() pulumi.BoolPtrOutput
func (GetEcsNetworkInterfacesResultOutput) Status ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Status() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) Tags ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Tags() pulumi.MapOutput
func (GetEcsNetworkInterfacesResultOutput) ToGetEcsNetworkInterfacesResultOutput ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) ToGetEcsNetworkInterfacesResultOutput() GetEcsNetworkInterfacesResultOutput
func (GetEcsNetworkInterfacesResultOutput) ToGetEcsNetworkInterfacesResultOutputWithContext ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) ToGetEcsNetworkInterfacesResultOutputWithContext(ctx context.Context) GetEcsNetworkInterfacesResultOutput
func (GetEcsNetworkInterfacesResultOutput) Type ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) Type() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) VpcId ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) VpcId() pulumi.StringPtrOutput
func (GetEcsNetworkInterfacesResultOutput) VswitchId ¶ added in v3.9.0
func (o GetEcsNetworkInterfacesResultOutput) VswitchId() pulumi.StringPtrOutput
type GetEcsPrefixListsArgs ¶ added in v3.16.0
type GetEcsPrefixListsArgs struct { // The address family of the prefix list. Valid values:`IPv4`,`IPv6`. AddressFamily *string `pulumi:"addressFamily"` EnableDetails *bool `pulumi:"enableDetails"` // A list of Prefix List IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by `prefixListName`. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getEcsPrefixLists.
type GetEcsPrefixListsList ¶ added in v3.16.0
type GetEcsPrefixListsList struct { // The address family of the prefix list. Valid values:`IPv4`,`IPv6`. AddressFamily string `pulumi:"addressFamily"` // The amount of associated resources. AssociationCount int `pulumi:"associationCount"` // The time when the prefix list was created. CreateTime string `pulumi:"createTime"` // The description of the prefix list. Description string `pulumi:"description"` Entries []GetEcsPrefixListsListEntry `pulumi:"entries"` // The ID of the prefix list. Id string `pulumi:"id"` // The maximum number of entries that the prefix list supports. MaxEntries int `pulumi:"maxEntries"` // The ID of the prefix list. PrefixListId string `pulumi:"prefixListId"` // The name of the prefix list. PrefixListName string `pulumi:"prefixListName"` }
type GetEcsPrefixListsListArgs ¶ added in v3.16.0
type GetEcsPrefixListsListArgs struct { // The address family of the prefix list. Valid values:`IPv4`,`IPv6`. AddressFamily pulumi.StringInput `pulumi:"addressFamily"` // The amount of associated resources. AssociationCount pulumi.IntInput `pulumi:"associationCount"` // The time when the prefix list was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the prefix list. Description pulumi.StringInput `pulumi:"description"` Entries GetEcsPrefixListsListEntryArrayInput `pulumi:"entries"` // The ID of the prefix list. Id pulumi.StringInput `pulumi:"id"` // The maximum number of entries that the prefix list supports. MaxEntries pulumi.IntInput `pulumi:"maxEntries"` // The ID of the prefix list. PrefixListId pulumi.StringInput `pulumi:"prefixListId"` // The name of the prefix list. PrefixListName pulumi.StringInput `pulumi:"prefixListName"` }
func (GetEcsPrefixListsListArgs) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListArgs) ElementType() reflect.Type
func (GetEcsPrefixListsListArgs) ToGetEcsPrefixListsListOutput ¶ added in v3.16.0
func (i GetEcsPrefixListsListArgs) ToGetEcsPrefixListsListOutput() GetEcsPrefixListsListOutput
func (GetEcsPrefixListsListArgs) ToGetEcsPrefixListsListOutputWithContext ¶ added in v3.16.0
func (i GetEcsPrefixListsListArgs) ToGetEcsPrefixListsListOutputWithContext(ctx context.Context) GetEcsPrefixListsListOutput
type GetEcsPrefixListsListArray ¶ added in v3.16.0
type GetEcsPrefixListsListArray []GetEcsPrefixListsListInput
func (GetEcsPrefixListsListArray) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListArray) ElementType() reflect.Type
func (GetEcsPrefixListsListArray) ToGetEcsPrefixListsListArrayOutput ¶ added in v3.16.0
func (i GetEcsPrefixListsListArray) ToGetEcsPrefixListsListArrayOutput() GetEcsPrefixListsListArrayOutput
func (GetEcsPrefixListsListArray) ToGetEcsPrefixListsListArrayOutputWithContext ¶ added in v3.16.0
func (i GetEcsPrefixListsListArray) ToGetEcsPrefixListsListArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListArrayOutput
type GetEcsPrefixListsListArrayInput ¶ added in v3.16.0
type GetEcsPrefixListsListArrayInput interface { pulumi.Input ToGetEcsPrefixListsListArrayOutput() GetEcsPrefixListsListArrayOutput ToGetEcsPrefixListsListArrayOutputWithContext(context.Context) GetEcsPrefixListsListArrayOutput }
GetEcsPrefixListsListArrayInput is an input type that accepts GetEcsPrefixListsListArray and GetEcsPrefixListsListArrayOutput values. You can construct a concrete instance of `GetEcsPrefixListsListArrayInput` via:
GetEcsPrefixListsListArray{ GetEcsPrefixListsListArgs{...} }
type GetEcsPrefixListsListArrayOutput ¶ added in v3.16.0
type GetEcsPrefixListsListArrayOutput struct{ *pulumi.OutputState }
func (GetEcsPrefixListsListArrayOutput) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListArrayOutput) ElementType() reflect.Type
func (GetEcsPrefixListsListArrayOutput) Index ¶ added in v3.16.0
func (o GetEcsPrefixListsListArrayOutput) Index(i pulumi.IntInput) GetEcsPrefixListsListOutput
func (GetEcsPrefixListsListArrayOutput) ToGetEcsPrefixListsListArrayOutput ¶ added in v3.16.0
func (o GetEcsPrefixListsListArrayOutput) ToGetEcsPrefixListsListArrayOutput() GetEcsPrefixListsListArrayOutput
func (GetEcsPrefixListsListArrayOutput) ToGetEcsPrefixListsListArrayOutputWithContext ¶ added in v3.16.0
func (o GetEcsPrefixListsListArrayOutput) ToGetEcsPrefixListsListArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListArrayOutput
type GetEcsPrefixListsListEntry ¶ added in v3.16.0
type GetEcsPrefixListsListEntryArgs ¶ added in v3.16.0
type GetEcsPrefixListsListEntryArgs struct { Cidr pulumi.StringInput `pulumi:"cidr"` // The description of the prefix list. Description pulumi.StringInput `pulumi:"description"` }
func (GetEcsPrefixListsListEntryArgs) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListEntryArgs) ElementType() reflect.Type
func (GetEcsPrefixListsListEntryArgs) ToGetEcsPrefixListsListEntryOutput ¶ added in v3.16.0
func (i GetEcsPrefixListsListEntryArgs) ToGetEcsPrefixListsListEntryOutput() GetEcsPrefixListsListEntryOutput
func (GetEcsPrefixListsListEntryArgs) ToGetEcsPrefixListsListEntryOutputWithContext ¶ added in v3.16.0
func (i GetEcsPrefixListsListEntryArgs) ToGetEcsPrefixListsListEntryOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryOutput
type GetEcsPrefixListsListEntryArray ¶ added in v3.16.0
type GetEcsPrefixListsListEntryArray []GetEcsPrefixListsListEntryInput
func (GetEcsPrefixListsListEntryArray) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListEntryArray) ElementType() reflect.Type
func (GetEcsPrefixListsListEntryArray) ToGetEcsPrefixListsListEntryArrayOutput ¶ added in v3.16.0
func (i GetEcsPrefixListsListEntryArray) ToGetEcsPrefixListsListEntryArrayOutput() GetEcsPrefixListsListEntryArrayOutput
func (GetEcsPrefixListsListEntryArray) ToGetEcsPrefixListsListEntryArrayOutputWithContext ¶ added in v3.16.0
func (i GetEcsPrefixListsListEntryArray) ToGetEcsPrefixListsListEntryArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryArrayOutput
type GetEcsPrefixListsListEntryArrayInput ¶ added in v3.16.0
type GetEcsPrefixListsListEntryArrayInput interface { pulumi.Input ToGetEcsPrefixListsListEntryArrayOutput() GetEcsPrefixListsListEntryArrayOutput ToGetEcsPrefixListsListEntryArrayOutputWithContext(context.Context) GetEcsPrefixListsListEntryArrayOutput }
GetEcsPrefixListsListEntryArrayInput is an input type that accepts GetEcsPrefixListsListEntryArray and GetEcsPrefixListsListEntryArrayOutput values. You can construct a concrete instance of `GetEcsPrefixListsListEntryArrayInput` via:
GetEcsPrefixListsListEntryArray{ GetEcsPrefixListsListEntryArgs{...} }
type GetEcsPrefixListsListEntryArrayOutput ¶ added in v3.16.0
type GetEcsPrefixListsListEntryArrayOutput struct{ *pulumi.OutputState }
func (GetEcsPrefixListsListEntryArrayOutput) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListEntryArrayOutput) ElementType() reflect.Type
func (GetEcsPrefixListsListEntryArrayOutput) Index ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryArrayOutput) Index(i pulumi.IntInput) GetEcsPrefixListsListEntryOutput
func (GetEcsPrefixListsListEntryArrayOutput) ToGetEcsPrefixListsListEntryArrayOutput ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryArrayOutput) ToGetEcsPrefixListsListEntryArrayOutput() GetEcsPrefixListsListEntryArrayOutput
func (GetEcsPrefixListsListEntryArrayOutput) ToGetEcsPrefixListsListEntryArrayOutputWithContext ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryArrayOutput) ToGetEcsPrefixListsListEntryArrayOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryArrayOutput
type GetEcsPrefixListsListEntryInput ¶ added in v3.16.0
type GetEcsPrefixListsListEntryInput interface { pulumi.Input ToGetEcsPrefixListsListEntryOutput() GetEcsPrefixListsListEntryOutput ToGetEcsPrefixListsListEntryOutputWithContext(context.Context) GetEcsPrefixListsListEntryOutput }
GetEcsPrefixListsListEntryInput is an input type that accepts GetEcsPrefixListsListEntryArgs and GetEcsPrefixListsListEntryOutput values. You can construct a concrete instance of `GetEcsPrefixListsListEntryInput` via:
GetEcsPrefixListsListEntryArgs{...}
type GetEcsPrefixListsListEntryOutput ¶ added in v3.16.0
type GetEcsPrefixListsListEntryOutput struct{ *pulumi.OutputState }
func (GetEcsPrefixListsListEntryOutput) Cidr ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryOutput) Cidr() pulumi.StringOutput
func (GetEcsPrefixListsListEntryOutput) Description ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryOutput) Description() pulumi.StringOutput
The description of the prefix list.
func (GetEcsPrefixListsListEntryOutput) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListEntryOutput) ElementType() reflect.Type
func (GetEcsPrefixListsListEntryOutput) ToGetEcsPrefixListsListEntryOutput ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryOutput) ToGetEcsPrefixListsListEntryOutput() GetEcsPrefixListsListEntryOutput
func (GetEcsPrefixListsListEntryOutput) ToGetEcsPrefixListsListEntryOutputWithContext ¶ added in v3.16.0
func (o GetEcsPrefixListsListEntryOutput) ToGetEcsPrefixListsListEntryOutputWithContext(ctx context.Context) GetEcsPrefixListsListEntryOutput
type GetEcsPrefixListsListInput ¶ added in v3.16.0
type GetEcsPrefixListsListInput interface { pulumi.Input ToGetEcsPrefixListsListOutput() GetEcsPrefixListsListOutput ToGetEcsPrefixListsListOutputWithContext(context.Context) GetEcsPrefixListsListOutput }
GetEcsPrefixListsListInput is an input type that accepts GetEcsPrefixListsListArgs and GetEcsPrefixListsListOutput values. You can construct a concrete instance of `GetEcsPrefixListsListInput` via:
GetEcsPrefixListsListArgs{...}
type GetEcsPrefixListsListOutput ¶ added in v3.16.0
type GetEcsPrefixListsListOutput struct{ *pulumi.OutputState }
func (GetEcsPrefixListsListOutput) AddressFamily ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) AddressFamily() pulumi.StringOutput
The address family of the prefix list. Valid values:`IPv4`,`IPv6`.
func (GetEcsPrefixListsListOutput) AssociationCount ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) AssociationCount() pulumi.IntOutput
The amount of associated resources.
func (GetEcsPrefixListsListOutput) CreateTime ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) CreateTime() pulumi.StringOutput
The time when the prefix list was created.
func (GetEcsPrefixListsListOutput) Description ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) Description() pulumi.StringOutput
The description of the prefix list.
func (GetEcsPrefixListsListOutput) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsListOutput) ElementType() reflect.Type
func (GetEcsPrefixListsListOutput) Entries ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) Entries() GetEcsPrefixListsListEntryArrayOutput
func (GetEcsPrefixListsListOutput) Id ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) Id() pulumi.StringOutput
The ID of the prefix list.
func (GetEcsPrefixListsListOutput) MaxEntries ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) MaxEntries() pulumi.IntOutput
The maximum number of entries that the prefix list supports.
func (GetEcsPrefixListsListOutput) PrefixListId ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) PrefixListId() pulumi.StringOutput
The ID of the prefix list.
func (GetEcsPrefixListsListOutput) PrefixListName ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) PrefixListName() pulumi.StringOutput
The name of the prefix list.
func (GetEcsPrefixListsListOutput) ToGetEcsPrefixListsListOutput ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) ToGetEcsPrefixListsListOutput() GetEcsPrefixListsListOutput
func (GetEcsPrefixListsListOutput) ToGetEcsPrefixListsListOutputWithContext ¶ added in v3.16.0
func (o GetEcsPrefixListsListOutput) ToGetEcsPrefixListsListOutputWithContext(ctx context.Context) GetEcsPrefixListsListOutput
type GetEcsPrefixListsOutputArgs ¶ added in v3.16.0
type GetEcsPrefixListsOutputArgs struct { // The address family of the prefix list. Valid values:`IPv4`,`IPv6`. AddressFamily pulumi.StringPtrInput `pulumi:"addressFamily"` EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Prefix List IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by `prefixListName`. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getEcsPrefixLists.
func (GetEcsPrefixListsOutputArgs) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsOutputArgs) ElementType() reflect.Type
type GetEcsPrefixListsResult ¶ added in v3.16.0
type GetEcsPrefixListsResult struct { AddressFamily *string `pulumi:"addressFamily"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Lists []GetEcsPrefixListsList `pulumi:"lists"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getEcsPrefixLists.
func GetEcsPrefixLists ¶ added in v3.16.0
func GetEcsPrefixLists(ctx *pulumi.Context, args *GetEcsPrefixListsArgs, opts ...pulumi.InvokeOption) (*GetEcsPrefixListsResult, error)
This data source provides the Ecs Prefix Lists of the current Alibaba Cloud user.
> **NOTE:** Available in v1.152.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEcsPrefixLists(ctx, &ecs.GetEcsPrefixListsArgs{ Ids: []string{ "E2RY53-xxxx", }, NameRegex: pulumi.StringRef("tf-testAcc"), }, nil) if err != nil { return err } ctx.Export("outputId", example.Lists[0].Id) return nil }) }
```
type GetEcsPrefixListsResultOutput ¶ added in v3.16.0
type GetEcsPrefixListsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsPrefixLists.
func GetEcsPrefixListsOutput ¶ added in v3.16.0
func GetEcsPrefixListsOutput(ctx *pulumi.Context, args GetEcsPrefixListsOutputArgs, opts ...pulumi.InvokeOption) GetEcsPrefixListsResultOutput
func (GetEcsPrefixListsResultOutput) AddressFamily ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) AddressFamily() pulumi.StringPtrOutput
func (GetEcsPrefixListsResultOutput) ElementType ¶ added in v3.16.0
func (GetEcsPrefixListsResultOutput) ElementType() reflect.Type
func (GetEcsPrefixListsResultOutput) EnableDetails ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetEcsPrefixListsResultOutput) Id ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsPrefixListsResultOutput) Ids ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsPrefixListsResultOutput) Lists ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) Lists() GetEcsPrefixListsListArrayOutput
func (GetEcsPrefixListsResultOutput) NameRegex ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsPrefixListsResultOutput) Names ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsPrefixListsResultOutput) OutputFile ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsPrefixListsResultOutput) ToGetEcsPrefixListsResultOutput ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) ToGetEcsPrefixListsResultOutput() GetEcsPrefixListsResultOutput
func (GetEcsPrefixListsResultOutput) ToGetEcsPrefixListsResultOutputWithContext ¶ added in v3.16.0
func (o GetEcsPrefixListsResultOutput) ToGetEcsPrefixListsResultOutputWithContext(ctx context.Context) GetEcsPrefixListsResultOutput
type GetEcsSnapshotsArgs ¶
type GetEcsSnapshotsArgs struct { // The category of the snapshot. Category *string `pulumi:"category"` // Specifies whether to check the validity of the request without actually making the request. DryRun *bool `pulumi:"dryRun"` // Whether the snapshot is encrypted. Encrypted *bool `pulumi:"encrypted"` // A list of Snapshot IDs. Ids []string `pulumi:"ids"` // The kms key id. KmsKeyId *string `pulumi:"kmsKeyId"` // A regex string to filter results by Snapshot name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The resource group id. ResourceGroupId *string `pulumi:"resourceGroupId"` // The snapshot link id. SnapshotLinkId *string `pulumi:"snapshotLinkId"` // Snapshot Display Name. SnapshotName *string `pulumi:"snapshotName"` // Snapshot creation type. SnapshotType *string `pulumi:"snapshotType"` // Source disk attributes. SourceDiskType *string `pulumi:"sourceDiskType"` // The status of the snapshot. Status *string `pulumi:"status"` // The tags. Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` // A resource type that has a reference relationship. Usage *string `pulumi:"usage"` }
A collection of arguments for invoking getEcsSnapshots.
type GetEcsSnapshotsOutputArgs ¶ added in v3.9.0
type GetEcsSnapshotsOutputArgs struct { // The category of the snapshot. Category pulumi.StringPtrInput `pulumi:"category"` // Specifies whether to check the validity of the request without actually making the request. DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` // Whether the snapshot is encrypted. Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"` // A list of Snapshot IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The kms key id. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // A regex string to filter results by Snapshot name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The resource group id. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The snapshot link id. SnapshotLinkId pulumi.StringPtrInput `pulumi:"snapshotLinkId"` // Snapshot Display Name. SnapshotName pulumi.StringPtrInput `pulumi:"snapshotName"` // Snapshot creation type. SnapshotType pulumi.StringPtrInput `pulumi:"snapshotType"` // Source disk attributes. SourceDiskType pulumi.StringPtrInput `pulumi:"sourceDiskType"` // The status of the snapshot. Status pulumi.StringPtrInput `pulumi:"status"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` Type pulumi.StringPtrInput `pulumi:"type"` // A resource type that has a reference relationship. Usage pulumi.StringPtrInput `pulumi:"usage"` }
A collection of arguments for invoking getEcsSnapshots.
func (GetEcsSnapshotsOutputArgs) ElementType ¶ added in v3.9.0
func (GetEcsSnapshotsOutputArgs) ElementType() reflect.Type
type GetEcsSnapshotsResult ¶
type GetEcsSnapshotsResult struct { Category *string `pulumi:"category"` DryRun *bool `pulumi:"dryRun"` Encrypted *bool `pulumi:"encrypted"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` KmsKeyId *string `pulumi:"kmsKeyId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` ResourceGroupId *string `pulumi:"resourceGroupId"` SnapshotLinkId *string `pulumi:"snapshotLinkId"` SnapshotName *string `pulumi:"snapshotName"` SnapshotType *string `pulumi:"snapshotType"` Snapshots []GetEcsSnapshotsSnapshot `pulumi:"snapshots"` SourceDiskType *string `pulumi:"sourceDiskType"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` Usage *string `pulumi:"usage"` }
A collection of values returned by getEcsSnapshots.
func GetEcsSnapshots ¶
func GetEcsSnapshots(ctx *pulumi.Context, args *GetEcsSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetEcsSnapshotsResult, error)
This data source provides the Ecs Snapshots of the current Alibaba Cloud user.
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEcsSnapshots(ctx, &ecs.GetEcsSnapshotsArgs{ Ids: []string{ "s-bp1fvuxxxxxxxx", }, NameRegex: pulumi.StringRef("tf-test"), }, nil) if err != nil { return err } ctx.Export("firstEcsSnapshotId", example.Snapshots[0].Id) return nil }) }
```
type GetEcsSnapshotsResultOutput ¶ added in v3.9.0
type GetEcsSnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsSnapshots.
func GetEcsSnapshotsOutput ¶ added in v3.9.0
func GetEcsSnapshotsOutput(ctx *pulumi.Context, args GetEcsSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetEcsSnapshotsResultOutput
func (GetEcsSnapshotsResultOutput) Category ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Category() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) DryRun ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetEcsSnapshotsResultOutput) ElementType ¶ added in v3.9.0
func (GetEcsSnapshotsResultOutput) ElementType() reflect.Type
func (GetEcsSnapshotsResultOutput) Encrypted ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Encrypted() pulumi.BoolPtrOutput
func (GetEcsSnapshotsResultOutput) Id ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsSnapshotsResultOutput) Ids ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsSnapshotsResultOutput) KmsKeyId ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) KmsKeyId() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) Names ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsSnapshotsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) SnapshotLinkId ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) SnapshotLinkId() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) SnapshotName ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) SnapshotType ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) SnapshotType() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) Snapshots ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Snapshots() GetEcsSnapshotsSnapshotArrayOutput
func (GetEcsSnapshotsResultOutput) SourceDiskType ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) SourceDiskType() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) Status ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Status() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) Tags ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Tags() pulumi.MapOutput
func (GetEcsSnapshotsResultOutput) ToGetEcsSnapshotsResultOutput ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) ToGetEcsSnapshotsResultOutput() GetEcsSnapshotsResultOutput
func (GetEcsSnapshotsResultOutput) ToGetEcsSnapshotsResultOutputWithContext ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) ToGetEcsSnapshotsResultOutputWithContext(ctx context.Context) GetEcsSnapshotsResultOutput
func (GetEcsSnapshotsResultOutput) Type ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Type() pulumi.StringPtrOutput
func (GetEcsSnapshotsResultOutput) Usage ¶ added in v3.9.0
func (o GetEcsSnapshotsResultOutput) Usage() pulumi.StringPtrOutput
type GetEcsSnapshotsSnapshot ¶
type GetEcsSnapshotsSnapshot struct { // The category of the snapshot. Category string `pulumi:"category"` CreationTime string `pulumi:"creationTime"` // The description of the snapshot. Description string `pulumi:"description"` // The source disk id. DiskId string `pulumi:"diskId"` // Whether the snapshot is encrypted. Encrypted bool `pulumi:"encrypted"` // The ID of the Snapshot. Id string `pulumi:"id"` // Whether snapshot speed availability is enabled. InstantAccess bool `pulumi:"instantAccess"` // Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released. InstantAccessRetentionDays int `pulumi:"instantAccessRetentionDays"` Name string `pulumi:"name"` // The product number inherited from the mirror market. ProductCode string `pulumi:"productCode"` // Snapshot creation progress, in percentage. Progress string `pulumi:"progress"` // Remaining completion time for the snapshot being created. RemainTime int `pulumi:"remainTime"` // The resource group id. ResourceGroupId string `pulumi:"resourceGroupId"` // Automatic snapshot retention days. RetentionDays int `pulumi:"retentionDays"` // The snapshot id. SnapshotId string `pulumi:"snapshotId"` // Snapshot Display Name. SnapshotName string `pulumi:"snapshotName"` // The serial number of the snapshot. SnapshotSn string `pulumi:"snapshotSn"` // Snapshot creation type. SnapshotType string `pulumi:"snapshotType"` SourceDiskId string `pulumi:"sourceDiskId"` // Source disk capacity. SourceDiskSize string `pulumi:"sourceDiskSize"` // Source disk attributes. SourceDiskType string `pulumi:"sourceDiskType"` // Original disk type. SourceStorageType string `pulumi:"sourceStorageType"` // The status of the snapshot. Status string `pulumi:"status"` // The tags. Tags map[string]interface{} `pulumi:"tags"` Type string `pulumi:"type"` // A resource type that has a reference relationship. Usage string `pulumi:"usage"` }
type GetEcsSnapshotsSnapshotArgs ¶
type GetEcsSnapshotsSnapshotArgs struct { // The category of the snapshot. Category pulumi.StringInput `pulumi:"category"` CreationTime pulumi.StringInput `pulumi:"creationTime"` // The description of the snapshot. Description pulumi.StringInput `pulumi:"description"` // The source disk id. DiskId pulumi.StringInput `pulumi:"diskId"` // Whether the snapshot is encrypted. Encrypted pulumi.BoolInput `pulumi:"encrypted"` // The ID of the Snapshot. Id pulumi.StringInput `pulumi:"id"` // Whether snapshot speed availability is enabled. InstantAccess pulumi.BoolInput `pulumi:"instantAccess"` // Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released. InstantAccessRetentionDays pulumi.IntInput `pulumi:"instantAccessRetentionDays"` Name pulumi.StringInput `pulumi:"name"` // The product number inherited from the mirror market. ProductCode pulumi.StringInput `pulumi:"productCode"` // Snapshot creation progress, in percentage. Progress pulumi.StringInput `pulumi:"progress"` // Remaining completion time for the snapshot being created. RemainTime pulumi.IntInput `pulumi:"remainTime"` // The resource group id. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // Automatic snapshot retention days. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` // The snapshot id. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // Snapshot Display Name. SnapshotName pulumi.StringInput `pulumi:"snapshotName"` // The serial number of the snapshot. SnapshotSn pulumi.StringInput `pulumi:"snapshotSn"` // Snapshot creation type. SnapshotType pulumi.StringInput `pulumi:"snapshotType"` SourceDiskId pulumi.StringInput `pulumi:"sourceDiskId"` // Source disk capacity. SourceDiskSize pulumi.StringInput `pulumi:"sourceDiskSize"` // Source disk attributes. SourceDiskType pulumi.StringInput `pulumi:"sourceDiskType"` // Original disk type. SourceStorageType pulumi.StringInput `pulumi:"sourceStorageType"` // The status of the snapshot. Status pulumi.StringInput `pulumi:"status"` // The tags. Tags pulumi.MapInput `pulumi:"tags"` Type pulumi.StringInput `pulumi:"type"` // A resource type that has a reference relationship. Usage pulumi.StringInput `pulumi:"usage"` }
func (GetEcsSnapshotsSnapshotArgs) ElementType ¶
func (GetEcsSnapshotsSnapshotArgs) ElementType() reflect.Type
func (GetEcsSnapshotsSnapshotArgs) ToGetEcsSnapshotsSnapshotOutput ¶
func (i GetEcsSnapshotsSnapshotArgs) ToGetEcsSnapshotsSnapshotOutput() GetEcsSnapshotsSnapshotOutput
func (GetEcsSnapshotsSnapshotArgs) ToGetEcsSnapshotsSnapshotOutputWithContext ¶
func (i GetEcsSnapshotsSnapshotArgs) ToGetEcsSnapshotsSnapshotOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotOutput
type GetEcsSnapshotsSnapshotArray ¶
type GetEcsSnapshotsSnapshotArray []GetEcsSnapshotsSnapshotInput
func (GetEcsSnapshotsSnapshotArray) ElementType ¶
func (GetEcsSnapshotsSnapshotArray) ElementType() reflect.Type
func (GetEcsSnapshotsSnapshotArray) ToGetEcsSnapshotsSnapshotArrayOutput ¶
func (i GetEcsSnapshotsSnapshotArray) ToGetEcsSnapshotsSnapshotArrayOutput() GetEcsSnapshotsSnapshotArrayOutput
func (GetEcsSnapshotsSnapshotArray) ToGetEcsSnapshotsSnapshotArrayOutputWithContext ¶
func (i GetEcsSnapshotsSnapshotArray) ToGetEcsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotArrayOutput
type GetEcsSnapshotsSnapshotArrayInput ¶
type GetEcsSnapshotsSnapshotArrayInput interface { pulumi.Input ToGetEcsSnapshotsSnapshotArrayOutput() GetEcsSnapshotsSnapshotArrayOutput ToGetEcsSnapshotsSnapshotArrayOutputWithContext(context.Context) GetEcsSnapshotsSnapshotArrayOutput }
GetEcsSnapshotsSnapshotArrayInput is an input type that accepts GetEcsSnapshotsSnapshotArray and GetEcsSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetEcsSnapshotsSnapshotArrayInput` via:
GetEcsSnapshotsSnapshotArray{ GetEcsSnapshotsSnapshotArgs{...} }
type GetEcsSnapshotsSnapshotArrayOutput ¶
type GetEcsSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (GetEcsSnapshotsSnapshotArrayOutput) ElementType ¶
func (GetEcsSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
func (GetEcsSnapshotsSnapshotArrayOutput) Index ¶
func (o GetEcsSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetEcsSnapshotsSnapshotOutput
func (GetEcsSnapshotsSnapshotArrayOutput) ToGetEcsSnapshotsSnapshotArrayOutput ¶
func (o GetEcsSnapshotsSnapshotArrayOutput) ToGetEcsSnapshotsSnapshotArrayOutput() GetEcsSnapshotsSnapshotArrayOutput
func (GetEcsSnapshotsSnapshotArrayOutput) ToGetEcsSnapshotsSnapshotArrayOutputWithContext ¶
func (o GetEcsSnapshotsSnapshotArrayOutput) ToGetEcsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotArrayOutput
type GetEcsSnapshotsSnapshotInput ¶
type GetEcsSnapshotsSnapshotInput interface { pulumi.Input ToGetEcsSnapshotsSnapshotOutput() GetEcsSnapshotsSnapshotOutput ToGetEcsSnapshotsSnapshotOutputWithContext(context.Context) GetEcsSnapshotsSnapshotOutput }
GetEcsSnapshotsSnapshotInput is an input type that accepts GetEcsSnapshotsSnapshotArgs and GetEcsSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetEcsSnapshotsSnapshotInput` via:
GetEcsSnapshotsSnapshotArgs{...}
type GetEcsSnapshotsSnapshotOutput ¶
type GetEcsSnapshotsSnapshotOutput struct{ *pulumi.OutputState }
func (GetEcsSnapshotsSnapshotOutput) Category ¶
func (o GetEcsSnapshotsSnapshotOutput) Category() pulumi.StringOutput
The category of the snapshot.
func (GetEcsSnapshotsSnapshotOutput) CreationTime ¶
func (o GetEcsSnapshotsSnapshotOutput) CreationTime() pulumi.StringOutput
func (GetEcsSnapshotsSnapshotOutput) Description ¶
func (o GetEcsSnapshotsSnapshotOutput) Description() pulumi.StringOutput
The description of the snapshot.
func (GetEcsSnapshotsSnapshotOutput) DiskId ¶
func (o GetEcsSnapshotsSnapshotOutput) DiskId() pulumi.StringOutput
The source disk id.
func (GetEcsSnapshotsSnapshotOutput) ElementType ¶
func (GetEcsSnapshotsSnapshotOutput) ElementType() reflect.Type
func (GetEcsSnapshotsSnapshotOutput) Encrypted ¶
func (o GetEcsSnapshotsSnapshotOutput) Encrypted() pulumi.BoolOutput
Whether the snapshot is encrypted.
func (GetEcsSnapshotsSnapshotOutput) Id ¶
func (o GetEcsSnapshotsSnapshotOutput) Id() pulumi.StringOutput
The ID of the Snapshot.
func (GetEcsSnapshotsSnapshotOutput) InstantAccess ¶
func (o GetEcsSnapshotsSnapshotOutput) InstantAccess() pulumi.BoolOutput
Whether snapshot speed availability is enabled.
func (GetEcsSnapshotsSnapshotOutput) InstantAccessRetentionDays ¶
func (o GetEcsSnapshotsSnapshotOutput) InstantAccessRetentionDays() pulumi.IntOutput
Specifies the retention period of the instant access feature. After the retention period ends, the snapshot is automatically released.
func (GetEcsSnapshotsSnapshotOutput) Name ¶
func (o GetEcsSnapshotsSnapshotOutput) Name() pulumi.StringOutput
func (GetEcsSnapshotsSnapshotOutput) ProductCode ¶
func (o GetEcsSnapshotsSnapshotOutput) ProductCode() pulumi.StringOutput
The product number inherited from the mirror market.
func (GetEcsSnapshotsSnapshotOutput) Progress ¶
func (o GetEcsSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
Snapshot creation progress, in percentage.
func (GetEcsSnapshotsSnapshotOutput) RemainTime ¶
func (o GetEcsSnapshotsSnapshotOutput) RemainTime() pulumi.IntOutput
Remaining completion time for the snapshot being created.
func (GetEcsSnapshotsSnapshotOutput) ResourceGroupId ¶
func (o GetEcsSnapshotsSnapshotOutput) ResourceGroupId() pulumi.StringOutput
The resource group id.
func (GetEcsSnapshotsSnapshotOutput) RetentionDays ¶
func (o GetEcsSnapshotsSnapshotOutput) RetentionDays() pulumi.IntOutput
Automatic snapshot retention days.
func (GetEcsSnapshotsSnapshotOutput) SnapshotId ¶
func (o GetEcsSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
The snapshot id.
func (GetEcsSnapshotsSnapshotOutput) SnapshotName ¶
func (o GetEcsSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
Snapshot Display Name.
func (GetEcsSnapshotsSnapshotOutput) SnapshotSn ¶
func (o GetEcsSnapshotsSnapshotOutput) SnapshotSn() pulumi.StringOutput
The serial number of the snapshot.
func (GetEcsSnapshotsSnapshotOutput) SnapshotType ¶
func (o GetEcsSnapshotsSnapshotOutput) SnapshotType() pulumi.StringOutput
Snapshot creation type.
func (GetEcsSnapshotsSnapshotOutput) SourceDiskId ¶
func (o GetEcsSnapshotsSnapshotOutput) SourceDiskId() pulumi.StringOutput
func (GetEcsSnapshotsSnapshotOutput) SourceDiskSize ¶
func (o GetEcsSnapshotsSnapshotOutput) SourceDiskSize() pulumi.StringOutput
Source disk capacity.
func (GetEcsSnapshotsSnapshotOutput) SourceDiskType ¶
func (o GetEcsSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput
Source disk attributes.
func (GetEcsSnapshotsSnapshotOutput) SourceStorageType ¶
func (o GetEcsSnapshotsSnapshotOutput) SourceStorageType() pulumi.StringOutput
Original disk type.
func (GetEcsSnapshotsSnapshotOutput) Status ¶
func (o GetEcsSnapshotsSnapshotOutput) Status() pulumi.StringOutput
The status of the snapshot.
func (GetEcsSnapshotsSnapshotOutput) Tags ¶
func (o GetEcsSnapshotsSnapshotOutput) Tags() pulumi.MapOutput
The tags.
func (GetEcsSnapshotsSnapshotOutput) ToGetEcsSnapshotsSnapshotOutput ¶
func (o GetEcsSnapshotsSnapshotOutput) ToGetEcsSnapshotsSnapshotOutput() GetEcsSnapshotsSnapshotOutput
func (GetEcsSnapshotsSnapshotOutput) ToGetEcsSnapshotsSnapshotOutputWithContext ¶
func (o GetEcsSnapshotsSnapshotOutput) ToGetEcsSnapshotsSnapshotOutputWithContext(ctx context.Context) GetEcsSnapshotsSnapshotOutput
func (GetEcsSnapshotsSnapshotOutput) Type ¶
func (o GetEcsSnapshotsSnapshotOutput) Type() pulumi.StringOutput
func (GetEcsSnapshotsSnapshotOutput) Usage ¶
func (o GetEcsSnapshotsSnapshotOutput) Usage() pulumi.StringOutput
A resource type that has a reference relationship.
type GetEipAddressesAddress ¶ added in v3.4.0
type GetEipAddressesAddress struct { // The name of the EIP. AddressName string `pulumi:"addressName"` // The ID of the EIP. AllocationId string `pulumi:"allocationId"` // The ID of the region to which the EIP belongs. AvailableRegions []string `pulumi:"availableRegions"` // The maximum bandwidth of the EIP. Unit: Mbit/s. Bandwidth string `pulumi:"bandwidth"` // The bandwidth value of the EIP bandwidth plan with which the EIP is associated. BandwidthPackageBandwidth string `pulumi:"bandwidthPackageBandwidth"` // The ID of the EIP bandwidth plan. BandwidthPackageId string `pulumi:"bandwidthPackageId"` // The type of the bandwidth. Only CommonBandwidthPackage (an EIP bandwidth plan) is returned. BandwidthPackageType string `pulumi:"bandwidthPackageType"` // The time when the EIP was created. CreateTime string `pulumi:"createTime"` // Indicates whether deletion protection is enabled. DeletionProtection bool `pulumi:"deletionProtection"` // The description of the EIP. Description string `pulumi:"description"` // The expiration date. The time follows the ISO 8601 standard and is displayed in UTC. Format: YYYY-MM-DDThh:mmZ. ExpiredTime string `pulumi:"expiredTime"` // Indicates whether renewal data is included. This parameter returns true only when the parameter IncludeReservationData is set to true, and some orders have not taken effect. HasReservationData string `pulumi:"hasReservationData"` // Indicates whether fine-grained monitoring is enabled for the EIP. HdMonitorStatus string `pulumi:"hdMonitorStatus"` // The ID of the Address. Id string `pulumi:"id"` // The ID of the instance with which the EIP is associated. InstanceId string `pulumi:"instanceId"` // The region ID of the associated resource. InstanceRegionId string `pulumi:"instanceRegionId"` // The type of the instance with which the EIP is associated. InstanceType string `pulumi:"instanceType"` // The metering method of the EIP. InternetChargeType string `pulumi:"internetChargeType"` // The IP address of the EIP. IpAddress string `pulumi:"ipAddress"` // The Internet service provider (ISP). Isp string `pulumi:"isp"` // The details about the locked EIP. OperationLocks []string `pulumi:"operationLocks"` // The billing method of the EIP. PaymentType string `pulumi:"paymentType"` // The time when the renewal takes effect. ReservationActiveTime string `pulumi:"reservationActiveTime"` // The bandwidth after the renewal takes effect. ReservationBandwidth string `pulumi:"reservationBandwidth"` // The metering method of the renewal. ReservationInternetChargeType string `pulumi:"reservationInternetChargeType"` // The type of the renewal order. ReservationOrderType string `pulumi:"reservationOrderType"` // The ID of the resource group. ResourceGroupId string `pulumi:"resourceGroupId"` // Indicates whether level-2 throttling is configured. SecondLimited bool `pulumi:"secondLimited"` // The IDs of the contiguous EIPs. SegmentInstanceId string `pulumi:"segmentInstanceId"` // The status of the EIP. Status string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetEipAddressesAddressArgs ¶ added in v3.4.0
type GetEipAddressesAddressArgs struct { // The name of the EIP. AddressName pulumi.StringInput `pulumi:"addressName"` // The ID of the EIP. AllocationId pulumi.StringInput `pulumi:"allocationId"` // The ID of the region to which the EIP belongs. AvailableRegions pulumi.StringArrayInput `pulumi:"availableRegions"` // The maximum bandwidth of the EIP. Unit: Mbit/s. Bandwidth pulumi.StringInput `pulumi:"bandwidth"` // The bandwidth value of the EIP bandwidth plan with which the EIP is associated. BandwidthPackageBandwidth pulumi.StringInput `pulumi:"bandwidthPackageBandwidth"` // The ID of the EIP bandwidth plan. BandwidthPackageId pulumi.StringInput `pulumi:"bandwidthPackageId"` // The type of the bandwidth. Only CommonBandwidthPackage (an EIP bandwidth plan) is returned. BandwidthPackageType pulumi.StringInput `pulumi:"bandwidthPackageType"` // The time when the EIP was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // Indicates whether deletion protection is enabled. DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` // The description of the EIP. Description pulumi.StringInput `pulumi:"description"` // The expiration date. The time follows the ISO 8601 standard and is displayed in UTC. Format: YYYY-MM-DDThh:mmZ. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // Indicates whether renewal data is included. This parameter returns true only when the parameter IncludeReservationData is set to true, and some orders have not taken effect. HasReservationData pulumi.StringInput `pulumi:"hasReservationData"` // Indicates whether fine-grained monitoring is enabled for the EIP. HdMonitorStatus pulumi.StringInput `pulumi:"hdMonitorStatus"` // The ID of the Address. Id pulumi.StringInput `pulumi:"id"` // The ID of the instance with which the EIP is associated. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The region ID of the associated resource. InstanceRegionId pulumi.StringInput `pulumi:"instanceRegionId"` // The type of the instance with which the EIP is associated. InstanceType pulumi.StringInput `pulumi:"instanceType"` // The metering method of the EIP. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // The IP address of the EIP. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // The Internet service provider (ISP). Isp pulumi.StringInput `pulumi:"isp"` // The details about the locked EIP. OperationLocks pulumi.StringArrayInput `pulumi:"operationLocks"` // The billing method of the EIP. PaymentType pulumi.StringInput `pulumi:"paymentType"` // The time when the renewal takes effect. ReservationActiveTime pulumi.StringInput `pulumi:"reservationActiveTime"` // The bandwidth after the renewal takes effect. ReservationBandwidth pulumi.StringInput `pulumi:"reservationBandwidth"` // The metering method of the renewal. ReservationInternetChargeType pulumi.StringInput `pulumi:"reservationInternetChargeType"` // The type of the renewal order. ReservationOrderType pulumi.StringInput `pulumi:"reservationOrderType"` // The ID of the resource group. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // Indicates whether level-2 throttling is configured. SecondLimited pulumi.BoolInput `pulumi:"secondLimited"` // The IDs of the contiguous EIPs. SegmentInstanceId pulumi.StringInput `pulumi:"segmentInstanceId"` // The status of the EIP. Status pulumi.StringInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetEipAddressesAddressArgs) ElementType ¶ added in v3.4.0
func (GetEipAddressesAddressArgs) ElementType() reflect.Type
func (GetEipAddressesAddressArgs) ToGetEipAddressesAddressOutput ¶ added in v3.4.0
func (i GetEipAddressesAddressArgs) ToGetEipAddressesAddressOutput() GetEipAddressesAddressOutput
func (GetEipAddressesAddressArgs) ToGetEipAddressesAddressOutputWithContext ¶ added in v3.4.0
func (i GetEipAddressesAddressArgs) ToGetEipAddressesAddressOutputWithContext(ctx context.Context) GetEipAddressesAddressOutput
type GetEipAddressesAddressArray ¶ added in v3.4.0
type GetEipAddressesAddressArray []GetEipAddressesAddressInput
func (GetEipAddressesAddressArray) ElementType ¶ added in v3.4.0
func (GetEipAddressesAddressArray) ElementType() reflect.Type
func (GetEipAddressesAddressArray) ToGetEipAddressesAddressArrayOutput ¶ added in v3.4.0
func (i GetEipAddressesAddressArray) ToGetEipAddressesAddressArrayOutput() GetEipAddressesAddressArrayOutput
func (GetEipAddressesAddressArray) ToGetEipAddressesAddressArrayOutputWithContext ¶ added in v3.4.0
func (i GetEipAddressesAddressArray) ToGetEipAddressesAddressArrayOutputWithContext(ctx context.Context) GetEipAddressesAddressArrayOutput
type GetEipAddressesAddressArrayInput ¶ added in v3.4.0
type GetEipAddressesAddressArrayInput interface { pulumi.Input ToGetEipAddressesAddressArrayOutput() GetEipAddressesAddressArrayOutput ToGetEipAddressesAddressArrayOutputWithContext(context.Context) GetEipAddressesAddressArrayOutput }
GetEipAddressesAddressArrayInput is an input type that accepts GetEipAddressesAddressArray and GetEipAddressesAddressArrayOutput values. You can construct a concrete instance of `GetEipAddressesAddressArrayInput` via:
GetEipAddressesAddressArray{ GetEipAddressesAddressArgs{...} }
type GetEipAddressesAddressArrayOutput ¶ added in v3.4.0
type GetEipAddressesAddressArrayOutput struct{ *pulumi.OutputState }
func (GetEipAddressesAddressArrayOutput) ElementType ¶ added in v3.4.0
func (GetEipAddressesAddressArrayOutput) ElementType() reflect.Type
func (GetEipAddressesAddressArrayOutput) Index ¶ added in v3.4.0
func (o GetEipAddressesAddressArrayOutput) Index(i pulumi.IntInput) GetEipAddressesAddressOutput
func (GetEipAddressesAddressArrayOutput) ToGetEipAddressesAddressArrayOutput ¶ added in v3.4.0
func (o GetEipAddressesAddressArrayOutput) ToGetEipAddressesAddressArrayOutput() GetEipAddressesAddressArrayOutput
func (GetEipAddressesAddressArrayOutput) ToGetEipAddressesAddressArrayOutputWithContext ¶ added in v3.4.0
func (o GetEipAddressesAddressArrayOutput) ToGetEipAddressesAddressArrayOutputWithContext(ctx context.Context) GetEipAddressesAddressArrayOutput
type GetEipAddressesAddressInput ¶ added in v3.4.0
type GetEipAddressesAddressInput interface { pulumi.Input ToGetEipAddressesAddressOutput() GetEipAddressesAddressOutput ToGetEipAddressesAddressOutputWithContext(context.Context) GetEipAddressesAddressOutput }
GetEipAddressesAddressInput is an input type that accepts GetEipAddressesAddressArgs and GetEipAddressesAddressOutput values. You can construct a concrete instance of `GetEipAddressesAddressInput` via:
GetEipAddressesAddressArgs{...}
type GetEipAddressesAddressOutput ¶ added in v3.4.0
type GetEipAddressesAddressOutput struct{ *pulumi.OutputState }
func (GetEipAddressesAddressOutput) AddressName ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) AddressName() pulumi.StringOutput
The name of the EIP.
func (GetEipAddressesAddressOutput) AllocationId ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) AllocationId() pulumi.StringOutput
The ID of the EIP.
func (GetEipAddressesAddressOutput) AvailableRegions ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) AvailableRegions() pulumi.StringArrayOutput
The ID of the region to which the EIP belongs.
func (GetEipAddressesAddressOutput) Bandwidth ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) Bandwidth() pulumi.StringOutput
The maximum bandwidth of the EIP. Unit: Mbit/s.
func (GetEipAddressesAddressOutput) BandwidthPackageBandwidth ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) BandwidthPackageBandwidth() pulumi.StringOutput
The bandwidth value of the EIP bandwidth plan with which the EIP is associated.
func (GetEipAddressesAddressOutput) BandwidthPackageId ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) BandwidthPackageId() pulumi.StringOutput
The ID of the EIP bandwidth plan.
func (GetEipAddressesAddressOutput) BandwidthPackageType ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) BandwidthPackageType() pulumi.StringOutput
The type of the bandwidth. Only CommonBandwidthPackage (an EIP bandwidth plan) is returned.
func (GetEipAddressesAddressOutput) CreateTime ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) CreateTime() pulumi.StringOutput
The time when the EIP was created.
func (GetEipAddressesAddressOutput) DeletionProtection ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) DeletionProtection() pulumi.BoolOutput
Indicates whether deletion protection is enabled.
func (GetEipAddressesAddressOutput) Description ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) Description() pulumi.StringOutput
The description of the EIP.
func (GetEipAddressesAddressOutput) ElementType ¶ added in v3.4.0
func (GetEipAddressesAddressOutput) ElementType() reflect.Type
func (GetEipAddressesAddressOutput) ExpiredTime ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ExpiredTime() pulumi.StringOutput
The expiration date. The time follows the ISO 8601 standard and is displayed in UTC. Format: YYYY-MM-DDThh:mmZ.
func (GetEipAddressesAddressOutput) HasReservationData ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) HasReservationData() pulumi.StringOutput
Indicates whether renewal data is included. This parameter returns true only when the parameter IncludeReservationData is set to true, and some orders have not taken effect.
func (GetEipAddressesAddressOutput) HdMonitorStatus ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) HdMonitorStatus() pulumi.StringOutput
Indicates whether fine-grained monitoring is enabled for the EIP.
func (GetEipAddressesAddressOutput) Id ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) Id() pulumi.StringOutput
The ID of the Address.
func (GetEipAddressesAddressOutput) InstanceId ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) InstanceId() pulumi.StringOutput
The ID of the instance with which the EIP is associated.
func (GetEipAddressesAddressOutput) InstanceRegionId ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) InstanceRegionId() pulumi.StringOutput
The region ID of the associated resource.
func (GetEipAddressesAddressOutput) InstanceType ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) InstanceType() pulumi.StringOutput
The type of the instance with which the EIP is associated.
func (GetEipAddressesAddressOutput) InternetChargeType ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) InternetChargeType() pulumi.StringOutput
The metering method of the EIP.
func (GetEipAddressesAddressOutput) IpAddress ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) IpAddress() pulumi.StringOutput
The IP address of the EIP.
func (GetEipAddressesAddressOutput) Isp ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) Isp() pulumi.StringOutput
The Internet service provider (ISP).
func (GetEipAddressesAddressOutput) OperationLocks ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) OperationLocks() pulumi.StringArrayOutput
The details about the locked EIP.
func (GetEipAddressesAddressOutput) PaymentType ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) PaymentType() pulumi.StringOutput
The billing method of the EIP.
func (GetEipAddressesAddressOutput) ReservationActiveTime ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ReservationActiveTime() pulumi.StringOutput
The time when the renewal takes effect.
func (GetEipAddressesAddressOutput) ReservationBandwidth ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ReservationBandwidth() pulumi.StringOutput
The bandwidth after the renewal takes effect.
func (GetEipAddressesAddressOutput) ReservationInternetChargeType ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ReservationInternetChargeType() pulumi.StringOutput
The metering method of the renewal.
func (GetEipAddressesAddressOutput) ReservationOrderType ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ReservationOrderType() pulumi.StringOutput
The type of the renewal order.
func (GetEipAddressesAddressOutput) ResourceGroupId ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group.
func (GetEipAddressesAddressOutput) SecondLimited ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) SecondLimited() pulumi.BoolOutput
Indicates whether level-2 throttling is configured.
func (GetEipAddressesAddressOutput) SegmentInstanceId ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) SegmentInstanceId() pulumi.StringOutput
The IDs of the contiguous EIPs.
func (GetEipAddressesAddressOutput) Status ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) Status() pulumi.StringOutput
The status of the EIP.
func (GetEipAddressesAddressOutput) Tags ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetEipAddressesAddressOutput) ToGetEipAddressesAddressOutput ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ToGetEipAddressesAddressOutput() GetEipAddressesAddressOutput
func (GetEipAddressesAddressOutput) ToGetEipAddressesAddressOutputWithContext ¶ added in v3.4.0
func (o GetEipAddressesAddressOutput) ToGetEipAddressesAddressOutputWithContext(ctx context.Context) GetEipAddressesAddressOutput
type GetEipAddressesArgs ¶ added in v3.4.0
type GetEipAddressesArgs struct { // The name of the EIP. AddressName *string `pulumi:"addressName"` // The associated instance id. AssociatedInstanceId *string `pulumi:"associatedInstanceId"` // The associated instance type. AssociatedInstanceType *string `pulumi:"associatedInstanceType"` // The dry run. DryRun *bool `pulumi:"dryRun"` // Default to `tue`. Set it to `false` can hidden the `tags` to output. EnableDetails *bool `pulumi:"enableDetails"` // A list of Address IDs. Ids []string `pulumi:"ids"` // The include reservation data. Valid values: `BGP` and `BGP_PRO`. IncludeReservationData *bool `pulumi:"includeReservationData"` // The IP address of the EIP. IpAddress *string `pulumi:"ipAddress"` // Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead. IpAddresses []string `pulumi:"ipAddresses"` // The Internet service provider (ISP). Isp *string `pulumi:"isp"` // The lock reason. LockReason *string `pulumi:"lockReason"` // A regex string to filter results by Address name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The billing method of the EIP. PaymentType *string `pulumi:"paymentType"` // The ID of the resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` // The IDs of the contiguous EIPs. SegmentInstanceId *string `pulumi:"segmentInstanceId"` // The status of the EIP. Status *string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getEipAddresses.
type GetEipAddressesEip ¶ added in v3.4.0
type GetEipAddressesEip struct { // The maximum bandwidth of the EIP. Unit: Mbit/s. Bandwidth string `pulumi:"bandwidth"` CreationTime string `pulumi:"creationTime"` // Indicates whether deletion protection is enabled. DeletionProtection bool `pulumi:"deletionProtection"` // The ID of the Address. Id string `pulumi:"id"` // The ID of the instance with which the EIP is associated. InstanceId string `pulumi:"instanceId"` // The type of the instance with which the EIP is associated. InstanceType string `pulumi:"instanceType"` // The metering method of the EIP. InternetChargeType string `pulumi:"internetChargeType"` // The IP address of the EIP. IpAddress string `pulumi:"ipAddress"` // The status of the EIP. Status string `pulumi:"status"` }
type GetEipAddressesEipArgs ¶ added in v3.4.0
type GetEipAddressesEipArgs struct { // The maximum bandwidth of the EIP. Unit: Mbit/s. Bandwidth pulumi.StringInput `pulumi:"bandwidth"` CreationTime pulumi.StringInput `pulumi:"creationTime"` // Indicates whether deletion protection is enabled. DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` // The ID of the Address. Id pulumi.StringInput `pulumi:"id"` // The ID of the instance with which the EIP is associated. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The type of the instance with which the EIP is associated. InstanceType pulumi.StringInput `pulumi:"instanceType"` // The metering method of the EIP. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // The IP address of the EIP. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // The status of the EIP. Status pulumi.StringInput `pulumi:"status"` }
func (GetEipAddressesEipArgs) ElementType ¶ added in v3.4.0
func (GetEipAddressesEipArgs) ElementType() reflect.Type
func (GetEipAddressesEipArgs) ToGetEipAddressesEipOutput ¶ added in v3.4.0
func (i GetEipAddressesEipArgs) ToGetEipAddressesEipOutput() GetEipAddressesEipOutput
func (GetEipAddressesEipArgs) ToGetEipAddressesEipOutputWithContext ¶ added in v3.4.0
func (i GetEipAddressesEipArgs) ToGetEipAddressesEipOutputWithContext(ctx context.Context) GetEipAddressesEipOutput
type GetEipAddressesEipArray ¶ added in v3.4.0
type GetEipAddressesEipArray []GetEipAddressesEipInput
func (GetEipAddressesEipArray) ElementType ¶ added in v3.4.0
func (GetEipAddressesEipArray) ElementType() reflect.Type
func (GetEipAddressesEipArray) ToGetEipAddressesEipArrayOutput ¶ added in v3.4.0
func (i GetEipAddressesEipArray) ToGetEipAddressesEipArrayOutput() GetEipAddressesEipArrayOutput
func (GetEipAddressesEipArray) ToGetEipAddressesEipArrayOutputWithContext ¶ added in v3.4.0
func (i GetEipAddressesEipArray) ToGetEipAddressesEipArrayOutputWithContext(ctx context.Context) GetEipAddressesEipArrayOutput
type GetEipAddressesEipArrayInput ¶ added in v3.4.0
type GetEipAddressesEipArrayInput interface { pulumi.Input ToGetEipAddressesEipArrayOutput() GetEipAddressesEipArrayOutput ToGetEipAddressesEipArrayOutputWithContext(context.Context) GetEipAddressesEipArrayOutput }
GetEipAddressesEipArrayInput is an input type that accepts GetEipAddressesEipArray and GetEipAddressesEipArrayOutput values. You can construct a concrete instance of `GetEipAddressesEipArrayInput` via:
GetEipAddressesEipArray{ GetEipAddressesEipArgs{...} }
type GetEipAddressesEipArrayOutput ¶ added in v3.4.0
type GetEipAddressesEipArrayOutput struct{ *pulumi.OutputState }
func (GetEipAddressesEipArrayOutput) ElementType ¶ added in v3.4.0
func (GetEipAddressesEipArrayOutput) ElementType() reflect.Type
func (GetEipAddressesEipArrayOutput) Index ¶ added in v3.4.0
func (o GetEipAddressesEipArrayOutput) Index(i pulumi.IntInput) GetEipAddressesEipOutput
func (GetEipAddressesEipArrayOutput) ToGetEipAddressesEipArrayOutput ¶ added in v3.4.0
func (o GetEipAddressesEipArrayOutput) ToGetEipAddressesEipArrayOutput() GetEipAddressesEipArrayOutput
func (GetEipAddressesEipArrayOutput) ToGetEipAddressesEipArrayOutputWithContext ¶ added in v3.4.0
func (o GetEipAddressesEipArrayOutput) ToGetEipAddressesEipArrayOutputWithContext(ctx context.Context) GetEipAddressesEipArrayOutput
type GetEipAddressesEipInput ¶ added in v3.4.0
type GetEipAddressesEipInput interface { pulumi.Input ToGetEipAddressesEipOutput() GetEipAddressesEipOutput ToGetEipAddressesEipOutputWithContext(context.Context) GetEipAddressesEipOutput }
GetEipAddressesEipInput is an input type that accepts GetEipAddressesEipArgs and GetEipAddressesEipOutput values. You can construct a concrete instance of `GetEipAddressesEipInput` via:
GetEipAddressesEipArgs{...}
type GetEipAddressesEipOutput ¶ added in v3.4.0
type GetEipAddressesEipOutput struct{ *pulumi.OutputState }
func (GetEipAddressesEipOutput) Bandwidth ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) Bandwidth() pulumi.StringOutput
The maximum bandwidth of the EIP. Unit: Mbit/s.
func (GetEipAddressesEipOutput) CreationTime ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) CreationTime() pulumi.StringOutput
func (GetEipAddressesEipOutput) DeletionProtection ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) DeletionProtection() pulumi.BoolOutput
Indicates whether deletion protection is enabled.
func (GetEipAddressesEipOutput) ElementType ¶ added in v3.4.0
func (GetEipAddressesEipOutput) ElementType() reflect.Type
func (GetEipAddressesEipOutput) Id ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) Id() pulumi.StringOutput
The ID of the Address.
func (GetEipAddressesEipOutput) InstanceId ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) InstanceId() pulumi.StringOutput
The ID of the instance with which the EIP is associated.
func (GetEipAddressesEipOutput) InstanceType ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) InstanceType() pulumi.StringOutput
The type of the instance with which the EIP is associated.
func (GetEipAddressesEipOutput) InternetChargeType ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) InternetChargeType() pulumi.StringOutput
The metering method of the EIP.
func (GetEipAddressesEipOutput) IpAddress ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) IpAddress() pulumi.StringOutput
The IP address of the EIP.
func (GetEipAddressesEipOutput) Status ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) Status() pulumi.StringOutput
The status of the EIP.
func (GetEipAddressesEipOutput) ToGetEipAddressesEipOutput ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) ToGetEipAddressesEipOutput() GetEipAddressesEipOutput
func (GetEipAddressesEipOutput) ToGetEipAddressesEipOutputWithContext ¶ added in v3.4.0
func (o GetEipAddressesEipOutput) ToGetEipAddressesEipOutputWithContext(ctx context.Context) GetEipAddressesEipOutput
type GetEipAddressesOutputArgs ¶ added in v3.9.0
type GetEipAddressesOutputArgs struct { // The name of the EIP. AddressName pulumi.StringPtrInput `pulumi:"addressName"` // The associated instance id. AssociatedInstanceId pulumi.StringPtrInput `pulumi:"associatedInstanceId"` // The associated instance type. AssociatedInstanceType pulumi.StringPtrInput `pulumi:"associatedInstanceType"` // The dry run. DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` // Default to `tue`. Set it to `false` can hidden the `tags` to output. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Address IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The include reservation data. Valid values: `BGP` and `BGP_PRO`. IncludeReservationData pulumi.BoolPtrInput `pulumi:"includeReservationData"` // The IP address of the EIP. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` // Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead. IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` // The Internet service provider (ISP). Isp pulumi.StringPtrInput `pulumi:"isp"` // The lock reason. LockReason pulumi.StringPtrInput `pulumi:"lockReason"` // A regex string to filter results by Address name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The billing method of the EIP. PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The IDs of the contiguous EIPs. SegmentInstanceId pulumi.StringPtrInput `pulumi:"segmentInstanceId"` // The status of the EIP. Status pulumi.StringPtrInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getEipAddresses.
func (GetEipAddressesOutputArgs) ElementType ¶ added in v3.9.0
func (GetEipAddressesOutputArgs) ElementType() reflect.Type
type GetEipAddressesResult ¶ added in v3.4.0
type GetEipAddressesResult struct { AddressName *string `pulumi:"addressName"` Addresses []GetEipAddressesAddress `pulumi:"addresses"` AssociatedInstanceId *string `pulumi:"associatedInstanceId"` AssociatedInstanceType *string `pulumi:"associatedInstanceType"` DryRun *bool `pulumi:"dryRun"` // Deprecated: Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead. Eips []GetEipAddressesEip `pulumi:"eips"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` IncludeReservationData *bool `pulumi:"includeReservationData"` IpAddress *string `pulumi:"ipAddress"` // Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead. IpAddresses []string `pulumi:"ipAddresses"` Isp *string `pulumi:"isp"` LockReason *string `pulumi:"lockReason"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PaymentType *string `pulumi:"paymentType"` ResourceGroupId *string `pulumi:"resourceGroupId"` SegmentInstanceId *string `pulumi:"segmentInstanceId"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getEipAddresses.
func GetEipAddresses ¶ added in v3.4.0
func GetEipAddresses(ctx *pulumi.Context, args *GetEipAddressesArgs, opts ...pulumi.InvokeOption) (*GetEipAddressesResult, error)
This data source provides the Eip Addresses of the current Alibaba Cloud user.
> **NOTE:** Available in v1.126.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetEipAddresses(ctx, &ecs.GetEipAddressesArgs{ Ids: []string{ "eip-bp1jvx5ki6c********", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstEipAddressId", example.Addresses[0].Id) return nil }) }
```
type GetEipAddressesResultOutput ¶ added in v3.9.0
type GetEipAddressesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEipAddresses.
func GetEipAddressesOutput ¶ added in v3.9.0
func GetEipAddressesOutput(ctx *pulumi.Context, args GetEipAddressesOutputArgs, opts ...pulumi.InvokeOption) GetEipAddressesResultOutput
func (GetEipAddressesResultOutput) AddressName ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) AddressName() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) Addresses ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Addresses() GetEipAddressesAddressArrayOutput
func (GetEipAddressesResultOutput) AssociatedInstanceId ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) AssociatedInstanceId() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) AssociatedInstanceType ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) AssociatedInstanceType() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) DryRun ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetEipAddressesResultOutput) Eips
deprecated
added in
v3.9.0
func (o GetEipAddressesResultOutput) Eips() GetEipAddressesEipArrayOutput
Deprecated: Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.
func (GetEipAddressesResultOutput) ElementType ¶ added in v3.9.0
func (GetEipAddressesResultOutput) ElementType() reflect.Type
func (GetEipAddressesResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetEipAddressesResultOutput) Id ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEipAddressesResultOutput) Ids ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEipAddressesResultOutput) IncludeReservationData ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) IncludeReservationData() pulumi.BoolPtrOutput
func (GetEipAddressesResultOutput) IpAddress ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) IpAddress() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) IpAddresses
deprecated
added in
v3.9.0
func (o GetEipAddressesResultOutput) IpAddresses() pulumi.StringArrayOutput
Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.
func (GetEipAddressesResultOutput) Isp ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Isp() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) LockReason ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) LockReason() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) Names ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Names() pulumi.StringArrayOutput
func (GetEipAddressesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) PaymentType ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) SegmentInstanceId ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) SegmentInstanceId() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) Status ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Status() pulumi.StringPtrOutput
func (GetEipAddressesResultOutput) Tags ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) Tags() pulumi.MapOutput
func (GetEipAddressesResultOutput) ToGetEipAddressesResultOutput ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) ToGetEipAddressesResultOutput() GetEipAddressesResultOutput
func (GetEipAddressesResultOutput) ToGetEipAddressesResultOutputWithContext ¶ added in v3.9.0
func (o GetEipAddressesResultOutput) ToGetEipAddressesResultOutputWithContext(ctx context.Context) GetEipAddressesResultOutput
type GetEipsAddress ¶ added in v3.4.0
type GetEipsAddress struct { AddressName string `pulumi:"addressName"` AllocationId string `pulumi:"allocationId"` AvailableRegions []string `pulumi:"availableRegions"` // EIP internet max bandwidth in Mbps. Bandwidth string `pulumi:"bandwidth"` BandwidthPackageBandwidth string `pulumi:"bandwidthPackageBandwidth"` BandwidthPackageId string `pulumi:"bandwidthPackageId"` BandwidthPackageType string `pulumi:"bandwidthPackageType"` CreateTime string `pulumi:"createTime"` // (Optional, Available in v1.124.4+) Whether enable the deletion protection or not. DeletionProtection bool `pulumi:"deletionProtection"` Description string `pulumi:"description"` ExpiredTime string `pulumi:"expiredTime"` HasReservationData string `pulumi:"hasReservationData"` HdMonitorStatus string `pulumi:"hdMonitorStatus"` // ID of the EIP. Id string `pulumi:"id"` // The ID of the instance that is being bound. InstanceId string `pulumi:"instanceId"` InstanceRegionId string `pulumi:"instanceRegionId"` // The instance type of that the EIP is bound. InstanceType string `pulumi:"instanceType"` // EIP internet charge type. InternetChargeType string `pulumi:"internetChargeType"` // Public IP Address of the the EIP. IpAddress string `pulumi:"ipAddress"` Isp string `pulumi:"isp"` OperationLocks []string `pulumi:"operationLocks"` PaymentType string `pulumi:"paymentType"` ReservationActiveTime string `pulumi:"reservationActiveTime"` ReservationBandwidth string `pulumi:"reservationBandwidth"` ReservationInternetChargeType string `pulumi:"reservationInternetChargeType"` ReservationOrderType string `pulumi:"reservationOrderType"` // The Id of resource group which the eips belongs. ResourceGroupId string `pulumi:"resourceGroupId"` SecondLimited bool `pulumi:"secondLimited"` SegmentInstanceId string `pulumi:"segmentInstanceId"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetEipsAddressArgs ¶ added in v3.4.0
type GetEipsAddressArgs struct { AddressName pulumi.StringInput `pulumi:"addressName"` AllocationId pulumi.StringInput `pulumi:"allocationId"` AvailableRegions pulumi.StringArrayInput `pulumi:"availableRegions"` // EIP internet max bandwidth in Mbps. Bandwidth pulumi.StringInput `pulumi:"bandwidth"` BandwidthPackageBandwidth pulumi.StringInput `pulumi:"bandwidthPackageBandwidth"` BandwidthPackageId pulumi.StringInput `pulumi:"bandwidthPackageId"` BandwidthPackageType pulumi.StringInput `pulumi:"bandwidthPackageType"` CreateTime pulumi.StringInput `pulumi:"createTime"` // (Optional, Available in v1.124.4+) Whether enable the deletion protection or not. DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` Description pulumi.StringInput `pulumi:"description"` ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` HasReservationData pulumi.StringInput `pulumi:"hasReservationData"` HdMonitorStatus pulumi.StringInput `pulumi:"hdMonitorStatus"` // ID of the EIP. Id pulumi.StringInput `pulumi:"id"` // The ID of the instance that is being bound. InstanceId pulumi.StringInput `pulumi:"instanceId"` InstanceRegionId pulumi.StringInput `pulumi:"instanceRegionId"` // The instance type of that the EIP is bound. InstanceType pulumi.StringInput `pulumi:"instanceType"` // EIP internet charge type. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // Public IP Address of the the EIP. IpAddress pulumi.StringInput `pulumi:"ipAddress"` Isp pulumi.StringInput `pulumi:"isp"` OperationLocks pulumi.StringArrayInput `pulumi:"operationLocks"` PaymentType pulumi.StringInput `pulumi:"paymentType"` ReservationActiveTime pulumi.StringInput `pulumi:"reservationActiveTime"` ReservationBandwidth pulumi.StringInput `pulumi:"reservationBandwidth"` ReservationInternetChargeType pulumi.StringInput `pulumi:"reservationInternetChargeType"` ReservationOrderType pulumi.StringInput `pulumi:"reservationOrderType"` // The Id of resource group which the eips belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` SecondLimited pulumi.BoolInput `pulumi:"secondLimited"` SegmentInstanceId pulumi.StringInput `pulumi:"segmentInstanceId"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status pulumi.StringInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetEipsAddressArgs) ElementType ¶ added in v3.4.0
func (GetEipsAddressArgs) ElementType() reflect.Type
func (GetEipsAddressArgs) ToGetEipsAddressOutput ¶ added in v3.4.0
func (i GetEipsAddressArgs) ToGetEipsAddressOutput() GetEipsAddressOutput
func (GetEipsAddressArgs) ToGetEipsAddressOutputWithContext ¶ added in v3.4.0
func (i GetEipsAddressArgs) ToGetEipsAddressOutputWithContext(ctx context.Context) GetEipsAddressOutput
type GetEipsAddressArray ¶ added in v3.4.0
type GetEipsAddressArray []GetEipsAddressInput
func (GetEipsAddressArray) ElementType ¶ added in v3.4.0
func (GetEipsAddressArray) ElementType() reflect.Type
func (GetEipsAddressArray) ToGetEipsAddressArrayOutput ¶ added in v3.4.0
func (i GetEipsAddressArray) ToGetEipsAddressArrayOutput() GetEipsAddressArrayOutput
func (GetEipsAddressArray) ToGetEipsAddressArrayOutputWithContext ¶ added in v3.4.0
func (i GetEipsAddressArray) ToGetEipsAddressArrayOutputWithContext(ctx context.Context) GetEipsAddressArrayOutput
type GetEipsAddressArrayInput ¶ added in v3.4.0
type GetEipsAddressArrayInput interface { pulumi.Input ToGetEipsAddressArrayOutput() GetEipsAddressArrayOutput ToGetEipsAddressArrayOutputWithContext(context.Context) GetEipsAddressArrayOutput }
GetEipsAddressArrayInput is an input type that accepts GetEipsAddressArray and GetEipsAddressArrayOutput values. You can construct a concrete instance of `GetEipsAddressArrayInput` via:
GetEipsAddressArray{ GetEipsAddressArgs{...} }
type GetEipsAddressArrayOutput ¶ added in v3.4.0
type GetEipsAddressArrayOutput struct{ *pulumi.OutputState }
func (GetEipsAddressArrayOutput) ElementType ¶ added in v3.4.0
func (GetEipsAddressArrayOutput) ElementType() reflect.Type
func (GetEipsAddressArrayOutput) Index ¶ added in v3.4.0
func (o GetEipsAddressArrayOutput) Index(i pulumi.IntInput) GetEipsAddressOutput
func (GetEipsAddressArrayOutput) ToGetEipsAddressArrayOutput ¶ added in v3.4.0
func (o GetEipsAddressArrayOutput) ToGetEipsAddressArrayOutput() GetEipsAddressArrayOutput
func (GetEipsAddressArrayOutput) ToGetEipsAddressArrayOutputWithContext ¶ added in v3.4.0
func (o GetEipsAddressArrayOutput) ToGetEipsAddressArrayOutputWithContext(ctx context.Context) GetEipsAddressArrayOutput
type GetEipsAddressInput ¶ added in v3.4.0
type GetEipsAddressInput interface { pulumi.Input ToGetEipsAddressOutput() GetEipsAddressOutput ToGetEipsAddressOutputWithContext(context.Context) GetEipsAddressOutput }
GetEipsAddressInput is an input type that accepts GetEipsAddressArgs and GetEipsAddressOutput values. You can construct a concrete instance of `GetEipsAddressInput` via:
GetEipsAddressArgs{...}
type GetEipsAddressOutput ¶ added in v3.4.0
type GetEipsAddressOutput struct{ *pulumi.OutputState }
func (GetEipsAddressOutput) AddressName ¶ added in v3.4.0
func (o GetEipsAddressOutput) AddressName() pulumi.StringOutput
func (GetEipsAddressOutput) AllocationId ¶ added in v3.4.0
func (o GetEipsAddressOutput) AllocationId() pulumi.StringOutput
func (GetEipsAddressOutput) AvailableRegions ¶ added in v3.4.0
func (o GetEipsAddressOutput) AvailableRegions() pulumi.StringArrayOutput
func (GetEipsAddressOutput) Bandwidth ¶ added in v3.4.0
func (o GetEipsAddressOutput) Bandwidth() pulumi.StringOutput
EIP internet max bandwidth in Mbps.
func (GetEipsAddressOutput) BandwidthPackageBandwidth ¶ added in v3.4.0
func (o GetEipsAddressOutput) BandwidthPackageBandwidth() pulumi.StringOutput
func (GetEipsAddressOutput) BandwidthPackageId ¶ added in v3.4.0
func (o GetEipsAddressOutput) BandwidthPackageId() pulumi.StringOutput
func (GetEipsAddressOutput) BandwidthPackageType ¶ added in v3.4.0
func (o GetEipsAddressOutput) BandwidthPackageType() pulumi.StringOutput
func (GetEipsAddressOutput) CreateTime ¶ added in v3.4.0
func (o GetEipsAddressOutput) CreateTime() pulumi.StringOutput
func (GetEipsAddressOutput) DeletionProtection ¶ added in v3.4.0
func (o GetEipsAddressOutput) DeletionProtection() pulumi.BoolOutput
(Optional, Available in v1.124.4+) Whether enable the deletion protection or not.
func (GetEipsAddressOutput) Description ¶ added in v3.4.0
func (o GetEipsAddressOutput) Description() pulumi.StringOutput
func (GetEipsAddressOutput) ElementType ¶ added in v3.4.0
func (GetEipsAddressOutput) ElementType() reflect.Type
func (GetEipsAddressOutput) ExpiredTime ¶ added in v3.4.0
func (o GetEipsAddressOutput) ExpiredTime() pulumi.StringOutput
func (GetEipsAddressOutput) HasReservationData ¶ added in v3.4.0
func (o GetEipsAddressOutput) HasReservationData() pulumi.StringOutput
func (GetEipsAddressOutput) HdMonitorStatus ¶ added in v3.4.0
func (o GetEipsAddressOutput) HdMonitorStatus() pulumi.StringOutput
func (GetEipsAddressOutput) Id ¶ added in v3.4.0
func (o GetEipsAddressOutput) Id() pulumi.StringOutput
ID of the EIP.
func (GetEipsAddressOutput) InstanceId ¶ added in v3.4.0
func (o GetEipsAddressOutput) InstanceId() pulumi.StringOutput
The ID of the instance that is being bound.
func (GetEipsAddressOutput) InstanceRegionId ¶ added in v3.4.0
func (o GetEipsAddressOutput) InstanceRegionId() pulumi.StringOutput
func (GetEipsAddressOutput) InstanceType ¶ added in v3.4.0
func (o GetEipsAddressOutput) InstanceType() pulumi.StringOutput
The instance type of that the EIP is bound.
func (GetEipsAddressOutput) InternetChargeType ¶ added in v3.4.0
func (o GetEipsAddressOutput) InternetChargeType() pulumi.StringOutput
EIP internet charge type.
func (GetEipsAddressOutput) IpAddress ¶ added in v3.4.0
func (o GetEipsAddressOutput) IpAddress() pulumi.StringOutput
Public IP Address of the the EIP.
func (GetEipsAddressOutput) Isp ¶ added in v3.4.0
func (o GetEipsAddressOutput) Isp() pulumi.StringOutput
func (GetEipsAddressOutput) OperationLocks ¶ added in v3.4.0
func (o GetEipsAddressOutput) OperationLocks() pulumi.StringArrayOutput
func (GetEipsAddressOutput) PaymentType ¶ added in v3.4.0
func (o GetEipsAddressOutput) PaymentType() pulumi.StringOutput
func (GetEipsAddressOutput) ReservationActiveTime ¶ added in v3.4.0
func (o GetEipsAddressOutput) ReservationActiveTime() pulumi.StringOutput
func (GetEipsAddressOutput) ReservationBandwidth ¶ added in v3.4.0
func (o GetEipsAddressOutput) ReservationBandwidth() pulumi.StringOutput
func (GetEipsAddressOutput) ReservationInternetChargeType ¶ added in v3.4.0
func (o GetEipsAddressOutput) ReservationInternetChargeType() pulumi.StringOutput
func (GetEipsAddressOutput) ReservationOrderType ¶ added in v3.4.0
func (o GetEipsAddressOutput) ReservationOrderType() pulumi.StringOutput
func (GetEipsAddressOutput) ResourceGroupId ¶ added in v3.4.0
func (o GetEipsAddressOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the eips belongs.
func (GetEipsAddressOutput) SecondLimited ¶ added in v3.4.0
func (o GetEipsAddressOutput) SecondLimited() pulumi.BoolOutput
func (GetEipsAddressOutput) SegmentInstanceId ¶ added in v3.4.0
func (o GetEipsAddressOutput) SegmentInstanceId() pulumi.StringOutput
func (GetEipsAddressOutput) Status ¶ added in v3.4.0
func (o GetEipsAddressOutput) Status() pulumi.StringOutput
EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`.
func (GetEipsAddressOutput) Tags ¶ added in v3.4.0
func (o GetEipsAddressOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetEipsAddressOutput) ToGetEipsAddressOutput ¶ added in v3.4.0
func (o GetEipsAddressOutput) ToGetEipsAddressOutput() GetEipsAddressOutput
func (GetEipsAddressOutput) ToGetEipsAddressOutputWithContext ¶ added in v3.4.0
func (o GetEipsAddressOutput) ToGetEipsAddressOutputWithContext(ctx context.Context) GetEipsAddressOutput
type GetEipsArgs ¶
type GetEipsArgs struct { AddressName *string `pulumi:"addressName"` AssociatedInstanceId *string `pulumi:"associatedInstanceId"` AssociatedInstanceType *string `pulumi:"associatedInstanceType"` DryRun *bool `pulumi:"dryRun"` EnableDetails *bool `pulumi:"enableDetails"` // A list of EIP IDs. Ids []string `pulumi:"ids"` IncludeReservationData *bool `pulumi:"includeReservationData"` // Public IP Address of the the EIP. IpAddress *string `pulumi:"ipAddress"` // A list of EIP public IP addresses. // // Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead. IpAddresses []string `pulumi:"ipAddresses"` Isp *string `pulumi:"isp"` LockReason *string `pulumi:"lockReason"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PaymentType *string `pulumi:"paymentType"` // The Id of resource group which the eips belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` SegmentInstanceId *string `pulumi:"segmentInstanceId"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status *string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getEips.
type GetEipsEip ¶
type GetEipsEip struct { // EIP internet max bandwidth in Mbps. Bandwidth string `pulumi:"bandwidth"` // Time of creation. CreationTime string `pulumi:"creationTime"` // (Optional, Available in v1.124.4+) Whether enable the deletion protection or not. DeletionProtection bool `pulumi:"deletionProtection"` // ID of the EIP. Id string `pulumi:"id"` // The ID of the instance that is being bound. InstanceId string `pulumi:"instanceId"` // The instance type of that the EIP is bound. InstanceType string `pulumi:"instanceType"` // EIP internet charge type. InternetChargeType string `pulumi:"internetChargeType"` // Public IP Address of the the EIP. IpAddress string `pulumi:"ipAddress"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status string `pulumi:"status"` }
type GetEipsEipArgs ¶
type GetEipsEipArgs struct { // EIP internet max bandwidth in Mbps. Bandwidth pulumi.StringInput `pulumi:"bandwidth"` // Time of creation. CreationTime pulumi.StringInput `pulumi:"creationTime"` // (Optional, Available in v1.124.4+) Whether enable the deletion protection or not. DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` // ID of the EIP. Id pulumi.StringInput `pulumi:"id"` // The ID of the instance that is being bound. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The instance type of that the EIP is bound. InstanceType pulumi.StringInput `pulumi:"instanceType"` // EIP internet charge type. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // Public IP Address of the the EIP. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status pulumi.StringInput `pulumi:"status"` }
func (GetEipsEipArgs) ElementType ¶
func (GetEipsEipArgs) ElementType() reflect.Type
func (GetEipsEipArgs) ToGetEipsEipOutput ¶
func (i GetEipsEipArgs) ToGetEipsEipOutput() GetEipsEipOutput
func (GetEipsEipArgs) ToGetEipsEipOutputWithContext ¶
func (i GetEipsEipArgs) ToGetEipsEipOutputWithContext(ctx context.Context) GetEipsEipOutput
type GetEipsEipArray ¶
type GetEipsEipArray []GetEipsEipInput
func (GetEipsEipArray) ElementType ¶
func (GetEipsEipArray) ElementType() reflect.Type
func (GetEipsEipArray) ToGetEipsEipArrayOutput ¶
func (i GetEipsEipArray) ToGetEipsEipArrayOutput() GetEipsEipArrayOutput
func (GetEipsEipArray) ToGetEipsEipArrayOutputWithContext ¶
func (i GetEipsEipArray) ToGetEipsEipArrayOutputWithContext(ctx context.Context) GetEipsEipArrayOutput
type GetEipsEipArrayInput ¶
type GetEipsEipArrayInput interface { pulumi.Input ToGetEipsEipArrayOutput() GetEipsEipArrayOutput ToGetEipsEipArrayOutputWithContext(context.Context) GetEipsEipArrayOutput }
GetEipsEipArrayInput is an input type that accepts GetEipsEipArray and GetEipsEipArrayOutput values. You can construct a concrete instance of `GetEipsEipArrayInput` via:
GetEipsEipArray{ GetEipsEipArgs{...} }
type GetEipsEipArrayOutput ¶
type GetEipsEipArrayOutput struct{ *pulumi.OutputState }
func (GetEipsEipArrayOutput) ElementType ¶
func (GetEipsEipArrayOutput) ElementType() reflect.Type
func (GetEipsEipArrayOutput) Index ¶
func (o GetEipsEipArrayOutput) Index(i pulumi.IntInput) GetEipsEipOutput
func (GetEipsEipArrayOutput) ToGetEipsEipArrayOutput ¶
func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutput() GetEipsEipArrayOutput
func (GetEipsEipArrayOutput) ToGetEipsEipArrayOutputWithContext ¶
func (o GetEipsEipArrayOutput) ToGetEipsEipArrayOutputWithContext(ctx context.Context) GetEipsEipArrayOutput
type GetEipsEipInput ¶
type GetEipsEipInput interface { pulumi.Input ToGetEipsEipOutput() GetEipsEipOutput ToGetEipsEipOutputWithContext(context.Context) GetEipsEipOutput }
GetEipsEipInput is an input type that accepts GetEipsEipArgs and GetEipsEipOutput values. You can construct a concrete instance of `GetEipsEipInput` via:
GetEipsEipArgs{...}
type GetEipsEipOutput ¶
type GetEipsEipOutput struct{ *pulumi.OutputState }
func (GetEipsEipOutput) Bandwidth ¶
func (o GetEipsEipOutput) Bandwidth() pulumi.StringOutput
EIP internet max bandwidth in Mbps.
func (GetEipsEipOutput) CreationTime ¶
func (o GetEipsEipOutput) CreationTime() pulumi.StringOutput
Time of creation.
func (GetEipsEipOutput) DeletionProtection ¶ added in v3.3.0
func (o GetEipsEipOutput) DeletionProtection() pulumi.BoolOutput
(Optional, Available in v1.124.4+) Whether enable the deletion protection or not.
func (GetEipsEipOutput) ElementType ¶
func (GetEipsEipOutput) ElementType() reflect.Type
func (GetEipsEipOutput) InstanceId ¶
func (o GetEipsEipOutput) InstanceId() pulumi.StringOutput
The ID of the instance that is being bound.
func (GetEipsEipOutput) InstanceType ¶
func (o GetEipsEipOutput) InstanceType() pulumi.StringOutput
The instance type of that the EIP is bound.
func (GetEipsEipOutput) InternetChargeType ¶
func (o GetEipsEipOutput) InternetChargeType() pulumi.StringOutput
EIP internet charge type.
func (GetEipsEipOutput) IpAddress ¶
func (o GetEipsEipOutput) IpAddress() pulumi.StringOutput
Public IP Address of the the EIP.
func (GetEipsEipOutput) Status ¶
func (o GetEipsEipOutput) Status() pulumi.StringOutput
EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`.
func (GetEipsEipOutput) ToGetEipsEipOutput ¶
func (o GetEipsEipOutput) ToGetEipsEipOutput() GetEipsEipOutput
func (GetEipsEipOutput) ToGetEipsEipOutputWithContext ¶
func (o GetEipsEipOutput) ToGetEipsEipOutputWithContext(ctx context.Context) GetEipsEipOutput
type GetEipsOutputArgs ¶ added in v3.9.0
type GetEipsOutputArgs struct { AddressName pulumi.StringPtrInput `pulumi:"addressName"` AssociatedInstanceId pulumi.StringPtrInput `pulumi:"associatedInstanceId"` AssociatedInstanceType pulumi.StringPtrInput `pulumi:"associatedInstanceType"` DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of EIP IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` IncludeReservationData pulumi.BoolPtrInput `pulumi:"includeReservationData"` // Public IP Address of the the EIP. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` // A list of EIP public IP addresses. // // Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead. IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"` Isp pulumi.StringPtrInput `pulumi:"isp"` LockReason pulumi.StringPtrInput `pulumi:"lockReason"` NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` // The Id of resource group which the eips belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` SegmentInstanceId pulumi.StringPtrInput `pulumi:"segmentInstanceId"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status pulumi.StringPtrInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getEips.
func (GetEipsOutputArgs) ElementType ¶ added in v3.9.0
func (GetEipsOutputArgs) ElementType() reflect.Type
type GetEipsResult ¶
type GetEipsResult struct { AddressName *string `pulumi:"addressName"` Addresses []GetEipsAddress `pulumi:"addresses"` AssociatedInstanceId *string `pulumi:"associatedInstanceId"` AssociatedInstanceType *string `pulumi:"associatedInstanceType"` DryRun *bool `pulumi:"dryRun"` // A list of EIPs. Each element contains the following attributes: // // Deprecated: Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead. Eips []GetEipsEip `pulumi:"eips"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (Optional) A list of EIP IDs. Ids []string `pulumi:"ids"` IncludeReservationData *bool `pulumi:"includeReservationData"` // Public IP Address of the the EIP. IpAddress *string `pulumi:"ipAddress"` // Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead. IpAddresses []string `pulumi:"ipAddresses"` Isp *string `pulumi:"isp"` LockReason *string `pulumi:"lockReason"` NameRegex *string `pulumi:"nameRegex"` // (Optional) A list of EIP names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PaymentType *string `pulumi:"paymentType"` // The Id of resource group which the eips belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` SegmentInstanceId *string `pulumi:"segmentInstanceId"` // EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`. Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getEips.
func GetEips
deprecated
func GetEips(ctx *pulumi.Context, args *GetEipsArgs, opts ...pulumi.InvokeOption) (*GetEipsResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { eipsDs, err := ecs.GetEips(ctx, nil, nil) if err != nil { return err } ctx.Export("firstEipId", eipsDs.Eips[0].Id) return nil }) }
```
Deprecated: This function has been deprecated in favour of the getEipAddresses function
type GetEipsResultOutput ¶ added in v3.9.0
type GetEipsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEips.
func GetEipsOutput ¶ added in v3.9.0
func GetEipsOutput(ctx *pulumi.Context, args GetEipsOutputArgs, opts ...pulumi.InvokeOption) GetEipsResultOutput
func (GetEipsResultOutput) AddressName ¶ added in v3.9.0
func (o GetEipsResultOutput) AddressName() pulumi.StringPtrOutput
func (GetEipsResultOutput) Addresses ¶ added in v3.9.0
func (o GetEipsResultOutput) Addresses() GetEipsAddressArrayOutput
func (GetEipsResultOutput) AssociatedInstanceId ¶ added in v3.9.0
func (o GetEipsResultOutput) AssociatedInstanceId() pulumi.StringPtrOutput
func (GetEipsResultOutput) AssociatedInstanceType ¶ added in v3.9.0
func (o GetEipsResultOutput) AssociatedInstanceType() pulumi.StringPtrOutput
func (GetEipsResultOutput) DryRun ¶ added in v3.9.0
func (o GetEipsResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetEipsResultOutput) Eips
deprecated
added in
v3.9.0
func (o GetEipsResultOutput) Eips() GetEipsEipArrayOutput
A list of EIPs. Each element contains the following attributes:
Deprecated: Field 'eips' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'addresses' instead.
func (GetEipsResultOutput) ElementType ¶ added in v3.9.0
func (GetEipsResultOutput) ElementType() reflect.Type
func (GetEipsResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetEipsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetEipsResultOutput) Id ¶ added in v3.9.0
func (o GetEipsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEipsResultOutput) Ids ¶ added in v3.9.0
func (o GetEipsResultOutput) Ids() pulumi.StringArrayOutput
(Optional) A list of EIP IDs.
func (GetEipsResultOutput) IncludeReservationData ¶ added in v3.9.0
func (o GetEipsResultOutput) IncludeReservationData() pulumi.BoolPtrOutput
func (GetEipsResultOutput) IpAddress ¶ added in v3.9.0
func (o GetEipsResultOutput) IpAddress() pulumi.StringPtrOutput
Public IP Address of the the EIP.
func (GetEipsResultOutput) IpAddresses
deprecated
added in
v3.9.0
func (o GetEipsResultOutput) IpAddresses() pulumi.StringArrayOutput
Deprecated: Field 'ip_addresses' has been deprecated from provider version 1.126.0 and it will be removed in the future version. Please use the new attribute 'ip_address' instead.
func (GetEipsResultOutput) Isp ¶ added in v3.9.0
func (o GetEipsResultOutput) Isp() pulumi.StringPtrOutput
func (GetEipsResultOutput) LockReason ¶ added in v3.9.0
func (o GetEipsResultOutput) LockReason() pulumi.StringPtrOutput
func (GetEipsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEipsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEipsResultOutput) Names ¶ added in v3.9.0
func (o GetEipsResultOutput) Names() pulumi.StringArrayOutput
(Optional) A list of EIP names.
func (GetEipsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEipsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEipsResultOutput) PaymentType ¶ added in v3.9.0
func (o GetEipsResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetEipsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetEipsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the eips belongs.
func (GetEipsResultOutput) SegmentInstanceId ¶ added in v3.9.0
func (o GetEipsResultOutput) SegmentInstanceId() pulumi.StringPtrOutput
func (GetEipsResultOutput) Status ¶ added in v3.9.0
func (o GetEipsResultOutput) Status() pulumi.StringPtrOutput
EIP status. Possible values are: `Associating`, `Unassociating`, `InUse` and `Available`.
func (GetEipsResultOutput) Tags ¶ added in v3.9.0
func (o GetEipsResultOutput) Tags() pulumi.MapOutput
func (GetEipsResultOutput) ToGetEipsResultOutput ¶ added in v3.9.0
func (o GetEipsResultOutput) ToGetEipsResultOutput() GetEipsResultOutput
func (GetEipsResultOutput) ToGetEipsResultOutputWithContext ¶ added in v3.9.0
func (o GetEipsResultOutput) ToGetEipsResultOutputWithContext(ctx context.Context) GetEipsResultOutput
type GetHpcClustersArgs ¶
type GetHpcClustersArgs struct { // A list of Hpc Cluster IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Hpc Cluster name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getHpcClusters.
type GetHpcClustersCluster ¶
type GetHpcClustersCluster struct { // The description of ECS Hpc Cluster. Description string `pulumi:"description"` // The ID of the Hpc Cluster. HpcClusterId string `pulumi:"hpcClusterId"` // The ID of the Hpc Cluster. Id string `pulumi:"id"` // The name of ECS Hpc Cluster. Name string `pulumi:"name"` }
type GetHpcClustersClusterArgs ¶
type GetHpcClustersClusterArgs struct { // The description of ECS Hpc Cluster. Description pulumi.StringInput `pulumi:"description"` // The ID of the Hpc Cluster. HpcClusterId pulumi.StringInput `pulumi:"hpcClusterId"` // The ID of the Hpc Cluster. Id pulumi.StringInput `pulumi:"id"` // The name of ECS Hpc Cluster. Name pulumi.StringInput `pulumi:"name"` }
func (GetHpcClustersClusterArgs) ElementType ¶
func (GetHpcClustersClusterArgs) ElementType() reflect.Type
func (GetHpcClustersClusterArgs) ToGetHpcClustersClusterOutput ¶
func (i GetHpcClustersClusterArgs) ToGetHpcClustersClusterOutput() GetHpcClustersClusterOutput
func (GetHpcClustersClusterArgs) ToGetHpcClustersClusterOutputWithContext ¶
func (i GetHpcClustersClusterArgs) ToGetHpcClustersClusterOutputWithContext(ctx context.Context) GetHpcClustersClusterOutput
type GetHpcClustersClusterArray ¶
type GetHpcClustersClusterArray []GetHpcClustersClusterInput
func (GetHpcClustersClusterArray) ElementType ¶
func (GetHpcClustersClusterArray) ElementType() reflect.Type
func (GetHpcClustersClusterArray) ToGetHpcClustersClusterArrayOutput ¶
func (i GetHpcClustersClusterArray) ToGetHpcClustersClusterArrayOutput() GetHpcClustersClusterArrayOutput
func (GetHpcClustersClusterArray) ToGetHpcClustersClusterArrayOutputWithContext ¶
func (i GetHpcClustersClusterArray) ToGetHpcClustersClusterArrayOutputWithContext(ctx context.Context) GetHpcClustersClusterArrayOutput
type GetHpcClustersClusterArrayInput ¶
type GetHpcClustersClusterArrayInput interface { pulumi.Input ToGetHpcClustersClusterArrayOutput() GetHpcClustersClusterArrayOutput ToGetHpcClustersClusterArrayOutputWithContext(context.Context) GetHpcClustersClusterArrayOutput }
GetHpcClustersClusterArrayInput is an input type that accepts GetHpcClustersClusterArray and GetHpcClustersClusterArrayOutput values. You can construct a concrete instance of `GetHpcClustersClusterArrayInput` via:
GetHpcClustersClusterArray{ GetHpcClustersClusterArgs{...} }
type GetHpcClustersClusterArrayOutput ¶
type GetHpcClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetHpcClustersClusterArrayOutput) ElementType ¶
func (GetHpcClustersClusterArrayOutput) ElementType() reflect.Type
func (GetHpcClustersClusterArrayOutput) Index ¶
func (o GetHpcClustersClusterArrayOutput) Index(i pulumi.IntInput) GetHpcClustersClusterOutput
func (GetHpcClustersClusterArrayOutput) ToGetHpcClustersClusterArrayOutput ¶
func (o GetHpcClustersClusterArrayOutput) ToGetHpcClustersClusterArrayOutput() GetHpcClustersClusterArrayOutput
func (GetHpcClustersClusterArrayOutput) ToGetHpcClustersClusterArrayOutputWithContext ¶
func (o GetHpcClustersClusterArrayOutput) ToGetHpcClustersClusterArrayOutputWithContext(ctx context.Context) GetHpcClustersClusterArrayOutput
type GetHpcClustersClusterInput ¶
type GetHpcClustersClusterInput interface { pulumi.Input ToGetHpcClustersClusterOutput() GetHpcClustersClusterOutput ToGetHpcClustersClusterOutputWithContext(context.Context) GetHpcClustersClusterOutput }
GetHpcClustersClusterInput is an input type that accepts GetHpcClustersClusterArgs and GetHpcClustersClusterOutput values. You can construct a concrete instance of `GetHpcClustersClusterInput` via:
GetHpcClustersClusterArgs{...}
type GetHpcClustersClusterOutput ¶
type GetHpcClustersClusterOutput struct{ *pulumi.OutputState }
func (GetHpcClustersClusterOutput) Description ¶
func (o GetHpcClustersClusterOutput) Description() pulumi.StringOutput
The description of ECS Hpc Cluster.
func (GetHpcClustersClusterOutput) ElementType ¶
func (GetHpcClustersClusterOutput) ElementType() reflect.Type
func (GetHpcClustersClusterOutput) HpcClusterId ¶
func (o GetHpcClustersClusterOutput) HpcClusterId() pulumi.StringOutput
The ID of the Hpc Cluster.
func (GetHpcClustersClusterOutput) Id ¶
func (o GetHpcClustersClusterOutput) Id() pulumi.StringOutput
The ID of the Hpc Cluster.
func (GetHpcClustersClusterOutput) Name ¶
func (o GetHpcClustersClusterOutput) Name() pulumi.StringOutput
The name of ECS Hpc Cluster.
func (GetHpcClustersClusterOutput) ToGetHpcClustersClusterOutput ¶
func (o GetHpcClustersClusterOutput) ToGetHpcClustersClusterOutput() GetHpcClustersClusterOutput
func (GetHpcClustersClusterOutput) ToGetHpcClustersClusterOutputWithContext ¶
func (o GetHpcClustersClusterOutput) ToGetHpcClustersClusterOutputWithContext(ctx context.Context) GetHpcClustersClusterOutput
type GetHpcClustersOutputArgs ¶ added in v3.9.0
type GetHpcClustersOutputArgs struct { // A list of Hpc Cluster IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Hpc Cluster name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getHpcClusters.
func (GetHpcClustersOutputArgs) ElementType ¶ added in v3.9.0
func (GetHpcClustersOutputArgs) ElementType() reflect.Type
type GetHpcClustersResult ¶
type GetHpcClustersResult struct { Clusters []GetHpcClustersCluster `pulumi:"clusters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getHpcClusters.
func GetHpcClusters ¶
func GetHpcClusters(ctx *pulumi.Context, args *GetHpcClustersArgs, opts ...pulumi.InvokeOption) (*GetHpcClustersResult, error)
This data source provides the Ecs Hpc Clusters of the current Alibaba Cloud user.
> **NOTE:** Available in v1.116.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ecs.GetHpcClusters(ctx, &ecs.GetHpcClustersArgs{ Ids: []string{ "hpc-bp1i09xxxxxxxx", }, NameRegex: pulumi.StringRef("tf-testAcc"), }, nil) if err != nil { return err } ctx.Export("firstEcsHpcClusterId", example.Clusters[0].Id) return nil }) }
```
type GetHpcClustersResultOutput ¶ added in v3.9.0
type GetHpcClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHpcClusters.
func GetHpcClustersOutput ¶ added in v3.9.0
func GetHpcClustersOutput(ctx *pulumi.Context, args GetHpcClustersOutputArgs, opts ...pulumi.InvokeOption) GetHpcClustersResultOutput
func (GetHpcClustersResultOutput) Clusters ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) Clusters() GetHpcClustersClusterArrayOutput
func (GetHpcClustersResultOutput) ElementType ¶ added in v3.9.0
func (GetHpcClustersResultOutput) ElementType() reflect.Type
func (GetHpcClustersResultOutput) Id ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHpcClustersResultOutput) Ids ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) Ids() pulumi.StringArrayOutput
func (GetHpcClustersResultOutput) NameRegex ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetHpcClustersResultOutput) Names ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) Names() pulumi.StringArrayOutput
func (GetHpcClustersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetHpcClustersResultOutput) ToGetHpcClustersResultOutput ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) ToGetHpcClustersResultOutput() GetHpcClustersResultOutput
func (GetHpcClustersResultOutput) ToGetHpcClustersResultOutputWithContext ¶ added in v3.9.0
func (o GetHpcClustersResultOutput) ToGetHpcClustersResultOutputWithContext(ctx context.Context) GetHpcClustersResultOutput
type GetImagesArgs ¶
type GetImagesArgs struct { // The scenario in which the image will be used. Default value: `CreateEcs`. Valid values: // * `CreateEcs`: instance creation. // * `ChangeOS`: replacement of the system disk or operating system. ActionType *string `pulumi:"actionType"` // The image architecture. Valid values: `i386` and `x8664`. Architecture *string `pulumi:"architecture"` // Specifies whether the image is running on an ECS instance. Default value: `false`. Valid values: // * `true`: The validity of the request is checked but resources are not queried. Check items include whether your AccessKey pair is valid, whether RAM users are authorized, and whether the required parameters are specified. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked, and a 2XX HTTP status code is returned and resources are queried if the check succeeds. DryRun *bool `pulumi:"dryRun"` // The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default. ImageFamily *string `pulumi:"imageFamily"` // The ID of the image. ImageId *string `pulumi:"imageId"` // The name of the image. ImageName *string `pulumi:"imageName"` // The instance type for which the image can be used. InstanceType *string `pulumi:"instanceType"` // Specifies whether the image supports cloud-init. IsSupportCloudInit *bool `pulumi:"isSupportCloudInit"` // Specifies whether the image can be used on I/O optimized instances. IsSupportIoOptimized *bool `pulumi:"isSupportIoOptimized"` // If more than one result are returned, select the most recent one. MostRecent *bool `pulumi:"mostRecent"` // A regex string to filter resulting images by name. NameRegex *string `pulumi:"nameRegex"` // The operating system type of the image. Valid values: `windows` and `linux`. OsType *string `pulumi:"osType"` OutputFile *string `pulumi:"outputFile"` // Filter results by a specific image owner. Valid items are `system`, `self`, `others`, `marketplace`. Owners *string `pulumi:"owners"` // The ID of the resource group to which the custom image belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // The ID of the snapshot used to create the custom image. SnapshotId *string `pulumi:"snapshotId"` // The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: `Available`. Valid values: // * `Creating`: The image is being created. // * `Waiting`: The image is waiting to be processed. // * `Available`: The image is available. // * `UnAvailable`: The image is unavailable. // * `CreateFailed`: The image failed to be created. // * `Deprecated`: The image is discontinued. Status *string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // Specifies whether to check the validity of the request without actually making the request. Valid values: // * `instance`: The image is already in use and running on an ECS instance. // * `none`: The image is not in use. Usage *string `pulumi:"usage"` }
A collection of arguments for invoking getImages.
type GetImagesImage ¶
type GetImagesImage struct { // The image architecture. Valid values: `i386` and `x8664`. Architecture string `pulumi:"architecture"` // Time of creation. CreationTime string `pulumi:"creationTime"` // Description of the image. Description string `pulumi:"description"` // Description of the system with disks and snapshots under the image. DiskDeviceMappings []GetImagesImageDiskDeviceMapping `pulumi:"diskDeviceMappings"` // ID of the image. Id string `pulumi:"id"` // The ID of the image. ImageId string `pulumi:"imageId"` // Alias of the image owner. ImageOwnerAlias string `pulumi:"imageOwnerAlias"` // Version of the image. ImageVersion string `pulumi:"imageVersion"` IsCopied bool `pulumi:"isCopied"` // Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode. IsSubscribed bool `pulumi:"isSubscribed"` // Specifies whether the image can be used on I/O optimized instances. IsSupportIoOptimized bool `pulumi:"isSupportIoOptimized"` Name string `pulumi:"name"` // Display Chinese name of the OS. OsName string `pulumi:"osName"` // Display English name of the OS. OsNameEn string `pulumi:"osNameEn"` // The operating system type of the image. Valid values: `windows` and `linux`. OsType string `pulumi:"osType"` Platform string `pulumi:"platform"` // Product code of the image on the image market. ProductCode string `pulumi:"productCode"` // Progress of image creation, presented in percentages. Progress string `pulumi:"progress"` // Size of the created disk. Size int `pulumi:"size"` State string `pulumi:"state"` // The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: `Available`. Valid values: // * `Creating`: The image is being created. // * `Waiting`: The image is waiting to be processed. // * `Available`: The image is available. // * `UnAvailable`: The image is unavailable. // * `CreateFailed`: The image failed to be created. // * `Deprecated`: The image is discontinued. Status string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` // Specifies whether to check the validity of the request without actually making the request. Valid values: // * `instance`: The image is already in use and running on an ECS instance. // * `none`: The image is not in use. Usage string `pulumi:"usage"` }
type GetImagesImageArgs ¶
type GetImagesImageArgs struct { // The image architecture. Valid values: `i386` and `x8664`. Architecture pulumi.StringInput `pulumi:"architecture"` // Time of creation. CreationTime pulumi.StringInput `pulumi:"creationTime"` // Description of the image. Description pulumi.StringInput `pulumi:"description"` // Description of the system with disks and snapshots under the image. DiskDeviceMappings GetImagesImageDiskDeviceMappingArrayInput `pulumi:"diskDeviceMappings"` // ID of the image. Id pulumi.StringInput `pulumi:"id"` // The ID of the image. ImageId pulumi.StringInput `pulumi:"imageId"` // Alias of the image owner. ImageOwnerAlias pulumi.StringInput `pulumi:"imageOwnerAlias"` // Version of the image. ImageVersion pulumi.StringInput `pulumi:"imageVersion"` IsCopied pulumi.BoolInput `pulumi:"isCopied"` // Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode. IsSubscribed pulumi.BoolInput `pulumi:"isSubscribed"` // Specifies whether the image can be used on I/O optimized instances. IsSupportIoOptimized pulumi.BoolInput `pulumi:"isSupportIoOptimized"` Name pulumi.StringInput `pulumi:"name"` // Display Chinese name of the OS. OsName pulumi.StringInput `pulumi:"osName"` // Display English name of the OS. OsNameEn pulumi.StringInput `pulumi:"osNameEn"` // The operating system type of the image. Valid values: `windows` and `linux`. OsType pulumi.StringInput `pulumi:"osType"` Platform pulumi.StringInput `pulumi:"platform"` // Product code of the image on the image market. ProductCode pulumi.StringInput `pulumi:"productCode"` // Progress of image creation, presented in percentages. Progress pulumi.StringInput `pulumi:"progress"` // Size of the created disk. Size pulumi.IntInput `pulumi:"size"` State pulumi.StringInput `pulumi:"state"` // The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: `Available`. Valid values: // * `Creating`: The image is being created. // * `Waiting`: The image is waiting to be processed. // * `Available`: The image is available. // * `UnAvailable`: The image is unavailable. // * `CreateFailed`: The image failed to be created. // * `Deprecated`: The image is discontinued. Status pulumi.StringInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // Specifies whether to check the validity of the request without actually making the request. Valid values: // * `instance`: The image is already in use and running on an ECS instance. // * `none`: The image is not in use. Usage pulumi.StringInput `pulumi:"usage"` }
func (GetImagesImageArgs) ElementType ¶
func (GetImagesImageArgs) ElementType() reflect.Type
func (GetImagesImageArgs) ToGetImagesImageOutput ¶
func (i GetImagesImageArgs) ToGetImagesImageOutput() GetImagesImageOutput
func (GetImagesImageArgs) ToGetImagesImageOutputWithContext ¶
func (i GetImagesImageArgs) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
type GetImagesImageArray ¶
type GetImagesImageArray []GetImagesImageInput
func (GetImagesImageArray) ElementType ¶
func (GetImagesImageArray) ElementType() reflect.Type
func (GetImagesImageArray) ToGetImagesImageArrayOutput ¶
func (i GetImagesImageArray) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
func (GetImagesImageArray) ToGetImagesImageArrayOutputWithContext ¶
func (i GetImagesImageArray) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
type GetImagesImageArrayInput ¶
type GetImagesImageArrayInput interface { pulumi.Input ToGetImagesImageArrayOutput() GetImagesImageArrayOutput ToGetImagesImageArrayOutputWithContext(context.Context) GetImagesImageArrayOutput }
GetImagesImageArrayInput is an input type that accepts GetImagesImageArray and GetImagesImageArrayOutput values. You can construct a concrete instance of `GetImagesImageArrayInput` via:
GetImagesImageArray{ GetImagesImageArgs{...} }
type GetImagesImageArrayOutput ¶
type GetImagesImageArrayOutput struct{ *pulumi.OutputState }
func (GetImagesImageArrayOutput) ElementType ¶
func (GetImagesImageArrayOutput) ElementType() reflect.Type
func (GetImagesImageArrayOutput) Index ¶
func (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput
func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutput ¶
func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext ¶
func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
type GetImagesImageDiskDeviceMappingArgs ¶
type GetImagesImageDiskDeviceMappingArgs struct { // Device information of the created disk: such as /dev/xvdb. Device pulumi.StringInput `pulumi:"device"` // Size of the created disk. Size pulumi.StringInput `pulumi:"size"` // The ID of the snapshot used to create the custom image. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` }
func (GetImagesImageDiskDeviceMappingArgs) ElementType ¶
func (GetImagesImageDiskDeviceMappingArgs) ElementType() reflect.Type
func (GetImagesImageDiskDeviceMappingArgs) ToGetImagesImageDiskDeviceMappingOutput ¶
func (i GetImagesImageDiskDeviceMappingArgs) ToGetImagesImageDiskDeviceMappingOutput() GetImagesImageDiskDeviceMappingOutput
func (GetImagesImageDiskDeviceMappingArgs) ToGetImagesImageDiskDeviceMappingOutputWithContext ¶
func (i GetImagesImageDiskDeviceMappingArgs) ToGetImagesImageDiskDeviceMappingOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingOutput
type GetImagesImageDiskDeviceMappingArray ¶
type GetImagesImageDiskDeviceMappingArray []GetImagesImageDiskDeviceMappingInput
func (GetImagesImageDiskDeviceMappingArray) ElementType ¶
func (GetImagesImageDiskDeviceMappingArray) ElementType() reflect.Type
func (GetImagesImageDiskDeviceMappingArray) ToGetImagesImageDiskDeviceMappingArrayOutput ¶
func (i GetImagesImageDiskDeviceMappingArray) ToGetImagesImageDiskDeviceMappingArrayOutput() GetImagesImageDiskDeviceMappingArrayOutput
func (GetImagesImageDiskDeviceMappingArray) ToGetImagesImageDiskDeviceMappingArrayOutputWithContext ¶
func (i GetImagesImageDiskDeviceMappingArray) ToGetImagesImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingArrayOutput
type GetImagesImageDiskDeviceMappingArrayInput ¶
type GetImagesImageDiskDeviceMappingArrayInput interface { pulumi.Input ToGetImagesImageDiskDeviceMappingArrayOutput() GetImagesImageDiskDeviceMappingArrayOutput ToGetImagesImageDiskDeviceMappingArrayOutputWithContext(context.Context) GetImagesImageDiskDeviceMappingArrayOutput }
GetImagesImageDiskDeviceMappingArrayInput is an input type that accepts GetImagesImageDiskDeviceMappingArray and GetImagesImageDiskDeviceMappingArrayOutput values. You can construct a concrete instance of `GetImagesImageDiskDeviceMappingArrayInput` via:
GetImagesImageDiskDeviceMappingArray{ GetImagesImageDiskDeviceMappingArgs{...} }
type GetImagesImageDiskDeviceMappingArrayOutput ¶
type GetImagesImageDiskDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (GetImagesImageDiskDeviceMappingArrayOutput) ElementType ¶
func (GetImagesImageDiskDeviceMappingArrayOutput) ElementType() reflect.Type
func (GetImagesImageDiskDeviceMappingArrayOutput) ToGetImagesImageDiskDeviceMappingArrayOutput ¶
func (o GetImagesImageDiskDeviceMappingArrayOutput) ToGetImagesImageDiskDeviceMappingArrayOutput() GetImagesImageDiskDeviceMappingArrayOutput
func (GetImagesImageDiskDeviceMappingArrayOutput) ToGetImagesImageDiskDeviceMappingArrayOutputWithContext ¶
func (o GetImagesImageDiskDeviceMappingArrayOutput) ToGetImagesImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingArrayOutput
type GetImagesImageDiskDeviceMappingInput ¶
type GetImagesImageDiskDeviceMappingInput interface { pulumi.Input ToGetImagesImageDiskDeviceMappingOutput() GetImagesImageDiskDeviceMappingOutput ToGetImagesImageDiskDeviceMappingOutputWithContext(context.Context) GetImagesImageDiskDeviceMappingOutput }
GetImagesImageDiskDeviceMappingInput is an input type that accepts GetImagesImageDiskDeviceMappingArgs and GetImagesImageDiskDeviceMappingOutput values. You can construct a concrete instance of `GetImagesImageDiskDeviceMappingInput` via:
GetImagesImageDiskDeviceMappingArgs{...}
type GetImagesImageDiskDeviceMappingOutput ¶
type GetImagesImageDiskDeviceMappingOutput struct{ *pulumi.OutputState }
func (GetImagesImageDiskDeviceMappingOutput) Device ¶
func (o GetImagesImageDiskDeviceMappingOutput) Device() pulumi.StringOutput
Device information of the created disk: such as /dev/xvdb.
func (GetImagesImageDiskDeviceMappingOutput) ElementType ¶
func (GetImagesImageDiskDeviceMappingOutput) ElementType() reflect.Type
func (GetImagesImageDiskDeviceMappingOutput) Size ¶
func (o GetImagesImageDiskDeviceMappingOutput) Size() pulumi.StringOutput
Size of the created disk.
func (GetImagesImageDiskDeviceMappingOutput) SnapshotId ¶
func (o GetImagesImageDiskDeviceMappingOutput) SnapshotId() pulumi.StringOutput
The ID of the snapshot used to create the custom image.
func (GetImagesImageDiskDeviceMappingOutput) ToGetImagesImageDiskDeviceMappingOutput ¶
func (o GetImagesImageDiskDeviceMappingOutput) ToGetImagesImageDiskDeviceMappingOutput() GetImagesImageDiskDeviceMappingOutput
func (GetImagesImageDiskDeviceMappingOutput) ToGetImagesImageDiskDeviceMappingOutputWithContext ¶
func (o GetImagesImageDiskDeviceMappingOutput) ToGetImagesImageDiskDeviceMappingOutputWithContext(ctx context.Context) GetImagesImageDiskDeviceMappingOutput
type GetImagesImageInput ¶
type GetImagesImageInput interface { pulumi.Input ToGetImagesImageOutput() GetImagesImageOutput ToGetImagesImageOutputWithContext(context.Context) GetImagesImageOutput }
GetImagesImageInput is an input type that accepts GetImagesImageArgs and GetImagesImageOutput values. You can construct a concrete instance of `GetImagesImageInput` via:
GetImagesImageArgs{...}
type GetImagesImageOutput ¶
type GetImagesImageOutput struct{ *pulumi.OutputState }
func (GetImagesImageOutput) Architecture ¶
func (o GetImagesImageOutput) Architecture() pulumi.StringOutput
The image architecture. Valid values: `i386` and `x8664`.
func (GetImagesImageOutput) CreationTime ¶
func (o GetImagesImageOutput) CreationTime() pulumi.StringOutput
Time of creation.
func (GetImagesImageOutput) Description ¶
func (o GetImagesImageOutput) Description() pulumi.StringOutput
Description of the image.
func (GetImagesImageOutput) DiskDeviceMappings ¶
func (o GetImagesImageOutput) DiskDeviceMappings() GetImagesImageDiskDeviceMappingArrayOutput
Description of the system with disks and snapshots under the image.
func (GetImagesImageOutput) ElementType ¶
func (GetImagesImageOutput) ElementType() reflect.Type
func (GetImagesImageOutput) Id ¶
func (o GetImagesImageOutput) Id() pulumi.StringOutput
ID of the image.
func (GetImagesImageOutput) ImageId ¶
func (o GetImagesImageOutput) ImageId() pulumi.StringOutput
The ID of the image.
func (GetImagesImageOutput) ImageOwnerAlias ¶
func (o GetImagesImageOutput) ImageOwnerAlias() pulumi.StringOutput
Alias of the image owner.
func (GetImagesImageOutput) ImageVersion ¶
func (o GetImagesImageOutput) ImageVersion() pulumi.StringOutput
Version of the image.
func (GetImagesImageOutput) IsCopied ¶
func (o GetImagesImageOutput) IsCopied() pulumi.BoolOutput
func (GetImagesImageOutput) IsSelfShared ¶
func (o GetImagesImageOutput) IsSelfShared() pulumi.StringOutput
func (GetImagesImageOutput) IsSubscribed ¶
func (o GetImagesImageOutput) IsSubscribed() pulumi.BoolOutput
Whether the user has subscribed to the terms of service for the image product corresponding to the ProductCode.
func (GetImagesImageOutput) IsSupportIoOptimized ¶
func (o GetImagesImageOutput) IsSupportIoOptimized() pulumi.BoolOutput
Specifies whether the image can be used on I/O optimized instances.
func (GetImagesImageOutput) Name ¶
func (o GetImagesImageOutput) Name() pulumi.StringOutput
func (GetImagesImageOutput) OsName ¶
func (o GetImagesImageOutput) OsName() pulumi.StringOutput
Display Chinese name of the OS.
func (GetImagesImageOutput) OsNameEn ¶
func (o GetImagesImageOutput) OsNameEn() pulumi.StringOutput
Display English name of the OS.
func (GetImagesImageOutput) OsType ¶
func (o GetImagesImageOutput) OsType() pulumi.StringOutput
The operating system type of the image. Valid values: `windows` and `linux`.
func (GetImagesImageOutput) Platform ¶
func (o GetImagesImageOutput) Platform() pulumi.StringOutput
func (GetImagesImageOutput) ProductCode ¶
func (o GetImagesImageOutput) ProductCode() pulumi.StringOutput
Product code of the image on the image market.
func (GetImagesImageOutput) Progress ¶
func (o GetImagesImageOutput) Progress() pulumi.StringOutput
Progress of image creation, presented in percentages.
func (GetImagesImageOutput) Size ¶
func (o GetImagesImageOutput) Size() pulumi.IntOutput
Size of the created disk.
func (GetImagesImageOutput) State ¶
func (o GetImagesImageOutput) State() pulumi.StringOutput
func (GetImagesImageOutput) Status ¶
func (o GetImagesImageOutput) Status() pulumi.StringOutput
The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: `Available`. Valid values: * `Creating`: The image is being created. * `Waiting`: The image is waiting to be processed. * `Available`: The image is available. * `UnAvailable`: The image is unavailable. * `CreateFailed`: The image failed to be created. * `Deprecated`: The image is discontinued.
func (GetImagesImageOutput) Tags ¶
func (o GetImagesImageOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetImagesImageOutput) ToGetImagesImageOutput ¶
func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
func (GetImagesImageOutput) ToGetImagesImageOutputWithContext ¶
func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
func (GetImagesImageOutput) Usage ¶
func (o GetImagesImageOutput) Usage() pulumi.StringOutput
Specifies whether to check the validity of the request without actually making the request. Valid values: * `instance`: The image is already in use and running on an ECS instance. * `none`: The image is not in use.
type GetImagesOutputArgs ¶ added in v3.9.0
type GetImagesOutputArgs struct { // The scenario in which the image will be used. Default value: `CreateEcs`. Valid values: // * `CreateEcs`: instance creation. // * `ChangeOS`: replacement of the system disk or operating system. ActionType pulumi.StringPtrInput `pulumi:"actionType"` // The image architecture. Valid values: `i386` and `x8664`. Architecture pulumi.StringPtrInput `pulumi:"architecture"` // Specifies whether the image is running on an ECS instance. Default value: `false`. Valid values: // * `true`: The validity of the request is checked but resources are not queried. Check items include whether your AccessKey pair is valid, whether RAM users are authorized, and whether the required parameters are specified. If the check fails, the corresponding error message is returned. If the check succeeds, the DryRunOperation error code is returned. // * `false`: The validity of the request is checked, and a 2XX HTTP status code is returned and resources are queried if the check succeeds. DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` // The name of the image family. You can set this parameter to query images of the specified image family. This parameter is empty by default. ImageFamily pulumi.StringPtrInput `pulumi:"imageFamily"` // The ID of the image. ImageId pulumi.StringPtrInput `pulumi:"imageId"` // The name of the image. ImageName pulumi.StringPtrInput `pulumi:"imageName"` // The instance type for which the image can be used. InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` // Specifies whether the image supports cloud-init. IsSupportCloudInit pulumi.BoolPtrInput `pulumi:"isSupportCloudInit"` // Specifies whether the image can be used on I/O optimized instances. IsSupportIoOptimized pulumi.BoolPtrInput `pulumi:"isSupportIoOptimized"` // If more than one result are returned, select the most recent one. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // A regex string to filter resulting images by name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // The operating system type of the image. Valid values: `windows` and `linux`. OsType pulumi.StringPtrInput `pulumi:"osType"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Filter results by a specific image owner. Valid items are `system`, `self`, `others`, `marketplace`. Owners pulumi.StringPtrInput `pulumi:"owners"` // The ID of the resource group to which the custom image belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // The ID of the snapshot used to create the custom image. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` // The status of the image. The following values are available, Separate multiple parameter values by using commas (,). Default value: `Available`. Valid values: // * `Creating`: The image is being created. // * `Waiting`: The image is waiting to be processed. // * `Available`: The image is available. // * `UnAvailable`: The image is unavailable. // * `CreateFailed`: The image failed to be created. // * `Deprecated`: The image is discontinued. Status pulumi.StringPtrInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` // Specifies whether to check the validity of the request without actually making the request. Valid values: // * `instance`: The image is already in use and running on an ECS instance. // * `none`: The image is not in use. Usage pulumi.StringPtrInput `pulumi:"usage"` }
A collection of arguments for invoking getImages.
func (GetImagesOutputArgs) ElementType ¶ added in v3.9.0
func (GetImagesOutputArgs) ElementType() reflect.Type
type GetImagesResult ¶
type GetImagesResult struct { ActionType *string `pulumi:"actionType"` // Platform type of the image system: i386 or x86_64. Architecture *string `pulumi:"architecture"` DryRun *bool `pulumi:"dryRun"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of image IDs. Ids []string `pulumi:"ids"` ImageFamily *string `pulumi:"imageFamily"` ImageId *string `pulumi:"imageId"` ImageName *string `pulumi:"imageName"` // A list of images. Each element contains the following attributes: Images []GetImagesImage `pulumi:"images"` InstanceType *string `pulumi:"instanceType"` IsSupportCloudInit *bool `pulumi:"isSupportCloudInit"` IsSupportIoOptimized *bool `pulumi:"isSupportIoOptimized"` MostRecent *bool `pulumi:"mostRecent"` NameRegex *string `pulumi:"nameRegex"` OsType *string `pulumi:"osType"` OutputFile *string `pulumi:"outputFile"` Owners *string `pulumi:"owners"` ResourceGroupId *string `pulumi:"resourceGroupId"` // Snapshot ID. SnapshotId *string `pulumi:"snapshotId"` // Status of the image. Possible values: `UnAvailable`, `Available`, `Creating` and `CreateFailed`. Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` Usage *string `pulumi:"usage"` }
A collection of values returned by getImages.
func GetImages ¶
func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error)
This data source provides available image resources. It contains user's private images, system images provided by Alibaba Cloud, other public images and the ones available on the image market.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { imagesDs, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^centos_6"), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } ctx.Export("firstImageId", imagesDs.Images[0].Id) return nil }) }
```
type GetImagesResultOutput ¶ added in v3.9.0
type GetImagesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getImages.
func GetImagesOutput ¶ added in v3.9.0
func GetImagesOutput(ctx *pulumi.Context, args GetImagesOutputArgs, opts ...pulumi.InvokeOption) GetImagesResultOutput
func (GetImagesResultOutput) ActionType ¶ added in v3.9.0
func (o GetImagesResultOutput) ActionType() pulumi.StringPtrOutput
func (GetImagesResultOutput) Architecture ¶ added in v3.9.0
func (o GetImagesResultOutput) Architecture() pulumi.StringPtrOutput
Platform type of the image system: i386 or x86_64.
func (GetImagesResultOutput) DryRun ¶ added in v3.9.0
func (o GetImagesResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetImagesResultOutput) ElementType ¶ added in v3.9.0
func (GetImagesResultOutput) ElementType() reflect.Type
func (GetImagesResultOutput) Id ¶ added in v3.9.0
func (o GetImagesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetImagesResultOutput) Ids ¶ added in v3.9.0
func (o GetImagesResultOutput) Ids() pulumi.StringArrayOutput
A list of image IDs.
func (GetImagesResultOutput) ImageFamily ¶ added in v3.9.0
func (o GetImagesResultOutput) ImageFamily() pulumi.StringPtrOutput
func (GetImagesResultOutput) ImageId ¶ added in v3.11.0
func (o GetImagesResultOutput) ImageId() pulumi.StringPtrOutput
func (GetImagesResultOutput) ImageName ¶ added in v3.11.0
func (o GetImagesResultOutput) ImageName() pulumi.StringPtrOutput
func (GetImagesResultOutput) Images ¶ added in v3.9.0
func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput
A list of images. Each element contains the following attributes:
func (GetImagesResultOutput) InstanceType ¶ added in v3.9.0
func (o GetImagesResultOutput) InstanceType() pulumi.StringPtrOutput
func (GetImagesResultOutput) IsSupportCloudInit ¶ added in v3.9.0
func (o GetImagesResultOutput) IsSupportCloudInit() pulumi.BoolPtrOutput
func (GetImagesResultOutput) IsSupportIoOptimized ¶ added in v3.9.0
func (o GetImagesResultOutput) IsSupportIoOptimized() pulumi.BoolPtrOutput
func (GetImagesResultOutput) MostRecent ¶ added in v3.9.0
func (o GetImagesResultOutput) MostRecent() pulumi.BoolPtrOutput
func (GetImagesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetImagesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetImagesResultOutput) OsType ¶ added in v3.9.0
func (o GetImagesResultOutput) OsType() pulumi.StringPtrOutput
func (GetImagesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetImagesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetImagesResultOutput) Owners ¶ added in v3.9.0
func (o GetImagesResultOutput) Owners() pulumi.StringPtrOutput
func (GetImagesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetImagesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetImagesResultOutput) SnapshotId ¶ added in v3.9.0
func (o GetImagesResultOutput) SnapshotId() pulumi.StringPtrOutput
Snapshot ID.
func (GetImagesResultOutput) Status ¶ added in v3.9.0
func (o GetImagesResultOutput) Status() pulumi.StringPtrOutput
Status of the image. Possible values: `UnAvailable`, `Available`, `Creating` and `CreateFailed`.
func (GetImagesResultOutput) Tags ¶ added in v3.9.0
func (o GetImagesResultOutput) Tags() pulumi.MapOutput
func (GetImagesResultOutput) ToGetImagesResultOutput ¶ added in v3.9.0
func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput
func (GetImagesResultOutput) ToGetImagesResultOutputWithContext ¶ added in v3.9.0
func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput
func (GetImagesResultOutput) Usage ¶ added in v3.9.0
func (o GetImagesResultOutput) Usage() pulumi.StringPtrOutput
type GetInstanceTypeFamiliesArgs ¶
type GetInstanceTypeFamiliesArgs struct { // The generation of the instance type family, Valid values: `ecs-1`, `ecs-2`, `ecs-3` and `ecs-4`. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.htm). Generation *string `pulumi:"generation"` // Valid values are `PrePaid`, `PostPaid`, Default to `PostPaid`. InstanceChargeType *string `pulumi:"instanceChargeType"` OutputFile *string `pulumi:"outputFile"` // Filter the results by ECS spot type. Valid values: `NoSpot`, `SpotWithPriceLimit` and `SpotAsPriceGo`. Default to `NoSpot`. SpotStrategy *string `pulumi:"spotStrategy"` // The Zone to launch the instance. ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking getInstanceTypeFamilies.
type GetInstanceTypeFamiliesFamily ¶
type GetInstanceTypeFamiliesFamily struct { // The generation of the instance type family, Valid values: `ecs-1`, `ecs-2`, `ecs-3` and `ecs-4`. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.htm). Generation string `pulumi:"generation"` // ID of the instance type family. Id string `pulumi:"id"` // A list of Zone to launch the instance. ZoneIds []string `pulumi:"zoneIds"` }
type GetInstanceTypeFamiliesFamilyArgs ¶
type GetInstanceTypeFamiliesFamilyArgs struct { // The generation of the instance type family, Valid values: `ecs-1`, `ecs-2`, `ecs-3` and `ecs-4`. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.htm). Generation pulumi.StringInput `pulumi:"generation"` // ID of the instance type family. Id pulumi.StringInput `pulumi:"id"` // A list of Zone to launch the instance. ZoneIds pulumi.StringArrayInput `pulumi:"zoneIds"` }
func (GetInstanceTypeFamiliesFamilyArgs) ElementType ¶
func (GetInstanceTypeFamiliesFamilyArgs) ElementType() reflect.Type
func (GetInstanceTypeFamiliesFamilyArgs) ToGetInstanceTypeFamiliesFamilyOutput ¶
func (i GetInstanceTypeFamiliesFamilyArgs) ToGetInstanceTypeFamiliesFamilyOutput() GetInstanceTypeFamiliesFamilyOutput
func (GetInstanceTypeFamiliesFamilyArgs) ToGetInstanceTypeFamiliesFamilyOutputWithContext ¶
func (i GetInstanceTypeFamiliesFamilyArgs) ToGetInstanceTypeFamiliesFamilyOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyOutput
type GetInstanceTypeFamiliesFamilyArray ¶
type GetInstanceTypeFamiliesFamilyArray []GetInstanceTypeFamiliesFamilyInput
func (GetInstanceTypeFamiliesFamilyArray) ElementType ¶
func (GetInstanceTypeFamiliesFamilyArray) ElementType() reflect.Type
func (GetInstanceTypeFamiliesFamilyArray) ToGetInstanceTypeFamiliesFamilyArrayOutput ¶
func (i GetInstanceTypeFamiliesFamilyArray) ToGetInstanceTypeFamiliesFamilyArrayOutput() GetInstanceTypeFamiliesFamilyArrayOutput
func (GetInstanceTypeFamiliesFamilyArray) ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext ¶
func (i GetInstanceTypeFamiliesFamilyArray) ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyArrayOutput
type GetInstanceTypeFamiliesFamilyArrayInput ¶
type GetInstanceTypeFamiliesFamilyArrayInput interface { pulumi.Input ToGetInstanceTypeFamiliesFamilyArrayOutput() GetInstanceTypeFamiliesFamilyArrayOutput ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext(context.Context) GetInstanceTypeFamiliesFamilyArrayOutput }
GetInstanceTypeFamiliesFamilyArrayInput is an input type that accepts GetInstanceTypeFamiliesFamilyArray and GetInstanceTypeFamiliesFamilyArrayOutput values. You can construct a concrete instance of `GetInstanceTypeFamiliesFamilyArrayInput` via:
GetInstanceTypeFamiliesFamilyArray{ GetInstanceTypeFamiliesFamilyArgs{...} }
type GetInstanceTypeFamiliesFamilyArrayOutput ¶
type GetInstanceTypeFamiliesFamilyArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeFamiliesFamilyArrayOutput) ElementType ¶
func (GetInstanceTypeFamiliesFamilyArrayOutput) ElementType() reflect.Type
func (GetInstanceTypeFamiliesFamilyArrayOutput) ToGetInstanceTypeFamiliesFamilyArrayOutput ¶
func (o GetInstanceTypeFamiliesFamilyArrayOutput) ToGetInstanceTypeFamiliesFamilyArrayOutput() GetInstanceTypeFamiliesFamilyArrayOutput
func (GetInstanceTypeFamiliesFamilyArrayOutput) ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext ¶
func (o GetInstanceTypeFamiliesFamilyArrayOutput) ToGetInstanceTypeFamiliesFamilyArrayOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyArrayOutput
type GetInstanceTypeFamiliesFamilyInput ¶
type GetInstanceTypeFamiliesFamilyInput interface { pulumi.Input ToGetInstanceTypeFamiliesFamilyOutput() GetInstanceTypeFamiliesFamilyOutput ToGetInstanceTypeFamiliesFamilyOutputWithContext(context.Context) GetInstanceTypeFamiliesFamilyOutput }
GetInstanceTypeFamiliesFamilyInput is an input type that accepts GetInstanceTypeFamiliesFamilyArgs and GetInstanceTypeFamiliesFamilyOutput values. You can construct a concrete instance of `GetInstanceTypeFamiliesFamilyInput` via:
GetInstanceTypeFamiliesFamilyArgs{...}
type GetInstanceTypeFamiliesFamilyOutput ¶
type GetInstanceTypeFamiliesFamilyOutput struct{ *pulumi.OutputState }
func (GetInstanceTypeFamiliesFamilyOutput) ElementType ¶
func (GetInstanceTypeFamiliesFamilyOutput) ElementType() reflect.Type
func (GetInstanceTypeFamiliesFamilyOutput) Generation ¶
func (o GetInstanceTypeFamiliesFamilyOutput) Generation() pulumi.StringOutput
The generation of the instance type family, Valid values: `ecs-1`, `ecs-2`, `ecs-3` and `ecs-4`. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.htm).
func (GetInstanceTypeFamiliesFamilyOutput) Id ¶
func (o GetInstanceTypeFamiliesFamilyOutput) Id() pulumi.StringOutput
ID of the instance type family.
func (GetInstanceTypeFamiliesFamilyOutput) ToGetInstanceTypeFamiliesFamilyOutput ¶
func (o GetInstanceTypeFamiliesFamilyOutput) ToGetInstanceTypeFamiliesFamilyOutput() GetInstanceTypeFamiliesFamilyOutput
func (GetInstanceTypeFamiliesFamilyOutput) ToGetInstanceTypeFamiliesFamilyOutputWithContext ¶
func (o GetInstanceTypeFamiliesFamilyOutput) ToGetInstanceTypeFamiliesFamilyOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesFamilyOutput
func (GetInstanceTypeFamiliesFamilyOutput) ZoneIds ¶
func (o GetInstanceTypeFamiliesFamilyOutput) ZoneIds() pulumi.StringArrayOutput
A list of Zone to launch the instance.
type GetInstanceTypeFamiliesOutputArgs ¶ added in v3.9.0
type GetInstanceTypeFamiliesOutputArgs struct { // The generation of the instance type family, Valid values: `ecs-1`, `ecs-2`, `ecs-3` and `ecs-4`. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.htm). Generation pulumi.StringPtrInput `pulumi:"generation"` // Valid values are `PrePaid`, `PostPaid`, Default to `PostPaid`. InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Filter the results by ECS spot type. Valid values: `NoSpot`, `SpotWithPriceLimit` and `SpotAsPriceGo`. Default to `NoSpot`. SpotStrategy pulumi.StringPtrInput `pulumi:"spotStrategy"` // The Zone to launch the instance. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking getInstanceTypeFamilies.
func (GetInstanceTypeFamiliesOutputArgs) ElementType ¶ added in v3.9.0
func (GetInstanceTypeFamiliesOutputArgs) ElementType() reflect.Type
type GetInstanceTypeFamiliesResult ¶
type GetInstanceTypeFamiliesResult struct { Families []GetInstanceTypeFamiliesFamily `pulumi:"families"` // The generation of the instance type family. Generation *string `pulumi:"generation"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of instance type family IDs. Ids []string `pulumi:"ids"` InstanceChargeType *string `pulumi:"instanceChargeType"` OutputFile *string `pulumi:"outputFile"` SpotStrategy *string `pulumi:"spotStrategy"` ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by getInstanceTypeFamilies.
func GetInstanceTypeFamilies ¶
func GetInstanceTypeFamilies(ctx *pulumi.Context, args *GetInstanceTypeFamiliesArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypeFamiliesResult, error)
This data source provides the ECS instance type families of Alibaba Cloud.
> **NOTE:** Available in 1.54.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := ecs.GetInstanceTypeFamilies(ctx, &ecs.GetInstanceTypeFamiliesArgs{ InstanceChargeType: pulumi.StringRef("PrePaid"), }, nil) if err != nil { return err } ctx.Export("firstInstanceTypeFamilyId", _default.Families[0].Id) ctx.Export("instanceIds", _default.Ids) return nil }) }
```
type GetInstanceTypeFamiliesResultOutput ¶ added in v3.9.0
type GetInstanceTypeFamiliesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceTypeFamilies.
func GetInstanceTypeFamiliesOutput ¶ added in v3.9.0
func GetInstanceTypeFamiliesOutput(ctx *pulumi.Context, args GetInstanceTypeFamiliesOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeFamiliesResultOutput
func (GetInstanceTypeFamiliesResultOutput) ElementType ¶ added in v3.9.0
func (GetInstanceTypeFamiliesResultOutput) ElementType() reflect.Type
func (GetInstanceTypeFamiliesResultOutput) Families ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) Families() GetInstanceTypeFamiliesFamilyArrayOutput
func (GetInstanceTypeFamiliesResultOutput) Generation ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) Generation() pulumi.StringPtrOutput
The generation of the instance type family.
func (GetInstanceTypeFamiliesResultOutput) Id ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceTypeFamiliesResultOutput) Ids ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) Ids() pulumi.StringArrayOutput
A list of instance type family IDs.
func (GetInstanceTypeFamiliesResultOutput) InstanceChargeType ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) InstanceChargeType() pulumi.StringPtrOutput
func (GetInstanceTypeFamiliesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetInstanceTypeFamiliesResultOutput) SpotStrategy ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) SpotStrategy() pulumi.StringPtrOutput
func (GetInstanceTypeFamiliesResultOutput) ToGetInstanceTypeFamiliesResultOutput ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) ToGetInstanceTypeFamiliesResultOutput() GetInstanceTypeFamiliesResultOutput
func (GetInstanceTypeFamiliesResultOutput) ToGetInstanceTypeFamiliesResultOutputWithContext ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) ToGetInstanceTypeFamiliesResultOutputWithContext(ctx context.Context) GetInstanceTypeFamiliesResultOutput
func (GetInstanceTypeFamiliesResultOutput) ZoneId ¶ added in v3.9.0
func (o GetInstanceTypeFamiliesResultOutput) ZoneId() pulumi.StringPtrOutput
type GetInstanceTypesArgs ¶
type GetInstanceTypesArgs struct { // The zone where instance types are supported. AvailabilityZone *string `pulumi:"availabilityZone"` // Filter the results to a specific number of cpu cores. CpuCoreCount *int `pulumi:"cpuCoreCount"` // Filter the result whose network interface number is no more than `eniAmount`. EniAmount *int `pulumi:"eniAmount"` // The GPU amount of an instance type. GpuAmount *int `pulumi:"gpuAmount"` // The GPU spec of an instance type. GpuSpec *string `pulumi:"gpuSpec"` // Filter the results by charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PostPaid`. InstanceChargeType *string `pulumi:"instanceChargeType"` // Filter the results based on their family name. For example: 'ecs.n4'. InstanceTypeFamily *string `pulumi:"instanceTypeFamily"` // If true, outdated instance types are included in the results. Default to false. IsOutdated *bool `pulumi:"isOutdated"` KubernetesNodeRole *string `pulumi:"kubernetesNodeRole"` // Filter the results to a specific memory size in GB. MemorySize *float64 `pulumi:"memorySize"` // Filter the results by network type. Valid values: `Classic` and `Vpc`. NetworkType *string `pulumi:"networkType"` OutputFile *string `pulumi:"outputFile"` SortedBy *string `pulumi:"sortedBy"` // Filter the results by ECS spot type. Valid values: `NoSpot`, `SpotWithPriceLimit` and `SpotAsPriceGo`. Default to `NoSpot`. SpotStrategy *string `pulumi:"spotStrategy"` // Filter the results by system disk category. Valid values: `cloud`, `ephemeralSsd`, `cloudEssd`, `cloudEfficiency`, `cloudSsd`. // **NOTE**: Its default value `cloudEfficiency` has been removed from the version v1.150.0. SystemDiskCategory *string `pulumi:"systemDiskCategory"` }
A collection of arguments for invoking getInstanceTypes.
type GetInstanceTypesInstanceType ¶
type GetInstanceTypesInstanceType struct { // List of availability zones that support the instance type. AvailabilityZones []string `pulumi:"availabilityZones"` // The burstable instance attribution: BurstableInstance GetInstanceTypesInstanceTypeBurstableInstance `pulumi:"burstableInstance"` // Filter the results to a specific number of cpu cores. CpuCoreCount int `pulumi:"cpuCoreCount"` // Filter the result whose network interface number is no more than `eniAmount`. EniAmount int `pulumi:"eniAmount"` // The instance type family. Family string `pulumi:"family"` // The GPU attribution of an instance type: Gpu GetInstanceTypesInstanceTypeGpu `pulumi:"gpu"` // ID of the instance type. Id string `pulumi:"id"` // Local storage of an instance type: LocalStorage GetInstanceTypesInstanceTypeLocalStorage `pulumi:"localStorage"` // Filter the results to a specific memory size in GB. MemorySize float64 `pulumi:"memorySize"` Price string `pulumi:"price"` }
type GetInstanceTypesInstanceTypeArgs ¶
type GetInstanceTypesInstanceTypeArgs struct { // List of availability zones that support the instance type. AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // The burstable instance attribution: BurstableInstance GetInstanceTypesInstanceTypeBurstableInstanceInput `pulumi:"burstableInstance"` // Filter the results to a specific number of cpu cores. CpuCoreCount pulumi.IntInput `pulumi:"cpuCoreCount"` // Filter the result whose network interface number is no more than `eniAmount`. EniAmount pulumi.IntInput `pulumi:"eniAmount"` // The instance type family. Family pulumi.StringInput `pulumi:"family"` // The GPU attribution of an instance type: Gpu GetInstanceTypesInstanceTypeGpuInput `pulumi:"gpu"` // ID of the instance type. Id pulumi.StringInput `pulumi:"id"` // Local storage of an instance type: LocalStorage GetInstanceTypesInstanceTypeLocalStorageInput `pulumi:"localStorage"` // Filter the results to a specific memory size in GB. MemorySize pulumi.Float64Input `pulumi:"memorySize"` Price pulumi.StringInput `pulumi:"price"` }
func (GetInstanceTypesInstanceTypeArgs) ElementType ¶
func (GetInstanceTypesInstanceTypeArgs) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeArgs) ToGetInstanceTypesInstanceTypeOutput ¶
func (i GetInstanceTypesInstanceTypeArgs) ToGetInstanceTypesInstanceTypeOutput() GetInstanceTypesInstanceTypeOutput
func (GetInstanceTypesInstanceTypeArgs) ToGetInstanceTypesInstanceTypeOutputWithContext ¶
func (i GetInstanceTypesInstanceTypeArgs) ToGetInstanceTypesInstanceTypeOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeOutput
type GetInstanceTypesInstanceTypeArray ¶
type GetInstanceTypesInstanceTypeArray []GetInstanceTypesInstanceTypeInput
func (GetInstanceTypesInstanceTypeArray) ElementType ¶
func (GetInstanceTypesInstanceTypeArray) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeArray) ToGetInstanceTypesInstanceTypeArrayOutput ¶
func (i GetInstanceTypesInstanceTypeArray) ToGetInstanceTypesInstanceTypeArrayOutput() GetInstanceTypesInstanceTypeArrayOutput
func (GetInstanceTypesInstanceTypeArray) ToGetInstanceTypesInstanceTypeArrayOutputWithContext ¶
func (i GetInstanceTypesInstanceTypeArray) ToGetInstanceTypesInstanceTypeArrayOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeArrayOutput
type GetInstanceTypesInstanceTypeArrayInput ¶
type GetInstanceTypesInstanceTypeArrayInput interface { pulumi.Input ToGetInstanceTypesInstanceTypeArrayOutput() GetInstanceTypesInstanceTypeArrayOutput ToGetInstanceTypesInstanceTypeArrayOutputWithContext(context.Context) GetInstanceTypesInstanceTypeArrayOutput }
GetInstanceTypesInstanceTypeArrayInput is an input type that accepts GetInstanceTypesInstanceTypeArray and GetInstanceTypesInstanceTypeArrayOutput values. You can construct a concrete instance of `GetInstanceTypesInstanceTypeArrayInput` via:
GetInstanceTypesInstanceTypeArray{ GetInstanceTypesInstanceTypeArgs{...} }
type GetInstanceTypesInstanceTypeArrayOutput ¶
type GetInstanceTypesInstanceTypeArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesInstanceTypeArrayOutput) ElementType ¶
func (GetInstanceTypesInstanceTypeArrayOutput) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeArrayOutput) ToGetInstanceTypesInstanceTypeArrayOutput ¶
func (o GetInstanceTypesInstanceTypeArrayOutput) ToGetInstanceTypesInstanceTypeArrayOutput() GetInstanceTypesInstanceTypeArrayOutput
func (GetInstanceTypesInstanceTypeArrayOutput) ToGetInstanceTypesInstanceTypeArrayOutputWithContext ¶
func (o GetInstanceTypesInstanceTypeArrayOutput) ToGetInstanceTypesInstanceTypeArrayOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeArrayOutput
type GetInstanceTypesInstanceTypeBurstableInstanceArgs ¶
type GetInstanceTypesInstanceTypeBurstableInstanceArgs struct { // The compute performance benchmark CPU credit of a burstable instance. BaselineCredit pulumi.StringInput `pulumi:"baselineCredit"` // The initial CPU credit of a burstable instance. InitialCredit pulumi.StringInput `pulumi:"initialCredit"` }
func (GetInstanceTypesInstanceTypeBurstableInstanceArgs) ElementType ¶
func (GetInstanceTypesInstanceTypeBurstableInstanceArgs) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeBurstableInstanceArgs) ToGetInstanceTypesInstanceTypeBurstableInstanceOutput ¶
func (i GetInstanceTypesInstanceTypeBurstableInstanceArgs) ToGetInstanceTypesInstanceTypeBurstableInstanceOutput() GetInstanceTypesInstanceTypeBurstableInstanceOutput
func (GetInstanceTypesInstanceTypeBurstableInstanceArgs) ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext ¶
func (i GetInstanceTypesInstanceTypeBurstableInstanceArgs) ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeBurstableInstanceOutput
type GetInstanceTypesInstanceTypeBurstableInstanceInput ¶
type GetInstanceTypesInstanceTypeBurstableInstanceInput interface { pulumi.Input ToGetInstanceTypesInstanceTypeBurstableInstanceOutput() GetInstanceTypesInstanceTypeBurstableInstanceOutput ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext(context.Context) GetInstanceTypesInstanceTypeBurstableInstanceOutput }
GetInstanceTypesInstanceTypeBurstableInstanceInput is an input type that accepts GetInstanceTypesInstanceTypeBurstableInstanceArgs and GetInstanceTypesInstanceTypeBurstableInstanceOutput values. You can construct a concrete instance of `GetInstanceTypesInstanceTypeBurstableInstanceInput` via:
GetInstanceTypesInstanceTypeBurstableInstanceArgs{...}
type GetInstanceTypesInstanceTypeBurstableInstanceOutput ¶
type GetInstanceTypesInstanceTypeBurstableInstanceOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) BaselineCredit ¶
func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) BaselineCredit() pulumi.StringOutput
The compute performance benchmark CPU credit of a burstable instance.
func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) ElementType ¶
func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) InitialCredit ¶
func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) InitialCredit() pulumi.StringOutput
The initial CPU credit of a burstable instance.
func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) ToGetInstanceTypesInstanceTypeBurstableInstanceOutput ¶
func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) ToGetInstanceTypesInstanceTypeBurstableInstanceOutput() GetInstanceTypesInstanceTypeBurstableInstanceOutput
func (GetInstanceTypesInstanceTypeBurstableInstanceOutput) ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext ¶
func (o GetInstanceTypesInstanceTypeBurstableInstanceOutput) ToGetInstanceTypesInstanceTypeBurstableInstanceOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeBurstableInstanceOutput
type GetInstanceTypesInstanceTypeGpuArgs ¶
type GetInstanceTypesInstanceTypeGpuArgs struct { // The number of local storage devices that an instance has been attached to. Amount pulumi.StringInput `pulumi:"amount"` // The category of local storage that an instance has been attached to. Category pulumi.StringInput `pulumi:"category"` }
func (GetInstanceTypesInstanceTypeGpuArgs) ElementType ¶
func (GetInstanceTypesInstanceTypeGpuArgs) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeGpuArgs) ToGetInstanceTypesInstanceTypeGpuOutput ¶
func (i GetInstanceTypesInstanceTypeGpuArgs) ToGetInstanceTypesInstanceTypeGpuOutput() GetInstanceTypesInstanceTypeGpuOutput
func (GetInstanceTypesInstanceTypeGpuArgs) ToGetInstanceTypesInstanceTypeGpuOutputWithContext ¶
func (i GetInstanceTypesInstanceTypeGpuArgs) ToGetInstanceTypesInstanceTypeGpuOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeGpuOutput
type GetInstanceTypesInstanceTypeGpuInput ¶
type GetInstanceTypesInstanceTypeGpuInput interface { pulumi.Input ToGetInstanceTypesInstanceTypeGpuOutput() GetInstanceTypesInstanceTypeGpuOutput ToGetInstanceTypesInstanceTypeGpuOutputWithContext(context.Context) GetInstanceTypesInstanceTypeGpuOutput }
GetInstanceTypesInstanceTypeGpuInput is an input type that accepts GetInstanceTypesInstanceTypeGpuArgs and GetInstanceTypesInstanceTypeGpuOutput values. You can construct a concrete instance of `GetInstanceTypesInstanceTypeGpuInput` via:
GetInstanceTypesInstanceTypeGpuArgs{...}
type GetInstanceTypesInstanceTypeGpuOutput ¶
type GetInstanceTypesInstanceTypeGpuOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesInstanceTypeGpuOutput) Amount ¶
func (o GetInstanceTypesInstanceTypeGpuOutput) Amount() pulumi.StringOutput
The number of local storage devices that an instance has been attached to.
func (GetInstanceTypesInstanceTypeGpuOutput) Category ¶
func (o GetInstanceTypesInstanceTypeGpuOutput) Category() pulumi.StringOutput
The category of local storage that an instance has been attached to.
func (GetInstanceTypesInstanceTypeGpuOutput) ElementType ¶
func (GetInstanceTypesInstanceTypeGpuOutput) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeGpuOutput) ToGetInstanceTypesInstanceTypeGpuOutput ¶
func (o GetInstanceTypesInstanceTypeGpuOutput) ToGetInstanceTypesInstanceTypeGpuOutput() GetInstanceTypesInstanceTypeGpuOutput
func (GetInstanceTypesInstanceTypeGpuOutput) ToGetInstanceTypesInstanceTypeGpuOutputWithContext ¶
func (o GetInstanceTypesInstanceTypeGpuOutput) ToGetInstanceTypesInstanceTypeGpuOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeGpuOutput
type GetInstanceTypesInstanceTypeInput ¶
type GetInstanceTypesInstanceTypeInput interface { pulumi.Input ToGetInstanceTypesInstanceTypeOutput() GetInstanceTypesInstanceTypeOutput ToGetInstanceTypesInstanceTypeOutputWithContext(context.Context) GetInstanceTypesInstanceTypeOutput }
GetInstanceTypesInstanceTypeInput is an input type that accepts GetInstanceTypesInstanceTypeArgs and GetInstanceTypesInstanceTypeOutput values. You can construct a concrete instance of `GetInstanceTypesInstanceTypeInput` via:
GetInstanceTypesInstanceTypeArgs{...}
type GetInstanceTypesInstanceTypeLocalStorage ¶
type GetInstanceTypesInstanceTypeLocalStorage struct { // The number of local storage devices that an instance has been attached to. Amount string `pulumi:"amount"` // The capacity of a local storage in GB. Capacity string `pulumi:"capacity"` // The category of local storage that an instance has been attached to. Category string `pulumi:"category"` }
type GetInstanceTypesInstanceTypeLocalStorageArgs ¶
type GetInstanceTypesInstanceTypeLocalStorageArgs struct { // The number of local storage devices that an instance has been attached to. Amount pulumi.StringInput `pulumi:"amount"` // The capacity of a local storage in GB. Capacity pulumi.StringInput `pulumi:"capacity"` // The category of local storage that an instance has been attached to. Category pulumi.StringInput `pulumi:"category"` }
func (GetInstanceTypesInstanceTypeLocalStorageArgs) ElementType ¶
func (GetInstanceTypesInstanceTypeLocalStorageArgs) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeLocalStorageArgs) ToGetInstanceTypesInstanceTypeLocalStorageOutput ¶
func (i GetInstanceTypesInstanceTypeLocalStorageArgs) ToGetInstanceTypesInstanceTypeLocalStorageOutput() GetInstanceTypesInstanceTypeLocalStorageOutput
func (GetInstanceTypesInstanceTypeLocalStorageArgs) ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext ¶
func (i GetInstanceTypesInstanceTypeLocalStorageArgs) ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeLocalStorageOutput
type GetInstanceTypesInstanceTypeLocalStorageInput ¶
type GetInstanceTypesInstanceTypeLocalStorageInput interface { pulumi.Input ToGetInstanceTypesInstanceTypeLocalStorageOutput() GetInstanceTypesInstanceTypeLocalStorageOutput ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext(context.Context) GetInstanceTypesInstanceTypeLocalStorageOutput }
GetInstanceTypesInstanceTypeLocalStorageInput is an input type that accepts GetInstanceTypesInstanceTypeLocalStorageArgs and GetInstanceTypesInstanceTypeLocalStorageOutput values. You can construct a concrete instance of `GetInstanceTypesInstanceTypeLocalStorageInput` via:
GetInstanceTypesInstanceTypeLocalStorageArgs{...}
type GetInstanceTypesInstanceTypeLocalStorageOutput ¶
type GetInstanceTypesInstanceTypeLocalStorageOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesInstanceTypeLocalStorageOutput) Amount ¶
func (o GetInstanceTypesInstanceTypeLocalStorageOutput) Amount() pulumi.StringOutput
The number of local storage devices that an instance has been attached to.
func (GetInstanceTypesInstanceTypeLocalStorageOutput) Capacity ¶
func (o GetInstanceTypesInstanceTypeLocalStorageOutput) Capacity() pulumi.StringOutput
The capacity of a local storage in GB.
func (GetInstanceTypesInstanceTypeLocalStorageOutput) Category ¶
func (o GetInstanceTypesInstanceTypeLocalStorageOutput) Category() pulumi.StringOutput
The category of local storage that an instance has been attached to.
func (GetInstanceTypesInstanceTypeLocalStorageOutput) ElementType ¶
func (GetInstanceTypesInstanceTypeLocalStorageOutput) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeLocalStorageOutput) ToGetInstanceTypesInstanceTypeLocalStorageOutput ¶
func (o GetInstanceTypesInstanceTypeLocalStorageOutput) ToGetInstanceTypesInstanceTypeLocalStorageOutput() GetInstanceTypesInstanceTypeLocalStorageOutput
func (GetInstanceTypesInstanceTypeLocalStorageOutput) ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext ¶
func (o GetInstanceTypesInstanceTypeLocalStorageOutput) ToGetInstanceTypesInstanceTypeLocalStorageOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeLocalStorageOutput
type GetInstanceTypesInstanceTypeOutput ¶
type GetInstanceTypesInstanceTypeOutput struct{ *pulumi.OutputState }
func (GetInstanceTypesInstanceTypeOutput) AvailabilityZones ¶
func (o GetInstanceTypesInstanceTypeOutput) AvailabilityZones() pulumi.StringArrayOutput
List of availability zones that support the instance type.
func (GetInstanceTypesInstanceTypeOutput) BurstableInstance ¶
func (o GetInstanceTypesInstanceTypeOutput) BurstableInstance() GetInstanceTypesInstanceTypeBurstableInstanceOutput
The burstable instance attribution:
func (GetInstanceTypesInstanceTypeOutput) CpuCoreCount ¶
func (o GetInstanceTypesInstanceTypeOutput) CpuCoreCount() pulumi.IntOutput
Filter the results to a specific number of cpu cores.
func (GetInstanceTypesInstanceTypeOutput) ElementType ¶
func (GetInstanceTypesInstanceTypeOutput) ElementType() reflect.Type
func (GetInstanceTypesInstanceTypeOutput) EniAmount ¶
func (o GetInstanceTypesInstanceTypeOutput) EniAmount() pulumi.IntOutput
Filter the result whose network interface number is no more than `eniAmount`.
func (GetInstanceTypesInstanceTypeOutput) Family ¶
func (o GetInstanceTypesInstanceTypeOutput) Family() pulumi.StringOutput
The instance type family.
func (GetInstanceTypesInstanceTypeOutput) Id ¶
func (o GetInstanceTypesInstanceTypeOutput) Id() pulumi.StringOutput
ID of the instance type.
func (GetInstanceTypesInstanceTypeOutput) LocalStorage ¶
func (o GetInstanceTypesInstanceTypeOutput) LocalStorage() GetInstanceTypesInstanceTypeLocalStorageOutput
Local storage of an instance type:
func (GetInstanceTypesInstanceTypeOutput) MemorySize ¶
func (o GetInstanceTypesInstanceTypeOutput) MemorySize() pulumi.Float64Output
Filter the results to a specific memory size in GB.
func (GetInstanceTypesInstanceTypeOutput) Price ¶
func (o GetInstanceTypesInstanceTypeOutput) Price() pulumi.StringOutput
func (GetInstanceTypesInstanceTypeOutput) ToGetInstanceTypesInstanceTypeOutput ¶
func (o GetInstanceTypesInstanceTypeOutput) ToGetInstanceTypesInstanceTypeOutput() GetInstanceTypesInstanceTypeOutput
func (GetInstanceTypesInstanceTypeOutput) ToGetInstanceTypesInstanceTypeOutputWithContext ¶
func (o GetInstanceTypesInstanceTypeOutput) ToGetInstanceTypesInstanceTypeOutputWithContext(ctx context.Context) GetInstanceTypesInstanceTypeOutput
type GetInstanceTypesOutputArgs ¶ added in v3.9.0
type GetInstanceTypesOutputArgs struct { // The zone where instance types are supported. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Filter the results to a specific number of cpu cores. CpuCoreCount pulumi.IntPtrInput `pulumi:"cpuCoreCount"` // Filter the result whose network interface number is no more than `eniAmount`. EniAmount pulumi.IntPtrInput `pulumi:"eniAmount"` // The GPU amount of an instance type. GpuAmount pulumi.IntPtrInput `pulumi:"gpuAmount"` // The GPU spec of an instance type. GpuSpec pulumi.StringPtrInput `pulumi:"gpuSpec"` // Filter the results by charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PostPaid`. InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"` // Filter the results based on their family name. For example: 'ecs.n4'. InstanceTypeFamily pulumi.StringPtrInput `pulumi:"instanceTypeFamily"` // If true, outdated instance types are included in the results. Default to false. IsOutdated pulumi.BoolPtrInput `pulumi:"isOutdated"` KubernetesNodeRole pulumi.StringPtrInput `pulumi:"kubernetesNodeRole"` // Filter the results to a specific memory size in GB. MemorySize pulumi.Float64PtrInput `pulumi:"memorySize"` // Filter the results by network type. Valid values: `Classic` and `Vpc`. NetworkType pulumi.StringPtrInput `pulumi:"networkType"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` SortedBy pulumi.StringPtrInput `pulumi:"sortedBy"` // Filter the results by ECS spot type. Valid values: `NoSpot`, `SpotWithPriceLimit` and `SpotAsPriceGo`. Default to `NoSpot`. SpotStrategy pulumi.StringPtrInput `pulumi:"spotStrategy"` // Filter the results by system disk category. Valid values: `cloud`, `ephemeralSsd`, `cloudEssd`, `cloudEfficiency`, `cloudSsd`. // **NOTE**: Its default value `cloudEfficiency` has been removed from the version v1.150.0. SystemDiskCategory pulumi.StringPtrInput `pulumi:"systemDiskCategory"` }
A collection of arguments for invoking getInstanceTypes.
func (GetInstanceTypesOutputArgs) ElementType ¶ added in v3.9.0
func (GetInstanceTypesOutputArgs) ElementType() reflect.Type
type GetInstanceTypesResult ¶
type GetInstanceTypesResult struct { AvailabilityZone *string `pulumi:"availabilityZone"` // Number of CPU cores. CpuCoreCount *int `pulumi:"cpuCoreCount"` // The maximum number of network interfaces that an instance type can be attached to. EniAmount *int `pulumi:"eniAmount"` GpuAmount *int `pulumi:"gpuAmount"` GpuSpec *string `pulumi:"gpuSpec"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of instance type IDs. Ids []string `pulumi:"ids"` InstanceChargeType *string `pulumi:"instanceChargeType"` InstanceTypeFamily *string `pulumi:"instanceTypeFamily"` // A list of image types. Each element contains the following attributes: InstanceTypes []GetInstanceTypesInstanceType `pulumi:"instanceTypes"` IsOutdated *bool `pulumi:"isOutdated"` KubernetesNodeRole *string `pulumi:"kubernetesNodeRole"` // Size of memory, measured in GB. MemorySize *float64 `pulumi:"memorySize"` NetworkType *string `pulumi:"networkType"` OutputFile *string `pulumi:"outputFile"` SortedBy *string `pulumi:"sortedBy"` SpotStrategy *string `pulumi:"spotStrategy"` SystemDiskCategory *string `pulumi:"systemDiskCategory"` }
A collection of values returned by getInstanceTypes.
func GetInstanceTypes ¶
func GetInstanceTypes(ctx *pulumi.Context, args *GetInstanceTypesArgs, opts ...pulumi.InvokeOption) (*GetInstanceTypesResult, error)
This data source provides the ECS instance types of Alibaba Cloud.
> **NOTE:** By default, only the upgraded instance types are returned. If you want to get outdated instance types, you must set `isOutdated` to true.
> **NOTE:** If one instance type is sold out, it will not be exported.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { typesDs, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ CpuCoreCount: pulumi.IntRef(1), MemorySize: pulumi.Float64Ref(2), }, nil) if err != nil { return err } _, err = ecs.NewInstance(ctx, "instance", &ecs.InstanceArgs{ InstanceType: pulumi.String(typesDs.InstanceTypes[0].Id), }) if err != nil { return err } return nil }) }
```
type GetInstanceTypesResultOutput ¶ added in v3.9.0
type GetInstanceTypesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceTypes.
func GetInstanceTypesOutput ¶ added in v3.9.0
func GetInstanceTypesOutput(ctx *pulumi.Context, args GetInstanceTypesOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypesResultOutput
func (GetInstanceTypesResultOutput) AvailabilityZone ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) AvailabilityZone() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) CpuCoreCount ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) CpuCoreCount() pulumi.IntPtrOutput
Number of CPU cores.
func (GetInstanceTypesResultOutput) ElementType ¶ added in v3.9.0
func (GetInstanceTypesResultOutput) ElementType() reflect.Type
func (GetInstanceTypesResultOutput) EniAmount ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) EniAmount() pulumi.IntPtrOutput
The maximum number of network interfaces that an instance type can be attached to.
func (GetInstanceTypesResultOutput) GpuAmount ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) GpuAmount() pulumi.IntPtrOutput
func (GetInstanceTypesResultOutput) GpuSpec ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) GpuSpec() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) Id ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceTypesResultOutput) Ids ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) Ids() pulumi.StringArrayOutput
A list of instance type IDs.
func (GetInstanceTypesResultOutput) InstanceChargeType ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) InstanceChargeType() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) InstanceTypeFamily ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) InstanceTypeFamily() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) InstanceTypes ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) InstanceTypes() GetInstanceTypesInstanceTypeArrayOutput
A list of image types. Each element contains the following attributes:
func (GetInstanceTypesResultOutput) IsOutdated ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) IsOutdated() pulumi.BoolPtrOutput
func (GetInstanceTypesResultOutput) KubernetesNodeRole ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) KubernetesNodeRole() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) MemorySize ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) MemorySize() pulumi.Float64PtrOutput
Size of memory, measured in GB.
func (GetInstanceTypesResultOutput) NetworkType ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) NetworkType() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) SortedBy ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) SortedBy() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) SpotStrategy ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) SpotStrategy() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) SystemDiskCategory ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) SystemDiskCategory() pulumi.StringPtrOutput
func (GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutput ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutput() GetInstanceTypesResultOutput
func (GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutputWithContext ¶ added in v3.9.0
func (o GetInstanceTypesResultOutput) ToGetInstanceTypesResultOutputWithContext(ctx context.Context) GetInstanceTypesResultOutput
type GetInstancesArgs ¶
type GetInstancesArgs struct { // Availability zone where instances are located. AvailabilityZone *string `pulumi:"availabilityZone"` // A list of ECS instance IDs. Ids []string `pulumi:"ids"` // The image ID of some ECS instance used. ImageId *string `pulumi:"imageId"` // A regex string to filter results by instance name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The RAM role name which the instance attaches. RamRoleName *string `pulumi:"ramRoleName"` // The Id of resource group which the instance belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered. Status *string `pulumi:"status"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the instances. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch linked to the instances. VswitchId *string `pulumi:"vswitchId"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstance ¶
type GetInstancesInstance struct { // Availability zone where instances are located. AvailabilityZone string `pulumi:"availabilityZone"` // Instance creation time. CreationTime string `pulumi:"creationTime"` // Instance description. Description string `pulumi:"description"` // Description of the attached disks. DiskDeviceMappings []GetInstancesInstanceDiskDeviceMapping `pulumi:"diskDeviceMappings"` // EIP address the VPC instance is using. Eip string `pulumi:"eip"` // ID of the instance. Id string `pulumi:"id"` // The image ID of some ECS instance used. ImageId string `pulumi:"imageId"` // Instance charge type. InstanceChargeType string `pulumi:"instanceChargeType"` // Instance type. InstanceType string `pulumi:"instanceType"` // Instance network charge type. InternetChargeType string `pulumi:"internetChargeType"` // Max output bandwidth for internet. InternetMaxBandwidthOut int `pulumi:"internetMaxBandwidthOut"` // Key pair the instance is using. KeyName string `pulumi:"keyName"` // Instance name. Name string `pulumi:"name"` // Instance private IP address. PrivateIp string `pulumi:"privateIp"` // Instance public IP address. PublicIp string `pulumi:"publicIp"` // The RAM role name which the instance attaches. RamRoleName string `pulumi:"ramRoleName"` // Region ID the instance belongs to. RegionId string `pulumi:"regionId"` // The Id of resource group which the instance belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // List of security group IDs the instance belongs to. SecurityGroups []string `pulumi:"securityGroups"` // Spot strategy the instance is using. SpotStrategy string `pulumi:"spotStrategy"` // Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered. Status string `pulumi:"status"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC linked to the instances. VpcId string `pulumi:"vpcId"` // ID of the VSwitch linked to the instances. VswitchId string `pulumi:"vswitchId"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // Availability zone where instances are located. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Instance creation time. CreationTime pulumi.StringInput `pulumi:"creationTime"` // Instance description. Description pulumi.StringInput `pulumi:"description"` // Description of the attached disks. DiskDeviceMappings GetInstancesInstanceDiskDeviceMappingArrayInput `pulumi:"diskDeviceMappings"` // EIP address the VPC instance is using. Eip pulumi.StringInput `pulumi:"eip"` // ID of the instance. Id pulumi.StringInput `pulumi:"id"` // The image ID of some ECS instance used. ImageId pulumi.StringInput `pulumi:"imageId"` // Instance charge type. InstanceChargeType pulumi.StringInput `pulumi:"instanceChargeType"` // Instance type. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Instance network charge type. InternetChargeType pulumi.StringInput `pulumi:"internetChargeType"` // Max output bandwidth for internet. InternetMaxBandwidthOut pulumi.IntInput `pulumi:"internetMaxBandwidthOut"` // Key pair the instance is using. KeyName pulumi.StringInput `pulumi:"keyName"` // Instance name. Name pulumi.StringInput `pulumi:"name"` // Instance private IP address. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // Instance public IP address. PublicIp pulumi.StringInput `pulumi:"publicIp"` // The RAM role name which the instance attaches. RamRoleName pulumi.StringInput `pulumi:"ramRoleName"` // Region ID the instance belongs to. RegionId pulumi.StringInput `pulumi:"regionId"` // The Id of resource group which the instance belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // List of security group IDs the instance belongs to. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` // Spot strategy the instance is using. SpotStrategy pulumi.StringInput `pulumi:"spotStrategy"` // Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the instances. VpcId pulumi.StringInput `pulumi:"vpcId"` // ID of the VSwitch linked to the instances. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetInstancesInstanceArgs) ElementType ¶
func (GetInstancesInstanceArgs) ElementType() reflect.Type
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesInstanceArray ¶
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType ¶
func (GetInstancesInstanceArray) ElementType() reflect.Type
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceArrayInput ¶
type GetInstancesInstanceArrayInput interface { pulumi.Input ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput }
GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayOutput ¶
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType ¶
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceArrayOutput) Index ¶
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceDiskDeviceMapping ¶
type GetInstancesInstanceDiskDeviceMapping struct { // Cloud disk category. Category string `pulumi:"category"` // Device information of the created disk: such as /dev/xvdb. Device string `pulumi:"device"` // Size of the created disk. Size int `pulumi:"size"` // Cloud disk type: system disk or data disk. Type string `pulumi:"type"` }
type GetInstancesInstanceDiskDeviceMappingArgs ¶
type GetInstancesInstanceDiskDeviceMappingArgs struct { // Cloud disk category. Category pulumi.StringInput `pulumi:"category"` // Device information of the created disk: such as /dev/xvdb. Device pulumi.StringInput `pulumi:"device"` // Size of the created disk. Size pulumi.IntInput `pulumi:"size"` // Cloud disk type: system disk or data disk. Type pulumi.StringInput `pulumi:"type"` }
func (GetInstancesInstanceDiskDeviceMappingArgs) ElementType ¶
func (GetInstancesInstanceDiskDeviceMappingArgs) ElementType() reflect.Type
func (GetInstancesInstanceDiskDeviceMappingArgs) ToGetInstancesInstanceDiskDeviceMappingOutput ¶
func (i GetInstancesInstanceDiskDeviceMappingArgs) ToGetInstancesInstanceDiskDeviceMappingOutput() GetInstancesInstanceDiskDeviceMappingOutput
func (GetInstancesInstanceDiskDeviceMappingArgs) ToGetInstancesInstanceDiskDeviceMappingOutputWithContext ¶
func (i GetInstancesInstanceDiskDeviceMappingArgs) ToGetInstancesInstanceDiskDeviceMappingOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingOutput
type GetInstancesInstanceDiskDeviceMappingArray ¶
type GetInstancesInstanceDiskDeviceMappingArray []GetInstancesInstanceDiskDeviceMappingInput
func (GetInstancesInstanceDiskDeviceMappingArray) ElementType ¶
func (GetInstancesInstanceDiskDeviceMappingArray) ElementType() reflect.Type
func (GetInstancesInstanceDiskDeviceMappingArray) ToGetInstancesInstanceDiskDeviceMappingArrayOutput ¶
func (i GetInstancesInstanceDiskDeviceMappingArray) ToGetInstancesInstanceDiskDeviceMappingArrayOutput() GetInstancesInstanceDiskDeviceMappingArrayOutput
func (GetInstancesInstanceDiskDeviceMappingArray) ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext ¶
func (i GetInstancesInstanceDiskDeviceMappingArray) ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingArrayOutput
type GetInstancesInstanceDiskDeviceMappingArrayInput ¶
type GetInstancesInstanceDiskDeviceMappingArrayInput interface { pulumi.Input ToGetInstancesInstanceDiskDeviceMappingArrayOutput() GetInstancesInstanceDiskDeviceMappingArrayOutput ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext(context.Context) GetInstancesInstanceDiskDeviceMappingArrayOutput }
GetInstancesInstanceDiskDeviceMappingArrayInput is an input type that accepts GetInstancesInstanceDiskDeviceMappingArray and GetInstancesInstanceDiskDeviceMappingArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceDiskDeviceMappingArrayInput` via:
GetInstancesInstanceDiskDeviceMappingArray{ GetInstancesInstanceDiskDeviceMappingArgs{...} }
type GetInstancesInstanceDiskDeviceMappingArrayOutput ¶
type GetInstancesInstanceDiskDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceDiskDeviceMappingArrayOutput) ElementType ¶
func (GetInstancesInstanceDiskDeviceMappingArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceDiskDeviceMappingArrayOutput) ToGetInstancesInstanceDiskDeviceMappingArrayOutput ¶
func (o GetInstancesInstanceDiskDeviceMappingArrayOutput) ToGetInstancesInstanceDiskDeviceMappingArrayOutput() GetInstancesInstanceDiskDeviceMappingArrayOutput
func (GetInstancesInstanceDiskDeviceMappingArrayOutput) ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext ¶
func (o GetInstancesInstanceDiskDeviceMappingArrayOutput) ToGetInstancesInstanceDiskDeviceMappingArrayOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingArrayOutput
type GetInstancesInstanceDiskDeviceMappingInput ¶
type GetInstancesInstanceDiskDeviceMappingInput interface { pulumi.Input ToGetInstancesInstanceDiskDeviceMappingOutput() GetInstancesInstanceDiskDeviceMappingOutput ToGetInstancesInstanceDiskDeviceMappingOutputWithContext(context.Context) GetInstancesInstanceDiskDeviceMappingOutput }
GetInstancesInstanceDiskDeviceMappingInput is an input type that accepts GetInstancesInstanceDiskDeviceMappingArgs and GetInstancesInstanceDiskDeviceMappingOutput values. You can construct a concrete instance of `GetInstancesInstanceDiskDeviceMappingInput` via:
GetInstancesInstanceDiskDeviceMappingArgs{...}
type GetInstancesInstanceDiskDeviceMappingOutput ¶
type GetInstancesInstanceDiskDeviceMappingOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceDiskDeviceMappingOutput) Category ¶
func (o GetInstancesInstanceDiskDeviceMappingOutput) Category() pulumi.StringOutput
Cloud disk category.
func (GetInstancesInstanceDiskDeviceMappingOutput) Device ¶
func (o GetInstancesInstanceDiskDeviceMappingOutput) Device() pulumi.StringOutput
Device information of the created disk: such as /dev/xvdb.
func (GetInstancesInstanceDiskDeviceMappingOutput) ElementType ¶
func (GetInstancesInstanceDiskDeviceMappingOutput) ElementType() reflect.Type
func (GetInstancesInstanceDiskDeviceMappingOutput) Size ¶
func (o GetInstancesInstanceDiskDeviceMappingOutput) Size() pulumi.IntOutput
Size of the created disk.
func (GetInstancesInstanceDiskDeviceMappingOutput) ToGetInstancesInstanceDiskDeviceMappingOutput ¶
func (o GetInstancesInstanceDiskDeviceMappingOutput) ToGetInstancesInstanceDiskDeviceMappingOutput() GetInstancesInstanceDiskDeviceMappingOutput
func (GetInstancesInstanceDiskDeviceMappingOutput) ToGetInstancesInstanceDiskDeviceMappingOutputWithContext ¶
func (o GetInstancesInstanceDiskDeviceMappingOutput) ToGetInstancesInstanceDiskDeviceMappingOutputWithContext(ctx context.Context) GetInstancesInstanceDiskDeviceMappingOutput
func (GetInstancesInstanceDiskDeviceMappingOutput) Type ¶
func (o GetInstancesInstanceDiskDeviceMappingOutput) Type() pulumi.StringOutput
Cloud disk type: system disk or data disk.
type GetInstancesInstanceInput ¶
type GetInstancesInstanceInput interface { pulumi.Input ToGetInstancesInstanceOutput() GetInstancesInstanceOutput ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput }
GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:
GetInstancesInstanceArgs{...}
type GetInstancesInstanceOutput ¶
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) AvailabilityZone ¶
func (o GetInstancesInstanceOutput) AvailabilityZone() pulumi.StringOutput
Availability zone where instances are located.
func (GetInstancesInstanceOutput) CreationTime ¶
func (o GetInstancesInstanceOutput) CreationTime() pulumi.StringOutput
Instance creation time.
func (GetInstancesInstanceOutput) Description ¶
func (o GetInstancesInstanceOutput) Description() pulumi.StringOutput
Instance description.
func (GetInstancesInstanceOutput) DiskDeviceMappings ¶
func (o GetInstancesInstanceOutput) DiskDeviceMappings() GetInstancesInstanceDiskDeviceMappingArrayOutput
Description of the attached disks.
func (GetInstancesInstanceOutput) Eip ¶
func (o GetInstancesInstanceOutput) Eip() pulumi.StringOutput
EIP address the VPC instance is using.
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
ID of the instance.
func (GetInstancesInstanceOutput) ImageId ¶
func (o GetInstancesInstanceOutput) ImageId() pulumi.StringOutput
The image ID of some ECS instance used.
func (GetInstancesInstanceOutput) InstanceChargeType ¶
func (o GetInstancesInstanceOutput) InstanceChargeType() pulumi.StringOutput
Instance charge type.
func (GetInstancesInstanceOutput) InstanceType ¶
func (o GetInstancesInstanceOutput) InstanceType() pulumi.StringOutput
Instance type.
func (GetInstancesInstanceOutput) InternetChargeType ¶
func (o GetInstancesInstanceOutput) InternetChargeType() pulumi.StringOutput
Instance network charge type.
func (GetInstancesInstanceOutput) InternetMaxBandwidthOut ¶
func (o GetInstancesInstanceOutput) InternetMaxBandwidthOut() pulumi.IntOutput
Max output bandwidth for internet.
func (GetInstancesInstanceOutput) KeyName ¶
func (o GetInstancesInstanceOutput) KeyName() pulumi.StringOutput
Key pair the instance is using.
func (GetInstancesInstanceOutput) Name ¶
func (o GetInstancesInstanceOutput) Name() pulumi.StringOutput
Instance name.
func (GetInstancesInstanceOutput) PrivateIp ¶
func (o GetInstancesInstanceOutput) PrivateIp() pulumi.StringOutput
Instance private IP address.
func (GetInstancesInstanceOutput) PublicIp ¶
func (o GetInstancesInstanceOutput) PublicIp() pulumi.StringOutput
Instance public IP address.
func (GetInstancesInstanceOutput) RamRoleName ¶
func (o GetInstancesInstanceOutput) RamRoleName() pulumi.StringOutput
The RAM role name which the instance attaches.
func (GetInstancesInstanceOutput) RegionId ¶
func (o GetInstancesInstanceOutput) RegionId() pulumi.StringOutput
Region ID the instance belongs to.
func (GetInstancesInstanceOutput) ResourceGroupId ¶
func (o GetInstancesInstanceOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the instance belongs.
func (GetInstancesInstanceOutput) SecurityGroups ¶
func (o GetInstancesInstanceOutput) SecurityGroups() pulumi.StringArrayOutput
List of security group IDs the instance belongs to.
func (GetInstancesInstanceOutput) SpotStrategy ¶
func (o GetInstancesInstanceOutput) SpotStrategy() pulumi.StringOutput
Spot strategy the instance is using.
func (GetInstancesInstanceOutput) Status ¶
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered.
func (GetInstancesInstanceOutput) Tags ¶
func (o GetInstancesInstanceOutput) Tags() pulumi.MapOutput
A map of tags assigned to the ECS instances. It must be in the format: ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ Tags: map[string]interface{}{ "tagKey1": "tagValue1", "tagKey2": "tagValue2", }, }, nil) if err != nil { return err } return nil }) }
```
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) VpcId ¶
func (o GetInstancesInstanceOutput) VpcId() pulumi.StringOutput
ID of the VPC linked to the instances.
func (GetInstancesInstanceOutput) VswitchId ¶
func (o GetInstancesInstanceOutput) VswitchId() pulumi.StringOutput
ID of the VSwitch linked to the instances.
type GetInstancesOutputArgs ¶ added in v3.9.0
type GetInstancesOutputArgs struct { // Availability zone where instances are located. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // A list of ECS instance IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The image ID of some ECS instance used. ImageId pulumi.StringPtrInput `pulumi:"imageId"` // A regex string to filter results by instance name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The RAM role name which the instance attaches. RamRoleName pulumi.StringPtrInput `pulumi:"ramRoleName"` // The Id of resource group which the instance belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC linked to the instances. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // ID of the VSwitch linked to the instances. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶ added in v3.9.0
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { // Availability zone the instance belongs to. AvailabilityZone *string `pulumi:"availabilityZone"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of ECS instance IDs. Ids []string `pulumi:"ids"` // Image ID the instance is using. ImageId *string `pulumi:"imageId"` // A list of instances. Each element contains the following attributes: Instances []GetInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` // A list of instances names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The Ram role name. RamRoleName *string `pulumi:"ramRoleName"` // The Id of resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` // Instance current status. Status *string `pulumi:"status"` // A map of tags assigned to the ECS instance. Tags map[string]interface{} `pulumi:"tags"` TotalCount int `pulumi:"totalCount"` // ID of the VPC the instance belongs to. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch the instance belongs to. VswitchId *string `pulumi:"vswitchId"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
The Instances data source list ECS instance resources according to their ID, name regex, image id, status and other fields.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { instancesDs, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ NameRegex: pulumi.StringRef("web_server"), Status: pulumi.StringRef("Running"), }, nil) if err != nil { return err } ctx.Export("firstInstanceId", instancesDs.Instances[0].Id) ctx.Export("instanceIds", instancesDs.Ids) return nil }) }
```
type GetInstancesResultOutput ¶ added in v3.9.0
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶ added in v3.9.0
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) AvailabilityZone ¶ added in v3.9.0
func (o GetInstancesResultOutput) AvailabilityZone() pulumi.StringPtrOutput
Availability zone the instance belongs to.
func (GetInstancesResultOutput) ElementType ¶ added in v3.9.0
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) Id ¶ added in v3.9.0
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) Ids ¶ added in v3.9.0
func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
A list of ECS instance IDs.
func (GetInstancesResultOutput) ImageId ¶ added in v3.9.0
func (o GetInstancesResultOutput) ImageId() pulumi.StringPtrOutput
Image ID the instance is using.
func (GetInstancesResultOutput) Instances ¶ added in v3.9.0
func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
A list of instances. Each element contains the following attributes:
func (GetInstancesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Names ¶ added in v3.9.0
func (o GetInstancesResultOutput) Names() pulumi.StringArrayOutput
A list of instances names.
func (GetInstancesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) PageNumber ¶ added in v3.16.0
func (o GetInstancesResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetInstancesResultOutput) PageSize ¶ added in v3.16.0
func (o GetInstancesResultOutput) PageSize() pulumi.IntPtrOutput
func (GetInstancesResultOutput) RamRoleName ¶ added in v3.9.0
func (o GetInstancesResultOutput) RamRoleName() pulumi.StringPtrOutput
The Ram role name.
func (GetInstancesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetInstancesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group.
func (GetInstancesResultOutput) Status ¶ added in v3.9.0
func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
Instance current status.
func (GetInstancesResultOutput) Tags ¶ added in v3.9.0
func (o GetInstancesResultOutput) Tags() pulumi.MapOutput
A map of tags assigned to the ECS instance.
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶ added in v3.9.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶ added in v3.9.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
func (GetInstancesResultOutput) TotalCount ¶ added in v3.16.0
func (o GetInstancesResultOutput) TotalCount() pulumi.IntOutput
func (GetInstancesResultOutput) VpcId ¶ added in v3.9.0
func (o GetInstancesResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC the instance belongs to.
func (GetInstancesResultOutput) VswitchId ¶ added in v3.9.0
func (o GetInstancesResultOutput) VswitchId() pulumi.StringPtrOutput
ID of the VSwitch the instance belongs to.
type GetKeyPairsArgs ¶
type GetKeyPairsArgs struct { // A finger print used to retrieve specified key pair. FingerPrint *string `pulumi:"fingerPrint"` // A list of key pair IDs. Ids []string `pulumi:"ids"` // A regex string to apply to the resulting key pairs. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The Id of resource group which the key pair belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getKeyPairs.
type GetKeyPairsKeyPair ¶
type GetKeyPairsKeyPair struct { // A finger print used to retrieve specified key pair. FingerPrint string `pulumi:"fingerPrint"` // ID of the key pair. Id string `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances []GetKeyPairsKeyPairInstance `pulumi:"instances"` // Name of the key pair. KeyName string `pulumi:"keyName"` KeyPairName string `pulumi:"keyPairName"` // The Id of resource group which the key pair belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetKeyPairsKeyPairArgs ¶
type GetKeyPairsKeyPairArgs struct { // A finger print used to retrieve specified key pair. FingerPrint pulumi.StringInput `pulumi:"fingerPrint"` // ID of the key pair. Id pulumi.StringInput `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances GetKeyPairsKeyPairInstanceArrayInput `pulumi:"instances"` // Name of the key pair. KeyName pulumi.StringInput `pulumi:"keyName"` KeyPairName pulumi.StringInput `pulumi:"keyPairName"` // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetKeyPairsKeyPairArgs) ElementType ¶
func (GetKeyPairsKeyPairArgs) ElementType() reflect.Type
func (GetKeyPairsKeyPairArgs) ToGetKeyPairsKeyPairOutput ¶
func (i GetKeyPairsKeyPairArgs) ToGetKeyPairsKeyPairOutput() GetKeyPairsKeyPairOutput
func (GetKeyPairsKeyPairArgs) ToGetKeyPairsKeyPairOutputWithContext ¶
func (i GetKeyPairsKeyPairArgs) ToGetKeyPairsKeyPairOutputWithContext(ctx context.Context) GetKeyPairsKeyPairOutput
type GetKeyPairsKeyPairArray ¶
type GetKeyPairsKeyPairArray []GetKeyPairsKeyPairInput
func (GetKeyPairsKeyPairArray) ElementType ¶
func (GetKeyPairsKeyPairArray) ElementType() reflect.Type
func (GetKeyPairsKeyPairArray) ToGetKeyPairsKeyPairArrayOutput ¶
func (i GetKeyPairsKeyPairArray) ToGetKeyPairsKeyPairArrayOutput() GetKeyPairsKeyPairArrayOutput
func (GetKeyPairsKeyPairArray) ToGetKeyPairsKeyPairArrayOutputWithContext ¶
func (i GetKeyPairsKeyPairArray) ToGetKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairArrayOutput
type GetKeyPairsKeyPairArrayInput ¶
type GetKeyPairsKeyPairArrayInput interface { pulumi.Input ToGetKeyPairsKeyPairArrayOutput() GetKeyPairsKeyPairArrayOutput ToGetKeyPairsKeyPairArrayOutputWithContext(context.Context) GetKeyPairsKeyPairArrayOutput }
GetKeyPairsKeyPairArrayInput is an input type that accepts GetKeyPairsKeyPairArray and GetKeyPairsKeyPairArrayOutput values. You can construct a concrete instance of `GetKeyPairsKeyPairArrayInput` via:
GetKeyPairsKeyPairArray{ GetKeyPairsKeyPairArgs{...} }
type GetKeyPairsKeyPairArrayOutput ¶
type GetKeyPairsKeyPairArrayOutput struct{ *pulumi.OutputState }
func (GetKeyPairsKeyPairArrayOutput) ElementType ¶
func (GetKeyPairsKeyPairArrayOutput) ElementType() reflect.Type
func (GetKeyPairsKeyPairArrayOutput) Index ¶
func (o GetKeyPairsKeyPairArrayOutput) Index(i pulumi.IntInput) GetKeyPairsKeyPairOutput
func (GetKeyPairsKeyPairArrayOutput) ToGetKeyPairsKeyPairArrayOutput ¶
func (o GetKeyPairsKeyPairArrayOutput) ToGetKeyPairsKeyPairArrayOutput() GetKeyPairsKeyPairArrayOutput
func (GetKeyPairsKeyPairArrayOutput) ToGetKeyPairsKeyPairArrayOutputWithContext ¶
func (o GetKeyPairsKeyPairArrayOutput) ToGetKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairArrayOutput
type GetKeyPairsKeyPairInput ¶
type GetKeyPairsKeyPairInput interface { pulumi.Input ToGetKeyPairsKeyPairOutput() GetKeyPairsKeyPairOutput ToGetKeyPairsKeyPairOutputWithContext(context.Context) GetKeyPairsKeyPairOutput }
GetKeyPairsKeyPairInput is an input type that accepts GetKeyPairsKeyPairArgs and GetKeyPairsKeyPairOutput values. You can construct a concrete instance of `GetKeyPairsKeyPairInput` via:
GetKeyPairsKeyPairArgs{...}
type GetKeyPairsKeyPairInstance ¶
type GetKeyPairsKeyPairInstance struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone string `pulumi:"availabilityZone"` Description string `pulumi:"description"` ImageId string `pulumi:"imageId"` // The ID of the ECS instance. InstanceId string `pulumi:"instanceId"` // The name of the ECS instance. InstanceName string `pulumi:"instanceName"` InstanceType string `pulumi:"instanceType"` // Name of the key pair. KeyName string `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp string `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp string `pulumi:"publicIp"` RegionId string `pulumi:"regionId"` Status string `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId string `pulumi:"vswitchId"` }
type GetKeyPairsKeyPairInstanceArgs ¶
type GetKeyPairsKeyPairInstanceArgs struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` Description pulumi.StringInput `pulumi:"description"` ImageId pulumi.StringInput `pulumi:"imageId"` // The ID of the ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the ECS instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` InstanceType pulumi.StringInput `pulumi:"instanceType"` // Name of the key pair. KeyName pulumi.StringInput `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp pulumi.StringInput `pulumi:"publicIp"` RegionId pulumi.StringInput `pulumi:"regionId"` Status pulumi.StringInput `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetKeyPairsKeyPairInstanceArgs) ElementType ¶
func (GetKeyPairsKeyPairInstanceArgs) ElementType() reflect.Type
func (GetKeyPairsKeyPairInstanceArgs) ToGetKeyPairsKeyPairInstanceOutput ¶
func (i GetKeyPairsKeyPairInstanceArgs) ToGetKeyPairsKeyPairInstanceOutput() GetKeyPairsKeyPairInstanceOutput
func (GetKeyPairsKeyPairInstanceArgs) ToGetKeyPairsKeyPairInstanceOutputWithContext ¶
func (i GetKeyPairsKeyPairInstanceArgs) ToGetKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceOutput
type GetKeyPairsKeyPairInstanceArray ¶
type GetKeyPairsKeyPairInstanceArray []GetKeyPairsKeyPairInstanceInput
func (GetKeyPairsKeyPairInstanceArray) ElementType ¶
func (GetKeyPairsKeyPairInstanceArray) ElementType() reflect.Type
func (GetKeyPairsKeyPairInstanceArray) ToGetKeyPairsKeyPairInstanceArrayOutput ¶
func (i GetKeyPairsKeyPairInstanceArray) ToGetKeyPairsKeyPairInstanceArrayOutput() GetKeyPairsKeyPairInstanceArrayOutput
func (GetKeyPairsKeyPairInstanceArray) ToGetKeyPairsKeyPairInstanceArrayOutputWithContext ¶
func (i GetKeyPairsKeyPairInstanceArray) ToGetKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceArrayOutput
type GetKeyPairsKeyPairInstanceArrayInput ¶
type GetKeyPairsKeyPairInstanceArrayInput interface { pulumi.Input ToGetKeyPairsKeyPairInstanceArrayOutput() GetKeyPairsKeyPairInstanceArrayOutput ToGetKeyPairsKeyPairInstanceArrayOutputWithContext(context.Context) GetKeyPairsKeyPairInstanceArrayOutput }
GetKeyPairsKeyPairInstanceArrayInput is an input type that accepts GetKeyPairsKeyPairInstanceArray and GetKeyPairsKeyPairInstanceArrayOutput values. You can construct a concrete instance of `GetKeyPairsKeyPairInstanceArrayInput` via:
GetKeyPairsKeyPairInstanceArray{ GetKeyPairsKeyPairInstanceArgs{...} }
type GetKeyPairsKeyPairInstanceArrayOutput ¶
type GetKeyPairsKeyPairInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetKeyPairsKeyPairInstanceArrayOutput) ElementType ¶
func (GetKeyPairsKeyPairInstanceArrayOutput) ElementType() reflect.Type
func (GetKeyPairsKeyPairInstanceArrayOutput) Index ¶
func (o GetKeyPairsKeyPairInstanceArrayOutput) Index(i pulumi.IntInput) GetKeyPairsKeyPairInstanceOutput
func (GetKeyPairsKeyPairInstanceArrayOutput) ToGetKeyPairsKeyPairInstanceArrayOutput ¶
func (o GetKeyPairsKeyPairInstanceArrayOutput) ToGetKeyPairsKeyPairInstanceArrayOutput() GetKeyPairsKeyPairInstanceArrayOutput
func (GetKeyPairsKeyPairInstanceArrayOutput) ToGetKeyPairsKeyPairInstanceArrayOutputWithContext ¶
func (o GetKeyPairsKeyPairInstanceArrayOutput) ToGetKeyPairsKeyPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceArrayOutput
type GetKeyPairsKeyPairInstanceInput ¶
type GetKeyPairsKeyPairInstanceInput interface { pulumi.Input ToGetKeyPairsKeyPairInstanceOutput() GetKeyPairsKeyPairInstanceOutput ToGetKeyPairsKeyPairInstanceOutputWithContext(context.Context) GetKeyPairsKeyPairInstanceOutput }
GetKeyPairsKeyPairInstanceInput is an input type that accepts GetKeyPairsKeyPairInstanceArgs and GetKeyPairsKeyPairInstanceOutput values. You can construct a concrete instance of `GetKeyPairsKeyPairInstanceInput` via:
GetKeyPairsKeyPairInstanceArgs{...}
type GetKeyPairsKeyPairInstanceOutput ¶
type GetKeyPairsKeyPairInstanceOutput struct{ *pulumi.OutputState }
func (GetKeyPairsKeyPairInstanceOutput) AvailabilityZone ¶
func (o GetKeyPairsKeyPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
The ID of the availability zone where the ECS instance is located.
func (GetKeyPairsKeyPairInstanceOutput) Description ¶
func (o GetKeyPairsKeyPairInstanceOutput) Description() pulumi.StringOutput
func (GetKeyPairsKeyPairInstanceOutput) ElementType ¶
func (GetKeyPairsKeyPairInstanceOutput) ElementType() reflect.Type
func (GetKeyPairsKeyPairInstanceOutput) ImageId ¶
func (o GetKeyPairsKeyPairInstanceOutput) ImageId() pulumi.StringOutput
func (GetKeyPairsKeyPairInstanceOutput) InstanceId ¶
func (o GetKeyPairsKeyPairInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the ECS instance.
func (GetKeyPairsKeyPairInstanceOutput) InstanceName ¶
func (o GetKeyPairsKeyPairInstanceOutput) InstanceName() pulumi.StringOutput
The name of the ECS instance.
func (GetKeyPairsKeyPairInstanceOutput) InstanceType ¶
func (o GetKeyPairsKeyPairInstanceOutput) InstanceType() pulumi.StringOutput
func (GetKeyPairsKeyPairInstanceOutput) KeyName ¶
func (o GetKeyPairsKeyPairInstanceOutput) KeyName() pulumi.StringOutput
Name of the key pair.
func (GetKeyPairsKeyPairInstanceOutput) PrivateIp ¶
func (o GetKeyPairsKeyPairInstanceOutput) PrivateIp() pulumi.StringOutput
The private IP address of the ECS instance.
func (GetKeyPairsKeyPairInstanceOutput) PublicIp ¶
func (o GetKeyPairsKeyPairInstanceOutput) PublicIp() pulumi.StringOutput
The public IP address or EIP of the ECS instance.
func (GetKeyPairsKeyPairInstanceOutput) RegionId ¶
func (o GetKeyPairsKeyPairInstanceOutput) RegionId() pulumi.StringOutput
func (GetKeyPairsKeyPairInstanceOutput) Status ¶
func (o GetKeyPairsKeyPairInstanceOutput) Status() pulumi.StringOutput
func (GetKeyPairsKeyPairInstanceOutput) ToGetKeyPairsKeyPairInstanceOutput ¶
func (o GetKeyPairsKeyPairInstanceOutput) ToGetKeyPairsKeyPairInstanceOutput() GetKeyPairsKeyPairInstanceOutput
func (GetKeyPairsKeyPairInstanceOutput) ToGetKeyPairsKeyPairInstanceOutputWithContext ¶
func (o GetKeyPairsKeyPairInstanceOutput) ToGetKeyPairsKeyPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsKeyPairInstanceOutput
func (GetKeyPairsKeyPairInstanceOutput) VswitchId ¶
func (o GetKeyPairsKeyPairInstanceOutput) VswitchId() pulumi.StringOutput
The ID of the VSwitch attached to the ECS instance.
type GetKeyPairsKeyPairOutput ¶
type GetKeyPairsKeyPairOutput struct{ *pulumi.OutputState }
func (GetKeyPairsKeyPairOutput) ElementType ¶
func (GetKeyPairsKeyPairOutput) ElementType() reflect.Type
func (GetKeyPairsKeyPairOutput) FingerPrint ¶
func (o GetKeyPairsKeyPairOutput) FingerPrint() pulumi.StringOutput
A finger print used to retrieve specified key pair.
func (GetKeyPairsKeyPairOutput) Id ¶
func (o GetKeyPairsKeyPairOutput) Id() pulumi.StringOutput
ID of the key pair.
func (GetKeyPairsKeyPairOutput) Instances ¶
func (o GetKeyPairsKeyPairOutput) Instances() GetKeyPairsKeyPairInstanceArrayOutput
A list of ECS instances that has been bound this key pair.
func (GetKeyPairsKeyPairOutput) KeyName ¶
func (o GetKeyPairsKeyPairOutput) KeyName() pulumi.StringOutput
Name of the key pair.
func (GetKeyPairsKeyPairOutput) KeyPairName ¶
func (o GetKeyPairsKeyPairOutput) KeyPairName() pulumi.StringOutput
func (GetKeyPairsKeyPairOutput) ResourceGroupId ¶
func (o GetKeyPairsKeyPairOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the key pair belongs.
func (GetKeyPairsKeyPairOutput) Tags ¶
func (o GetKeyPairsKeyPairOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetKeyPairsKeyPairOutput) ToGetKeyPairsKeyPairOutput ¶
func (o GetKeyPairsKeyPairOutput) ToGetKeyPairsKeyPairOutput() GetKeyPairsKeyPairOutput
func (GetKeyPairsKeyPairOutput) ToGetKeyPairsKeyPairOutputWithContext ¶
func (o GetKeyPairsKeyPairOutput) ToGetKeyPairsKeyPairOutputWithContext(ctx context.Context) GetKeyPairsKeyPairOutput
type GetKeyPairsOutputArgs ¶ added in v3.9.0
type GetKeyPairsOutputArgs struct { // A finger print used to retrieve specified key pair. FingerPrint pulumi.StringPtrInput `pulumi:"fingerPrint"` // A list of key pair IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to apply to the resulting key pairs. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getKeyPairs.
func (GetKeyPairsOutputArgs) ElementType ¶ added in v3.9.0
func (GetKeyPairsOutputArgs) ElementType() reflect.Type
type GetKeyPairsPair ¶
type GetKeyPairsPair struct { // A finger print used to retrieve specified key pair. FingerPrint string `pulumi:"fingerPrint"` // ID of the key pair. Id string `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances []GetKeyPairsPairInstance `pulumi:"instances"` // Name of the key pair. KeyName string `pulumi:"keyName"` KeyPairName string `pulumi:"keyPairName"` // The Id of resource group which the key pair belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetKeyPairsPairArgs ¶
type GetKeyPairsPairArgs struct { // A finger print used to retrieve specified key pair. FingerPrint pulumi.StringInput `pulumi:"fingerPrint"` // ID of the key pair. Id pulumi.StringInput `pulumi:"id"` // A list of ECS instances that has been bound this key pair. Instances GetKeyPairsPairInstanceArrayInput `pulumi:"instances"` // Name of the key pair. KeyName pulumi.StringInput `pulumi:"keyName"` KeyPairName pulumi.StringInput `pulumi:"keyPairName"` // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetKeyPairsPairArgs) ElementType ¶
func (GetKeyPairsPairArgs) ElementType() reflect.Type
func (GetKeyPairsPairArgs) ToGetKeyPairsPairOutput ¶
func (i GetKeyPairsPairArgs) ToGetKeyPairsPairOutput() GetKeyPairsPairOutput
func (GetKeyPairsPairArgs) ToGetKeyPairsPairOutputWithContext ¶
func (i GetKeyPairsPairArgs) ToGetKeyPairsPairOutputWithContext(ctx context.Context) GetKeyPairsPairOutput
type GetKeyPairsPairArray ¶
type GetKeyPairsPairArray []GetKeyPairsPairInput
func (GetKeyPairsPairArray) ElementType ¶
func (GetKeyPairsPairArray) ElementType() reflect.Type
func (GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutput ¶
func (i GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput
func (GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutputWithContext ¶
func (i GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutputWithContext(ctx context.Context) GetKeyPairsPairArrayOutput
type GetKeyPairsPairArrayInput ¶
type GetKeyPairsPairArrayInput interface { pulumi.Input ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput ToGetKeyPairsPairArrayOutputWithContext(context.Context) GetKeyPairsPairArrayOutput }
GetKeyPairsPairArrayInput is an input type that accepts GetKeyPairsPairArray and GetKeyPairsPairArrayOutput values. You can construct a concrete instance of `GetKeyPairsPairArrayInput` via:
GetKeyPairsPairArray{ GetKeyPairsPairArgs{...} }
type GetKeyPairsPairArrayOutput ¶
type GetKeyPairsPairArrayOutput struct{ *pulumi.OutputState }
func (GetKeyPairsPairArrayOutput) ElementType ¶
func (GetKeyPairsPairArrayOutput) ElementType() reflect.Type
func (GetKeyPairsPairArrayOutput) Index ¶
func (o GetKeyPairsPairArrayOutput) Index(i pulumi.IntInput) GetKeyPairsPairOutput
func (GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutput ¶
func (o GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput
func (GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutputWithContext ¶
func (o GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutputWithContext(ctx context.Context) GetKeyPairsPairArrayOutput
type GetKeyPairsPairInput ¶
type GetKeyPairsPairInput interface { pulumi.Input ToGetKeyPairsPairOutput() GetKeyPairsPairOutput ToGetKeyPairsPairOutputWithContext(context.Context) GetKeyPairsPairOutput }
GetKeyPairsPairInput is an input type that accepts GetKeyPairsPairArgs and GetKeyPairsPairOutput values. You can construct a concrete instance of `GetKeyPairsPairInput` via:
GetKeyPairsPairArgs{...}
type GetKeyPairsPairInstance ¶
type GetKeyPairsPairInstance struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone string `pulumi:"availabilityZone"` Description string `pulumi:"description"` ImageId string `pulumi:"imageId"` // The ID of the ECS instance. InstanceId string `pulumi:"instanceId"` // The name of the ECS instance. InstanceName string `pulumi:"instanceName"` InstanceType string `pulumi:"instanceType"` // Name of the key pair. KeyName string `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp string `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp string `pulumi:"publicIp"` RegionId string `pulumi:"regionId"` Status string `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId string `pulumi:"vswitchId"` }
type GetKeyPairsPairInstanceArgs ¶
type GetKeyPairsPairInstanceArgs struct { // The ID of the availability zone where the ECS instance is located. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` Description pulumi.StringInput `pulumi:"description"` ImageId pulumi.StringInput `pulumi:"imageId"` // The ID of the ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the ECS instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` InstanceType pulumi.StringInput `pulumi:"instanceType"` // Name of the key pair. KeyName pulumi.StringInput `pulumi:"keyName"` // The private IP address of the ECS instance. PrivateIp pulumi.StringInput `pulumi:"privateIp"` // The public IP address or EIP of the ECS instance. PublicIp pulumi.StringInput `pulumi:"publicIp"` RegionId pulumi.StringInput `pulumi:"regionId"` Status pulumi.StringInput `pulumi:"status"` // The ID of the VSwitch attached to the ECS instance. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetKeyPairsPairInstanceArgs) ElementType ¶
func (GetKeyPairsPairInstanceArgs) ElementType() reflect.Type
func (GetKeyPairsPairInstanceArgs) ToGetKeyPairsPairInstanceOutput ¶
func (i GetKeyPairsPairInstanceArgs) ToGetKeyPairsPairInstanceOutput() GetKeyPairsPairInstanceOutput
func (GetKeyPairsPairInstanceArgs) ToGetKeyPairsPairInstanceOutputWithContext ¶
func (i GetKeyPairsPairInstanceArgs) ToGetKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceOutput
type GetKeyPairsPairInstanceArray ¶
type GetKeyPairsPairInstanceArray []GetKeyPairsPairInstanceInput
func (GetKeyPairsPairInstanceArray) ElementType ¶
func (GetKeyPairsPairInstanceArray) ElementType() reflect.Type
func (GetKeyPairsPairInstanceArray) ToGetKeyPairsPairInstanceArrayOutput ¶
func (i GetKeyPairsPairInstanceArray) ToGetKeyPairsPairInstanceArrayOutput() GetKeyPairsPairInstanceArrayOutput
func (GetKeyPairsPairInstanceArray) ToGetKeyPairsPairInstanceArrayOutputWithContext ¶
func (i GetKeyPairsPairInstanceArray) ToGetKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceArrayOutput
type GetKeyPairsPairInstanceArrayInput ¶
type GetKeyPairsPairInstanceArrayInput interface { pulumi.Input ToGetKeyPairsPairInstanceArrayOutput() GetKeyPairsPairInstanceArrayOutput ToGetKeyPairsPairInstanceArrayOutputWithContext(context.Context) GetKeyPairsPairInstanceArrayOutput }
GetKeyPairsPairInstanceArrayInput is an input type that accepts GetKeyPairsPairInstanceArray and GetKeyPairsPairInstanceArrayOutput values. You can construct a concrete instance of `GetKeyPairsPairInstanceArrayInput` via:
GetKeyPairsPairInstanceArray{ GetKeyPairsPairInstanceArgs{...} }
type GetKeyPairsPairInstanceArrayOutput ¶
type GetKeyPairsPairInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetKeyPairsPairInstanceArrayOutput) ElementType ¶
func (GetKeyPairsPairInstanceArrayOutput) ElementType() reflect.Type
func (GetKeyPairsPairInstanceArrayOutput) Index ¶
func (o GetKeyPairsPairInstanceArrayOutput) Index(i pulumi.IntInput) GetKeyPairsPairInstanceOutput
func (GetKeyPairsPairInstanceArrayOutput) ToGetKeyPairsPairInstanceArrayOutput ¶
func (o GetKeyPairsPairInstanceArrayOutput) ToGetKeyPairsPairInstanceArrayOutput() GetKeyPairsPairInstanceArrayOutput
func (GetKeyPairsPairInstanceArrayOutput) ToGetKeyPairsPairInstanceArrayOutputWithContext ¶
func (o GetKeyPairsPairInstanceArrayOutput) ToGetKeyPairsPairInstanceArrayOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceArrayOutput
type GetKeyPairsPairInstanceInput ¶
type GetKeyPairsPairInstanceInput interface { pulumi.Input ToGetKeyPairsPairInstanceOutput() GetKeyPairsPairInstanceOutput ToGetKeyPairsPairInstanceOutputWithContext(context.Context) GetKeyPairsPairInstanceOutput }
GetKeyPairsPairInstanceInput is an input type that accepts GetKeyPairsPairInstanceArgs and GetKeyPairsPairInstanceOutput values. You can construct a concrete instance of `GetKeyPairsPairInstanceInput` via:
GetKeyPairsPairInstanceArgs{...}
type GetKeyPairsPairInstanceOutput ¶
type GetKeyPairsPairInstanceOutput struct{ *pulumi.OutputState }
func (GetKeyPairsPairInstanceOutput) AvailabilityZone ¶
func (o GetKeyPairsPairInstanceOutput) AvailabilityZone() pulumi.StringOutput
The ID of the availability zone where the ECS instance is located.
func (GetKeyPairsPairInstanceOutput) Description ¶
func (o GetKeyPairsPairInstanceOutput) Description() pulumi.StringOutput
func (GetKeyPairsPairInstanceOutput) ElementType ¶
func (GetKeyPairsPairInstanceOutput) ElementType() reflect.Type
func (GetKeyPairsPairInstanceOutput) ImageId ¶
func (o GetKeyPairsPairInstanceOutput) ImageId() pulumi.StringOutput
func (GetKeyPairsPairInstanceOutput) InstanceId ¶
func (o GetKeyPairsPairInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the ECS instance.
func (GetKeyPairsPairInstanceOutput) InstanceName ¶
func (o GetKeyPairsPairInstanceOutput) InstanceName() pulumi.StringOutput
The name of the ECS instance.
func (GetKeyPairsPairInstanceOutput) InstanceType ¶
func (o GetKeyPairsPairInstanceOutput) InstanceType() pulumi.StringOutput
func (GetKeyPairsPairInstanceOutput) KeyName ¶
func (o GetKeyPairsPairInstanceOutput) KeyName() pulumi.StringOutput
Name of the key pair.
func (GetKeyPairsPairInstanceOutput) PrivateIp ¶
func (o GetKeyPairsPairInstanceOutput) PrivateIp() pulumi.StringOutput
The private IP address of the ECS instance.
func (GetKeyPairsPairInstanceOutput) PublicIp ¶
func (o GetKeyPairsPairInstanceOutput) PublicIp() pulumi.StringOutput
The public IP address or EIP of the ECS instance.
func (GetKeyPairsPairInstanceOutput) RegionId ¶
func (o GetKeyPairsPairInstanceOutput) RegionId() pulumi.StringOutput
func (GetKeyPairsPairInstanceOutput) Status ¶
func (o GetKeyPairsPairInstanceOutput) Status() pulumi.StringOutput
func (GetKeyPairsPairInstanceOutput) ToGetKeyPairsPairInstanceOutput ¶
func (o GetKeyPairsPairInstanceOutput) ToGetKeyPairsPairInstanceOutput() GetKeyPairsPairInstanceOutput
func (GetKeyPairsPairInstanceOutput) ToGetKeyPairsPairInstanceOutputWithContext ¶
func (o GetKeyPairsPairInstanceOutput) ToGetKeyPairsPairInstanceOutputWithContext(ctx context.Context) GetKeyPairsPairInstanceOutput
func (GetKeyPairsPairInstanceOutput) VswitchId ¶
func (o GetKeyPairsPairInstanceOutput) VswitchId() pulumi.StringOutput
The ID of the VSwitch attached to the ECS instance.
type GetKeyPairsPairOutput ¶
type GetKeyPairsPairOutput struct{ *pulumi.OutputState }
func (GetKeyPairsPairOutput) ElementType ¶
func (GetKeyPairsPairOutput) ElementType() reflect.Type
func (GetKeyPairsPairOutput) FingerPrint ¶
func (o GetKeyPairsPairOutput) FingerPrint() pulumi.StringOutput
A finger print used to retrieve specified key pair.
func (GetKeyPairsPairOutput) Id ¶
func (o GetKeyPairsPairOutput) Id() pulumi.StringOutput
ID of the key pair.
func (GetKeyPairsPairOutput) Instances ¶
func (o GetKeyPairsPairOutput) Instances() GetKeyPairsPairInstanceArrayOutput
A list of ECS instances that has been bound this key pair.
func (GetKeyPairsPairOutput) KeyName ¶
func (o GetKeyPairsPairOutput) KeyName() pulumi.StringOutput
Name of the key pair.
func (GetKeyPairsPairOutput) KeyPairName ¶
func (o GetKeyPairsPairOutput) KeyPairName() pulumi.StringOutput
func (GetKeyPairsPairOutput) ResourceGroupId ¶
func (o GetKeyPairsPairOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the key pair belongs.
func (GetKeyPairsPairOutput) Tags ¶
func (o GetKeyPairsPairOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetKeyPairsPairOutput) ToGetKeyPairsPairOutput ¶
func (o GetKeyPairsPairOutput) ToGetKeyPairsPairOutput() GetKeyPairsPairOutput
func (GetKeyPairsPairOutput) ToGetKeyPairsPairOutputWithContext ¶
func (o GetKeyPairsPairOutput) ToGetKeyPairsPairOutputWithContext(ctx context.Context) GetKeyPairsPairOutput
type GetKeyPairsResult ¶
type GetKeyPairsResult struct { // Finger print of the key pair. FingerPrint *string `pulumi:"fingerPrint"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // A list of key pairs. Each element contains the following attributes: // // Deprecated: Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead. KeyPairs []GetKeyPairsKeyPair `pulumi:"keyPairs"` NameRegex *string `pulumi:"nameRegex"` // A list of key pair names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Pairs []GetKeyPairsPair `pulumi:"pairs"` // The Id of resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` // (Optional, Available in v1.66.0+) A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getKeyPairs.
func GetKeyPairs ¶
func GetKeyPairs(ctx *pulumi.Context, args *GetKeyPairsArgs, opts ...pulumi.InvokeOption) (*GetKeyPairsResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultKeyPair, err := ecs.NewKeyPair(ctx, "defaultKeyPair", &ecs.KeyPairArgs{ KeyName: pulumi.String("keyPairDatasource"), }) if err != nil { return err } _ = ecs.GetKeyPairsOutput(ctx, ecs.GetKeyPairsOutputArgs{ NameRegex: defaultKeyPair.KeyName, }, nil) return nil }) }
```
type GetKeyPairsResultOutput ¶ added in v3.9.0
type GetKeyPairsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKeyPairs.
func GetKeyPairsOutput ¶ added in v3.9.0
func GetKeyPairsOutput(ctx *pulumi.Context, args GetKeyPairsOutputArgs, opts ...pulumi.InvokeOption) GetKeyPairsResultOutput
func (GetKeyPairsResultOutput) ElementType ¶ added in v3.9.0
func (GetKeyPairsResultOutput) ElementType() reflect.Type
func (GetKeyPairsResultOutput) FingerPrint ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) FingerPrint() pulumi.StringPtrOutput
Finger print of the key pair.
func (GetKeyPairsResultOutput) Id ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetKeyPairsResultOutput) Ids ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) Ids() pulumi.StringArrayOutput
func (GetKeyPairsResultOutput) KeyPairs
deprecated
added in
v3.9.0
func (o GetKeyPairsResultOutput) KeyPairs() GetKeyPairsKeyPairArrayOutput
A list of key pairs. Each element contains the following attributes:
Deprecated: Field 'key_pairs' has been deprecated from provider version 1.121.0. New field 'pairs' instead.
func (GetKeyPairsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetKeyPairsResultOutput) Names ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) Names() pulumi.StringArrayOutput
A list of key pair names.
func (GetKeyPairsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetKeyPairsResultOutput) Pairs ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) Pairs() GetKeyPairsPairArrayOutput
func (GetKeyPairsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group.
func (GetKeyPairsResultOutput) Tags ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) Tags() pulumi.MapOutput
(Optional, Available in v1.66.0+) A mapping of tags to assign to the resource.
func (GetKeyPairsResultOutput) ToGetKeyPairsResultOutput ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) ToGetKeyPairsResultOutput() GetKeyPairsResultOutput
func (GetKeyPairsResultOutput) ToGetKeyPairsResultOutputWithContext ¶ added in v3.9.0
func (o GetKeyPairsResultOutput) ToGetKeyPairsResultOutputWithContext(ctx context.Context) GetKeyPairsResultOutput
type GetNetworkInterfacesArgs ¶
type GetNetworkInterfacesArgs struct { Ids []string `pulumi:"ids"` // ID of the instance that the ENI is attached to. InstanceId *string `pulumi:"instanceId"` // Name of the ENI. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name *string `pulumi:"name"` NameRegex *string `pulumi:"nameRegex"` NetworkInterfaceName *string `pulumi:"networkInterfaceName"` OutputFile *string `pulumi:"outputFile"` PrimaryIpAddress *string `pulumi:"primaryIpAddress"` // Primary private IP of the ENI. // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp *string `pulumi:"privateIp"` // The Id of resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` SecurityGroupId *string `pulumi:"securityGroupId"` ServiceManaged *bool `pulumi:"serviceManaged"` // Current status of the ENI. Status *string `pulumi:"status"` // A map of tags assigned to the ENI. Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` // ID of the VPC that the ENI belongs to. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch that the ENI is linked to. VswitchId *string `pulumi:"vswitchId"` }
A collection of arguments for invoking getNetworkInterfaces.
type GetNetworkInterfacesInterface ¶
type GetNetworkInterfacesInterface struct { // Creation time of the ENI. CreationTime string `pulumi:"creationTime"` // Description of the ENI. Description string `pulumi:"description"` // ID of the ENI. Id string `pulumi:"id"` // ID of the instance that the ENI is attached to. InstanceId string `pulumi:"instanceId"` // MAC address of the ENI. Mac string `pulumi:"mac"` // Name of the ENI. Name string `pulumi:"name"` NetworkInterfaceId string `pulumi:"networkInterfaceId"` NetworkInterfaceName string `pulumi:"networkInterfaceName"` PrimaryIpAddress string `pulumi:"primaryIpAddress"` // Primary private IP of the ENI. PrivateIp string `pulumi:"privateIp"` PrivateIpAddresses []string `pulumi:"privateIpAddresses"` // A list of secondary private IP address that is assigned to the ENI. PrivateIps []string `pulumi:"privateIps"` QueueNumber int `pulumi:"queueNumber"` // The Id of resource group. ResourceGroupId string `pulumi:"resourceGroupId"` SecurityGroupIds []string `pulumi:"securityGroupIds"` // A list of security group that the ENI belongs to. SecurityGroups []string `pulumi:"securityGroups"` ServiceId int `pulumi:"serviceId"` ServiceManaged bool `pulumi:"serviceManaged"` // Current status of the ENI. Status string `pulumi:"status"` // A map of tags assigned to the ENI. Tags map[string]interface{} `pulumi:"tags"` Type string `pulumi:"type"` // ID of the VPC that the ENI belongs to. VpcId string `pulumi:"vpcId"` // ID of the VSwitch that the ENI is linked to. VswitchId string `pulumi:"vswitchId"` // ID of the availability zone that the ENI belongs to. ZoneId string `pulumi:"zoneId"` }
type GetNetworkInterfacesInterfaceArgs ¶
type GetNetworkInterfacesInterfaceArgs struct { // Creation time of the ENI. CreationTime pulumi.StringInput `pulumi:"creationTime"` // Description of the ENI. Description pulumi.StringInput `pulumi:"description"` // ID of the ENI. Id pulumi.StringInput `pulumi:"id"` // ID of the instance that the ENI is attached to. InstanceId pulumi.StringInput `pulumi:"instanceId"` // MAC address of the ENI. Mac pulumi.StringInput `pulumi:"mac"` // Name of the ENI. Name pulumi.StringInput `pulumi:"name"` NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"` NetworkInterfaceName pulumi.StringInput `pulumi:"networkInterfaceName"` PrimaryIpAddress pulumi.StringInput `pulumi:"primaryIpAddress"` // Primary private IP of the ENI. PrivateIp pulumi.StringInput `pulumi:"privateIp"` PrivateIpAddresses pulumi.StringArrayInput `pulumi:"privateIpAddresses"` // A list of secondary private IP address that is assigned to the ENI. PrivateIps pulumi.StringArrayInput `pulumi:"privateIps"` QueueNumber pulumi.IntInput `pulumi:"queueNumber"` // The Id of resource group. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // A list of security group that the ENI belongs to. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` ServiceId pulumi.IntInput `pulumi:"serviceId"` ServiceManaged pulumi.BoolInput `pulumi:"serviceManaged"` // Current status of the ENI. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the ENI. Tags pulumi.MapInput `pulumi:"tags"` Type pulumi.StringInput `pulumi:"type"` // ID of the VPC that the ENI belongs to. VpcId pulumi.StringInput `pulumi:"vpcId"` // ID of the VSwitch that the ENI is linked to. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // ID of the availability zone that the ENI belongs to. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetNetworkInterfacesInterfaceArgs) ElementType ¶
func (GetNetworkInterfacesInterfaceArgs) ElementType() reflect.Type
func (GetNetworkInterfacesInterfaceArgs) ToGetNetworkInterfacesInterfaceOutput ¶
func (i GetNetworkInterfacesInterfaceArgs) ToGetNetworkInterfacesInterfaceOutput() GetNetworkInterfacesInterfaceOutput
func (GetNetworkInterfacesInterfaceArgs) ToGetNetworkInterfacesInterfaceOutputWithContext ¶
func (i GetNetworkInterfacesInterfaceArgs) ToGetNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceOutput
type GetNetworkInterfacesInterfaceArray ¶
type GetNetworkInterfacesInterfaceArray []GetNetworkInterfacesInterfaceInput
func (GetNetworkInterfacesInterfaceArray) ElementType ¶
func (GetNetworkInterfacesInterfaceArray) ElementType() reflect.Type
func (GetNetworkInterfacesInterfaceArray) ToGetNetworkInterfacesInterfaceArrayOutput ¶
func (i GetNetworkInterfacesInterfaceArray) ToGetNetworkInterfacesInterfaceArrayOutput() GetNetworkInterfacesInterfaceArrayOutput
func (GetNetworkInterfacesInterfaceArray) ToGetNetworkInterfacesInterfaceArrayOutputWithContext ¶
func (i GetNetworkInterfacesInterfaceArray) ToGetNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceArrayOutput
type GetNetworkInterfacesInterfaceArrayInput ¶
type GetNetworkInterfacesInterfaceArrayInput interface { pulumi.Input ToGetNetworkInterfacesInterfaceArrayOutput() GetNetworkInterfacesInterfaceArrayOutput ToGetNetworkInterfacesInterfaceArrayOutputWithContext(context.Context) GetNetworkInterfacesInterfaceArrayOutput }
GetNetworkInterfacesInterfaceArrayInput is an input type that accepts GetNetworkInterfacesInterfaceArray and GetNetworkInterfacesInterfaceArrayOutput values. You can construct a concrete instance of `GetNetworkInterfacesInterfaceArrayInput` via:
GetNetworkInterfacesInterfaceArray{ GetNetworkInterfacesInterfaceArgs{...} }
type GetNetworkInterfacesInterfaceArrayOutput ¶
type GetNetworkInterfacesInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfacesInterfaceArrayOutput) ElementType ¶
func (GetNetworkInterfacesInterfaceArrayOutput) ElementType() reflect.Type
func (GetNetworkInterfacesInterfaceArrayOutput) ToGetNetworkInterfacesInterfaceArrayOutput ¶
func (o GetNetworkInterfacesInterfaceArrayOutput) ToGetNetworkInterfacesInterfaceArrayOutput() GetNetworkInterfacesInterfaceArrayOutput
func (GetNetworkInterfacesInterfaceArrayOutput) ToGetNetworkInterfacesInterfaceArrayOutputWithContext ¶
func (o GetNetworkInterfacesInterfaceArrayOutput) ToGetNetworkInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceArrayOutput
type GetNetworkInterfacesInterfaceInput ¶
type GetNetworkInterfacesInterfaceInput interface { pulumi.Input ToGetNetworkInterfacesInterfaceOutput() GetNetworkInterfacesInterfaceOutput ToGetNetworkInterfacesInterfaceOutputWithContext(context.Context) GetNetworkInterfacesInterfaceOutput }
GetNetworkInterfacesInterfaceInput is an input type that accepts GetNetworkInterfacesInterfaceArgs and GetNetworkInterfacesInterfaceOutput values. You can construct a concrete instance of `GetNetworkInterfacesInterfaceInput` via:
GetNetworkInterfacesInterfaceArgs{...}
type GetNetworkInterfacesInterfaceOutput ¶
type GetNetworkInterfacesInterfaceOutput struct{ *pulumi.OutputState }
func (GetNetworkInterfacesInterfaceOutput) CreationTime ¶
func (o GetNetworkInterfacesInterfaceOutput) CreationTime() pulumi.StringOutput
Creation time of the ENI.
func (GetNetworkInterfacesInterfaceOutput) Description ¶
func (o GetNetworkInterfacesInterfaceOutput) Description() pulumi.StringOutput
Description of the ENI.
func (GetNetworkInterfacesInterfaceOutput) ElementType ¶
func (GetNetworkInterfacesInterfaceOutput) ElementType() reflect.Type
func (GetNetworkInterfacesInterfaceOutput) Id ¶
func (o GetNetworkInterfacesInterfaceOutput) Id() pulumi.StringOutput
ID of the ENI.
func (GetNetworkInterfacesInterfaceOutput) InstanceId ¶
func (o GetNetworkInterfacesInterfaceOutput) InstanceId() pulumi.StringOutput
ID of the instance that the ENI is attached to.
func (GetNetworkInterfacesInterfaceOutput) Mac ¶
func (o GetNetworkInterfacesInterfaceOutput) Mac() pulumi.StringOutput
MAC address of the ENI.
func (GetNetworkInterfacesInterfaceOutput) Name ¶
func (o GetNetworkInterfacesInterfaceOutput) Name() pulumi.StringOutput
Name of the ENI.
func (GetNetworkInterfacesInterfaceOutput) NetworkInterfaceId ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) NetworkInterfaceId() pulumi.StringOutput
func (GetNetworkInterfacesInterfaceOutput) NetworkInterfaceName ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) NetworkInterfaceName() pulumi.StringOutput
func (GetNetworkInterfacesInterfaceOutput) PrimaryIpAddress ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) PrimaryIpAddress() pulumi.StringOutput
func (GetNetworkInterfacesInterfaceOutput) PrivateIp ¶
func (o GetNetworkInterfacesInterfaceOutput) PrivateIp() pulumi.StringOutput
Primary private IP of the ENI.
func (GetNetworkInterfacesInterfaceOutput) PrivateIpAddresses ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) PrivateIpAddresses() pulumi.StringArrayOutput
func (GetNetworkInterfacesInterfaceOutput) PrivateIps ¶
func (o GetNetworkInterfacesInterfaceOutput) PrivateIps() pulumi.StringArrayOutput
A list of secondary private IP address that is assigned to the ENI.
func (GetNetworkInterfacesInterfaceOutput) QueueNumber ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) QueueNumber() pulumi.IntOutput
func (GetNetworkInterfacesInterfaceOutput) ResourceGroupId ¶
func (o GetNetworkInterfacesInterfaceOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group.
func (GetNetworkInterfacesInterfaceOutput) SecurityGroupIds ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) SecurityGroupIds() pulumi.StringArrayOutput
func (GetNetworkInterfacesInterfaceOutput) SecurityGroups ¶
func (o GetNetworkInterfacesInterfaceOutput) SecurityGroups() pulumi.StringArrayOutput
A list of security group that the ENI belongs to.
func (GetNetworkInterfacesInterfaceOutput) ServiceId ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) ServiceId() pulumi.IntOutput
func (GetNetworkInterfacesInterfaceOutput) ServiceManaged ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) ServiceManaged() pulumi.BoolOutput
func (GetNetworkInterfacesInterfaceOutput) Status ¶
func (o GetNetworkInterfacesInterfaceOutput) Status() pulumi.StringOutput
Current status of the ENI.
func (GetNetworkInterfacesInterfaceOutput) Tags ¶
func (o GetNetworkInterfacesInterfaceOutput) Tags() pulumi.MapOutput
A map of tags assigned to the ENI.
func (GetNetworkInterfacesInterfaceOutput) ToGetNetworkInterfacesInterfaceOutput ¶
func (o GetNetworkInterfacesInterfaceOutput) ToGetNetworkInterfacesInterfaceOutput() GetNetworkInterfacesInterfaceOutput
func (GetNetworkInterfacesInterfaceOutput) ToGetNetworkInterfacesInterfaceOutputWithContext ¶
func (o GetNetworkInterfacesInterfaceOutput) ToGetNetworkInterfacesInterfaceOutputWithContext(ctx context.Context) GetNetworkInterfacesInterfaceOutput
func (GetNetworkInterfacesInterfaceOutput) Type ¶ added in v3.3.0
func (o GetNetworkInterfacesInterfaceOutput) Type() pulumi.StringOutput
func (GetNetworkInterfacesInterfaceOutput) VpcId ¶
func (o GetNetworkInterfacesInterfaceOutput) VpcId() pulumi.StringOutput
ID of the VPC that the ENI belongs to.
func (GetNetworkInterfacesInterfaceOutput) VswitchId ¶
func (o GetNetworkInterfacesInterfaceOutput) VswitchId() pulumi.StringOutput
ID of the VSwitch that the ENI is linked to.
func (GetNetworkInterfacesInterfaceOutput) ZoneId ¶
func (o GetNetworkInterfacesInterfaceOutput) ZoneId() pulumi.StringOutput
ID of the availability zone that the ENI belongs to.
type GetNetworkInterfacesOutputArgs ¶ added in v3.9.0
type GetNetworkInterfacesOutputArgs struct { Ids pulumi.StringArrayInput `pulumi:"ids"` // ID of the instance that the ENI is attached to. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // Name of the ENI. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name pulumi.StringPtrInput `pulumi:"name"` NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` NetworkInterfaceName pulumi.StringPtrInput `pulumi:"networkInterfaceName"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PrimaryIpAddress pulumi.StringPtrInput `pulumi:"primaryIpAddress"` // Primary private IP of the ENI. // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // The Id of resource group. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` ServiceManaged pulumi.BoolPtrInput `pulumi:"serviceManaged"` // Current status of the ENI. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the ENI. Tags pulumi.MapInput `pulumi:"tags"` Type pulumi.StringPtrInput `pulumi:"type"` // ID of the VPC that the ENI belongs to. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` // ID of the VSwitch that the ENI is linked to. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
A collection of arguments for invoking getNetworkInterfaces.
func (GetNetworkInterfacesOutputArgs) ElementType ¶ added in v3.9.0
func (GetNetworkInterfacesOutputArgs) ElementType() reflect.Type
type GetNetworkInterfacesResult ¶
type GetNetworkInterfacesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // ID of the instance that the ENI is attached to. InstanceId *string `pulumi:"instanceId"` // A list of ENIs. Each element contains the following attributes: Interfaces []GetNetworkInterfacesInterface `pulumi:"interfaces"` // Name of the ENI. // // Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead Name *string `pulumi:"name"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` NetworkInterfaceName *string `pulumi:"networkInterfaceName"` OutputFile *string `pulumi:"outputFile"` PrimaryIpAddress *string `pulumi:"primaryIpAddress"` // Primary private IP of the ENI. // // Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead PrivateIp *string `pulumi:"privateIp"` // The Id of resource group. ResourceGroupId *string `pulumi:"resourceGroupId"` SecurityGroupId *string `pulumi:"securityGroupId"` ServiceManaged *bool `pulumi:"serviceManaged"` // Current status of the ENI. Status *string `pulumi:"status"` // A map of tags assigned to the ENI. Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` // ID of the VPC that the ENI belongs to. VpcId *string `pulumi:"vpcId"` // ID of the VSwitch that the ENI is linked to. VswitchId *string `pulumi:"vswitchId"` }
A collection of values returned by getNetworkInterfaces.
func GetNetworkInterfaces ¶
func GetNetworkInterfaces(ctx *pulumi.Context, args *GetNetworkInterfacesArgs, opts ...pulumi.InvokeOption) (*GetNetworkInterfacesResult, error)
## Argument Reference
The following arguments are supported:
* `ids` - (Optional) A list of ENI IDs. * `nameRegex` - (Optional) A regex string to filter results by ENI name. * `vpcId` - (Optional) The VPC ID linked to ENIs. * `vswitchId` - (Optional) The VSwitch ID linked to ENIs. * `privateIp` - (Optional) The primary private IP address of the ENI. * `securityGroupId` - (Optional) The security group ID linked to ENIs. * `name` - (Optional) The name of the ENIs. * `type` - (Optional) The type of ENIs, Only support for "Primary" or "Secondary". * `instanceId` - (Optional) The ECS instance ID that the ENI is attached to. * `tags` - (Optional) A map of tags assigned to ENIs. * `outputFile` - (Optional) The name of output file that saves the filter results. * `resourceGroupId` - (Optional, ForceNew, Available in 1.57.0+) The Id of resource group which the network interface belongs.
type GetNetworkInterfacesResultOutput ¶ added in v3.9.0
type GetNetworkInterfacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetworkInterfaces.
func GetNetworkInterfacesOutput ¶ added in v3.9.0
func GetNetworkInterfacesOutput(ctx *pulumi.Context, args GetNetworkInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetNetworkInterfacesResultOutput
func (GetNetworkInterfacesResultOutput) ElementType ¶ added in v3.9.0
func (GetNetworkInterfacesResultOutput) ElementType() reflect.Type
func (GetNetworkInterfacesResultOutput) Id ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNetworkInterfacesResultOutput) Ids ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Ids() pulumi.StringArrayOutput
func (GetNetworkInterfacesResultOutput) InstanceId ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) InstanceId() pulumi.StringPtrOutput
ID of the instance that the ENI is attached to.
func (GetNetworkInterfacesResultOutput) Interfaces ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Interfaces() GetNetworkInterfacesInterfaceArrayOutput
A list of ENIs. Each element contains the following attributes:
func (GetNetworkInterfacesResultOutput) Name
deprecated
added in
v3.9.0
func (o GetNetworkInterfacesResultOutput) Name() pulumi.StringPtrOutput
Name of the ENI.
Deprecated: Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
func (GetNetworkInterfacesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetNetworkInterfacesResultOutput) Names ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Names() pulumi.StringArrayOutput
func (GetNetworkInterfacesResultOutput) NetworkInterfaceName ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) NetworkInterfaceName() pulumi.StringPtrOutput
func (GetNetworkInterfacesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetNetworkInterfacesResultOutput) PrimaryIpAddress ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) PrimaryIpAddress() pulumi.StringPtrOutput
func (GetNetworkInterfacesResultOutput) PrivateIp
deprecated
added in
v3.9.0
func (o GetNetworkInterfacesResultOutput) PrivateIp() pulumi.StringPtrOutput
Primary private IP of the ENI.
Deprecated: Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
func (GetNetworkInterfacesResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group.
func (GetNetworkInterfacesResultOutput) SecurityGroupId ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) SecurityGroupId() pulumi.StringPtrOutput
func (GetNetworkInterfacesResultOutput) ServiceManaged ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) ServiceManaged() pulumi.BoolPtrOutput
func (GetNetworkInterfacesResultOutput) Status ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Status() pulumi.StringPtrOutput
Current status of the ENI.
func (GetNetworkInterfacesResultOutput) Tags ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Tags() pulumi.MapOutput
A map of tags assigned to the ENI.
func (GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutput ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutput() GetNetworkInterfacesResultOutput
func (GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutputWithContext ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) ToGetNetworkInterfacesResultOutputWithContext(ctx context.Context) GetNetworkInterfacesResultOutput
func (GetNetworkInterfacesResultOutput) Type ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) Type() pulumi.StringPtrOutput
func (GetNetworkInterfacesResultOutput) VpcId ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC that the ENI belongs to.
func (GetNetworkInterfacesResultOutput) VswitchId ¶ added in v3.9.0
func (o GetNetworkInterfacesResultOutput) VswitchId() pulumi.StringPtrOutput
ID of the VSwitch that the ENI is linked to.
type GetSecurityGroupRulesArgs ¶
type GetSecurityGroupRulesArgs struct { // Authorization direction. Valid values are: `ingress` or `egress`. Direction *string `pulumi:"direction"` // The ID of the security group that owns the rules. GroupId string `pulumi:"groupId"` // The IP protocol. Valid values are: `tcp`, `udp`, `icmp`, `gre` and `all`. IpProtocol *string `pulumi:"ipProtocol"` // Refers to the network type. Can be either `internet` or `intranet`. The default value is `internet`. NicType *string `pulumi:"nicType"` OutputFile *string `pulumi:"outputFile"` // Authorization policy. Can be either `accept` or `drop`. The default value is `accept`. Policy *string `pulumi:"policy"` }
A collection of arguments for invoking getSecurityGroupRules.
type GetSecurityGroupRulesOutputArgs ¶ added in v3.9.0
type GetSecurityGroupRulesOutputArgs struct { // Authorization direction. Valid values are: `ingress` or `egress`. Direction pulumi.StringPtrInput `pulumi:"direction"` // The ID of the security group that owns the rules. GroupId pulumi.StringInput `pulumi:"groupId"` // The IP protocol. Valid values are: `tcp`, `udp`, `icmp`, `gre` and `all`. IpProtocol pulumi.StringPtrInput `pulumi:"ipProtocol"` // Refers to the network type. Can be either `internet` or `intranet`. The default value is `internet`. NicType pulumi.StringPtrInput `pulumi:"nicType"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Authorization policy. Can be either `accept` or `drop`. The default value is `accept`. Policy pulumi.StringPtrInput `pulumi:"policy"` }
A collection of arguments for invoking getSecurityGroupRules.
func (GetSecurityGroupRulesOutputArgs) ElementType ¶ added in v3.9.0
func (GetSecurityGroupRulesOutputArgs) ElementType() reflect.Type
type GetSecurityGroupRulesResult ¶
type GetSecurityGroupRulesResult struct { // Authorization direction, `ingress` or `egress`. Direction *string `pulumi:"direction"` // The description of the security group that owns the rules. GroupDesc string `pulumi:"groupDesc"` GroupId string `pulumi:"groupId"` // The name of the security group that owns the rules. GroupName string `pulumi:"groupName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The protocol. Can be `tcp`, `udp`, `icmp`, `gre` or `all`. IpProtocol *string `pulumi:"ipProtocol"` // Network type, `internet` or `intranet`. NicType *string `pulumi:"nicType"` OutputFile *string `pulumi:"outputFile"` // Authorization policy. Can be either `accept` or `drop`. Policy *string `pulumi:"policy"` // A list of security group rules. Each element contains the following attributes: Rules []GetSecurityGroupRulesRule `pulumi:"rules"` }
A collection of values returned by getSecurityGroupRules.
func GetSecurityGroupRules ¶
func GetSecurityGroupRules(ctx *pulumi.Context, args *GetSecurityGroupRulesArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupRulesResult, error)
The `ecs.getSecurityGroupRules` data source provides a collection of security permissions of a specific security group. Each collection item represents a single `ingress` or `egress` permission rule. The ID of the security group can be provided via a variable or the result from the other data source `ecs.getSecurityGroups`.
## Example Usage
The following example shows how to obtain details about a security group rule and how to pass its data to an instance at launch time.
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") securityGroupId := cfg.RequireObject("securityGroupId") groupsDs, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ NameRegex: pulumi.StringRef("api"), }, nil) if err != nil { return err } ingressRulesDs, err := ecs.GetSecurityGroupRules(ctx, &ecs.GetSecurityGroupRulesArgs{ Direction: pulumi.StringRef("ingress"), GroupId: groupsDs.Groups[0].Id, IpProtocol: pulumi.StringRef("tcp"), NicType: pulumi.StringRef("internet"), }, nil) if err != nil { return err } _, err = ecs.NewInstance(ctx, "backend", &ecs.InstanceArgs{ UserData: pulumi.String(fmt.Sprintf("%v%v", "config_service.sh --portrange=", ingressRulesDs.Rules[0].PortRange)), }) if err != nil { return err } return nil }) }
```
type GetSecurityGroupRulesResultOutput ¶ added in v3.9.0
type GetSecurityGroupRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityGroupRules.
func GetSecurityGroupRulesOutput ¶ added in v3.9.0
func GetSecurityGroupRulesOutput(ctx *pulumi.Context, args GetSecurityGroupRulesOutputArgs, opts ...pulumi.InvokeOption) GetSecurityGroupRulesResultOutput
func (GetSecurityGroupRulesResultOutput) Direction ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) Direction() pulumi.StringPtrOutput
Authorization direction, `ingress` or `egress`.
func (GetSecurityGroupRulesResultOutput) ElementType ¶ added in v3.9.0
func (GetSecurityGroupRulesResultOutput) ElementType() reflect.Type
func (GetSecurityGroupRulesResultOutput) GroupDesc ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) GroupDesc() pulumi.StringOutput
The description of the security group that owns the rules.
func (GetSecurityGroupRulesResultOutput) GroupId ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) GroupId() pulumi.StringOutput
func (GetSecurityGroupRulesResultOutput) GroupName ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) GroupName() pulumi.StringOutput
The name of the security group that owns the rules.
func (GetSecurityGroupRulesResultOutput) Id ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecurityGroupRulesResultOutput) IpProtocol ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) IpProtocol() pulumi.StringPtrOutput
The protocol. Can be `tcp`, `udp`, `icmp`, `gre` or `all`.
func (GetSecurityGroupRulesResultOutput) NicType ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) NicType() pulumi.StringPtrOutput
Network type, `internet` or `intranet`.
func (GetSecurityGroupRulesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSecurityGroupRulesResultOutput) Policy ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) Policy() pulumi.StringPtrOutput
Authorization policy. Can be either `accept` or `drop`.
func (GetSecurityGroupRulesResultOutput) Rules ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) Rules() GetSecurityGroupRulesRuleArrayOutput
A list of security group rules. Each element contains the following attributes:
func (GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutput ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutput() GetSecurityGroupRulesResultOutput
func (GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutputWithContext ¶ added in v3.9.0
func (o GetSecurityGroupRulesResultOutput) ToGetSecurityGroupRulesResultOutputWithContext(ctx context.Context) GetSecurityGroupRulesResultOutput
type GetSecurityGroupRulesRule ¶
type GetSecurityGroupRulesRule struct { // The description of the rule. Description string `pulumi:"description"` // Target IP address segment for egress authorization. DestCidrIp string `pulumi:"destCidrIp"` // Target security group id for ingress authorization. DestGroupId string `pulumi:"destGroupId"` // Alibaba Cloud account of the target security group. DestGroupOwnerAccount string `pulumi:"destGroupOwnerAccount"` // Authorization direction. Valid values are: `ingress` or `egress`. Direction string `pulumi:"direction"` // The IP protocol. Valid values are: `tcp`, `udp`, `icmp`, `gre` and `all`. IpProtocol string `pulumi:"ipProtocol"` // Refers to the network type. Can be either `internet` or `intranet`. The default value is `internet`. NicType string `pulumi:"nicType"` // Authorization policy. Can be either `accept` or `drop`. The default value is `accept`. Policy string `pulumi:"policy"` // The range of port numbers. PortRange string `pulumi:"portRange"` // Rule priority. Priority int `pulumi:"priority"` // Source IP address segment for ingress authorization. SourceCidrIp string `pulumi:"sourceCidrIp"` // Source security group ID for ingress authorization. SourceGroupId string `pulumi:"sourceGroupId"` // Alibaba Cloud account of the source security group. SourceGroupOwnerAccount string `pulumi:"sourceGroupOwnerAccount"` }
type GetSecurityGroupRulesRuleArgs ¶
type GetSecurityGroupRulesRuleArgs struct { // The description of the rule. Description pulumi.StringInput `pulumi:"description"` // Target IP address segment for egress authorization. DestCidrIp pulumi.StringInput `pulumi:"destCidrIp"` // Target security group id for ingress authorization. DestGroupId pulumi.StringInput `pulumi:"destGroupId"` // Alibaba Cloud account of the target security group. DestGroupOwnerAccount pulumi.StringInput `pulumi:"destGroupOwnerAccount"` // Authorization direction. Valid values are: `ingress` or `egress`. Direction pulumi.StringInput `pulumi:"direction"` // The IP protocol. Valid values are: `tcp`, `udp`, `icmp`, `gre` and `all`. IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` // Refers to the network type. Can be either `internet` or `intranet`. The default value is `internet`. NicType pulumi.StringInput `pulumi:"nicType"` // Authorization policy. Can be either `accept` or `drop`. The default value is `accept`. Policy pulumi.StringInput `pulumi:"policy"` // The range of port numbers. PortRange pulumi.StringInput `pulumi:"portRange"` // Rule priority. Priority pulumi.IntInput `pulumi:"priority"` // Source IP address segment for ingress authorization. SourceCidrIp pulumi.StringInput `pulumi:"sourceCidrIp"` // Source security group ID for ingress authorization. SourceGroupId pulumi.StringInput `pulumi:"sourceGroupId"` // Alibaba Cloud account of the source security group. SourceGroupOwnerAccount pulumi.StringInput `pulumi:"sourceGroupOwnerAccount"` }
func (GetSecurityGroupRulesRuleArgs) ElementType ¶
func (GetSecurityGroupRulesRuleArgs) ElementType() reflect.Type
func (GetSecurityGroupRulesRuleArgs) ToGetSecurityGroupRulesRuleOutput ¶
func (i GetSecurityGroupRulesRuleArgs) ToGetSecurityGroupRulesRuleOutput() GetSecurityGroupRulesRuleOutput
func (GetSecurityGroupRulesRuleArgs) ToGetSecurityGroupRulesRuleOutputWithContext ¶
func (i GetSecurityGroupRulesRuleArgs) ToGetSecurityGroupRulesRuleOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleOutput
type GetSecurityGroupRulesRuleArray ¶
type GetSecurityGroupRulesRuleArray []GetSecurityGroupRulesRuleInput
func (GetSecurityGroupRulesRuleArray) ElementType ¶
func (GetSecurityGroupRulesRuleArray) ElementType() reflect.Type
func (GetSecurityGroupRulesRuleArray) ToGetSecurityGroupRulesRuleArrayOutput ¶
func (i GetSecurityGroupRulesRuleArray) ToGetSecurityGroupRulesRuleArrayOutput() GetSecurityGroupRulesRuleArrayOutput
func (GetSecurityGroupRulesRuleArray) ToGetSecurityGroupRulesRuleArrayOutputWithContext ¶
func (i GetSecurityGroupRulesRuleArray) ToGetSecurityGroupRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleArrayOutput
type GetSecurityGroupRulesRuleArrayInput ¶
type GetSecurityGroupRulesRuleArrayInput interface { pulumi.Input ToGetSecurityGroupRulesRuleArrayOutput() GetSecurityGroupRulesRuleArrayOutput ToGetSecurityGroupRulesRuleArrayOutputWithContext(context.Context) GetSecurityGroupRulesRuleArrayOutput }
GetSecurityGroupRulesRuleArrayInput is an input type that accepts GetSecurityGroupRulesRuleArray and GetSecurityGroupRulesRuleArrayOutput values. You can construct a concrete instance of `GetSecurityGroupRulesRuleArrayInput` via:
GetSecurityGroupRulesRuleArray{ GetSecurityGroupRulesRuleArgs{...} }
type GetSecurityGroupRulesRuleArrayOutput ¶
type GetSecurityGroupRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupRulesRuleArrayOutput) ElementType ¶
func (GetSecurityGroupRulesRuleArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupRulesRuleArrayOutput) Index ¶
func (o GetSecurityGroupRulesRuleArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupRulesRuleOutput
func (GetSecurityGroupRulesRuleArrayOutput) ToGetSecurityGroupRulesRuleArrayOutput ¶
func (o GetSecurityGroupRulesRuleArrayOutput) ToGetSecurityGroupRulesRuleArrayOutput() GetSecurityGroupRulesRuleArrayOutput
func (GetSecurityGroupRulesRuleArrayOutput) ToGetSecurityGroupRulesRuleArrayOutputWithContext ¶
func (o GetSecurityGroupRulesRuleArrayOutput) ToGetSecurityGroupRulesRuleArrayOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleArrayOutput
type GetSecurityGroupRulesRuleInput ¶
type GetSecurityGroupRulesRuleInput interface { pulumi.Input ToGetSecurityGroupRulesRuleOutput() GetSecurityGroupRulesRuleOutput ToGetSecurityGroupRulesRuleOutputWithContext(context.Context) GetSecurityGroupRulesRuleOutput }
GetSecurityGroupRulesRuleInput is an input type that accepts GetSecurityGroupRulesRuleArgs and GetSecurityGroupRulesRuleOutput values. You can construct a concrete instance of `GetSecurityGroupRulesRuleInput` via:
GetSecurityGroupRulesRuleArgs{...}
type GetSecurityGroupRulesRuleOutput ¶
type GetSecurityGroupRulesRuleOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupRulesRuleOutput) Description ¶
func (o GetSecurityGroupRulesRuleOutput) Description() pulumi.StringOutput
The description of the rule.
func (GetSecurityGroupRulesRuleOutput) DestCidrIp ¶
func (o GetSecurityGroupRulesRuleOutput) DestCidrIp() pulumi.StringOutput
Target IP address segment for egress authorization.
func (GetSecurityGroupRulesRuleOutput) DestGroupId ¶
func (o GetSecurityGroupRulesRuleOutput) DestGroupId() pulumi.StringOutput
Target security group id for ingress authorization.
func (GetSecurityGroupRulesRuleOutput) DestGroupOwnerAccount ¶
func (o GetSecurityGroupRulesRuleOutput) DestGroupOwnerAccount() pulumi.StringOutput
Alibaba Cloud account of the target security group.
func (GetSecurityGroupRulesRuleOutput) Direction ¶
func (o GetSecurityGroupRulesRuleOutput) Direction() pulumi.StringOutput
Authorization direction. Valid values are: `ingress` or `egress`.
func (GetSecurityGroupRulesRuleOutput) ElementType ¶
func (GetSecurityGroupRulesRuleOutput) ElementType() reflect.Type
func (GetSecurityGroupRulesRuleOutput) IpProtocol ¶
func (o GetSecurityGroupRulesRuleOutput) IpProtocol() pulumi.StringOutput
The IP protocol. Valid values are: `tcp`, `udp`, `icmp`, `gre` and `all`.
func (GetSecurityGroupRulesRuleOutput) NicType ¶
func (o GetSecurityGroupRulesRuleOutput) NicType() pulumi.StringOutput
Refers to the network type. Can be either `internet` or `intranet`. The default value is `internet`.
func (GetSecurityGroupRulesRuleOutput) Policy ¶
func (o GetSecurityGroupRulesRuleOutput) Policy() pulumi.StringOutput
Authorization policy. Can be either `accept` or `drop`. The default value is `accept`.
func (GetSecurityGroupRulesRuleOutput) PortRange ¶
func (o GetSecurityGroupRulesRuleOutput) PortRange() pulumi.StringOutput
The range of port numbers.
func (GetSecurityGroupRulesRuleOutput) Priority ¶
func (o GetSecurityGroupRulesRuleOutput) Priority() pulumi.IntOutput
Rule priority.
func (GetSecurityGroupRulesRuleOutput) SourceCidrIp ¶
func (o GetSecurityGroupRulesRuleOutput) SourceCidrIp() pulumi.StringOutput
Source IP address segment for ingress authorization.
func (GetSecurityGroupRulesRuleOutput) SourceGroupId ¶
func (o GetSecurityGroupRulesRuleOutput) SourceGroupId() pulumi.StringOutput
Source security group ID for ingress authorization.
func (GetSecurityGroupRulesRuleOutput) SourceGroupOwnerAccount ¶
func (o GetSecurityGroupRulesRuleOutput) SourceGroupOwnerAccount() pulumi.StringOutput
Alibaba Cloud account of the source security group.
func (GetSecurityGroupRulesRuleOutput) ToGetSecurityGroupRulesRuleOutput ¶
func (o GetSecurityGroupRulesRuleOutput) ToGetSecurityGroupRulesRuleOutput() GetSecurityGroupRulesRuleOutput
func (GetSecurityGroupRulesRuleOutput) ToGetSecurityGroupRulesRuleOutputWithContext ¶
func (o GetSecurityGroupRulesRuleOutput) ToGetSecurityGroupRulesRuleOutputWithContext(ctx context.Context) GetSecurityGroupRulesRuleOutput
type GetSecurityGroupsArgs ¶
type GetSecurityGroupsArgs struct { EnableDetails *bool `pulumi:"enableDetails"` // A list of Security Group IDs. Ids []string `pulumi:"ids"` // A regex string to filter the resulting security groups by their names. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The Id of resource group which the securityGroup belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // Used to retrieve security groups that belong to the specified VPC ID. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getSecurityGroups.
type GetSecurityGroupsGroup ¶
type GetSecurityGroupsGroup struct { // Creation time of the security group. CreationTime string `pulumi:"creationTime"` // The description of the security group. Description string `pulumi:"description"` // The ID of the security group. Id string `pulumi:"id"` // Whether to allow inner network access. InnerAccess bool `pulumi:"innerAccess"` // The name of the security group. Name string `pulumi:"name"` // The Id of resource group which the securityGroup belongs. ResourceGroupId string `pulumi:"resourceGroupId"` // The type of the security group. SecurityGroupType string `pulumi:"securityGroupType"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags map[string]interface{} `pulumi:"tags"` // Used to retrieve security groups that belong to the specified VPC ID. VpcId string `pulumi:"vpcId"` }
type GetSecurityGroupsGroupArgs ¶
type GetSecurityGroupsGroupArgs struct { // Creation time of the security group. CreationTime pulumi.StringInput `pulumi:"creationTime"` // The description of the security group. Description pulumi.StringInput `pulumi:"description"` // The ID of the security group. Id pulumi.StringInput `pulumi:"id"` // Whether to allow inner network access. InnerAccess pulumi.BoolInput `pulumi:"innerAccess"` // The name of the security group. Name pulumi.StringInput `pulumi:"name"` // The Id of resource group which the securityGroup belongs. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The type of the security group. SecurityGroupType pulumi.StringInput `pulumi:"securityGroupType"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // Used to retrieve security groups that belong to the specified VPC ID. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetSecurityGroupsGroupArgs) ElementType ¶
func (GetSecurityGroupsGroupArgs) ElementType() reflect.Type
func (GetSecurityGroupsGroupArgs) ToGetSecurityGroupsGroupOutput ¶
func (i GetSecurityGroupsGroupArgs) ToGetSecurityGroupsGroupOutput() GetSecurityGroupsGroupOutput
func (GetSecurityGroupsGroupArgs) ToGetSecurityGroupsGroupOutputWithContext ¶
func (i GetSecurityGroupsGroupArgs) ToGetSecurityGroupsGroupOutputWithContext(ctx context.Context) GetSecurityGroupsGroupOutput
type GetSecurityGroupsGroupArray ¶
type GetSecurityGroupsGroupArray []GetSecurityGroupsGroupInput
func (GetSecurityGroupsGroupArray) ElementType ¶
func (GetSecurityGroupsGroupArray) ElementType() reflect.Type
func (GetSecurityGroupsGroupArray) ToGetSecurityGroupsGroupArrayOutput ¶
func (i GetSecurityGroupsGroupArray) ToGetSecurityGroupsGroupArrayOutput() GetSecurityGroupsGroupArrayOutput
func (GetSecurityGroupsGroupArray) ToGetSecurityGroupsGroupArrayOutputWithContext ¶
func (i GetSecurityGroupsGroupArray) ToGetSecurityGroupsGroupArrayOutputWithContext(ctx context.Context) GetSecurityGroupsGroupArrayOutput
type GetSecurityGroupsGroupArrayInput ¶
type GetSecurityGroupsGroupArrayInput interface { pulumi.Input ToGetSecurityGroupsGroupArrayOutput() GetSecurityGroupsGroupArrayOutput ToGetSecurityGroupsGroupArrayOutputWithContext(context.Context) GetSecurityGroupsGroupArrayOutput }
GetSecurityGroupsGroupArrayInput is an input type that accepts GetSecurityGroupsGroupArray and GetSecurityGroupsGroupArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsGroupArrayInput` via:
GetSecurityGroupsGroupArray{ GetSecurityGroupsGroupArgs{...} }
type GetSecurityGroupsGroupArrayOutput ¶
type GetSecurityGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsGroupArrayOutput) ElementType ¶
func (GetSecurityGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupsGroupArrayOutput) Index ¶
func (o GetSecurityGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsGroupOutput
func (GetSecurityGroupsGroupArrayOutput) ToGetSecurityGroupsGroupArrayOutput ¶
func (o GetSecurityGroupsGroupArrayOutput) ToGetSecurityGroupsGroupArrayOutput() GetSecurityGroupsGroupArrayOutput
func (GetSecurityGroupsGroupArrayOutput) ToGetSecurityGroupsGroupArrayOutputWithContext ¶
func (o GetSecurityGroupsGroupArrayOutput) ToGetSecurityGroupsGroupArrayOutputWithContext(ctx context.Context) GetSecurityGroupsGroupArrayOutput
type GetSecurityGroupsGroupInput ¶
type GetSecurityGroupsGroupInput interface { pulumi.Input ToGetSecurityGroupsGroupOutput() GetSecurityGroupsGroupOutput ToGetSecurityGroupsGroupOutputWithContext(context.Context) GetSecurityGroupsGroupOutput }
GetSecurityGroupsGroupInput is an input type that accepts GetSecurityGroupsGroupArgs and GetSecurityGroupsGroupOutput values. You can construct a concrete instance of `GetSecurityGroupsGroupInput` via:
GetSecurityGroupsGroupArgs{...}
type GetSecurityGroupsGroupOutput ¶
type GetSecurityGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsGroupOutput) CreationTime ¶
func (o GetSecurityGroupsGroupOutput) CreationTime() pulumi.StringOutput
Creation time of the security group.
func (GetSecurityGroupsGroupOutput) Description ¶
func (o GetSecurityGroupsGroupOutput) Description() pulumi.StringOutput
The description of the security group.
func (GetSecurityGroupsGroupOutput) ElementType ¶
func (GetSecurityGroupsGroupOutput) ElementType() reflect.Type
func (GetSecurityGroupsGroupOutput) Id ¶
func (o GetSecurityGroupsGroupOutput) Id() pulumi.StringOutput
The ID of the security group.
func (GetSecurityGroupsGroupOutput) InnerAccess ¶
func (o GetSecurityGroupsGroupOutput) InnerAccess() pulumi.BoolOutput
Whether to allow inner network access.
func (GetSecurityGroupsGroupOutput) Name ¶
func (o GetSecurityGroupsGroupOutput) Name() pulumi.StringOutput
The name of the security group.
func (GetSecurityGroupsGroupOutput) ResourceGroupId ¶
func (o GetSecurityGroupsGroupOutput) ResourceGroupId() pulumi.StringOutput
The Id of resource group which the securityGroup belongs.
func (GetSecurityGroupsGroupOutput) SecurityGroupType ¶
func (o GetSecurityGroupsGroupOutput) SecurityGroupType() pulumi.StringOutput
The type of the security group.
func (GetSecurityGroupsGroupOutput) Tags ¶
func (o GetSecurityGroupsGroupOutput) Tags() pulumi.MapOutput
A map of tags assigned to the ECS instances. It must be in the format: ```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ Tags: map[string]interface{}{ "tagKey1": "tagValue1", "tagKey2": "tagValue2", }, }, nil) if err != nil { return err } return nil }) }
```
func (GetSecurityGroupsGroupOutput) ToGetSecurityGroupsGroupOutput ¶
func (o GetSecurityGroupsGroupOutput) ToGetSecurityGroupsGroupOutput() GetSecurityGroupsGroupOutput
func (GetSecurityGroupsGroupOutput) ToGetSecurityGroupsGroupOutputWithContext ¶
func (o GetSecurityGroupsGroupOutput) ToGetSecurityGroupsGroupOutputWithContext(ctx context.Context) GetSecurityGroupsGroupOutput
func (GetSecurityGroupsGroupOutput) VpcId ¶
func (o GetSecurityGroupsGroupOutput) VpcId() pulumi.StringOutput
Used to retrieve security groups that belong to the specified VPC ID.
type GetSecurityGroupsOutputArgs ¶ added in v3.9.0
type GetSecurityGroupsOutputArgs struct { EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Security Group IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter the resulting security groups by their names. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The Id of resource group which the securityGroup belongs. ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` // A map of tags assigned to the ECS instances. It must be in the format: // “`go // package main // // import ( // "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ // Tags: map[string]interface{}{ // "tagKey1": "tagValue1", // "tagKey2": "tagValue2", // }, // }, nil) // if err != nil { // return err // } // return nil // }) // } // “` Tags pulumi.MapInput `pulumi:"tags"` // Used to retrieve security groups that belong to the specified VPC ID. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getSecurityGroups.
func (GetSecurityGroupsOutputArgs) ElementType ¶ added in v3.9.0
func (GetSecurityGroupsOutputArgs) ElementType() reflect.Type
type GetSecurityGroupsResult ¶
type GetSecurityGroupsResult struct { EnableDetails *bool `pulumi:"enableDetails"` // A list of Security Groups. Each element contains the following attributes: Groups []GetSecurityGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Security Group IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Security Group names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The Id of resource group which the securityGroup belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` // A map of tags assigned to the ECS instance. Tags map[string]interface{} `pulumi:"tags"` TotalCount int `pulumi:"totalCount"` // The ID of the VPC that owns the security group. VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getSecurityGroups.
func GetSecurityGroups ¶
func GetSecurityGroups(ctx *pulumi.Context, args *GetSecurityGroupsArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupsResult, error)
This data source provides a list of Security Groups in an Alibaba Cloud account according to the specified filters.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.GetSecurityGroups(ctx, &ecs.GetSecurityGroupsArgs{ NameRegex: pulumi.StringRef("^web-"), OutputFile: pulumi.StringRef("web_access.json"), }, nil) if err != nil { return err } primaryVpcDs, err := vpc.NewNetwork(ctx, "primaryVpcDs", nil) if err != nil { return err } primarySecGroupsDs := ecs.GetSecurityGroupsOutput(ctx, ecs.GetSecurityGroupsOutputArgs{ VpcId: primaryVpcDs.ID(), }, nil) ctx.Export("firstGroupId", primarySecGroupsDs.ApplyT(func(primarySecGroupsDs ecs.GetSecurityGroupsResult) (string, error) { return primarySecGroupsDs.Groups[0].Id, nil }).(pulumi.StringOutput)) return nil }) }
```
type GetSecurityGroupsResultOutput ¶ added in v3.9.0
type GetSecurityGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityGroups.
func GetSecurityGroupsOutput ¶ added in v3.9.0
func GetSecurityGroupsOutput(ctx *pulumi.Context, args GetSecurityGroupsOutputArgs, opts ...pulumi.InvokeOption) GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) ElementType ¶ added in v3.9.0
func (GetSecurityGroupsResultOutput) ElementType() reflect.Type
func (GetSecurityGroupsResultOutput) EnableDetails ¶ added in v3.16.0
func (o GetSecurityGroupsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetSecurityGroupsResultOutput) Groups ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) Groups() GetSecurityGroupsGroupArrayOutput
A list of Security Groups. Each element contains the following attributes:
func (GetSecurityGroupsResultOutput) Id ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecurityGroupsResultOutput) Ids ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) Ids() pulumi.StringArrayOutput
A list of Security Group IDs.
func (GetSecurityGroupsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetSecurityGroupsResultOutput) Names ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) Names() pulumi.StringArrayOutput
A list of Security Group names.
func (GetSecurityGroupsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSecurityGroupsResultOutput) PageNumber ¶ added in v3.16.0
func (o GetSecurityGroupsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetSecurityGroupsResultOutput) PageSize ¶ added in v3.16.0
func (o GetSecurityGroupsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetSecurityGroupsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The Id of resource group which the securityGroup belongs.
func (GetSecurityGroupsResultOutput) Tags ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) Tags() pulumi.MapOutput
A map of tags assigned to the ECS instance.
func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) TotalCount ¶ added in v3.16.0
func (o GetSecurityGroupsResultOutput) TotalCount() pulumi.IntOutput
func (GetSecurityGroupsResultOutput) VpcId ¶ added in v3.9.0
func (o GetSecurityGroupsResultOutput) VpcId() pulumi.StringPtrOutput
The ID of the VPC that owns the security group.
type GetSnapshotsArgs ¶
type GetSnapshotsArgs struct { Category *string `pulumi:"category"` DryRun *bool `pulumi:"dryRun"` // Whether the snapshot is encrypted or not. Encrypted *bool `pulumi:"encrypted"` // A list of snapshot IDs. Ids []string `pulumi:"ids"` KmsKeyId *string `pulumi:"kmsKeyId"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` ResourceGroupId *string `pulumi:"resourceGroupId"` SnapshotLinkId *string `pulumi:"snapshotLinkId"` SnapshotName *string `pulumi:"snapshotName"` SnapshotType *string `pulumi:"snapshotType"` // Source disk attribute. Value range: `System`,`Data`. SourceDiskType *string `pulumi:"sourceDiskType"` // The snapshot status. Value range: `progressing`, `accomplished` and `failed`. Status *string `pulumi:"status"` // A map of tags assigned to the snapshot. Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` // Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`. Usage *string `pulumi:"usage"` }
A collection of arguments for invoking getSnapshots.
type GetSnapshotsOutputArgs ¶ added in v3.9.0
type GetSnapshotsOutputArgs struct { Category pulumi.StringPtrInput `pulumi:"category"` DryRun pulumi.BoolPtrInput `pulumi:"dryRun"` // Whether the snapshot is encrypted or not. Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"` // A list of snapshot IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"` SnapshotLinkId pulumi.StringPtrInput `pulumi:"snapshotLinkId"` SnapshotName pulumi.StringPtrInput `pulumi:"snapshotName"` SnapshotType pulumi.StringPtrInput `pulumi:"snapshotType"` // Source disk attribute. Value range: `System`,`Data`. SourceDiskType pulumi.StringPtrInput `pulumi:"sourceDiskType"` // The snapshot status. Value range: `progressing`, `accomplished` and `failed`. Status pulumi.StringPtrInput `pulumi:"status"` // A map of tags assigned to the snapshot. Tags pulumi.MapInput `pulumi:"tags"` Type pulumi.StringPtrInput `pulumi:"type"` // Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`. Usage pulumi.StringPtrInput `pulumi:"usage"` }
A collection of arguments for invoking getSnapshots.
func (GetSnapshotsOutputArgs) ElementType ¶ added in v3.9.0
func (GetSnapshotsOutputArgs) ElementType() reflect.Type
type GetSnapshotsResult ¶
type GetSnapshotsResult struct { Category *string `pulumi:"category"` DryRun *bool `pulumi:"dryRun"` // Whether the snapshot is encrypted or not. Encrypted *bool `pulumi:"encrypted"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of snapshot IDs. Ids []string `pulumi:"ids"` KmsKeyId *string `pulumi:"kmsKeyId"` NameRegex *string `pulumi:"nameRegex"` // A list of snapshots names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` ResourceGroupId *string `pulumi:"resourceGroupId"` SnapshotLinkId *string `pulumi:"snapshotLinkId"` SnapshotName *string `pulumi:"snapshotName"` SnapshotType *string `pulumi:"snapshotType"` // A list of snapshots. Each element contains the following attributes: Snapshots []GetSnapshotsSnapshot `pulumi:"snapshots"` // Source disk attribute. Value range: `System`,`Data`. SourceDiskType *string `pulumi:"sourceDiskType"` // The snapshot status. Value range: `progressing`, `accomplished` and `failed`. Status *string `pulumi:"status"` // A map of tags assigned to the snapshot. Tags map[string]interface{} `pulumi:"tags"` Type *string `pulumi:"type"` // Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`. Usage *string `pulumi:"usage"` }
A collection of values returned by getSnapshots.
func GetSnapshots ¶
func GetSnapshots(ctx *pulumi.Context, args *GetSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetSnapshotsResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.GetSnapshots(ctx, &ecs.GetSnapshotsArgs{ Ids: []string{ "s-123456890abcdef", }, NameRegex: pulumi.StringRef("tf-testAcc-snapshot"), }, nil) if err != nil { return err } return nil }) }
``` ## Argument Reference
The following arguments are supported:
* `instanceId` - (Optional) The specified instance ID. * `diskId` - (Optional) The specified disk ID. * `encrypted` - (Optional) Queries the encrypted snapshots. Optional values: `true`: Encrypted snapshots. `false`: No encryption attribute limit. Default value: `false`. * `ids` - (Optional) A list of snapshot IDs. * `nameRegex` - (Optional) A regex string to filter results by snapshot name. * `status` - (Optional) The specified snapshot status. Default value: `all`. Optional values:
- progressing: The snapshots are being created.
- accomplished: The snapshots are ready to use.
- failed: The snapshot creation failed.
- all: All status.
* `type` - (Optional) The snapshot category. Default value: `all`. Optional values:
- auto: Auto snapshots.
- user: Manual snapshots.
- all: Auto and manual snapshots.
* `sourceDiskType` - (Optional) The type of source disk:
- System: The snapshots are created for system disks.
- Data: The snapshots are created for data disks.
* `usage` - (Optional) The usage of the snapshot:
- image: The snapshots are used to create custom images.
- disk: The snapshots are used to CreateDisk.
- mage_disk: The snapshots are used to create custom images and data disks.
- none: The snapshots are not used yet.
* `tags` - (Optional) A map of tags assigned to snapshots. * `outputFile` - (Optional) The name of output file that saves the filter results.
type GetSnapshotsResultOutput ¶ added in v3.9.0
type GetSnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSnapshots.
func GetSnapshotsOutput ¶ added in v3.9.0
func GetSnapshotsOutput(ctx *pulumi.Context, args GetSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) Category ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Category() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) DryRun ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) DryRun() pulumi.BoolPtrOutput
func (GetSnapshotsResultOutput) ElementType ¶ added in v3.9.0
func (GetSnapshotsResultOutput) ElementType() reflect.Type
func (GetSnapshotsResultOutput) Encrypted ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Encrypted() pulumi.BoolPtrOutput
Whether the snapshot is encrypted or not.
func (GetSnapshotsResultOutput) Id ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSnapshotsResultOutput) Ids ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
A list of snapshot IDs.
func (GetSnapshotsResultOutput) KmsKeyId ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) KmsKeyId() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Names ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Names() pulumi.StringArrayOutput
A list of snapshots names.
func (GetSnapshotsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) SnapshotLinkId ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) SnapshotLinkId() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) SnapshotName ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) SnapshotName() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) SnapshotType ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) SnapshotType() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Snapshots ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput
A list of snapshots. Each element contains the following attributes:
func (GetSnapshotsResultOutput) SourceDiskType ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) SourceDiskType() pulumi.StringPtrOutput
Source disk attribute. Value range: `System`,`Data`.
func (GetSnapshotsResultOutput) Status ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Status() pulumi.StringPtrOutput
The snapshot status. Value range: `progressing`, `accomplished` and `failed`.
func (GetSnapshotsResultOutput) Tags ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Tags() pulumi.MapOutput
A map of tags assigned to the snapshot.
func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) Type ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Type() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Usage ¶ added in v3.9.0
func (o GetSnapshotsResultOutput) Usage() pulumi.StringPtrOutput
Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`.
type GetSnapshotsSnapshot ¶
type GetSnapshotsSnapshot struct { Category string `pulumi:"category"` // Creation time. Time of creation. It is represented according to ISO8601, and UTC time is used. Format: YYYY-MM-DDThh:mmZ. CreationTime string `pulumi:"creationTime"` // Description of the snapshot. Description string `pulumi:"description"` DiskId string `pulumi:"diskId"` // Whether the snapshot is encrypted or not. Encrypted bool `pulumi:"encrypted"` // ID of the snapshot. Id string `pulumi:"id"` InstantAccess bool `pulumi:"instantAccess"` InstantAccessRetentionDays int `pulumi:"instantAccessRetentionDays"` // Name of the snapshot. Name string `pulumi:"name"` // Product code on the image market place. ProductCode string `pulumi:"productCode"` // Progress of snapshot creation, presented in percentage. Progress string `pulumi:"progress"` // The remaining time of a snapshot creation task, in seconds. RemainTime int `pulumi:"remainTime"` ResourceGroupId string `pulumi:"resourceGroupId"` // The number of days that an automatic snapshot retains in the console for your instance. RetentionDays int `pulumi:"retentionDays"` SnapshotId string `pulumi:"snapshotId"` SnapshotName string `pulumi:"snapshotName"` SnapshotSn string `pulumi:"snapshotSn"` SnapshotType string `pulumi:"snapshotType"` // Source disk ID, which is retained after the source disk of the snapshot is deleted. SourceDiskId string `pulumi:"sourceDiskId"` // Size of the source disk, measured in GB. SourceDiskSize string `pulumi:"sourceDiskSize"` // Source disk attribute. Value range: `System`,`Data`. SourceDiskType string `pulumi:"sourceDiskType"` SourceStorageType string `pulumi:"sourceStorageType"` // The snapshot status. Value range: `progressing`, `accomplished` and `failed`. Status string `pulumi:"status"` // A map of tags assigned to the snapshot. Tags map[string]interface{} `pulumi:"tags"` Type string `pulumi:"type"` // Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`. Usage string `pulumi:"usage"` }
type GetSnapshotsSnapshotArgs ¶
type GetSnapshotsSnapshotArgs struct { Category pulumi.StringInput `pulumi:"category"` // Creation time. Time of creation. It is represented according to ISO8601, and UTC time is used. Format: YYYY-MM-DDThh:mmZ. CreationTime pulumi.StringInput `pulumi:"creationTime"` // Description of the snapshot. Description pulumi.StringInput `pulumi:"description"` DiskId pulumi.StringInput `pulumi:"diskId"` // Whether the snapshot is encrypted or not. Encrypted pulumi.BoolInput `pulumi:"encrypted"` // ID of the snapshot. Id pulumi.StringInput `pulumi:"id"` InstantAccess pulumi.BoolInput `pulumi:"instantAccess"` InstantAccessRetentionDays pulumi.IntInput `pulumi:"instantAccessRetentionDays"` // Name of the snapshot. Name pulumi.StringInput `pulumi:"name"` // Product code on the image market place. ProductCode pulumi.StringInput `pulumi:"productCode"` // Progress of snapshot creation, presented in percentage. Progress pulumi.StringInput `pulumi:"progress"` // The remaining time of a snapshot creation task, in seconds. RemainTime pulumi.IntInput `pulumi:"remainTime"` ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The number of days that an automatic snapshot retains in the console for your instance. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` SnapshotId pulumi.StringInput `pulumi:"snapshotId"` SnapshotName pulumi.StringInput `pulumi:"snapshotName"` SnapshotSn pulumi.StringInput `pulumi:"snapshotSn"` SnapshotType pulumi.StringInput `pulumi:"snapshotType"` // Source disk ID, which is retained after the source disk of the snapshot is deleted. SourceDiskId pulumi.StringInput `pulumi:"sourceDiskId"` // Size of the source disk, measured in GB. SourceDiskSize pulumi.StringInput `pulumi:"sourceDiskSize"` // Source disk attribute. Value range: `System`,`Data`. SourceDiskType pulumi.StringInput `pulumi:"sourceDiskType"` SourceStorageType pulumi.StringInput `pulumi:"sourceStorageType"` // The snapshot status. Value range: `progressing`, `accomplished` and `failed`. Status pulumi.StringInput `pulumi:"status"` // A map of tags assigned to the snapshot. Tags pulumi.MapInput `pulumi:"tags"` Type pulumi.StringInput `pulumi:"type"` // Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`. Usage pulumi.StringInput `pulumi:"usage"` }
func (GetSnapshotsSnapshotArgs) ElementType ¶
func (GetSnapshotsSnapshotArgs) ElementType() reflect.Type
func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput ¶
func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext ¶
func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
type GetSnapshotsSnapshotArray ¶
type GetSnapshotsSnapshotArray []GetSnapshotsSnapshotInput
func (GetSnapshotsSnapshotArray) ElementType ¶
func (GetSnapshotsSnapshotArray) ElementType() reflect.Type
func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput ¶
func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext ¶
func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
type GetSnapshotsSnapshotArrayInput ¶
type GetSnapshotsSnapshotArrayInput interface { pulumi.Input ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput ToGetSnapshotsSnapshotArrayOutputWithContext(context.Context) GetSnapshotsSnapshotArrayOutput }
GetSnapshotsSnapshotArrayInput is an input type that accepts GetSnapshotsSnapshotArray and GetSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotArrayInput` via:
GetSnapshotsSnapshotArray{ GetSnapshotsSnapshotArgs{...} }
type GetSnapshotsSnapshotArrayOutput ¶
type GetSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotsSnapshotArrayOutput) ElementType ¶
func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
func (GetSnapshotsSnapshotArrayOutput) Index ¶
func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput ¶
func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext ¶
func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
type GetSnapshotsSnapshotInput ¶
type GetSnapshotsSnapshotInput interface { pulumi.Input ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput ToGetSnapshotsSnapshotOutputWithContext(context.Context) GetSnapshotsSnapshotOutput }
GetSnapshotsSnapshotInput is an input type that accepts GetSnapshotsSnapshotArgs and GetSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotInput` via:
GetSnapshotsSnapshotArgs{...}
type GetSnapshotsSnapshotOutput ¶
type GetSnapshotsSnapshotOutput struct{ *pulumi.OutputState }
func (GetSnapshotsSnapshotOutput) Category ¶
func (o GetSnapshotsSnapshotOutput) Category() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) CreationTime ¶
func (o GetSnapshotsSnapshotOutput) CreationTime() pulumi.StringOutput
Creation time. Time of creation. It is represented according to ISO8601, and UTC time is used. Format: YYYY-MM-DDThh:mmZ.
func (GetSnapshotsSnapshotOutput) Description ¶
func (o GetSnapshotsSnapshotOutput) Description() pulumi.StringOutput
Description of the snapshot.
func (GetSnapshotsSnapshotOutput) DiskId ¶
func (o GetSnapshotsSnapshotOutput) DiskId() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) ElementType ¶
func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type
func (GetSnapshotsSnapshotOutput) Encrypted ¶
func (o GetSnapshotsSnapshotOutput) Encrypted() pulumi.BoolOutput
Whether the snapshot is encrypted or not.
func (GetSnapshotsSnapshotOutput) Id ¶
func (o GetSnapshotsSnapshotOutput) Id() pulumi.StringOutput
ID of the snapshot.
func (GetSnapshotsSnapshotOutput) InstantAccess ¶
func (o GetSnapshotsSnapshotOutput) InstantAccess() pulumi.BoolOutput
func (GetSnapshotsSnapshotOutput) InstantAccessRetentionDays ¶
func (o GetSnapshotsSnapshotOutput) InstantAccessRetentionDays() pulumi.IntOutput
func (GetSnapshotsSnapshotOutput) Name ¶
func (o GetSnapshotsSnapshotOutput) Name() pulumi.StringOutput
Name of the snapshot.
func (GetSnapshotsSnapshotOutput) ProductCode ¶
func (o GetSnapshotsSnapshotOutput) ProductCode() pulumi.StringOutput
Product code on the image market place.
func (GetSnapshotsSnapshotOutput) Progress ¶
func (o GetSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
Progress of snapshot creation, presented in percentage.
func (GetSnapshotsSnapshotOutput) RemainTime ¶
func (o GetSnapshotsSnapshotOutput) RemainTime() pulumi.IntOutput
The remaining time of a snapshot creation task, in seconds.
func (GetSnapshotsSnapshotOutput) ResourceGroupId ¶
func (o GetSnapshotsSnapshotOutput) ResourceGroupId() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) RetentionDays ¶
func (o GetSnapshotsSnapshotOutput) RetentionDays() pulumi.IntOutput
The number of days that an automatic snapshot retains in the console for your instance.
func (GetSnapshotsSnapshotOutput) SnapshotId ¶
func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) SnapshotName ¶
func (o GetSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) SnapshotSn ¶
func (o GetSnapshotsSnapshotOutput) SnapshotSn() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) SnapshotType ¶
func (o GetSnapshotsSnapshotOutput) SnapshotType() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) SourceDiskId ¶
func (o GetSnapshotsSnapshotOutput) SourceDiskId() pulumi.StringOutput
Source disk ID, which is retained after the source disk of the snapshot is deleted.
func (GetSnapshotsSnapshotOutput) SourceDiskSize ¶
func (o GetSnapshotsSnapshotOutput) SourceDiskSize() pulumi.StringOutput
Size of the source disk, measured in GB.
func (GetSnapshotsSnapshotOutput) SourceDiskType ¶
func (o GetSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput
Source disk attribute. Value range: `System`,`Data`.
func (GetSnapshotsSnapshotOutput) SourceStorageType ¶
func (o GetSnapshotsSnapshotOutput) SourceStorageType() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) Status ¶
func (o GetSnapshotsSnapshotOutput) Status() pulumi.StringOutput
The snapshot status. Value range: `progressing`, `accomplished` and `failed`.
func (GetSnapshotsSnapshotOutput) Tags ¶
func (o GetSnapshotsSnapshotOutput) Tags() pulumi.MapOutput
A map of tags assigned to the snapshot.
func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput ¶
func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext ¶
func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotOutput) Type ¶
func (o GetSnapshotsSnapshotOutput) Type() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) Usage ¶
func (o GetSnapshotsSnapshotOutput) Usage() pulumi.StringOutput
Whether the snapshots are used to create resources or not. Value range: `image`, `disk`, `imageDisk` and `none`.
type HpcCluster ¶
type HpcCluster struct { pulumi.CustomResourceState // The description of ECS Hpc Cluster. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of ECS Hpc Cluster. Name pulumi.StringOutput `pulumi:"name"` }
Provides a ECS Hpc Cluster resource.
For information about ECS Hpc Cluster and how to use it, see [What is Hpc Cluster](https://www.alibabacloud.com/help/en/doc-detail/109138.htm).
> **NOTE:** Available in v1.116.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewHpcCluster(ctx, "example", &ecs.HpcClusterArgs{ Description: pulumi.String("For Terraform Test"), }) if err != nil { return err } return nil }) }
```
## Import
ECS Hpc Cluster can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/hpcCluster:HpcCluster example <id>
```
func GetHpcCluster ¶
func GetHpcCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HpcClusterState, opts ...pulumi.ResourceOption) (*HpcCluster, error)
GetHpcCluster gets an existing HpcCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHpcCluster ¶
func NewHpcCluster(ctx *pulumi.Context, name string, args *HpcClusterArgs, opts ...pulumi.ResourceOption) (*HpcCluster, error)
NewHpcCluster registers a new resource with the given unique name, arguments, and options.
func (*HpcCluster) ElementType ¶
func (*HpcCluster) ElementType() reflect.Type
func (*HpcCluster) ToHpcClusterOutput ¶
func (i *HpcCluster) ToHpcClusterOutput() HpcClusterOutput
func (*HpcCluster) ToHpcClusterOutputWithContext ¶
func (i *HpcCluster) ToHpcClusterOutputWithContext(ctx context.Context) HpcClusterOutput
type HpcClusterArgs ¶
type HpcClusterArgs struct { // The description of ECS Hpc Cluster. Description pulumi.StringPtrInput // The name of ECS Hpc Cluster. Name pulumi.StringPtrInput }
The set of arguments for constructing a HpcCluster resource.
func (HpcClusterArgs) ElementType ¶
func (HpcClusterArgs) ElementType() reflect.Type
type HpcClusterArray ¶
type HpcClusterArray []HpcClusterInput
func (HpcClusterArray) ElementType ¶
func (HpcClusterArray) ElementType() reflect.Type
func (HpcClusterArray) ToHpcClusterArrayOutput ¶
func (i HpcClusterArray) ToHpcClusterArrayOutput() HpcClusterArrayOutput
func (HpcClusterArray) ToHpcClusterArrayOutputWithContext ¶
func (i HpcClusterArray) ToHpcClusterArrayOutputWithContext(ctx context.Context) HpcClusterArrayOutput
type HpcClusterArrayInput ¶
type HpcClusterArrayInput interface { pulumi.Input ToHpcClusterArrayOutput() HpcClusterArrayOutput ToHpcClusterArrayOutputWithContext(context.Context) HpcClusterArrayOutput }
HpcClusterArrayInput is an input type that accepts HpcClusterArray and HpcClusterArrayOutput values. You can construct a concrete instance of `HpcClusterArrayInput` via:
HpcClusterArray{ HpcClusterArgs{...} }
type HpcClusterArrayOutput ¶
type HpcClusterArrayOutput struct{ *pulumi.OutputState }
func (HpcClusterArrayOutput) ElementType ¶
func (HpcClusterArrayOutput) ElementType() reflect.Type
func (HpcClusterArrayOutput) Index ¶
func (o HpcClusterArrayOutput) Index(i pulumi.IntInput) HpcClusterOutput
func (HpcClusterArrayOutput) ToHpcClusterArrayOutput ¶
func (o HpcClusterArrayOutput) ToHpcClusterArrayOutput() HpcClusterArrayOutput
func (HpcClusterArrayOutput) ToHpcClusterArrayOutputWithContext ¶
func (o HpcClusterArrayOutput) ToHpcClusterArrayOutputWithContext(ctx context.Context) HpcClusterArrayOutput
type HpcClusterInput ¶
type HpcClusterInput interface { pulumi.Input ToHpcClusterOutput() HpcClusterOutput ToHpcClusterOutputWithContext(ctx context.Context) HpcClusterOutput }
type HpcClusterMap ¶
type HpcClusterMap map[string]HpcClusterInput
func (HpcClusterMap) ElementType ¶
func (HpcClusterMap) ElementType() reflect.Type
func (HpcClusterMap) ToHpcClusterMapOutput ¶
func (i HpcClusterMap) ToHpcClusterMapOutput() HpcClusterMapOutput
func (HpcClusterMap) ToHpcClusterMapOutputWithContext ¶
func (i HpcClusterMap) ToHpcClusterMapOutputWithContext(ctx context.Context) HpcClusterMapOutput
type HpcClusterMapInput ¶
type HpcClusterMapInput interface { pulumi.Input ToHpcClusterMapOutput() HpcClusterMapOutput ToHpcClusterMapOutputWithContext(context.Context) HpcClusterMapOutput }
HpcClusterMapInput is an input type that accepts HpcClusterMap and HpcClusterMapOutput values. You can construct a concrete instance of `HpcClusterMapInput` via:
HpcClusterMap{ "key": HpcClusterArgs{...} }
type HpcClusterMapOutput ¶
type HpcClusterMapOutput struct{ *pulumi.OutputState }
func (HpcClusterMapOutput) ElementType ¶
func (HpcClusterMapOutput) ElementType() reflect.Type
func (HpcClusterMapOutput) MapIndex ¶
func (o HpcClusterMapOutput) MapIndex(k pulumi.StringInput) HpcClusterOutput
func (HpcClusterMapOutput) ToHpcClusterMapOutput ¶
func (o HpcClusterMapOutput) ToHpcClusterMapOutput() HpcClusterMapOutput
func (HpcClusterMapOutput) ToHpcClusterMapOutputWithContext ¶
func (o HpcClusterMapOutput) ToHpcClusterMapOutputWithContext(ctx context.Context) HpcClusterMapOutput
type HpcClusterOutput ¶
type HpcClusterOutput struct{ *pulumi.OutputState }
func (HpcClusterOutput) ElementType ¶
func (HpcClusterOutput) ElementType() reflect.Type
func (HpcClusterOutput) ToHpcClusterOutput ¶
func (o HpcClusterOutput) ToHpcClusterOutput() HpcClusterOutput
func (HpcClusterOutput) ToHpcClusterOutputWithContext ¶
func (o HpcClusterOutput) ToHpcClusterOutputWithContext(ctx context.Context) HpcClusterOutput
type HpcClusterState ¶
type HpcClusterState struct { // The description of ECS Hpc Cluster. Description pulumi.StringPtrInput // The name of ECS Hpc Cluster. Name pulumi.StringPtrInput }
func (HpcClusterState) ElementType ¶
func (HpcClusterState) ElementType() reflect.Type
type Image ¶
type Image struct { pulumi.CustomResourceState // Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `i386` , Default is `x8664`. Architecture pulumi.StringPtrOutput `pulumi:"architecture"` DeleteAutoSnapshot pulumi.BoolPtrOutput `pulumi:"deleteAutoSnapshot"` // The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null. Description pulumi.StringPtrOutput `pulumi:"description"` // Description of the system with disks and snapshots under the image. DiskDeviceMappings ImageDiskDeviceMappingArrayOutput `pulumi:"diskDeviceMappings"` // Indicates whether to force delete the custom image, Default is `false`. // - true:Force deletes the custom image, regardless of whether the image is currently being used by other instances. // - false:Verifies that the image is not currently in use by any other instances before deleting the image. Force pulumi.BoolPtrOutput `pulumi:"force"` // The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null. ImageName pulumi.StringOutput `pulumi:"imageName"` // The instance ID. InstanceId pulumi.StringPtrOutput `pulumi:"instanceId"` // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringOutput `pulumi:"name"` // Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `CentOS`, `Ubuntu`, `SUSE`, `OpenSUSE`, `RedHat`, `Debian`, `CoreOS`, `Aliyun Linux`, `Windows Server 2003`, `Windows Server 2008`, `Windows Server 2012`, `Windows 7`, Default is `Others Linux`. Platform pulumi.StringPtrOutput `pulumi:"platform"` // The ID of the enterprise resource group to which a custom image belongs ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // Specifies a snapshot that is used to create a combined custom image. SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"` // The tag value of an image. The value of N ranges from 1 to 20. Tags pulumi.MapOutput `pulumi:"tags"` }
Creates a custom image. You can then use a custom image to create ECS instances (RunInstances) or change the system disk for an existing instance (ReplaceSystemDisk).
> **NOTE:** If you want to create a template from an ECS instance, you can specify the instance ID (InstanceId) to create a custom image. You must make sure that the status of the specified instance is Running or Stopped. After a successful invocation, each disk of the specified instance has a new snapshot created.
> **NOTE:** If you want to create a custom image based on the system disk of your ECS instance, you can specify one of the system disk snapshots (SnapshotId) to create a custom image. However, the specified snapshot cannot be created on or before July 15, 2013.
> **NOTE:** If you want to combine snapshots of multiple disks into an image template, you can specify DiskDeviceMapping to create a custom image.
> **NOTE:** Available in 1.64.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewImage(ctx, "default", &ecs.ImageArgs{ Architecture: pulumi.String("x86_64"), Description: pulumi.String("test-image"), ImageName: pulumi.String("test-image"), InstanceId: pulumi.String("i-bp1g6zv0ce8oghu7k***"), Platform: pulumi.String("CentOS"), ResourceGroupId: pulumi.String("rg-bp67acfmxazb4ph***"), Tags: pulumi.AnyMap{ "FinanceDept": pulumi.Any("FinanceDeptJoshua"), }, }) if err != nil { return err } return nil }) }
```
## Import
image can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/image:Image default m-uf66871ape***yg1q***
```
func GetImage ¶
func GetImage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ImageState, opts ...pulumi.ResourceOption) (*Image, error)
GetImage gets an existing Image resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewImage ¶
func NewImage(ctx *pulumi.Context, name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error)
NewImage registers a new resource with the given unique name, arguments, and options.
func (*Image) ElementType ¶
func (*Image) ToImageOutput ¶
func (i *Image) ToImageOutput() ImageOutput
func (*Image) ToImageOutputWithContext ¶
func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput
type ImageArgs ¶
type ImageArgs struct { // Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `i386` , Default is `x8664`. Architecture pulumi.StringPtrInput DeleteAutoSnapshot pulumi.BoolPtrInput // The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null. Description pulumi.StringPtrInput // Description of the system with disks and snapshots under the image. DiskDeviceMappings ImageDiskDeviceMappingArrayInput // Indicates whether to force delete the custom image, Default is `false`. // - true:Force deletes the custom image, regardless of whether the image is currently being used by other instances. // - false:Verifies that the image is not currently in use by any other instances before deleting the image. Force pulumi.BoolPtrInput // The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null. ImageName pulumi.StringPtrInput // The instance ID. InstanceId pulumi.StringPtrInput // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringPtrInput // Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `CentOS`, `Ubuntu`, `SUSE`, `OpenSUSE`, `RedHat`, `Debian`, `CoreOS`, `Aliyun Linux`, `Windows Server 2003`, `Windows Server 2008`, `Windows Server 2012`, `Windows 7`, Default is `Others Linux`. Platform pulumi.StringPtrInput // The ID of the enterprise resource group to which a custom image belongs ResourceGroupId pulumi.StringPtrInput // Specifies a snapshot that is used to create a combined custom image. SnapshotId pulumi.StringPtrInput // The tag value of an image. The value of N ranges from 1 to 20. Tags pulumi.MapInput }
The set of arguments for constructing a Image resource.
func (ImageArgs) ElementType ¶
type ImageArray ¶
type ImageArray []ImageInput
func (ImageArray) ElementType ¶
func (ImageArray) ElementType() reflect.Type
func (ImageArray) ToImageArrayOutput ¶
func (i ImageArray) ToImageArrayOutput() ImageArrayOutput
func (ImageArray) ToImageArrayOutputWithContext ¶
func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput
type ImageArrayInput ¶
type ImageArrayInput interface { pulumi.Input ToImageArrayOutput() ImageArrayOutput ToImageArrayOutputWithContext(context.Context) ImageArrayOutput }
ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. You can construct a concrete instance of `ImageArrayInput` via:
ImageArray{ ImageArgs{...} }
type ImageArrayOutput ¶
type ImageArrayOutput struct{ *pulumi.OutputState }
func (ImageArrayOutput) ElementType ¶
func (ImageArrayOutput) ElementType() reflect.Type
func (ImageArrayOutput) Index ¶
func (o ImageArrayOutput) Index(i pulumi.IntInput) ImageOutput
func (ImageArrayOutput) ToImageArrayOutput ¶
func (o ImageArrayOutput) ToImageArrayOutput() ImageArrayOutput
func (ImageArrayOutput) ToImageArrayOutputWithContext ¶
func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) ImageArrayOutput
type ImageCopy ¶
type ImageCopy struct { pulumi.CustomResourceState DeleteAutoSnapshot pulumi.BoolPtrOutput `pulumi:"deleteAutoSnapshot"` // The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null. Description pulumi.StringPtrOutput `pulumi:"description"` // Indicates whether to encrypt the image. Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"` // Indicates whether to force delete the custom image, Default is `false`. // - true:Force deletes the custom image, regardless of whether the image is currently being used by other instances. // - false:Verifies that the image is not currently in use by any other instances before deleting the image. Force pulumi.BoolPtrOutput `pulumi:"force"` // The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null. ImageName pulumi.StringOutput `pulumi:"imageName"` // Key ID used to encrypt the image. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringOutput `pulumi:"name"` // The source image ID. SourceImageId pulumi.StringOutput `pulumi:"sourceImageId"` // The ID of the region to which the source custom image belongs. You can call [DescribeRegions](https://www.alibabacloud.com/help/doc-detail/25609.htm) to view the latest regions of Alibaba Cloud. SourceRegionId pulumi.StringOutput `pulumi:"sourceRegionId"` // The tag value of an image. The value of N ranges from 1 to 20. Tags pulumi.MapOutput `pulumi:"tags"` }
Copies a custom image from one region to another. You can use copied images to perform operations in the target region, such as creating instances (RunInstances) and replacing system disks (ReplaceSystemDisk).
> **NOTE:** You can only copy the custom image when it is in the Available state.
> **NOTE:** You can only copy the image belonging to your Alibaba Cloud account. Images cannot be copied from one account to another.
> **NOTE:** If the copying is not completed, you cannot call DeleteImage to delete the image but you can call CancelCopyImage to cancel the copying.
> **NOTE:** Available in 1.66.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewImageCopy(ctx, "default", &ecs.ImageCopyArgs{ Description: pulumi.String("test-image"), ImageName: pulumi.String("test-image"), SourceImageId: pulumi.String("m-bp1gxyhdswlsn18tu***"), SourceRegionId: pulumi.String("cn-hangzhou"), Tags: pulumi.AnyMap{ "FinanceDept": pulumi.Any("FinanceDeptJoshua"), }, }) if err != nil { return err } return nil }) }
``` ## Attributes Reference0
The following attributes are exported:
* `id` - ID of the image.
## Import
image can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/imageCopy:ImageCopy default m-uf66871ape***yg1q***
```
func GetImageCopy ¶
func GetImageCopy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ImageCopyState, opts ...pulumi.ResourceOption) (*ImageCopy, error)
GetImageCopy gets an existing ImageCopy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewImageCopy ¶
func NewImageCopy(ctx *pulumi.Context, name string, args *ImageCopyArgs, opts ...pulumi.ResourceOption) (*ImageCopy, error)
NewImageCopy registers a new resource with the given unique name, arguments, and options.
func (*ImageCopy) ElementType ¶
func (*ImageCopy) ToImageCopyOutput ¶
func (i *ImageCopy) ToImageCopyOutput() ImageCopyOutput
func (*ImageCopy) ToImageCopyOutputWithContext ¶
func (i *ImageCopy) ToImageCopyOutputWithContext(ctx context.Context) ImageCopyOutput
type ImageCopyArgs ¶
type ImageCopyArgs struct { DeleteAutoSnapshot pulumi.BoolPtrInput // The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null. Description pulumi.StringPtrInput // Indicates whether to encrypt the image. Encrypted pulumi.BoolPtrInput // Indicates whether to force delete the custom image, Default is `false`. // - true:Force deletes the custom image, regardless of whether the image is currently being used by other instances. // - false:Verifies that the image is not currently in use by any other instances before deleting the image. Force pulumi.BoolPtrInput // The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null. ImageName pulumi.StringPtrInput // Key ID used to encrypt the image. KmsKeyId pulumi.StringPtrInput // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringPtrInput // The source image ID. SourceImageId pulumi.StringInput // The ID of the region to which the source custom image belongs. You can call [DescribeRegions](https://www.alibabacloud.com/help/doc-detail/25609.htm) to view the latest regions of Alibaba Cloud. SourceRegionId pulumi.StringInput // The tag value of an image. The value of N ranges from 1 to 20. Tags pulumi.MapInput }
The set of arguments for constructing a ImageCopy resource.
func (ImageCopyArgs) ElementType ¶
func (ImageCopyArgs) ElementType() reflect.Type
type ImageCopyArray ¶
type ImageCopyArray []ImageCopyInput
func (ImageCopyArray) ElementType ¶
func (ImageCopyArray) ElementType() reflect.Type
func (ImageCopyArray) ToImageCopyArrayOutput ¶
func (i ImageCopyArray) ToImageCopyArrayOutput() ImageCopyArrayOutput
func (ImageCopyArray) ToImageCopyArrayOutputWithContext ¶
func (i ImageCopyArray) ToImageCopyArrayOutputWithContext(ctx context.Context) ImageCopyArrayOutput
type ImageCopyArrayInput ¶
type ImageCopyArrayInput interface { pulumi.Input ToImageCopyArrayOutput() ImageCopyArrayOutput ToImageCopyArrayOutputWithContext(context.Context) ImageCopyArrayOutput }
ImageCopyArrayInput is an input type that accepts ImageCopyArray and ImageCopyArrayOutput values. You can construct a concrete instance of `ImageCopyArrayInput` via:
ImageCopyArray{ ImageCopyArgs{...} }
type ImageCopyArrayOutput ¶
type ImageCopyArrayOutput struct{ *pulumi.OutputState }
func (ImageCopyArrayOutput) ElementType ¶
func (ImageCopyArrayOutput) ElementType() reflect.Type
func (ImageCopyArrayOutput) Index ¶
func (o ImageCopyArrayOutput) Index(i pulumi.IntInput) ImageCopyOutput
func (ImageCopyArrayOutput) ToImageCopyArrayOutput ¶
func (o ImageCopyArrayOutput) ToImageCopyArrayOutput() ImageCopyArrayOutput
func (ImageCopyArrayOutput) ToImageCopyArrayOutputWithContext ¶
func (o ImageCopyArrayOutput) ToImageCopyArrayOutputWithContext(ctx context.Context) ImageCopyArrayOutput
type ImageCopyInput ¶
type ImageCopyInput interface { pulumi.Input ToImageCopyOutput() ImageCopyOutput ToImageCopyOutputWithContext(ctx context.Context) ImageCopyOutput }
type ImageCopyMap ¶
type ImageCopyMap map[string]ImageCopyInput
func (ImageCopyMap) ElementType ¶
func (ImageCopyMap) ElementType() reflect.Type
func (ImageCopyMap) ToImageCopyMapOutput ¶
func (i ImageCopyMap) ToImageCopyMapOutput() ImageCopyMapOutput
func (ImageCopyMap) ToImageCopyMapOutputWithContext ¶
func (i ImageCopyMap) ToImageCopyMapOutputWithContext(ctx context.Context) ImageCopyMapOutput
type ImageCopyMapInput ¶
type ImageCopyMapInput interface { pulumi.Input ToImageCopyMapOutput() ImageCopyMapOutput ToImageCopyMapOutputWithContext(context.Context) ImageCopyMapOutput }
ImageCopyMapInput is an input type that accepts ImageCopyMap and ImageCopyMapOutput values. You can construct a concrete instance of `ImageCopyMapInput` via:
ImageCopyMap{ "key": ImageCopyArgs{...} }
type ImageCopyMapOutput ¶
type ImageCopyMapOutput struct{ *pulumi.OutputState }
func (ImageCopyMapOutput) ElementType ¶
func (ImageCopyMapOutput) ElementType() reflect.Type
func (ImageCopyMapOutput) MapIndex ¶
func (o ImageCopyMapOutput) MapIndex(k pulumi.StringInput) ImageCopyOutput
func (ImageCopyMapOutput) ToImageCopyMapOutput ¶
func (o ImageCopyMapOutput) ToImageCopyMapOutput() ImageCopyMapOutput
func (ImageCopyMapOutput) ToImageCopyMapOutputWithContext ¶
func (o ImageCopyMapOutput) ToImageCopyMapOutputWithContext(ctx context.Context) ImageCopyMapOutput
type ImageCopyOutput ¶
type ImageCopyOutput struct{ *pulumi.OutputState }
func (ImageCopyOutput) ElementType ¶
func (ImageCopyOutput) ElementType() reflect.Type
func (ImageCopyOutput) ToImageCopyOutput ¶
func (o ImageCopyOutput) ToImageCopyOutput() ImageCopyOutput
func (ImageCopyOutput) ToImageCopyOutputWithContext ¶
func (o ImageCopyOutput) ToImageCopyOutputWithContext(ctx context.Context) ImageCopyOutput
type ImageCopyState ¶
type ImageCopyState struct { DeleteAutoSnapshot pulumi.BoolPtrInput // The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null. Description pulumi.StringPtrInput // Indicates whether to encrypt the image. Encrypted pulumi.BoolPtrInput // Indicates whether to force delete the custom image, Default is `false`. // - true:Force deletes the custom image, regardless of whether the image is currently being used by other instances. // - false:Verifies that the image is not currently in use by any other instances before deleting the image. Force pulumi.BoolPtrInput // The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null. ImageName pulumi.StringPtrInput // Key ID used to encrypt the image. KmsKeyId pulumi.StringPtrInput // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringPtrInput // The source image ID. SourceImageId pulumi.StringPtrInput // The ID of the region to which the source custom image belongs. You can call [DescribeRegions](https://www.alibabacloud.com/help/doc-detail/25609.htm) to view the latest regions of Alibaba Cloud. SourceRegionId pulumi.StringPtrInput // The tag value of an image. The value of N ranges from 1 to 20. Tags pulumi.MapInput }
func (ImageCopyState) ElementType ¶
func (ImageCopyState) ElementType() reflect.Type
type ImageDiskDeviceMapping ¶
type ImageDiskDeviceMapping struct { // Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz. Device *string `pulumi:"device"` // Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: `system`, `data`, DiskType *string `pulumi:"diskType"` // Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000. Size *int `pulumi:"size"` // Specifies a snapshot that is used to create a combined custom image. SnapshotId *string `pulumi:"snapshotId"` }
type ImageDiskDeviceMappingArgs ¶
type ImageDiskDeviceMappingArgs struct { // Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz. Device pulumi.StringPtrInput `pulumi:"device"` // Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: `system`, `data`, DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000. Size pulumi.IntPtrInput `pulumi:"size"` // Specifies a snapshot that is used to create a combined custom image. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (ImageDiskDeviceMappingArgs) ElementType ¶
func (ImageDiskDeviceMappingArgs) ElementType() reflect.Type
func (ImageDiskDeviceMappingArgs) ToImageDiskDeviceMappingOutput ¶
func (i ImageDiskDeviceMappingArgs) ToImageDiskDeviceMappingOutput() ImageDiskDeviceMappingOutput
func (ImageDiskDeviceMappingArgs) ToImageDiskDeviceMappingOutputWithContext ¶
func (i ImageDiskDeviceMappingArgs) ToImageDiskDeviceMappingOutputWithContext(ctx context.Context) ImageDiskDeviceMappingOutput
type ImageDiskDeviceMappingArray ¶
type ImageDiskDeviceMappingArray []ImageDiskDeviceMappingInput
func (ImageDiskDeviceMappingArray) ElementType ¶
func (ImageDiskDeviceMappingArray) ElementType() reflect.Type
func (ImageDiskDeviceMappingArray) ToImageDiskDeviceMappingArrayOutput ¶
func (i ImageDiskDeviceMappingArray) ToImageDiskDeviceMappingArrayOutput() ImageDiskDeviceMappingArrayOutput
func (ImageDiskDeviceMappingArray) ToImageDiskDeviceMappingArrayOutputWithContext ¶
func (i ImageDiskDeviceMappingArray) ToImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageDiskDeviceMappingArrayOutput
type ImageDiskDeviceMappingArrayInput ¶
type ImageDiskDeviceMappingArrayInput interface { pulumi.Input ToImageDiskDeviceMappingArrayOutput() ImageDiskDeviceMappingArrayOutput ToImageDiskDeviceMappingArrayOutputWithContext(context.Context) ImageDiskDeviceMappingArrayOutput }
ImageDiskDeviceMappingArrayInput is an input type that accepts ImageDiskDeviceMappingArray and ImageDiskDeviceMappingArrayOutput values. You can construct a concrete instance of `ImageDiskDeviceMappingArrayInput` via:
ImageDiskDeviceMappingArray{ ImageDiskDeviceMappingArgs{...} }
type ImageDiskDeviceMappingArrayOutput ¶
type ImageDiskDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (ImageDiskDeviceMappingArrayOutput) ElementType ¶
func (ImageDiskDeviceMappingArrayOutput) ElementType() reflect.Type
func (ImageDiskDeviceMappingArrayOutput) Index ¶
func (o ImageDiskDeviceMappingArrayOutput) Index(i pulumi.IntInput) ImageDiskDeviceMappingOutput
func (ImageDiskDeviceMappingArrayOutput) ToImageDiskDeviceMappingArrayOutput ¶
func (o ImageDiskDeviceMappingArrayOutput) ToImageDiskDeviceMappingArrayOutput() ImageDiskDeviceMappingArrayOutput
func (ImageDiskDeviceMappingArrayOutput) ToImageDiskDeviceMappingArrayOutputWithContext ¶
func (o ImageDiskDeviceMappingArrayOutput) ToImageDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageDiskDeviceMappingArrayOutput
type ImageDiskDeviceMappingInput ¶
type ImageDiskDeviceMappingInput interface { pulumi.Input ToImageDiskDeviceMappingOutput() ImageDiskDeviceMappingOutput ToImageDiskDeviceMappingOutputWithContext(context.Context) ImageDiskDeviceMappingOutput }
ImageDiskDeviceMappingInput is an input type that accepts ImageDiskDeviceMappingArgs and ImageDiskDeviceMappingOutput values. You can construct a concrete instance of `ImageDiskDeviceMappingInput` via:
ImageDiskDeviceMappingArgs{...}
type ImageDiskDeviceMappingOutput ¶
type ImageDiskDeviceMappingOutput struct{ *pulumi.OutputState }
func (ImageDiskDeviceMappingOutput) Device ¶
func (o ImageDiskDeviceMappingOutput) Device() pulumi.StringPtrOutput
Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz.
func (ImageDiskDeviceMappingOutput) DiskType ¶
func (o ImageDiskDeviceMappingOutput) DiskType() pulumi.StringPtrOutput
Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: `system`, `data`,
func (ImageDiskDeviceMappingOutput) ElementType ¶
func (ImageDiskDeviceMappingOutput) ElementType() reflect.Type
func (ImageDiskDeviceMappingOutput) Size ¶
func (o ImageDiskDeviceMappingOutput) Size() pulumi.IntPtrOutput
Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000.
func (ImageDiskDeviceMappingOutput) SnapshotId ¶
func (o ImageDiskDeviceMappingOutput) SnapshotId() pulumi.StringPtrOutput
Specifies a snapshot that is used to create a combined custom image.
func (ImageDiskDeviceMappingOutput) ToImageDiskDeviceMappingOutput ¶
func (o ImageDiskDeviceMappingOutput) ToImageDiskDeviceMappingOutput() ImageDiskDeviceMappingOutput
func (ImageDiskDeviceMappingOutput) ToImageDiskDeviceMappingOutputWithContext ¶
func (o ImageDiskDeviceMappingOutput) ToImageDiskDeviceMappingOutputWithContext(ctx context.Context) ImageDiskDeviceMappingOutput
type ImageExport ¶
type ImageExport struct { pulumi.CustomResourceState // The source image ID. ImageId pulumi.StringOutput `pulumi:"imageId"` // Save the exported OSS bucket. OssBucket pulumi.StringOutput `pulumi:"ossBucket"` // The prefix of your OSS Object. It can be composed of numbers or letters, and the character length is 1 ~ 30. OssPrefix pulumi.StringPtrOutput `pulumi:"ossPrefix"` }
Export a custom image to the OSS bucket in the same region as the custom image.
> **NOTE:** If you create an ECS instance using a mirror image and create a system disk snapshot again, exporting a custom image created from the system disk snapshot is not supported.
> **NOTE:** Support for exporting custom images that include data disk snapshot information in the image. The number of data disks cannot exceed 4 and the maximum capacity of a single data disk cannot exceed 500 GiB.
> **NOTE:** Before exporting the image, you must authorize the cloud server ECS official service account to write OSS permissions through RAM.
> **NOTE:** Available in 1.68.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewImageExport(ctx, "default", &ecs.ImageExportArgs{ ImageId: pulumi.String("m-bp1gxy***"), OssBucket: pulumi.String("ecsimageexportconfig"), OssPrefix: pulumi.String("ecsExport"), }) if err != nil { return err } return nil }) }
``` ## Attributes Reference0
The following attributes are exported:
* `id` - ID of the image.
func GetImageExport ¶
func GetImageExport(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ImageExportState, opts ...pulumi.ResourceOption) (*ImageExport, error)
GetImageExport gets an existing ImageExport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewImageExport ¶
func NewImageExport(ctx *pulumi.Context, name string, args *ImageExportArgs, opts ...pulumi.ResourceOption) (*ImageExport, error)
NewImageExport registers a new resource with the given unique name, arguments, and options.
func (*ImageExport) ElementType ¶
func (*ImageExport) ElementType() reflect.Type
func (*ImageExport) ToImageExportOutput ¶
func (i *ImageExport) ToImageExportOutput() ImageExportOutput
func (*ImageExport) ToImageExportOutputWithContext ¶
func (i *ImageExport) ToImageExportOutputWithContext(ctx context.Context) ImageExportOutput
type ImageExportArgs ¶
type ImageExportArgs struct { // The source image ID. ImageId pulumi.StringInput // Save the exported OSS bucket. OssBucket pulumi.StringInput // The prefix of your OSS Object. It can be composed of numbers or letters, and the character length is 1 ~ 30. OssPrefix pulumi.StringPtrInput }
The set of arguments for constructing a ImageExport resource.
func (ImageExportArgs) ElementType ¶
func (ImageExportArgs) ElementType() reflect.Type
type ImageExportArray ¶
type ImageExportArray []ImageExportInput
func (ImageExportArray) ElementType ¶
func (ImageExportArray) ElementType() reflect.Type
func (ImageExportArray) ToImageExportArrayOutput ¶
func (i ImageExportArray) ToImageExportArrayOutput() ImageExportArrayOutput
func (ImageExportArray) ToImageExportArrayOutputWithContext ¶
func (i ImageExportArray) ToImageExportArrayOutputWithContext(ctx context.Context) ImageExportArrayOutput
type ImageExportArrayInput ¶
type ImageExportArrayInput interface { pulumi.Input ToImageExportArrayOutput() ImageExportArrayOutput ToImageExportArrayOutputWithContext(context.Context) ImageExportArrayOutput }
ImageExportArrayInput is an input type that accepts ImageExportArray and ImageExportArrayOutput values. You can construct a concrete instance of `ImageExportArrayInput` via:
ImageExportArray{ ImageExportArgs{...} }
type ImageExportArrayOutput ¶
type ImageExportArrayOutput struct{ *pulumi.OutputState }
func (ImageExportArrayOutput) ElementType ¶
func (ImageExportArrayOutput) ElementType() reflect.Type
func (ImageExportArrayOutput) Index ¶
func (o ImageExportArrayOutput) Index(i pulumi.IntInput) ImageExportOutput
func (ImageExportArrayOutput) ToImageExportArrayOutput ¶
func (o ImageExportArrayOutput) ToImageExportArrayOutput() ImageExportArrayOutput
func (ImageExportArrayOutput) ToImageExportArrayOutputWithContext ¶
func (o ImageExportArrayOutput) ToImageExportArrayOutputWithContext(ctx context.Context) ImageExportArrayOutput
type ImageExportInput ¶
type ImageExportInput interface { pulumi.Input ToImageExportOutput() ImageExportOutput ToImageExportOutputWithContext(ctx context.Context) ImageExportOutput }
type ImageExportMap ¶
type ImageExportMap map[string]ImageExportInput
func (ImageExportMap) ElementType ¶
func (ImageExportMap) ElementType() reflect.Type
func (ImageExportMap) ToImageExportMapOutput ¶
func (i ImageExportMap) ToImageExportMapOutput() ImageExportMapOutput
func (ImageExportMap) ToImageExportMapOutputWithContext ¶
func (i ImageExportMap) ToImageExportMapOutputWithContext(ctx context.Context) ImageExportMapOutput
type ImageExportMapInput ¶
type ImageExportMapInput interface { pulumi.Input ToImageExportMapOutput() ImageExportMapOutput ToImageExportMapOutputWithContext(context.Context) ImageExportMapOutput }
ImageExportMapInput is an input type that accepts ImageExportMap and ImageExportMapOutput values. You can construct a concrete instance of `ImageExportMapInput` via:
ImageExportMap{ "key": ImageExportArgs{...} }
type ImageExportMapOutput ¶
type ImageExportMapOutput struct{ *pulumi.OutputState }
func (ImageExportMapOutput) ElementType ¶
func (ImageExportMapOutput) ElementType() reflect.Type
func (ImageExportMapOutput) MapIndex ¶
func (o ImageExportMapOutput) MapIndex(k pulumi.StringInput) ImageExportOutput
func (ImageExportMapOutput) ToImageExportMapOutput ¶
func (o ImageExportMapOutput) ToImageExportMapOutput() ImageExportMapOutput
func (ImageExportMapOutput) ToImageExportMapOutputWithContext ¶
func (o ImageExportMapOutput) ToImageExportMapOutputWithContext(ctx context.Context) ImageExportMapOutput
type ImageExportOutput ¶
type ImageExportOutput struct{ *pulumi.OutputState }
func (ImageExportOutput) ElementType ¶
func (ImageExportOutput) ElementType() reflect.Type
func (ImageExportOutput) ToImageExportOutput ¶
func (o ImageExportOutput) ToImageExportOutput() ImageExportOutput
func (ImageExportOutput) ToImageExportOutputWithContext ¶
func (o ImageExportOutput) ToImageExportOutputWithContext(ctx context.Context) ImageExportOutput
type ImageExportState ¶
type ImageExportState struct { // The source image ID. ImageId pulumi.StringPtrInput // Save the exported OSS bucket. OssBucket pulumi.StringPtrInput // The prefix of your OSS Object. It can be composed of numbers or letters, and the character length is 1 ~ 30. OssPrefix pulumi.StringPtrInput }
func (ImageExportState) ElementType ¶
func (ImageExportState) ElementType() reflect.Type
type ImageImport ¶
type ImageImport struct { pulumi.CustomResourceState // Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `i386` , Default is `x8664`. Architecture pulumi.StringPtrOutput `pulumi:"architecture"` // Description of the image. The length is 2 to 256 English or Chinese characters, and cannot begin with http: // and https: //. Description pulumi.StringPtrOutput `pulumi:"description"` // Description of the system with disks and snapshots under the image. DiskDeviceMappings ImageImportDiskDeviceMappingArrayOutput `pulumi:"diskDeviceMappings"` // The image name. The length is 2 ~ 128 English or Chinese characters. Must start with a english letter or Chinese, and cannot start with http: // and https: //. Can contain numbers, colons (:), underscores (_), or hyphens (-). ImageName pulumi.StringPtrOutput `pulumi:"imageName"` // The type of the license used to activate the operating system after the image is imported. Default value: `Auto`. Valid values: `Auto`,`Aliyun`,`BYOL`. LicenseType pulumi.StringPtrOutput `pulumi:"licenseType"` // Operating system platform type. Valid values: `windows`, Default is `linux`. OsType pulumi.StringPtrOutput `pulumi:"osType"` // Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `CentOS`, `Ubuntu`, `SUSE`, `OpenSUSE`, `Debian`, `CoreOS`, `Windows Server 2003`, `Windows Server 2008`, `Windows Server 2012`, `Windows 7`, Default is `Others Linux`, `Customized Linux`. Platform pulumi.StringPtrOutput `pulumi:"platform"` }
Import a copy of your local on-premise file to ECS, and appear as a custom replacement in the corresponding domain.
> **NOTE:** You must upload the image file to the object storage OSS in advance.
> **NOTE:** The region where the image is imported must be the same region as the OSS bucket where the image file is uploaded.
> **NOTE:** Available in 1.69.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewImageImport(ctx, "this", &ecs.ImageImportArgs{ Architecture: pulumi.String("x86_64"), Description: pulumi.String("test import image"), DiskDeviceMappings: ecs.ImageImportDiskDeviceMappingArray{ &ecs.ImageImportDiskDeviceMappingArgs{ DiskImageSize: pulumi.Int(5), OssBucket: pulumi.String("testimportimage"), OssObject: pulumi.String("root.img"), }, }, ImageName: pulumi.String("test-import-image"), LicenseType: pulumi.String("Auto"), OsType: pulumi.String("linux"), Platform: pulumi.String("Ubuntu"), }) if err != nil { return err } return nil }) }
``` ## Attributes Reference0
The following attributes are exported:
* `id` - ID of the image.
## Import
image can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/imageImport:ImageImport default m-uf66871ape***yg1q***
```
func GetImageImport ¶
func GetImageImport(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ImageImportState, opts ...pulumi.ResourceOption) (*ImageImport, error)
GetImageImport gets an existing ImageImport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewImageImport ¶
func NewImageImport(ctx *pulumi.Context, name string, args *ImageImportArgs, opts ...pulumi.ResourceOption) (*ImageImport, error)
NewImageImport registers a new resource with the given unique name, arguments, and options.
func (*ImageImport) ElementType ¶
func (*ImageImport) ElementType() reflect.Type
func (*ImageImport) ToImageImportOutput ¶
func (i *ImageImport) ToImageImportOutput() ImageImportOutput
func (*ImageImport) ToImageImportOutputWithContext ¶
func (i *ImageImport) ToImageImportOutputWithContext(ctx context.Context) ImageImportOutput
type ImageImportArgs ¶
type ImageImportArgs struct { // Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `i386` , Default is `x8664`. Architecture pulumi.StringPtrInput // Description of the image. The length is 2 to 256 English or Chinese characters, and cannot begin with http: // and https: //. Description pulumi.StringPtrInput // Description of the system with disks and snapshots under the image. DiskDeviceMappings ImageImportDiskDeviceMappingArrayInput // The image name. The length is 2 ~ 128 English or Chinese characters. Must start with a english letter or Chinese, and cannot start with http: // and https: //. Can contain numbers, colons (:), underscores (_), or hyphens (-). ImageName pulumi.StringPtrInput // The type of the license used to activate the operating system after the image is imported. Default value: `Auto`. Valid values: `Auto`,`Aliyun`,`BYOL`. LicenseType pulumi.StringPtrInput // Operating system platform type. Valid values: `windows`, Default is `linux`. OsType pulumi.StringPtrInput // Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `CentOS`, `Ubuntu`, `SUSE`, `OpenSUSE`, `Debian`, `CoreOS`, `Windows Server 2003`, `Windows Server 2008`, `Windows Server 2012`, `Windows 7`, Default is `Others Linux`, `Customized Linux`. Platform pulumi.StringPtrInput }
The set of arguments for constructing a ImageImport resource.
func (ImageImportArgs) ElementType ¶
func (ImageImportArgs) ElementType() reflect.Type
type ImageImportArray ¶
type ImageImportArray []ImageImportInput
func (ImageImportArray) ElementType ¶
func (ImageImportArray) ElementType() reflect.Type
func (ImageImportArray) ToImageImportArrayOutput ¶
func (i ImageImportArray) ToImageImportArrayOutput() ImageImportArrayOutput
func (ImageImportArray) ToImageImportArrayOutputWithContext ¶
func (i ImageImportArray) ToImageImportArrayOutputWithContext(ctx context.Context) ImageImportArrayOutput
type ImageImportArrayInput ¶
type ImageImportArrayInput interface { pulumi.Input ToImageImportArrayOutput() ImageImportArrayOutput ToImageImportArrayOutputWithContext(context.Context) ImageImportArrayOutput }
ImageImportArrayInput is an input type that accepts ImageImportArray and ImageImportArrayOutput values. You can construct a concrete instance of `ImageImportArrayInput` via:
ImageImportArray{ ImageImportArgs{...} }
type ImageImportArrayOutput ¶
type ImageImportArrayOutput struct{ *pulumi.OutputState }
func (ImageImportArrayOutput) ElementType ¶
func (ImageImportArrayOutput) ElementType() reflect.Type
func (ImageImportArrayOutput) Index ¶
func (o ImageImportArrayOutput) Index(i pulumi.IntInput) ImageImportOutput
func (ImageImportArrayOutput) ToImageImportArrayOutput ¶
func (o ImageImportArrayOutput) ToImageImportArrayOutput() ImageImportArrayOutput
func (ImageImportArrayOutput) ToImageImportArrayOutputWithContext ¶
func (o ImageImportArrayOutput) ToImageImportArrayOutputWithContext(ctx context.Context) ImageImportArrayOutput
type ImageImportDiskDeviceMapping ¶
type ImageImportDiskDeviceMapping struct { // The name of disk N in the custom image. Device *string `pulumi:"device"` // Resolution size. You must ensure that the system disk space ≥ file system space. Ranges: When n = 1, the system disk: 5 ~ 500GiB, When n = 2 ~ 17, that is, data disk: 5 ~ 1000GiB, When temporary is introduced, the system automatically detects the size, which is subject to the detection result. DiskImageSize *int `pulumi:"diskImageSize"` // Image format. Value range: When the `RAW`, `VHD`, `qcow2` is imported into the image, the system automatically detects the image format, whichever comes first. Format *string `pulumi:"format"` // Save the exported OSS bucket. OssBucket *string `pulumi:"ossBucket"` // The file name of your OSS Object. OssObject *string `pulumi:"ossObject"` }
type ImageImportDiskDeviceMappingArgs ¶
type ImageImportDiskDeviceMappingArgs struct { // The name of disk N in the custom image. Device pulumi.StringPtrInput `pulumi:"device"` // Resolution size. You must ensure that the system disk space ≥ file system space. Ranges: When n = 1, the system disk: 5 ~ 500GiB, When n = 2 ~ 17, that is, data disk: 5 ~ 1000GiB, When temporary is introduced, the system automatically detects the size, which is subject to the detection result. DiskImageSize pulumi.IntPtrInput `pulumi:"diskImageSize"` // Image format. Value range: When the `RAW`, `VHD`, `qcow2` is imported into the image, the system automatically detects the image format, whichever comes first. Format pulumi.StringPtrInput `pulumi:"format"` // Save the exported OSS bucket. OssBucket pulumi.StringPtrInput `pulumi:"ossBucket"` // The file name of your OSS Object. OssObject pulumi.StringPtrInput `pulumi:"ossObject"` }
func (ImageImportDiskDeviceMappingArgs) ElementType ¶
func (ImageImportDiskDeviceMappingArgs) ElementType() reflect.Type
func (ImageImportDiskDeviceMappingArgs) ToImageImportDiskDeviceMappingOutput ¶
func (i ImageImportDiskDeviceMappingArgs) ToImageImportDiskDeviceMappingOutput() ImageImportDiskDeviceMappingOutput
func (ImageImportDiskDeviceMappingArgs) ToImageImportDiskDeviceMappingOutputWithContext ¶
func (i ImageImportDiskDeviceMappingArgs) ToImageImportDiskDeviceMappingOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingOutput
type ImageImportDiskDeviceMappingArray ¶
type ImageImportDiskDeviceMappingArray []ImageImportDiskDeviceMappingInput
func (ImageImportDiskDeviceMappingArray) ElementType ¶
func (ImageImportDiskDeviceMappingArray) ElementType() reflect.Type
func (ImageImportDiskDeviceMappingArray) ToImageImportDiskDeviceMappingArrayOutput ¶
func (i ImageImportDiskDeviceMappingArray) ToImageImportDiskDeviceMappingArrayOutput() ImageImportDiskDeviceMappingArrayOutput
func (ImageImportDiskDeviceMappingArray) ToImageImportDiskDeviceMappingArrayOutputWithContext ¶
func (i ImageImportDiskDeviceMappingArray) ToImageImportDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingArrayOutput
type ImageImportDiskDeviceMappingArrayInput ¶
type ImageImportDiskDeviceMappingArrayInput interface { pulumi.Input ToImageImportDiskDeviceMappingArrayOutput() ImageImportDiskDeviceMappingArrayOutput ToImageImportDiskDeviceMappingArrayOutputWithContext(context.Context) ImageImportDiskDeviceMappingArrayOutput }
ImageImportDiskDeviceMappingArrayInput is an input type that accepts ImageImportDiskDeviceMappingArray and ImageImportDiskDeviceMappingArrayOutput values. You can construct a concrete instance of `ImageImportDiskDeviceMappingArrayInput` via:
ImageImportDiskDeviceMappingArray{ ImageImportDiskDeviceMappingArgs{...} }
type ImageImportDiskDeviceMappingArrayOutput ¶
type ImageImportDiskDeviceMappingArrayOutput struct{ *pulumi.OutputState }
func (ImageImportDiskDeviceMappingArrayOutput) ElementType ¶
func (ImageImportDiskDeviceMappingArrayOutput) ElementType() reflect.Type
func (ImageImportDiskDeviceMappingArrayOutput) ToImageImportDiskDeviceMappingArrayOutput ¶
func (o ImageImportDiskDeviceMappingArrayOutput) ToImageImportDiskDeviceMappingArrayOutput() ImageImportDiskDeviceMappingArrayOutput
func (ImageImportDiskDeviceMappingArrayOutput) ToImageImportDiskDeviceMappingArrayOutputWithContext ¶
func (o ImageImportDiskDeviceMappingArrayOutput) ToImageImportDiskDeviceMappingArrayOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingArrayOutput
type ImageImportDiskDeviceMappingInput ¶
type ImageImportDiskDeviceMappingInput interface { pulumi.Input ToImageImportDiskDeviceMappingOutput() ImageImportDiskDeviceMappingOutput ToImageImportDiskDeviceMappingOutputWithContext(context.Context) ImageImportDiskDeviceMappingOutput }
ImageImportDiskDeviceMappingInput is an input type that accepts ImageImportDiskDeviceMappingArgs and ImageImportDiskDeviceMappingOutput values. You can construct a concrete instance of `ImageImportDiskDeviceMappingInput` via:
ImageImportDiskDeviceMappingArgs{...}
type ImageImportDiskDeviceMappingOutput ¶
type ImageImportDiskDeviceMappingOutput struct{ *pulumi.OutputState }
func (ImageImportDiskDeviceMappingOutput) Device ¶
func (o ImageImportDiskDeviceMappingOutput) Device() pulumi.StringPtrOutput
The name of disk N in the custom image.
func (ImageImportDiskDeviceMappingOutput) DiskImageSize ¶
func (o ImageImportDiskDeviceMappingOutput) DiskImageSize() pulumi.IntPtrOutput
Resolution size. You must ensure that the system disk space ≥ file system space. Ranges: When n = 1, the system disk: 5 ~ 500GiB, When n = 2 ~ 17, that is, data disk: 5 ~ 1000GiB, When temporary is introduced, the system automatically detects the size, which is subject to the detection result.
func (ImageImportDiskDeviceMappingOutput) ElementType ¶
func (ImageImportDiskDeviceMappingOutput) ElementType() reflect.Type
func (ImageImportDiskDeviceMappingOutput) Format ¶
func (o ImageImportDiskDeviceMappingOutput) Format() pulumi.StringPtrOutput
Image format. Value range: When the `RAW`, `VHD`, `qcow2` is imported into the image, the system automatically detects the image format, whichever comes first.
func (ImageImportDiskDeviceMappingOutput) OssBucket ¶
func (o ImageImportDiskDeviceMappingOutput) OssBucket() pulumi.StringPtrOutput
Save the exported OSS bucket.
func (ImageImportDiskDeviceMappingOutput) OssObject ¶
func (o ImageImportDiskDeviceMappingOutput) OssObject() pulumi.StringPtrOutput
The file name of your OSS Object.
func (ImageImportDiskDeviceMappingOutput) ToImageImportDiskDeviceMappingOutput ¶
func (o ImageImportDiskDeviceMappingOutput) ToImageImportDiskDeviceMappingOutput() ImageImportDiskDeviceMappingOutput
func (ImageImportDiskDeviceMappingOutput) ToImageImportDiskDeviceMappingOutputWithContext ¶
func (o ImageImportDiskDeviceMappingOutput) ToImageImportDiskDeviceMappingOutputWithContext(ctx context.Context) ImageImportDiskDeviceMappingOutput
type ImageImportInput ¶
type ImageImportInput interface { pulumi.Input ToImageImportOutput() ImageImportOutput ToImageImportOutputWithContext(ctx context.Context) ImageImportOutput }
type ImageImportMap ¶
type ImageImportMap map[string]ImageImportInput
func (ImageImportMap) ElementType ¶
func (ImageImportMap) ElementType() reflect.Type
func (ImageImportMap) ToImageImportMapOutput ¶
func (i ImageImportMap) ToImageImportMapOutput() ImageImportMapOutput
func (ImageImportMap) ToImageImportMapOutputWithContext ¶
func (i ImageImportMap) ToImageImportMapOutputWithContext(ctx context.Context) ImageImportMapOutput
type ImageImportMapInput ¶
type ImageImportMapInput interface { pulumi.Input ToImageImportMapOutput() ImageImportMapOutput ToImageImportMapOutputWithContext(context.Context) ImageImportMapOutput }
ImageImportMapInput is an input type that accepts ImageImportMap and ImageImportMapOutput values. You can construct a concrete instance of `ImageImportMapInput` via:
ImageImportMap{ "key": ImageImportArgs{...} }
type ImageImportMapOutput ¶
type ImageImportMapOutput struct{ *pulumi.OutputState }
func (ImageImportMapOutput) ElementType ¶
func (ImageImportMapOutput) ElementType() reflect.Type
func (ImageImportMapOutput) MapIndex ¶
func (o ImageImportMapOutput) MapIndex(k pulumi.StringInput) ImageImportOutput
func (ImageImportMapOutput) ToImageImportMapOutput ¶
func (o ImageImportMapOutput) ToImageImportMapOutput() ImageImportMapOutput
func (ImageImportMapOutput) ToImageImportMapOutputWithContext ¶
func (o ImageImportMapOutput) ToImageImportMapOutputWithContext(ctx context.Context) ImageImportMapOutput
type ImageImportOutput ¶
type ImageImportOutput struct{ *pulumi.OutputState }
func (ImageImportOutput) ElementType ¶
func (ImageImportOutput) ElementType() reflect.Type
func (ImageImportOutput) ToImageImportOutput ¶
func (o ImageImportOutput) ToImageImportOutput() ImageImportOutput
func (ImageImportOutput) ToImageImportOutputWithContext ¶
func (o ImageImportOutput) ToImageImportOutputWithContext(ctx context.Context) ImageImportOutput
type ImageImportState ¶
type ImageImportState struct { // Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `i386` , Default is `x8664`. Architecture pulumi.StringPtrInput // Description of the image. The length is 2 to 256 English or Chinese characters, and cannot begin with http: // and https: //. Description pulumi.StringPtrInput // Description of the system with disks and snapshots under the image. DiskDeviceMappings ImageImportDiskDeviceMappingArrayInput // The image name. The length is 2 ~ 128 English or Chinese characters. Must start with a english letter or Chinese, and cannot start with http: // and https: //. Can contain numbers, colons (:), underscores (_), or hyphens (-). ImageName pulumi.StringPtrInput // The type of the license used to activate the operating system after the image is imported. Default value: `Auto`. Valid values: `Auto`,`Aliyun`,`BYOL`. LicenseType pulumi.StringPtrInput // Operating system platform type. Valid values: `windows`, Default is `linux`. OsType pulumi.StringPtrInput // Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `CentOS`, `Ubuntu`, `SUSE`, `OpenSUSE`, `Debian`, `CoreOS`, `Windows Server 2003`, `Windows Server 2008`, `Windows Server 2012`, `Windows 7`, Default is `Others Linux`, `Customized Linux`. Platform pulumi.StringPtrInput }
func (ImageImportState) ElementType ¶
func (ImageImportState) ElementType() reflect.Type
type ImageInput ¶
type ImageInput interface { pulumi.Input ToImageOutput() ImageOutput ToImageOutputWithContext(ctx context.Context) ImageOutput }
type ImageMap ¶
type ImageMap map[string]ImageInput
func (ImageMap) ElementType ¶
func (ImageMap) ToImageMapOutput ¶
func (i ImageMap) ToImageMapOutput() ImageMapOutput
func (ImageMap) ToImageMapOutputWithContext ¶
func (i ImageMap) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput
type ImageMapInput ¶
type ImageMapInput interface { pulumi.Input ToImageMapOutput() ImageMapOutput ToImageMapOutputWithContext(context.Context) ImageMapOutput }
ImageMapInput is an input type that accepts ImageMap and ImageMapOutput values. You can construct a concrete instance of `ImageMapInput` via:
ImageMap{ "key": ImageArgs{...} }
type ImageMapOutput ¶
type ImageMapOutput struct{ *pulumi.OutputState }
func (ImageMapOutput) ElementType ¶
func (ImageMapOutput) ElementType() reflect.Type
func (ImageMapOutput) MapIndex ¶
func (o ImageMapOutput) MapIndex(k pulumi.StringInput) ImageOutput
func (ImageMapOutput) ToImageMapOutput ¶
func (o ImageMapOutput) ToImageMapOutput() ImageMapOutput
func (ImageMapOutput) ToImageMapOutputWithContext ¶
func (o ImageMapOutput) ToImageMapOutputWithContext(ctx context.Context) ImageMapOutput
type ImageOutput ¶
type ImageOutput struct{ *pulumi.OutputState }
func (ImageOutput) ElementType ¶
func (ImageOutput) ElementType() reflect.Type
func (ImageOutput) ToImageOutput ¶
func (o ImageOutput) ToImageOutput() ImageOutput
func (ImageOutput) ToImageOutputWithContext ¶
func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput
type ImageSharePermission ¶
type ImageSharePermission struct { pulumi.StringOutput `pulumi:"accountId"` ImageId pulumi.StringOutput `pulumi:"imageId"` }AccountId
Manage image sharing permissions. You can share your custom image to other Alibaba Cloud users. The user can use the shared custom image to create ECS instances or replace the system disk of the instance.
> **NOTE:** You can only share your own custom images to other Alibaba Cloud users.
> **NOTE:** Each custom image can be shared with up to 50 Alibaba Cloud accounts. You can submit a ticket to share with more users.
> **NOTE:** After creating an ECS instance using a shared image, once the custom image owner releases the image sharing relationship or deletes the custom image, the instance cannot initialize the system disk.
> **NOTE:** Available in 1.68.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewImageSharePermission(ctx, "default", &ecs.ImageSharePermissionArgs{ AccountId: pulumi.String("1234567890"), ImageId: pulumi.String("m-bp1gxyh***"), }) if err != nil { return err } return nil }) }
``` ## Attributes Reference0
The following attributes are exported:
* `id` - ID of the image. It formats as `<image_id>:<account_id>`
## Import
image can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/imageSharePermission:ImageSharePermission default m-uf66yg1q:123456789
```
func GetImageSharePermission ¶
func GetImageSharePermission(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ImageSharePermissionState, opts ...pulumi.ResourceOption) (*ImageSharePermission, error)
GetImageSharePermission gets an existing ImageSharePermission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewImageSharePermission ¶
func NewImageSharePermission(ctx *pulumi.Context, name string, args *ImageSharePermissionArgs, opts ...pulumi.ResourceOption) (*ImageSharePermission, error)
NewImageSharePermission registers a new resource with the given unique name, arguments, and options.
func (*ImageSharePermission) ElementType ¶
func (*ImageSharePermission) ElementType() reflect.Type
func (*ImageSharePermission) ToImageSharePermissionOutput ¶
func (i *ImageSharePermission) ToImageSharePermissionOutput() ImageSharePermissionOutput
func (*ImageSharePermission) ToImageSharePermissionOutputWithContext ¶
func (i *ImageSharePermission) ToImageSharePermissionOutputWithContext(ctx context.Context) ImageSharePermissionOutput
type ImageSharePermissionArgs ¶
type ImageSharePermissionArgs struct { pulumi.StringInput ImageId pulumi.StringInput }AccountId
The set of arguments for constructing a ImageSharePermission resource.
func (ImageSharePermissionArgs) ElementType ¶
func (ImageSharePermissionArgs) ElementType() reflect.Type
type ImageSharePermissionArray ¶
type ImageSharePermissionArray []ImageSharePermissionInput
func (ImageSharePermissionArray) ElementType ¶
func (ImageSharePermissionArray) ElementType() reflect.Type
func (ImageSharePermissionArray) ToImageSharePermissionArrayOutput ¶
func (i ImageSharePermissionArray) ToImageSharePermissionArrayOutput() ImageSharePermissionArrayOutput
func (ImageSharePermissionArray) ToImageSharePermissionArrayOutputWithContext ¶
func (i ImageSharePermissionArray) ToImageSharePermissionArrayOutputWithContext(ctx context.Context) ImageSharePermissionArrayOutput
type ImageSharePermissionArrayInput ¶
ImageSharePermissionArrayInput is an input type that accepts ImageSharePermissionArray and ImageSharePermissionArrayOutput values. You can construct a concrete instance of `ImageSharePermissionArrayInput` via:
ImageSharePermissionArray{ ImageSharePermissionArgs{...} }
type ImageSharePermissionArrayOutput ¶
func (ImageSharePermissionArrayOutput) ElementType ¶
func (ImageSharePermissionArrayOutput) ElementType() reflect.Type
func (ImageSharePermissionArrayOutput) Index ¶
func (o ImageSharePermissionArrayOutput) Index(i pulumi.IntInput) ImageSharePermissionOutput
func (ImageSharePermissionArrayOutput) ToImageSharePermissionArrayOutput ¶
func (o ImageSharePermissionArrayOutput) ToImageSharePermissionArrayOutput() ImageSharePermissionArrayOutput
func (ImageSharePermissionArrayOutput) ToImageSharePermissionArrayOutputWithContext ¶
func (o ImageSharePermissionArrayOutput) ToImageSharePermissionArrayOutputWithContext(ctx context.Context) ImageSharePermissionArrayOutput
type ImageSharePermissionMap ¶
type ImageSharePermissionMap map[string]ImageSharePermissionInput
func (ImageSharePermissionMap) ElementType ¶
func (ImageSharePermissionMap) ElementType() reflect.Type
func (ImageSharePermissionMap) ToImageSharePermissionMapOutput ¶
func (i ImageSharePermissionMap) ToImageSharePermissionMapOutput() ImageSharePermissionMapOutput
func (ImageSharePermissionMap) ToImageSharePermissionMapOutputWithContext ¶
func (i ImageSharePermissionMap) ToImageSharePermissionMapOutputWithContext(ctx context.Context) ImageSharePermissionMapOutput
type ImageSharePermissionMapInput ¶
ImageSharePermissionMapInput is an input type that accepts ImageSharePermissionMap and ImageSharePermissionMapOutput values. You can construct a concrete instance of `ImageSharePermissionMapInput` via:
ImageSharePermissionMap{ "key": ImageSharePermissionArgs{...} }
type ImageSharePermissionMapOutput ¶
func (ImageSharePermissionMapOutput) ElementType ¶
func (ImageSharePermissionMapOutput) ElementType() reflect.Type
func (ImageSharePermissionMapOutput) MapIndex ¶
func (o ImageSharePermissionMapOutput) MapIndex(k pulumi.StringInput) ImageSharePermissionOutput
func (ImageSharePermissionMapOutput) ToImageSharePermissionMapOutput ¶
func (o ImageSharePermissionMapOutput) ToImageSharePermissionMapOutput() ImageSharePermissionMapOutput
func (ImageSharePermissionMapOutput) ToImageSharePermissionMapOutputWithContext ¶
func (o ImageSharePermissionMapOutput) ToImageSharePermissionMapOutputWithContext(ctx context.Context) ImageSharePermissionMapOutput
type ImageSharePermissionOutput ¶
func (ImageSharePermissionOutput) ElementType ¶
func (ImageSharePermissionOutput) ElementType() reflect.Type
func (ImageSharePermissionOutput) ToImageSharePermissionOutput ¶
func (o ImageSharePermissionOutput) ToImageSharePermissionOutput() ImageSharePermissionOutput
func (ImageSharePermissionOutput) ToImageSharePermissionOutputWithContext ¶
func (o ImageSharePermissionOutput) ToImageSharePermissionOutputWithContext(ctx context.Context) ImageSharePermissionOutput
type ImageSharePermissionState ¶
type ImageSharePermissionState struct { pulumi.StringPtrInput ImageId pulumi.StringPtrInput }AccountId
func (ImageSharePermissionState) ElementType ¶
func (ImageSharePermissionState) ElementType() reflect.Type
type ImageState ¶
type ImageState struct { // Specifies the architecture of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `i386` , Default is `x8664`. Architecture pulumi.StringPtrInput DeleteAutoSnapshot pulumi.BoolPtrInput // The description of the image. It must be 2 to 256 characters in length and must not start with http:// or https://. Default value: null. Description pulumi.StringPtrInput // Description of the system with disks and snapshots under the image. DiskDeviceMappings ImageDiskDeviceMappingArrayInput // Indicates whether to force delete the custom image, Default is `false`. // - true:Force deletes the custom image, regardless of whether the image is currently being used by other instances. // - false:Verifies that the image is not currently in use by any other instances before deleting the image. Force pulumi.BoolPtrInput // The image name. It must be 2 to 128 characters in length, and must begin with a letter or Chinese character (beginning with http:// or https:// is not allowed). It can contain digits, colons (:), underscores (_), or hyphens (-). Default value: null. ImageName pulumi.StringPtrInput // The instance ID. InstanceId pulumi.StringPtrInput // Deprecated: Attribute 'name' has been deprecated from version 1.69.0. Use `image_name` instead. Name pulumi.StringPtrInput // Specifies the operating system platform of the system disk after you specify a data disk snapshot as the data source of the system disk for creating an image. Valid values: `CentOS`, `Ubuntu`, `SUSE`, `OpenSUSE`, `RedHat`, `Debian`, `CoreOS`, `Aliyun Linux`, `Windows Server 2003`, `Windows Server 2008`, `Windows Server 2012`, `Windows 7`, Default is `Others Linux`. Platform pulumi.StringPtrInput // The ID of the enterprise resource group to which a custom image belongs ResourceGroupId pulumi.StringPtrInput // Specifies a snapshot that is used to create a combined custom image. SnapshotId pulumi.StringPtrInput // The tag value of an image. The value of N ranges from 1 to 20. Tags pulumi.MapInput }
func (ImageState) ElementType ¶
func (ImageState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // It has been deprecated from version "1.7.0". Setting "internetMaxBandwidthOut" larger than 0 can allocate a public ip address for an instance. // // Deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance. AllocatePublicIp pulumi.BoolPtrOutput `pulumi:"allocatePublicIp"` // The automatic release time of the `PostPaid` instance. // The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time. // Set it to null can cancel automatic release attribute and the ECS instance will not be released automatically. AutoReleaseTime pulumi.StringPtrOutput `pulumi:"autoReleaseTime"` // Auto renewal period of an instance, in the unit of month. It is valid when `instanceChargeType` is `PrePaid`. Default to 1. Valid value: // - [1, 2, 3, 6, 12] when `periodUnit` in "Month" // - [1, 2, 3] when `periodUnit` in "Week" AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"` // The Zone to start the instance in. It is ignored and will be computed when set `vswitchId`. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'. CreditSpecification pulumi.StringOutput `pulumi:"creditSpecification"` // The list of data disks created with instance. DataDisks InstanceDataDiskArrayOutput `pulumi:"dataDisks"` // Whether enable the deletion protection or not. Default value: `false`. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // (Optional, Available in 1.149.0+) The group number of the instance in a deployment set when the deployment set is use. DeploymentSetGroupNo pulumi.StringOutput `pulumi:"deploymentSetGroupNo"` // The ID of the deployment set to which to deploy the instance. DeploymentSetId pulumi.StringPtrOutput `pulumi:"deploymentSetId"` // The description of the data disk. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies whether to send a dry-run request. Default to false. // - true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned. // - false: A request is sent. If the validation succeeds, the instance is created. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly. // However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month". ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect. // On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect. HostName pulumi.StringOutput `pulumi:"hostName"` // The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance. HpcClusterId pulumi.StringPtrOutput `pulumi:"hpcClusterId"` // The Image to use for the instance. ECS instance's image can be replaced via changing `imageId`. When it is changed, the instance will reboot to make the change take effect. ImageId pulumi.StringOutput `pulumi:"imageId"` // Whether to change instance disks charge type when changing instance charge type. IncludeDataDisks pulumi.BoolPtrOutput `pulumi:"includeDataDisks"` // Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`. InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"` InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // The type of instance to start. When it is changed, the instance will reboot to make the change take effect. InstanceType pulumi.StringOutput `pulumi:"instanceType"` // Internet charge type of the instance, Valid values are `PayByBandwidth`, `PayByTraffic`. Default is `PayByTraffic`. At present, 'PrePaid' instance cannot change the value to "PayByBandwidth" from "PayByTraffic". InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"` // Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps. // // Deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated from version v1.121.2. InternetMaxBandwidthIn pulumi.IntOutput `pulumi:"internetMaxBandwidthIn"` // Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bit per second). Value range: [0, 100]. Default to 0 Mbps. InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"` // It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized. // // Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template. IoOptimized pulumi.StringPtrOutput `pulumi:"ioOptimized"` // Whether to use outdated instance type. Default to false. IsOutdated pulumi.BoolPtrOutput `pulumi:"isOutdated"` // The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid. KeyName pulumi.StringOutput `pulumi:"keyName"` // An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect. KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"` // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating an instance with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"` // Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect. Password pulumi.StringPtrOutput `pulumi:"password"` Period pulumi.IntPtrOutput `pulumi:"period"` // The duration unit that you will buy the resource. It is valid when `instanceChargeType` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month". PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // Instance private IP address can be specified when you creating new instance. It is valid when `vswitchId` is specified. When it is changed, the instance will reboot to make the change take effect. PrivateIp pulumi.StringOutput `pulumi:"privateIp"` // The instance public ip. PublicIp pulumi.StringOutput `pulumi:"publicIp"` // Whether to renew an ECS instance automatically or not. It is valid when `instanceChargeType` is `PrePaid`. Default to "Normal". Valid values: // - `AutoRenewal`: Enable auto renewal. // - `Normal`: Disable auto renewal. // - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry. RenewalStatus pulumi.StringPtrOutput `pulumi:"renewalStatus"` // The Id of resource group which the instance belongs. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one. RoleName pulumi.StringOutput `pulumi:"roleName"` // The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondaryPrivateIps` or `secondaryPrivateIpAddressCount` but not both. SecondaryPrivateIpAddressCount pulumi.IntOutput `pulumi:"secondaryPrivateIpAddressCount"` // A list of Secondary private IP addresses which is selected from within the CIDR block of the VSwitch. SecondaryPrivateIps pulumi.StringArrayOutput `pulumi:"secondaryPrivateIps"` // The security enhancement strategy. // - Active: Enable security enhancement strategy, it only works on system images. // - Deactive: Disable security enhancement strategy, it works on all images. SecurityEnhancementStrategy pulumi.StringPtrOutput `pulumi:"securityEnhancementStrategy"` // A list of security group ids to associate with. SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` // The hourly price threshold of a instance, and it takes effect only when parameter 'spot_strategy' is 'SpotWithPriceLimit'. Three decimals is allowed at most. SpotPriceLimit pulumi.Float64PtrOutput `pulumi:"spotPriceLimit"` // The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter `instanceChargeType` is 'PostPaid'. Value range: // - NoSpot: A regular Pay-As-You-Go instance. // - SpotWithPriceLimit: A price threshold for a spot instance // - SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance SpotStrategy pulumi.StringPtrOutput `pulumi:"spotStrategy"` // The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`. Status pulumi.StringPtrOutput `pulumi:"status"` SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The ID of the automatic snapshot policy applied to the system disk. SystemDiskAutoSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"systemDiskAutoSnapshotPolicyId"` // Valid values are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`, `cloud`. `cloud` only is used to some none I/O optimized instance. Default to `cloudEfficiency`. SystemDiskCategory pulumi.StringPtrOutput `pulumi:"systemDiskCategory"` // The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://. SystemDiskDescription pulumi.StringPtrOutput `pulumi:"systemDiskDescription"` // The name of the system disk. The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. SystemDiskName pulumi.StringPtrOutput `pulumi:"systemDiskName"` // The performance level of the ESSD used as the system disk, Valid values: `PL0`, `PL1`, `PL2`, `PL3`, Default to `PL1`;For more information about ESSD, See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/122389.htm). SystemDiskPerformanceLevel pulumi.StringOutput `pulumi:"systemDiskPerformanceLevel"` // Size of the system disk, measured in GiB. Value range: [20, 500]. The specified value must be equal to or greater than max{20, Imagesize}. Default value: max{40, ImageSize}. SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"` // A mapping of tags to assign to the resource. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.StringMapOutput `pulumi:"tags"` // User-defined data to customize the startup behaviors of an ECS instance and to pass data into an ECS instance. From version 1.60.0, it can be update in-place. If updated, the instance will reboot to make the change take effect. Note: Not all of changes will take effect and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html). UserData pulumi.StringPtrOutput `pulumi:"userData"` // A mapping of tags to assign to the devices created by the instance at launch time. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. VolumeTags pulumi.MapOutput `pulumi:"volumeTags"` // The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` }
## Import
Instance can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/instance:Instance example i-abc12345678
```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // It has been deprecated from version "1.7.0". Setting "internetMaxBandwidthOut" larger than 0 can allocate a public ip address for an instance. // // Deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance. AllocatePublicIp pulumi.BoolPtrInput // The automatic release time of the `PostPaid` instance. // The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time. // Set it to null can cancel automatic release attribute and the ECS instance will not be released automatically. AutoReleaseTime pulumi.StringPtrInput // Auto renewal period of an instance, in the unit of month. It is valid when `instanceChargeType` is `PrePaid`. Default to 1. Valid value: // - [1, 2, 3, 6, 12] when `periodUnit` in "Month" // - [1, 2, 3] when `periodUnit` in "Week" AutoRenewPeriod pulumi.IntPtrInput // The Zone to start the instance in. It is ignored and will be computed when set `vswitchId`. AvailabilityZone pulumi.StringPtrInput // Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'. CreditSpecification pulumi.StringPtrInput // The list of data disks created with instance. DataDisks InstanceDataDiskArrayInput // Whether enable the deletion protection or not. Default value: `false`. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrInput // The ID of the deployment set to which to deploy the instance. DeploymentSetId pulumi.StringPtrInput // The description of the data disk. Description pulumi.StringPtrInput // Specifies whether to send a dry-run request. Default to false. // - true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned. // - false: A request is sent. If the validation succeeds, the instance is created. DryRun pulumi.BoolPtrInput // If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly. // However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month". ForceDelete pulumi.BoolPtrInput // Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect. // On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect. HostName pulumi.StringPtrInput // The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance. HpcClusterId pulumi.StringPtrInput // The Image to use for the instance. ECS instance's image can be replaced via changing `imageId`. When it is changed, the instance will reboot to make the change take effect. ImageId pulumi.StringInput // Whether to change instance disks charge type when changing instance charge type. IncludeDataDisks pulumi.BoolPtrInput // Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`. InstanceChargeType pulumi.StringPtrInput InstanceName pulumi.StringPtrInput // The type of instance to start. When it is changed, the instance will reboot to make the change take effect. InstanceType pulumi.StringInput // Internet charge type of the instance, Valid values are `PayByBandwidth`, `PayByTraffic`. Default is `PayByTraffic`. At present, 'PrePaid' instance cannot change the value to "PayByBandwidth" from "PayByTraffic". InternetChargeType pulumi.StringPtrInput // Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps. // // Deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated from version v1.121.2. InternetMaxBandwidthIn pulumi.IntPtrInput // Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bit per second). Value range: [0, 100]. Default to 0 Mbps. InternetMaxBandwidthOut pulumi.IntPtrInput // It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized. // // Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template. IoOptimized pulumi.StringPtrInput // Whether to use outdated instance type. Default to false. IsOutdated pulumi.BoolPtrInput // The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid. KeyName pulumi.StringPtrInput // An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect. KmsEncryptedPassword pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating an instance with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionContext pulumi.MapInput // Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect. Password pulumi.StringPtrInput Period pulumi.IntPtrInput // The duration unit that you will buy the resource. It is valid when `instanceChargeType` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month". PeriodUnit pulumi.StringPtrInput // Instance private IP address can be specified when you creating new instance. It is valid when `vswitchId` is specified. When it is changed, the instance will reboot to make the change take effect. PrivateIp pulumi.StringPtrInput // Whether to renew an ECS instance automatically or not. It is valid when `instanceChargeType` is `PrePaid`. Default to "Normal". Valid values: // - `AutoRenewal`: Enable auto renewal. // - `Normal`: Disable auto renewal. // - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry. RenewalStatus pulumi.StringPtrInput // The Id of resource group which the instance belongs. ResourceGroupId pulumi.StringPtrInput // Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one. RoleName pulumi.StringPtrInput // The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondaryPrivateIps` or `secondaryPrivateIpAddressCount` but not both. SecondaryPrivateIpAddressCount pulumi.IntPtrInput // A list of Secondary private IP addresses which is selected from within the CIDR block of the VSwitch. SecondaryPrivateIps pulumi.StringArrayInput // The security enhancement strategy. // - Active: Enable security enhancement strategy, it only works on system images. // - Deactive: Disable security enhancement strategy, it works on all images. SecurityEnhancementStrategy pulumi.StringPtrInput // A list of security group ids to associate with. SecurityGroups pulumi.StringArrayInput // The hourly price threshold of a instance, and it takes effect only when parameter 'spot_strategy' is 'SpotWithPriceLimit'. Three decimals is allowed at most. SpotPriceLimit pulumi.Float64PtrInput // The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter `instanceChargeType` is 'PostPaid'. Value range: // - NoSpot: A regular Pay-As-You-Go instance. // - SpotWithPriceLimit: A price threshold for a spot instance // - SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance SpotStrategy pulumi.StringPtrInput // The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`. Status pulumi.StringPtrInput SubnetId pulumi.StringPtrInput // The ID of the automatic snapshot policy applied to the system disk. SystemDiskAutoSnapshotPolicyId pulumi.StringPtrInput // Valid values are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`, `cloud`. `cloud` only is used to some none I/O optimized instance. Default to `cloudEfficiency`. SystemDiskCategory pulumi.StringPtrInput // The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://. SystemDiskDescription pulumi.StringPtrInput // The name of the system disk. The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. SystemDiskName pulumi.StringPtrInput // The performance level of the ESSD used as the system disk, Valid values: `PL0`, `PL1`, `PL2`, `PL3`, Default to `PL1`;For more information about ESSD, See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/122389.htm). SystemDiskPerformanceLevel pulumi.StringPtrInput // Size of the system disk, measured in GiB. Value range: [20, 500]. The specified value must be equal to or greater than max{20, Imagesize}. Default value: max{40, ImageSize}. SystemDiskSize pulumi.IntPtrInput // A mapping of tags to assign to the resource. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.StringMapInput // User-defined data to customize the startup behaviors of an ECS instance and to pass data into an ECS instance. From version 1.60.0, it can be update in-place. If updated, the instance will reboot to make the change take effect. Note: Not all of changes will take effect and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html). UserData pulumi.StringPtrInput // A mapping of tags to assign to the devices created by the instance at launch time. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. VolumeTags pulumi.MapInput // The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect. VswitchId pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceDataDisk ¶
type InstanceDataDisk struct { // The ID of the automatic snapshot policy applied to the system disk. AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` // The category of the disk: // - `cloud`: The general cloud disk. // - `cloudEfficiency`: The efficiency cloud disk. // - `cloudSsd`: The SSD cloud disk. // - `cloudEssd`: The ESSD cloud disk. // - `ephemeralSsd`: The local SSD disk. // Default to `cloudEfficiency`. Category *string `pulumi:"category"` // Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_essd, cloudSsd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. Default value: `true`. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // The description of the data disk. Description *string `pulumi:"description"` // -(Optional, Bool, ForceNew) Encrypted the data in this disk. Default value: `false`. Encrypted *bool `pulumi:"encrypted"` // The KMS key ID corresponding to the Nth data disk. KmsKeyId *string `pulumi:"kmsKeyId"` // The name of the data disk. Name *string `pulumi:"name"` // The performance level of the ESSD used as data disk: // - `PL0`: A single ESSD can deliver up to 10,000 random read/write IOPS. // - `PL1`: A single ESSD can deliver up to 50,000 random read/write IOPS. // - `PL2`: A single ESSD can deliver up to 100,000 random read/write IOPS. // - `PL3`: A single ESSD can deliver up to 1,000,000 random read/write IOPS. // Default to `PL1`. PerformanceLevel *string `pulumi:"performanceLevel"` // The size of the data disk. // - cloud:[5, 2000] // - cloud_efficiency:[20, 32768] // - cloud_ssd:[20, 32768] // - cloud_essd:[20, 32768] // - ephemeral_ssd: [5, 800] Size int `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId *string `pulumi:"snapshotId"` }
type InstanceDataDiskArgs ¶
type InstanceDataDiskArgs struct { // The ID of the automatic snapshot policy applied to the system disk. AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"` // The category of the disk: // - `cloud`: The general cloud disk. // - `cloudEfficiency`: The efficiency cloud disk. // - `cloudSsd`: The SSD cloud disk. // - `cloudEssd`: The ESSD cloud disk. // - `ephemeralSsd`: The local SSD disk. // Default to `cloudEfficiency`. Category pulumi.StringPtrInput `pulumi:"category"` // Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_essd, cloudSsd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. Default value: `true`. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` // -(Optional, Bool, ForceNew) Encrypted the data in this disk. Default value: `false`. Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"` // The KMS key ID corresponding to the Nth data disk. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` // The performance level of the ESSD used as data disk: // - `PL0`: A single ESSD can deliver up to 10,000 random read/write IOPS. // - `PL1`: A single ESSD can deliver up to 50,000 random read/write IOPS. // - `PL2`: A single ESSD can deliver up to 100,000 random read/write IOPS. // - `PL3`: A single ESSD can deliver up to 1,000,000 random read/write IOPS. // Default to `PL1`. PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"` // The size of the data disk. // - cloud:[5, 2000] // - cloud_efficiency:[20, 32768] // - cloud_ssd:[20, 32768] // - cloud_essd:[20, 32768] // - ephemeral_ssd: [5, 800] Size pulumi.IntInput `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (InstanceDataDiskArgs) ElementType ¶
func (InstanceDataDiskArgs) ElementType() reflect.Type
func (InstanceDataDiskArgs) ToInstanceDataDiskOutput ¶
func (i InstanceDataDiskArgs) ToInstanceDataDiskOutput() InstanceDataDiskOutput
func (InstanceDataDiskArgs) ToInstanceDataDiskOutputWithContext ¶
func (i InstanceDataDiskArgs) ToInstanceDataDiskOutputWithContext(ctx context.Context) InstanceDataDiskOutput
type InstanceDataDiskArray ¶
type InstanceDataDiskArray []InstanceDataDiskInput
func (InstanceDataDiskArray) ElementType ¶
func (InstanceDataDiskArray) ElementType() reflect.Type
func (InstanceDataDiskArray) ToInstanceDataDiskArrayOutput ¶
func (i InstanceDataDiskArray) ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput
func (InstanceDataDiskArray) ToInstanceDataDiskArrayOutputWithContext ¶
func (i InstanceDataDiskArray) ToInstanceDataDiskArrayOutputWithContext(ctx context.Context) InstanceDataDiskArrayOutput
type InstanceDataDiskArrayInput ¶
type InstanceDataDiskArrayInput interface { pulumi.Input ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput ToInstanceDataDiskArrayOutputWithContext(context.Context) InstanceDataDiskArrayOutput }
InstanceDataDiskArrayInput is an input type that accepts InstanceDataDiskArray and InstanceDataDiskArrayOutput values. You can construct a concrete instance of `InstanceDataDiskArrayInput` via:
InstanceDataDiskArray{ InstanceDataDiskArgs{...} }
type InstanceDataDiskArrayOutput ¶
type InstanceDataDiskArrayOutput struct{ *pulumi.OutputState }
func (InstanceDataDiskArrayOutput) ElementType ¶
func (InstanceDataDiskArrayOutput) ElementType() reflect.Type
func (InstanceDataDiskArrayOutput) Index ¶
func (o InstanceDataDiskArrayOutput) Index(i pulumi.IntInput) InstanceDataDiskOutput
func (InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutput ¶
func (o InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput
func (InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutputWithContext ¶
func (o InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutputWithContext(ctx context.Context) InstanceDataDiskArrayOutput
type InstanceDataDiskInput ¶
type InstanceDataDiskInput interface { pulumi.Input ToInstanceDataDiskOutput() InstanceDataDiskOutput ToInstanceDataDiskOutputWithContext(context.Context) InstanceDataDiskOutput }
InstanceDataDiskInput is an input type that accepts InstanceDataDiskArgs and InstanceDataDiskOutput values. You can construct a concrete instance of `InstanceDataDiskInput` via:
InstanceDataDiskArgs{...}
type InstanceDataDiskOutput ¶
type InstanceDataDiskOutput struct{ *pulumi.OutputState }
func (InstanceDataDiskOutput) AutoSnapshotPolicyId ¶
func (o InstanceDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
The ID of the automatic snapshot policy applied to the system disk.
func (InstanceDataDiskOutput) Category ¶
func (o InstanceDataDiskOutput) Category() pulumi.StringPtrOutput
The category of the disk:
- `cloud`: The general cloud disk.
- `cloudEfficiency`: The efficiency cloud disk.
- `cloudSsd`: The SSD cloud disk.
- `cloudEssd`: The ESSD cloud disk.
- `ephemeralSsd`: The local SSD disk. Default to `cloudEfficiency`.
func (InstanceDataDiskOutput) DeleteWithInstance ¶
func (o InstanceDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_essd, cloudSsd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. Default value: `true`.
func (InstanceDataDiskOutput) Description ¶
func (o InstanceDataDiskOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (InstanceDataDiskOutput) ElementType ¶
func (InstanceDataDiskOutput) ElementType() reflect.Type
func (InstanceDataDiskOutput) Encrypted ¶
func (o InstanceDataDiskOutput) Encrypted() pulumi.BoolPtrOutput
-(Optional, Bool, ForceNew) Encrypted the data in this disk. Default value: `false`.
func (InstanceDataDiskOutput) KmsKeyId ¶
func (o InstanceDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
The KMS key ID corresponding to the Nth data disk.
func (InstanceDataDiskOutput) Name ¶
func (o InstanceDataDiskOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (InstanceDataDiskOutput) PerformanceLevel ¶
func (o InstanceDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
The performance level of the ESSD used as data disk:
- `PL0`: A single ESSD can deliver up to 10,000 random read/write IOPS.
- `PL1`: A single ESSD can deliver up to 50,000 random read/write IOPS.
- `PL2`: A single ESSD can deliver up to 100,000 random read/write IOPS.
- `PL3`: A single ESSD can deliver up to 1,000,000 random read/write IOPS. Default to `PL1`.
func (InstanceDataDiskOutput) Size ¶
func (o InstanceDataDiskOutput) Size() pulumi.IntOutput
The size of the data disk. - cloud:[5, 2000] - cloud_efficiency:[20, 32768] - cloud_ssd:[20, 32768] - cloud_essd:[20, 32768] - ephemeral_ssd: [5, 800]
func (InstanceDataDiskOutput) SnapshotId ¶
func (o InstanceDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
func (InstanceDataDiskOutput) ToInstanceDataDiskOutput ¶
func (o InstanceDataDiskOutput) ToInstanceDataDiskOutput() InstanceDataDiskOutput
func (InstanceDataDiskOutput) ToInstanceDataDiskOutputWithContext ¶
func (o InstanceDataDiskOutput) ToInstanceDataDiskOutputWithContext(ctx context.Context) InstanceDataDiskOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // It has been deprecated from version "1.7.0". Setting "internetMaxBandwidthOut" larger than 0 can allocate a public ip address for an instance. // // Deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance. AllocatePublicIp pulumi.BoolPtrInput // The automatic release time of the `PostPaid` instance. // The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time. // Set it to null can cancel automatic release attribute and the ECS instance will not be released automatically. AutoReleaseTime pulumi.StringPtrInput // Auto renewal period of an instance, in the unit of month. It is valid when `instanceChargeType` is `PrePaid`. Default to 1. Valid value: // - [1, 2, 3, 6, 12] when `periodUnit` in "Month" // - [1, 2, 3] when `periodUnit` in "Week" AutoRenewPeriod pulumi.IntPtrInput // The Zone to start the instance in. It is ignored and will be computed when set `vswitchId`. AvailabilityZone pulumi.StringPtrInput // Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'. CreditSpecification pulumi.StringPtrInput // The list of data disks created with instance. DataDisks InstanceDataDiskArrayInput // Whether enable the deletion protection or not. Default value: `false`. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrInput // (Optional, Available in 1.149.0+) The group number of the instance in a deployment set when the deployment set is use. DeploymentSetGroupNo pulumi.StringPtrInput // The ID of the deployment set to which to deploy the instance. DeploymentSetId pulumi.StringPtrInput // The description of the data disk. Description pulumi.StringPtrInput // Specifies whether to send a dry-run request. Default to false. // - true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned. // - false: A request is sent. If the validation succeeds, the instance is created. DryRun pulumi.BoolPtrInput // If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly. // However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month". ForceDelete pulumi.BoolPtrInput // Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect. // On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect. HostName pulumi.StringPtrInput // The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance. HpcClusterId pulumi.StringPtrInput // The Image to use for the instance. ECS instance's image can be replaced via changing `imageId`. When it is changed, the instance will reboot to make the change take effect. ImageId pulumi.StringPtrInput // Whether to change instance disks charge type when changing instance charge type. IncludeDataDisks pulumi.BoolPtrInput // Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`. InstanceChargeType pulumi.StringPtrInput InstanceName pulumi.StringPtrInput // The type of instance to start. When it is changed, the instance will reboot to make the change take effect. InstanceType pulumi.StringPtrInput // Internet charge type of the instance, Valid values are `PayByBandwidth`, `PayByTraffic`. Default is `PayByTraffic`. At present, 'PrePaid' instance cannot change the value to "PayByBandwidth" from "PayByTraffic". InternetChargeType pulumi.StringPtrInput // Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps. // // Deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated from version v1.121.2. InternetMaxBandwidthIn pulumi.IntPtrInput // Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bit per second). Value range: [0, 100]. Default to 0 Mbps. InternetMaxBandwidthOut pulumi.IntPtrInput // It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized. // // Deprecated: Attribute io_optimized has been deprecated on instance resource. All the launched alicloud instances will be IO optimized. Suggest to remove it from your template. IoOptimized pulumi.StringPtrInput // Whether to use outdated instance type. Default to false. IsOutdated pulumi.BoolPtrInput // The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid. KeyName pulumi.StringPtrInput // An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect. KmsEncryptedPassword pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating an instance with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect. KmsEncryptionContext pulumi.MapInput // Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect. Password pulumi.StringPtrInput Period pulumi.IntPtrInput // The duration unit that you will buy the resource. It is valid when `instanceChargeType` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month". PeriodUnit pulumi.StringPtrInput // Instance private IP address can be specified when you creating new instance. It is valid when `vswitchId` is specified. When it is changed, the instance will reboot to make the change take effect. PrivateIp pulumi.StringPtrInput // The instance public ip. PublicIp pulumi.StringPtrInput // Whether to renew an ECS instance automatically or not. It is valid when `instanceChargeType` is `PrePaid`. Default to "Normal". Valid values: // - `AutoRenewal`: Enable auto renewal. // - `Normal`: Disable auto renewal. // - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry. RenewalStatus pulumi.StringPtrInput // The Id of resource group which the instance belongs. ResourceGroupId pulumi.StringPtrInput // Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one. RoleName pulumi.StringPtrInput // The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondaryPrivateIps` or `secondaryPrivateIpAddressCount` but not both. SecondaryPrivateIpAddressCount pulumi.IntPtrInput // A list of Secondary private IP addresses which is selected from within the CIDR block of the VSwitch. SecondaryPrivateIps pulumi.StringArrayInput // The security enhancement strategy. // - Active: Enable security enhancement strategy, it only works on system images. // - Deactive: Disable security enhancement strategy, it works on all images. SecurityEnhancementStrategy pulumi.StringPtrInput // A list of security group ids to associate with. SecurityGroups pulumi.StringArrayInput // The hourly price threshold of a instance, and it takes effect only when parameter 'spot_strategy' is 'SpotWithPriceLimit'. Three decimals is allowed at most. SpotPriceLimit pulumi.Float64PtrInput // The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter `instanceChargeType` is 'PostPaid'. Value range: // - NoSpot: A regular Pay-As-You-Go instance. // - SpotWithPriceLimit: A price threshold for a spot instance // - SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance SpotStrategy pulumi.StringPtrInput // The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`. Status pulumi.StringPtrInput SubnetId pulumi.StringPtrInput // The ID of the automatic snapshot policy applied to the system disk. SystemDiskAutoSnapshotPolicyId pulumi.StringPtrInput // Valid values are `ephemeralSsd`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`, `cloud`. `cloud` only is used to some none I/O optimized instance. Default to `cloudEfficiency`. SystemDiskCategory pulumi.StringPtrInput // The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://. SystemDiskDescription pulumi.StringPtrInput // The name of the system disk. The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. SystemDiskName pulumi.StringPtrInput // The performance level of the ESSD used as the system disk, Valid values: `PL0`, `PL1`, `PL2`, `PL3`, Default to `PL1`;For more information about ESSD, See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/122389.htm). SystemDiskPerformanceLevel pulumi.StringPtrInput // Size of the system disk, measured in GiB. Value range: [20, 500]. The specified value must be equal to or greater than max{20, Imagesize}. Default value: max{40, ImageSize}. SystemDiskSize pulumi.IntPtrInput // A mapping of tags to assign to the resource. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.StringMapInput // User-defined data to customize the startup behaviors of an ECS instance and to pass data into an ECS instance. From version 1.60.0, it can be update in-place. If updated, the instance will reboot to make the change take effect. Note: Not all of changes will take effect and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html). UserData pulumi.StringPtrInput // A mapping of tags to assign to the devices created by the instance at launch time. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. VolumeTags pulumi.MapInput // The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect. VswitchId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type KeyPair ¶
type KeyPair struct { pulumi.CustomResourceState FingerPrint pulumi.StringOutput `pulumi:"fingerPrint"` // The name of file to save your new key pair's private key. Strongly suggest you to specified it when you creating key pair, otherwise, you wouldn't get its private key ever. KeyFile pulumi.StringPtrOutput `pulumi:"keyFile"` // The key pair's name. It is the only in one Alicloud account. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringOutput `pulumi:"keyName"` KeyNamePrefix pulumi.StringPtrOutput `pulumi:"keyNamePrefix"` KeyPairName pulumi.StringOutput `pulumi:"keyPairName"` // You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resourceGroupId` is the key pair belongs. PublicKey pulumi.StringPtrOutput `pulumi:"publicKey"` // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` Tags pulumi.MapOutput `pulumi:"tags"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewKeyPair(ctx, "basic", &ecs.KeyPairArgs{ KeyName: pulumi.String("terraform-test-key-pair"), }) if err != nil { return err } _, err = ecs.NewKeyPair(ctx, "prefix", &ecs.KeyPairArgs{ KeyNamePrefix: pulumi.String("terraform-test-key-pair-prefix"), }) if err != nil { return err } _, err = ecs.NewKeyPair(ctx, "publickey", &ecs.KeyPairArgs{ KeyName: pulumi.String("my_public_key"), PublicKey: pulumi.String("ssh-rsa AAAAB3Nza12345678qwertyuudsfsg"), }) if err != nil { return err } return nil }) }
```
## Import
Key pair can be imported using the name, e.g.
```sh
$ pulumi import alicloud:ecs/keyPair:KeyPair example my_public_key
```
func GetKeyPair ¶
func GetKeyPair(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyPairState, opts ...pulumi.ResourceOption) (*KeyPair, error)
GetKeyPair gets an existing KeyPair resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKeyPair ¶
func NewKeyPair(ctx *pulumi.Context, name string, args *KeyPairArgs, opts ...pulumi.ResourceOption) (*KeyPair, error)
NewKeyPair registers a new resource with the given unique name, arguments, and options.
func (*KeyPair) ElementType ¶
func (*KeyPair) ToKeyPairOutput ¶
func (i *KeyPair) ToKeyPairOutput() KeyPairOutput
func (*KeyPair) ToKeyPairOutputWithContext ¶
func (i *KeyPair) ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput
type KeyPairArgs ¶
type KeyPairArgs struct { // The name of file to save your new key pair's private key. Strongly suggest you to specified it when you creating key pair, otherwise, you wouldn't get its private key ever. KeyFile pulumi.StringPtrInput // The key pair's name. It is the only in one Alicloud account. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput KeyNamePrefix pulumi.StringPtrInput KeyPairName pulumi.StringPtrInput // You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resourceGroupId` is the key pair belongs. PublicKey pulumi.StringPtrInput // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrInput Tags pulumi.MapInput }
The set of arguments for constructing a KeyPair resource.
func (KeyPairArgs) ElementType ¶
func (KeyPairArgs) ElementType() reflect.Type
type KeyPairArray ¶
type KeyPairArray []KeyPairInput
func (KeyPairArray) ElementType ¶
func (KeyPairArray) ElementType() reflect.Type
func (KeyPairArray) ToKeyPairArrayOutput ¶
func (i KeyPairArray) ToKeyPairArrayOutput() KeyPairArrayOutput
func (KeyPairArray) ToKeyPairArrayOutputWithContext ¶
func (i KeyPairArray) ToKeyPairArrayOutputWithContext(ctx context.Context) KeyPairArrayOutput
type KeyPairArrayInput ¶
type KeyPairArrayInput interface { pulumi.Input ToKeyPairArrayOutput() KeyPairArrayOutput ToKeyPairArrayOutputWithContext(context.Context) KeyPairArrayOutput }
KeyPairArrayInput is an input type that accepts KeyPairArray and KeyPairArrayOutput values. You can construct a concrete instance of `KeyPairArrayInput` via:
KeyPairArray{ KeyPairArgs{...} }
type KeyPairArrayOutput ¶
type KeyPairArrayOutput struct{ *pulumi.OutputState }
func (KeyPairArrayOutput) ElementType ¶
func (KeyPairArrayOutput) ElementType() reflect.Type
func (KeyPairArrayOutput) Index ¶
func (o KeyPairArrayOutput) Index(i pulumi.IntInput) KeyPairOutput
func (KeyPairArrayOutput) ToKeyPairArrayOutput ¶
func (o KeyPairArrayOutput) ToKeyPairArrayOutput() KeyPairArrayOutput
func (KeyPairArrayOutput) ToKeyPairArrayOutputWithContext ¶
func (o KeyPairArrayOutput) ToKeyPairArrayOutputWithContext(ctx context.Context) KeyPairArrayOutput
type KeyPairAttachment ¶
type KeyPairAttachment struct { pulumi.CustomResourceState // Set it to true and it will reboot instances which attached with the key pair to make key pair affect immediately. Force pulumi.BoolPtrOutput `pulumi:"force"` // The list of ECS instance's IDs. InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"` // The name of key pair used to bind. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringOutput `pulumi:"keyName"` KeyPairName pulumi.StringOutput `pulumi:"keyPairName"` }
func GetKeyPairAttachment ¶
func GetKeyPairAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyPairAttachmentState, opts ...pulumi.ResourceOption) (*KeyPairAttachment, error)
GetKeyPairAttachment gets an existing KeyPairAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKeyPairAttachment ¶
func NewKeyPairAttachment(ctx *pulumi.Context, name string, args *KeyPairAttachmentArgs, opts ...pulumi.ResourceOption) (*KeyPairAttachment, error)
NewKeyPairAttachment registers a new resource with the given unique name, arguments, and options.
func (*KeyPairAttachment) ElementType ¶
func (*KeyPairAttachment) ElementType() reflect.Type
func (*KeyPairAttachment) ToKeyPairAttachmentOutput ¶
func (i *KeyPairAttachment) ToKeyPairAttachmentOutput() KeyPairAttachmentOutput
func (*KeyPairAttachment) ToKeyPairAttachmentOutputWithContext ¶
func (i *KeyPairAttachment) ToKeyPairAttachmentOutputWithContext(ctx context.Context) KeyPairAttachmentOutput
type KeyPairAttachmentArgs ¶
type KeyPairAttachmentArgs struct { // Set it to true and it will reboot instances which attached with the key pair to make key pair affect immediately. Force pulumi.BoolPtrInput // The list of ECS instance's IDs. InstanceIds pulumi.StringArrayInput // The name of key pair used to bind. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput KeyPairName pulumi.StringPtrInput }
The set of arguments for constructing a KeyPairAttachment resource.
func (KeyPairAttachmentArgs) ElementType ¶
func (KeyPairAttachmentArgs) ElementType() reflect.Type
type KeyPairAttachmentArray ¶
type KeyPairAttachmentArray []KeyPairAttachmentInput
func (KeyPairAttachmentArray) ElementType ¶
func (KeyPairAttachmentArray) ElementType() reflect.Type
func (KeyPairAttachmentArray) ToKeyPairAttachmentArrayOutput ¶
func (i KeyPairAttachmentArray) ToKeyPairAttachmentArrayOutput() KeyPairAttachmentArrayOutput
func (KeyPairAttachmentArray) ToKeyPairAttachmentArrayOutputWithContext ¶
func (i KeyPairAttachmentArray) ToKeyPairAttachmentArrayOutputWithContext(ctx context.Context) KeyPairAttachmentArrayOutput
type KeyPairAttachmentArrayInput ¶
type KeyPairAttachmentArrayInput interface { pulumi.Input ToKeyPairAttachmentArrayOutput() KeyPairAttachmentArrayOutput ToKeyPairAttachmentArrayOutputWithContext(context.Context) KeyPairAttachmentArrayOutput }
KeyPairAttachmentArrayInput is an input type that accepts KeyPairAttachmentArray and KeyPairAttachmentArrayOutput values. You can construct a concrete instance of `KeyPairAttachmentArrayInput` via:
KeyPairAttachmentArray{ KeyPairAttachmentArgs{...} }
type KeyPairAttachmentArrayOutput ¶
type KeyPairAttachmentArrayOutput struct{ *pulumi.OutputState }
func (KeyPairAttachmentArrayOutput) ElementType ¶
func (KeyPairAttachmentArrayOutput) ElementType() reflect.Type
func (KeyPairAttachmentArrayOutput) Index ¶
func (o KeyPairAttachmentArrayOutput) Index(i pulumi.IntInput) KeyPairAttachmentOutput
func (KeyPairAttachmentArrayOutput) ToKeyPairAttachmentArrayOutput ¶
func (o KeyPairAttachmentArrayOutput) ToKeyPairAttachmentArrayOutput() KeyPairAttachmentArrayOutput
func (KeyPairAttachmentArrayOutput) ToKeyPairAttachmentArrayOutputWithContext ¶
func (o KeyPairAttachmentArrayOutput) ToKeyPairAttachmentArrayOutputWithContext(ctx context.Context) KeyPairAttachmentArrayOutput
type KeyPairAttachmentInput ¶
type KeyPairAttachmentInput interface { pulumi.Input ToKeyPairAttachmentOutput() KeyPairAttachmentOutput ToKeyPairAttachmentOutputWithContext(ctx context.Context) KeyPairAttachmentOutput }
type KeyPairAttachmentMap ¶
type KeyPairAttachmentMap map[string]KeyPairAttachmentInput
func (KeyPairAttachmentMap) ElementType ¶
func (KeyPairAttachmentMap) ElementType() reflect.Type
func (KeyPairAttachmentMap) ToKeyPairAttachmentMapOutput ¶
func (i KeyPairAttachmentMap) ToKeyPairAttachmentMapOutput() KeyPairAttachmentMapOutput
func (KeyPairAttachmentMap) ToKeyPairAttachmentMapOutputWithContext ¶
func (i KeyPairAttachmentMap) ToKeyPairAttachmentMapOutputWithContext(ctx context.Context) KeyPairAttachmentMapOutput
type KeyPairAttachmentMapInput ¶
type KeyPairAttachmentMapInput interface { pulumi.Input ToKeyPairAttachmentMapOutput() KeyPairAttachmentMapOutput ToKeyPairAttachmentMapOutputWithContext(context.Context) KeyPairAttachmentMapOutput }
KeyPairAttachmentMapInput is an input type that accepts KeyPairAttachmentMap and KeyPairAttachmentMapOutput values. You can construct a concrete instance of `KeyPairAttachmentMapInput` via:
KeyPairAttachmentMap{ "key": KeyPairAttachmentArgs{...} }
type KeyPairAttachmentMapOutput ¶
type KeyPairAttachmentMapOutput struct{ *pulumi.OutputState }
func (KeyPairAttachmentMapOutput) ElementType ¶
func (KeyPairAttachmentMapOutput) ElementType() reflect.Type
func (KeyPairAttachmentMapOutput) MapIndex ¶
func (o KeyPairAttachmentMapOutput) MapIndex(k pulumi.StringInput) KeyPairAttachmentOutput
func (KeyPairAttachmentMapOutput) ToKeyPairAttachmentMapOutput ¶
func (o KeyPairAttachmentMapOutput) ToKeyPairAttachmentMapOutput() KeyPairAttachmentMapOutput
func (KeyPairAttachmentMapOutput) ToKeyPairAttachmentMapOutputWithContext ¶
func (o KeyPairAttachmentMapOutput) ToKeyPairAttachmentMapOutputWithContext(ctx context.Context) KeyPairAttachmentMapOutput
type KeyPairAttachmentOutput ¶
type KeyPairAttachmentOutput struct{ *pulumi.OutputState }
func (KeyPairAttachmentOutput) ElementType ¶
func (KeyPairAttachmentOutput) ElementType() reflect.Type
func (KeyPairAttachmentOutput) ToKeyPairAttachmentOutput ¶
func (o KeyPairAttachmentOutput) ToKeyPairAttachmentOutput() KeyPairAttachmentOutput
func (KeyPairAttachmentOutput) ToKeyPairAttachmentOutputWithContext ¶
func (o KeyPairAttachmentOutput) ToKeyPairAttachmentOutputWithContext(ctx context.Context) KeyPairAttachmentOutput
type KeyPairAttachmentState ¶
type KeyPairAttachmentState struct { // Set it to true and it will reboot instances which attached with the key pair to make key pair affect immediately. Force pulumi.BoolPtrInput // The list of ECS instance's IDs. InstanceIds pulumi.StringArrayInput // The name of key pair used to bind. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput KeyPairName pulumi.StringPtrInput }
func (KeyPairAttachmentState) ElementType ¶
func (KeyPairAttachmentState) ElementType() reflect.Type
type KeyPairInput ¶
type KeyPairInput interface { pulumi.Input ToKeyPairOutput() KeyPairOutput ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput }
type KeyPairMap ¶
type KeyPairMap map[string]KeyPairInput
func (KeyPairMap) ElementType ¶
func (KeyPairMap) ElementType() reflect.Type
func (KeyPairMap) ToKeyPairMapOutput ¶
func (i KeyPairMap) ToKeyPairMapOutput() KeyPairMapOutput
func (KeyPairMap) ToKeyPairMapOutputWithContext ¶
func (i KeyPairMap) ToKeyPairMapOutputWithContext(ctx context.Context) KeyPairMapOutput
type KeyPairMapInput ¶
type KeyPairMapInput interface { pulumi.Input ToKeyPairMapOutput() KeyPairMapOutput ToKeyPairMapOutputWithContext(context.Context) KeyPairMapOutput }
KeyPairMapInput is an input type that accepts KeyPairMap and KeyPairMapOutput values. You can construct a concrete instance of `KeyPairMapInput` via:
KeyPairMap{ "key": KeyPairArgs{...} }
type KeyPairMapOutput ¶
type KeyPairMapOutput struct{ *pulumi.OutputState }
func (KeyPairMapOutput) ElementType ¶
func (KeyPairMapOutput) ElementType() reflect.Type
func (KeyPairMapOutput) MapIndex ¶
func (o KeyPairMapOutput) MapIndex(k pulumi.StringInput) KeyPairOutput
func (KeyPairMapOutput) ToKeyPairMapOutput ¶
func (o KeyPairMapOutput) ToKeyPairMapOutput() KeyPairMapOutput
func (KeyPairMapOutput) ToKeyPairMapOutputWithContext ¶
func (o KeyPairMapOutput) ToKeyPairMapOutputWithContext(ctx context.Context) KeyPairMapOutput
type KeyPairOutput ¶
type KeyPairOutput struct{ *pulumi.OutputState }
func (KeyPairOutput) ElementType ¶
func (KeyPairOutput) ElementType() reflect.Type
func (KeyPairOutput) ToKeyPairOutput ¶
func (o KeyPairOutput) ToKeyPairOutput() KeyPairOutput
func (KeyPairOutput) ToKeyPairOutputWithContext ¶
func (o KeyPairOutput) ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput
type KeyPairState ¶
type KeyPairState struct { FingerPrint pulumi.StringPtrInput // The name of file to save your new key pair's private key. Strongly suggest you to specified it when you creating key pair, otherwise, you wouldn't get its private key ever. KeyFile pulumi.StringPtrInput // The key pair's name. It is the only in one Alicloud account. // // Deprecated: Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead. KeyName pulumi.StringPtrInput KeyNamePrefix pulumi.StringPtrInput KeyPairName pulumi.StringPtrInput // You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resourceGroupId` is the key pair belongs. PublicKey pulumi.StringPtrInput // The Id of resource group which the key pair belongs. ResourceGroupId pulumi.StringPtrInput Tags pulumi.MapInput }
func (KeyPairState) ElementType ¶
func (KeyPairState) ElementType() reflect.Type
type LaunchTemplate ¶
type LaunchTemplate struct { pulumi.CustomResourceState // Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ. AutoReleaseTime pulumi.StringPtrOutput `pulumi:"autoReleaseTime"` // The list of data disks created with instance. DataDisks LaunchTemplateDataDiskArrayOutput `pulumi:"dataDisks"` DeploymentSetId pulumi.StringPtrOutput `pulumi:"deploymentSetId"` // The description of the data disk. Description pulumi.StringPtrOutput `pulumi:"description"` EnableVmOsConfig pulumi.BoolPtrOutput `pulumi:"enableVmOsConfig"` // Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-). HostName pulumi.StringPtrOutput `pulumi:"hostName"` // Image ID. ImageId pulumi.StringPtrOutput `pulumi:"imageId"` ImageOwnerAlias pulumi.StringPtrOutput `pulumi:"imageOwnerAlias"` // Billing methods. Optional values: // - PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur. // - PostPaid: Pay-As-You-Go. InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"` // The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // Instance type. For more information, call resourceAlicloudInstances to obtain the latest instance type list. InstanceType pulumi.StringPtrOutput `pulumi:"instanceType"` // Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`. InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"` // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200]. InternetMaxBandwidthIn pulumi.IntOutput `pulumi:"internetMaxBandwidthIn"` // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100]. InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"` // Whether it is an I/O-optimized instance or not. Optional values: // - none // - optimized IoOptimized pulumi.StringPtrOutput `pulumi:"ioOptimized"` // The name of the key pair. // - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. // - The password logon method for Linux instances is set to forbidden upon initialization. KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"` LaunchTemplateName pulumi.StringOutput `pulumi:"launchTemplateName"` // The name of the data disk. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead. Name pulumi.StringOutput `pulumi:"name"` // The list of network interfaces created with instance. NetworkInterfaces LaunchTemplateNetworkInterfacesPtrOutput `pulumi:"networkInterfaces"` // Network type of the instance. Value options: `classic` | `vpc`. NetworkType pulumi.StringPtrOutput `pulumi:"networkType"` PasswordInherit pulumi.BoolPtrOutput `pulumi:"passwordInherit"` Period pulumi.IntPtrOutput `pulumi:"period"` PrivateIpAddress pulumi.StringPtrOutput `pulumi:"privateIpAddress"` // The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names. RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"` ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive. SecurityEnhancementStrategy pulumi.StringPtrOutput `pulumi:"securityEnhancementStrategy"` // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` SpotDuration pulumi.StringPtrOutput `pulumi:"spotDuration"` // -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places. SpotPriceLimit pulumi.Float64PtrOutput `pulumi:"spotPriceLimit"` // The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range: // - NoSpot: Normal Pay-As-You-Go instance. // - SpotWithPriceLimit: Sets the maximum price for a spot instance. // - SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price. SpotStrategy pulumi.StringPtrOutput `pulumi:"spotStrategy"` SystemDisk LaunchTemplateSystemDiskOutput `pulumi:"systemDisk"` // The category of the system disk. System disk type. Optional values: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. // // Deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskCategory pulumi.StringOutput `pulumi:"systemDiskCategory"` // System disk description. It cannot begin with http:// or https://. // // Deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskDescription pulumi.StringOutput `pulumi:"systemDiskDescription"` // System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). // // Deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskName pulumi.StringOutput `pulumi:"systemDiskName"` // Size of the system disk, measured in GB. Value range: [20, 500]. // // Deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskSize pulumi.IntOutput `pulumi:"systemDiskSize"` // A mapping of tags to assign to the resource. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.MapOutput `pulumi:"tags"` TemplateResourceGroupId pulumi.StringPtrOutput `pulumi:"templateResourceGroupId"` TemplateTags pulumi.MapOutput `pulumi:"templateTags"` UserData pulumi.StringOutput `pulumi:"userData"` // User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB. // // Deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead. Userdata pulumi.StringOutput `pulumi:"userdata"` VersionDescription pulumi.StringPtrOutput `pulumi:"versionDescription"` VpcId pulumi.StringOutput `pulumi:"vpcId"` // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` // The zone ID of the instance. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { images, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } instances, err := ecs.GetInstances(ctx, nil, nil) if err != nil { return err } _, err = ecs.NewLaunchTemplate(ctx, "template", &ecs.LaunchTemplateArgs{ Description: pulumi.String("test1"), ImageId: pulumi.String(images.Images[0].Id), HostName: pulumi.String("tf-test-host"), InstanceChargeType: pulumi.String("PrePaid"), InstanceName: pulumi.String("tf-instance-name"), InstanceType: pulumi.String(instances.Instances[0].InstanceType), InternetChargeType: pulumi.String("PayByBandwidth"), InternetMaxBandwidthIn: pulumi.Int(5), InternetMaxBandwidthOut: pulumi.Int(0), IoOptimized: pulumi.String("none"), KeyPairName: pulumi.String("test-key-pair"), RamRoleName: pulumi.String("xxxxx"), NetworkType: pulumi.String("vpc"), SecurityEnhancementStrategy: pulumi.String("Active"), SpotPriceLimit: pulumi.Float64(5), SpotStrategy: pulumi.String("SpotWithPriceLimit"), SecurityGroupId: pulumi.String("sg-zxcvj0lasdf102350asdf9a"), SystemDiskCategory: pulumi.String("cloud_ssd"), SystemDiskDescription: pulumi.String("test disk"), SystemDiskName: pulumi.String("hello"), SystemDiskSize: pulumi.Int(40), ResourceGroupId: pulumi.String("rg-zkdfjahg9zxncv0"), Userdata: pulumi.String("xxxxxxxxxxxxxx"), VswitchId: pulumi.String("sw-ljkngaksdjfj0nnasdf"), VpcId: pulumi.String("vpc-asdfnbg0as8dfk1nb2"), ZoneId: pulumi.String("beijing-a"), Tags: pulumi.AnyMap{ "tag1": pulumi.Any("hello"), "tag2": pulumi.Any("world"), }, NetworkInterfaces: &ecs.LaunchTemplateNetworkInterfacesArgs{ Name: pulumi.String("eth0"), Description: pulumi.String("hello1"), PrimaryIp: pulumi.String("10.0.0.2"), SecurityGroupId: pulumi.String("xxxx"), VswitchId: pulumi.String("xxxxxxx"), }, DataDisks: ecs.LaunchTemplateDataDiskArray{ &ecs.LaunchTemplateDataDiskArgs{ Name: pulumi.String("disk1"), Description: pulumi.String("test1"), }, &ecs.LaunchTemplateDataDiskArgs{ Name: pulumi.String("disk2"), Description: pulumi.String("test2"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Launch Template can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/launchTemplate:LaunchTemplate lt lt-abc1234567890000
```
func GetLaunchTemplate ¶
func GetLaunchTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LaunchTemplateState, opts ...pulumi.ResourceOption) (*LaunchTemplate, error)
GetLaunchTemplate gets an existing LaunchTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLaunchTemplate ¶
func NewLaunchTemplate(ctx *pulumi.Context, name string, args *LaunchTemplateArgs, opts ...pulumi.ResourceOption) (*LaunchTemplate, error)
NewLaunchTemplate registers a new resource with the given unique name, arguments, and options.
func (*LaunchTemplate) ElementType ¶
func (*LaunchTemplate) ElementType() reflect.Type
func (*LaunchTemplate) ToLaunchTemplateOutput ¶
func (i *LaunchTemplate) ToLaunchTemplateOutput() LaunchTemplateOutput
func (*LaunchTemplate) ToLaunchTemplateOutputWithContext ¶
func (i *LaunchTemplate) ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput
type LaunchTemplateArgs ¶
type LaunchTemplateArgs struct { // Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ. AutoReleaseTime pulumi.StringPtrInput // The list of data disks created with instance. DataDisks LaunchTemplateDataDiskArrayInput DeploymentSetId pulumi.StringPtrInput // The description of the data disk. Description pulumi.StringPtrInput EnableVmOsConfig pulumi.BoolPtrInput // Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-). HostName pulumi.StringPtrInput // Image ID. ImageId pulumi.StringPtrInput ImageOwnerAlias pulumi.StringPtrInput // Billing methods. Optional values: // - PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur. // - PostPaid: Pay-As-You-Go. InstanceChargeType pulumi.StringPtrInput // The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). InstanceName pulumi.StringPtrInput // Instance type. For more information, call resourceAlicloudInstances to obtain the latest instance type list. InstanceType pulumi.StringPtrInput // Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`. InternetChargeType pulumi.StringPtrInput // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200]. InternetMaxBandwidthIn pulumi.IntPtrInput // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100]. InternetMaxBandwidthOut pulumi.IntPtrInput // Whether it is an I/O-optimized instance or not. Optional values: // - none // - optimized IoOptimized pulumi.StringPtrInput // The name of the key pair. // - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. // - The password logon method for Linux instances is set to forbidden upon initialization. KeyPairName pulumi.StringPtrInput LaunchTemplateName pulumi.StringPtrInput // The name of the data disk. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead. Name pulumi.StringPtrInput // The list of network interfaces created with instance. NetworkInterfaces LaunchTemplateNetworkInterfacesPtrInput // Network type of the instance. Value options: `classic` | `vpc`. NetworkType pulumi.StringPtrInput PasswordInherit pulumi.BoolPtrInput Period pulumi.IntPtrInput PrivateIpAddress pulumi.StringPtrInput // The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names. RamRoleName pulumi.StringPtrInput ResourceGroupId pulumi.StringPtrInput // Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive. SecurityEnhancementStrategy pulumi.StringPtrInput // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrInput SecurityGroupIds pulumi.StringArrayInput SpotDuration pulumi.StringPtrInput // -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places. SpotPriceLimit pulumi.Float64PtrInput // The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range: // - NoSpot: Normal Pay-As-You-Go instance. // - SpotWithPriceLimit: Sets the maximum price for a spot instance. // - SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price. SpotStrategy pulumi.StringPtrInput SystemDisk LaunchTemplateSystemDiskPtrInput // The category of the system disk. System disk type. Optional values: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. // // Deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskCategory pulumi.StringPtrInput // System disk description. It cannot begin with http:// or https://. // // Deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskDescription pulumi.StringPtrInput // System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). // // Deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskName pulumi.StringPtrInput // Size of the system disk, measured in GB. Value range: [20, 500]. // // Deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskSize pulumi.IntPtrInput // A mapping of tags to assign to the resource. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.MapInput TemplateResourceGroupId pulumi.StringPtrInput TemplateTags pulumi.MapInput UserData pulumi.StringPtrInput // User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB. // // Deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead. Userdata pulumi.StringPtrInput VersionDescription pulumi.StringPtrInput VpcId pulumi.StringPtrInput // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrInput // The zone ID of the instance. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a LaunchTemplate resource.
func (LaunchTemplateArgs) ElementType ¶
func (LaunchTemplateArgs) ElementType() reflect.Type
type LaunchTemplateArray ¶
type LaunchTemplateArray []LaunchTemplateInput
func (LaunchTemplateArray) ElementType ¶
func (LaunchTemplateArray) ElementType() reflect.Type
func (LaunchTemplateArray) ToLaunchTemplateArrayOutput ¶
func (i LaunchTemplateArray) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
func (LaunchTemplateArray) ToLaunchTemplateArrayOutputWithContext ¶
func (i LaunchTemplateArray) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput
type LaunchTemplateArrayInput ¶
type LaunchTemplateArrayInput interface { pulumi.Input ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput ToLaunchTemplateArrayOutputWithContext(context.Context) LaunchTemplateArrayOutput }
LaunchTemplateArrayInput is an input type that accepts LaunchTemplateArray and LaunchTemplateArrayOutput values. You can construct a concrete instance of `LaunchTemplateArrayInput` via:
LaunchTemplateArray{ LaunchTemplateArgs{...} }
type LaunchTemplateArrayOutput ¶
type LaunchTemplateArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateArrayOutput) ElementType ¶
func (LaunchTemplateArrayOutput) ElementType() reflect.Type
func (LaunchTemplateArrayOutput) Index ¶
func (o LaunchTemplateArrayOutput) Index(i pulumi.IntInput) LaunchTemplateOutput
func (LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput ¶
func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
func (LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext ¶
func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput
type LaunchTemplateDataDisk ¶
type LaunchTemplateDataDisk struct { // The category of the disk: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. Category *string `pulumi:"category"` // Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // The description of the data disk. Description *string `pulumi:"description"` // -(Optional, Bool) Encrypted the data in this disk. Encrypted *bool `pulumi:"encrypted"` // The name of the data disk. Name *string `pulumi:"name"` PerformanceLevel *string `pulumi:"performanceLevel"` // The size of the data disk. // - cloud:[5, 2000] // - cloud_efficiency:[20, 32768] // - cloud_ssd:[20, 32768] // - cloud_essd:[20, 32768] // - ephemeral_ssd: [5, 800] Size *int `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId *string `pulumi:"snapshotId"` }
type LaunchTemplateDataDiskArgs ¶
type LaunchTemplateDataDiskArgs struct { // The category of the disk: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. Category pulumi.StringPtrInput `pulumi:"category"` // Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` // -(Optional, Bool) Encrypted the data in this disk. Encrypted pulumi.BoolPtrInput `pulumi:"encrypted"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"` // The size of the data disk. // - cloud:[5, 2000] // - cloud_efficiency:[20, 32768] // - cloud_ssd:[20, 32768] // - cloud_essd:[20, 32768] // - ephemeral_ssd: [5, 800] Size pulumi.IntPtrInput `pulumi:"size"` // The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (LaunchTemplateDataDiskArgs) ElementType ¶
func (LaunchTemplateDataDiskArgs) ElementType() reflect.Type
func (LaunchTemplateDataDiskArgs) ToLaunchTemplateDataDiskOutput ¶
func (i LaunchTemplateDataDiskArgs) ToLaunchTemplateDataDiskOutput() LaunchTemplateDataDiskOutput
func (LaunchTemplateDataDiskArgs) ToLaunchTemplateDataDiskOutputWithContext ¶
func (i LaunchTemplateDataDiskArgs) ToLaunchTemplateDataDiskOutputWithContext(ctx context.Context) LaunchTemplateDataDiskOutput
type LaunchTemplateDataDiskArray ¶
type LaunchTemplateDataDiskArray []LaunchTemplateDataDiskInput
func (LaunchTemplateDataDiskArray) ElementType ¶
func (LaunchTemplateDataDiskArray) ElementType() reflect.Type
func (LaunchTemplateDataDiskArray) ToLaunchTemplateDataDiskArrayOutput ¶
func (i LaunchTemplateDataDiskArray) ToLaunchTemplateDataDiskArrayOutput() LaunchTemplateDataDiskArrayOutput
func (LaunchTemplateDataDiskArray) ToLaunchTemplateDataDiskArrayOutputWithContext ¶
func (i LaunchTemplateDataDiskArray) ToLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) LaunchTemplateDataDiskArrayOutput
type LaunchTemplateDataDiskArrayInput ¶
type LaunchTemplateDataDiskArrayInput interface { pulumi.Input ToLaunchTemplateDataDiskArrayOutput() LaunchTemplateDataDiskArrayOutput ToLaunchTemplateDataDiskArrayOutputWithContext(context.Context) LaunchTemplateDataDiskArrayOutput }
LaunchTemplateDataDiskArrayInput is an input type that accepts LaunchTemplateDataDiskArray and LaunchTemplateDataDiskArrayOutput values. You can construct a concrete instance of `LaunchTemplateDataDiskArrayInput` via:
LaunchTemplateDataDiskArray{ LaunchTemplateDataDiskArgs{...} }
type LaunchTemplateDataDiskArrayOutput ¶
type LaunchTemplateDataDiskArrayOutput struct{ *pulumi.OutputState }
func (LaunchTemplateDataDiskArrayOutput) ElementType ¶
func (LaunchTemplateDataDiskArrayOutput) ElementType() reflect.Type
func (LaunchTemplateDataDiskArrayOutput) Index ¶
func (o LaunchTemplateDataDiskArrayOutput) Index(i pulumi.IntInput) LaunchTemplateDataDiskOutput
func (LaunchTemplateDataDiskArrayOutput) ToLaunchTemplateDataDiskArrayOutput ¶
func (o LaunchTemplateDataDiskArrayOutput) ToLaunchTemplateDataDiskArrayOutput() LaunchTemplateDataDiskArrayOutput
func (LaunchTemplateDataDiskArrayOutput) ToLaunchTemplateDataDiskArrayOutputWithContext ¶
func (o LaunchTemplateDataDiskArrayOutput) ToLaunchTemplateDataDiskArrayOutputWithContext(ctx context.Context) LaunchTemplateDataDiskArrayOutput
type LaunchTemplateDataDiskInput ¶
type LaunchTemplateDataDiskInput interface { pulumi.Input ToLaunchTemplateDataDiskOutput() LaunchTemplateDataDiskOutput ToLaunchTemplateDataDiskOutputWithContext(context.Context) LaunchTemplateDataDiskOutput }
LaunchTemplateDataDiskInput is an input type that accepts LaunchTemplateDataDiskArgs and LaunchTemplateDataDiskOutput values. You can construct a concrete instance of `LaunchTemplateDataDiskInput` via:
LaunchTemplateDataDiskArgs{...}
type LaunchTemplateDataDiskOutput ¶
type LaunchTemplateDataDiskOutput struct{ *pulumi.OutputState }
func (LaunchTemplateDataDiskOutput) Category ¶
func (o LaunchTemplateDataDiskOutput) Category() pulumi.StringPtrOutput
The category of the disk: - cloud: Basic cloud disk. - cloud_efficiency: Ultra cloud disk. - cloud_ssd: SSD cloud Disks. - ephemeral_ssd: local SSD Disks - cloud_essd: ESSD cloud Disks.
func (LaunchTemplateDataDiskOutput) DeleteWithInstance ¶
func (o LaunchTemplateDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.
func (LaunchTemplateDataDiskOutput) Description ¶
func (o LaunchTemplateDataDiskOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (LaunchTemplateDataDiskOutput) ElementType ¶
func (LaunchTemplateDataDiskOutput) ElementType() reflect.Type
func (LaunchTemplateDataDiskOutput) Encrypted ¶
func (o LaunchTemplateDataDiskOutput) Encrypted() pulumi.BoolPtrOutput
-(Optional, Bool) Encrypted the data in this disk.
func (LaunchTemplateDataDiskOutput) Name ¶
func (o LaunchTemplateDataDiskOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (LaunchTemplateDataDiskOutput) PerformanceLevel ¶
func (o LaunchTemplateDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
func (LaunchTemplateDataDiskOutput) Size ¶
func (o LaunchTemplateDataDiskOutput) Size() pulumi.IntPtrOutput
The size of the data disk. - cloud:[5, 2000] - cloud_efficiency:[20, 32768] - cloud_ssd:[20, 32768] - cloud_essd:[20, 32768] - ephemeral_ssd: [5, 800]
func (LaunchTemplateDataDiskOutput) SnapshotId ¶
func (o LaunchTemplateDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
func (LaunchTemplateDataDiskOutput) ToLaunchTemplateDataDiskOutput ¶
func (o LaunchTemplateDataDiskOutput) ToLaunchTemplateDataDiskOutput() LaunchTemplateDataDiskOutput
func (LaunchTemplateDataDiskOutput) ToLaunchTemplateDataDiskOutputWithContext ¶
func (o LaunchTemplateDataDiskOutput) ToLaunchTemplateDataDiskOutputWithContext(ctx context.Context) LaunchTemplateDataDiskOutput
type LaunchTemplateInput ¶
type LaunchTemplateInput interface { pulumi.Input ToLaunchTemplateOutput() LaunchTemplateOutput ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput }
type LaunchTemplateMap ¶
type LaunchTemplateMap map[string]LaunchTemplateInput
func (LaunchTemplateMap) ElementType ¶
func (LaunchTemplateMap) ElementType() reflect.Type
func (LaunchTemplateMap) ToLaunchTemplateMapOutput ¶
func (i LaunchTemplateMap) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
func (LaunchTemplateMap) ToLaunchTemplateMapOutputWithContext ¶
func (i LaunchTemplateMap) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput
type LaunchTemplateMapInput ¶
type LaunchTemplateMapInput interface { pulumi.Input ToLaunchTemplateMapOutput() LaunchTemplateMapOutput ToLaunchTemplateMapOutputWithContext(context.Context) LaunchTemplateMapOutput }
LaunchTemplateMapInput is an input type that accepts LaunchTemplateMap and LaunchTemplateMapOutput values. You can construct a concrete instance of `LaunchTemplateMapInput` via:
LaunchTemplateMap{ "key": LaunchTemplateArgs{...} }
type LaunchTemplateMapOutput ¶
type LaunchTemplateMapOutput struct{ *pulumi.OutputState }
func (LaunchTemplateMapOutput) ElementType ¶
func (LaunchTemplateMapOutput) ElementType() reflect.Type
func (LaunchTemplateMapOutput) MapIndex ¶
func (o LaunchTemplateMapOutput) MapIndex(k pulumi.StringInput) LaunchTemplateOutput
func (LaunchTemplateMapOutput) ToLaunchTemplateMapOutput ¶
func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
func (LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext ¶
func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput
type LaunchTemplateNetworkInterfaces ¶
type LaunchTemplateNetworkInterfaces struct { // The description of the data disk. Description *string `pulumi:"description"` // The name of the data disk. Name *string `pulumi:"name"` // The primary private IP address of the ENI. PrimaryIp *string `pulumi:"primaryIp"` // The security group ID must be one in the same VPC. SecurityGroupId *string `pulumi:"securityGroupId"` // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId *string `pulumi:"vswitchId"` }
type LaunchTemplateNetworkInterfacesArgs ¶
type LaunchTemplateNetworkInterfacesArgs struct { // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` // The primary private IP address of the ENI. PrimaryIp pulumi.StringPtrInput `pulumi:"primaryIp"` // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"` }
func (LaunchTemplateNetworkInterfacesArgs) ElementType ¶
func (LaunchTemplateNetworkInterfacesArgs) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesOutput ¶
func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesOutput() LaunchTemplateNetworkInterfacesOutput
func (LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesOutputWithContext ¶
func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesOutput
func (LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesPtrOutput ¶
func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput
func (LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext ¶
func (i LaunchTemplateNetworkInterfacesArgs) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesPtrOutput
type LaunchTemplateNetworkInterfacesInput ¶
type LaunchTemplateNetworkInterfacesInput interface { pulumi.Input ToLaunchTemplateNetworkInterfacesOutput() LaunchTemplateNetworkInterfacesOutput ToLaunchTemplateNetworkInterfacesOutputWithContext(context.Context) LaunchTemplateNetworkInterfacesOutput }
LaunchTemplateNetworkInterfacesInput is an input type that accepts LaunchTemplateNetworkInterfacesArgs and LaunchTemplateNetworkInterfacesOutput values. You can construct a concrete instance of `LaunchTemplateNetworkInterfacesInput` via:
LaunchTemplateNetworkInterfacesArgs{...}
type LaunchTemplateNetworkInterfacesOutput ¶
type LaunchTemplateNetworkInterfacesOutput struct{ *pulumi.OutputState }
func (LaunchTemplateNetworkInterfacesOutput) Description ¶
func (o LaunchTemplateNetworkInterfacesOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (LaunchTemplateNetworkInterfacesOutput) ElementType ¶
func (LaunchTemplateNetworkInterfacesOutput) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfacesOutput) Name ¶
func (o LaunchTemplateNetworkInterfacesOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (LaunchTemplateNetworkInterfacesOutput) PrimaryIp ¶
func (o LaunchTemplateNetworkInterfacesOutput) PrimaryIp() pulumi.StringPtrOutput
The primary private IP address of the ENI.
func (LaunchTemplateNetworkInterfacesOutput) SecurityGroupId ¶
func (o LaunchTemplateNetworkInterfacesOutput) SecurityGroupId() pulumi.StringPtrOutput
The security group ID must be one in the same VPC.
func (LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesOutput ¶
func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesOutput() LaunchTemplateNetworkInterfacesOutput
func (LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesOutputWithContext ¶
func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesOutput
func (LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesPtrOutput ¶
func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput
func (LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext ¶
func (o LaunchTemplateNetworkInterfacesOutput) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesPtrOutput
func (LaunchTemplateNetworkInterfacesOutput) VswitchId ¶
func (o LaunchTemplateNetworkInterfacesOutput) VswitchId() pulumi.StringPtrOutput
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
type LaunchTemplateNetworkInterfacesPtrInput ¶
type LaunchTemplateNetworkInterfacesPtrInput interface { pulumi.Input ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(context.Context) LaunchTemplateNetworkInterfacesPtrOutput }
LaunchTemplateNetworkInterfacesPtrInput is an input type that accepts LaunchTemplateNetworkInterfacesArgs, LaunchTemplateNetworkInterfacesPtr and LaunchTemplateNetworkInterfacesPtrOutput values. You can construct a concrete instance of `LaunchTemplateNetworkInterfacesPtrInput` via:
LaunchTemplateNetworkInterfacesArgs{...} or: nil
func LaunchTemplateNetworkInterfacesPtr ¶
func LaunchTemplateNetworkInterfacesPtr(v *LaunchTemplateNetworkInterfacesArgs) LaunchTemplateNetworkInterfacesPtrInput
type LaunchTemplateNetworkInterfacesPtrOutput ¶
type LaunchTemplateNetworkInterfacesPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateNetworkInterfacesPtrOutput) Description ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (LaunchTemplateNetworkInterfacesPtrOutput) ElementType ¶
func (LaunchTemplateNetworkInterfacesPtrOutput) ElementType() reflect.Type
func (LaunchTemplateNetworkInterfacesPtrOutput) Name ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (LaunchTemplateNetworkInterfacesPtrOutput) PrimaryIp ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) PrimaryIp() pulumi.StringPtrOutput
The primary private IP address of the ENI.
func (LaunchTemplateNetworkInterfacesPtrOutput) SecurityGroupId ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) SecurityGroupId() pulumi.StringPtrOutput
The security group ID must be one in the same VPC.
func (LaunchTemplateNetworkInterfacesPtrOutput) ToLaunchTemplateNetworkInterfacesPtrOutput ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) ToLaunchTemplateNetworkInterfacesPtrOutput() LaunchTemplateNetworkInterfacesPtrOutput
func (LaunchTemplateNetworkInterfacesPtrOutput) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) ToLaunchTemplateNetworkInterfacesPtrOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfacesPtrOutput
func (LaunchTemplateNetworkInterfacesPtrOutput) VswitchId ¶
func (o LaunchTemplateNetworkInterfacesPtrOutput) VswitchId() pulumi.StringPtrOutput
The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
type LaunchTemplateOutput ¶
type LaunchTemplateOutput struct{ *pulumi.OutputState }
func (LaunchTemplateOutput) ElementType ¶
func (LaunchTemplateOutput) ElementType() reflect.Type
func (LaunchTemplateOutput) ToLaunchTemplateOutput ¶
func (o LaunchTemplateOutput) ToLaunchTemplateOutput() LaunchTemplateOutput
func (LaunchTemplateOutput) ToLaunchTemplateOutputWithContext ¶
func (o LaunchTemplateOutput) ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput
type LaunchTemplateState ¶
type LaunchTemplateState struct { // Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ. AutoReleaseTime pulumi.StringPtrInput // The list of data disks created with instance. DataDisks LaunchTemplateDataDiskArrayInput DeploymentSetId pulumi.StringPtrInput // The description of the data disk. Description pulumi.StringPtrInput EnableVmOsConfig pulumi.BoolPtrInput // Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-). HostName pulumi.StringPtrInput // Image ID. ImageId pulumi.StringPtrInput ImageOwnerAlias pulumi.StringPtrInput // Billing methods. Optional values: // - PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur. // - PostPaid: Pay-As-You-Go. InstanceChargeType pulumi.StringPtrInput // The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). InstanceName pulumi.StringPtrInput // Instance type. For more information, call resourceAlicloudInstances to obtain the latest instance type list. InstanceType pulumi.StringPtrInput // Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`. InternetChargeType pulumi.StringPtrInput // The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200]. InternetMaxBandwidthIn pulumi.IntPtrInput // Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100]. InternetMaxBandwidthOut pulumi.IntPtrInput // Whether it is an I/O-optimized instance or not. Optional values: // - none // - optimized IoOptimized pulumi.StringPtrInput // The name of the key pair. // - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. // - The password logon method for Linux instances is set to forbidden upon initialization. KeyPairName pulumi.StringPtrInput LaunchTemplateName pulumi.StringPtrInput // The name of the data disk. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead. Name pulumi.StringPtrInput // The list of network interfaces created with instance. NetworkInterfaces LaunchTemplateNetworkInterfacesPtrInput // Network type of the instance. Value options: `classic` | `vpc`. NetworkType pulumi.StringPtrInput PasswordInherit pulumi.BoolPtrInput Period pulumi.IntPtrInput PrivateIpAddress pulumi.StringPtrInput // The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names. RamRoleName pulumi.StringPtrInput ResourceGroupId pulumi.StringPtrInput // Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive. SecurityEnhancementStrategy pulumi.StringPtrInput // The security group ID must be one in the same VPC. SecurityGroupId pulumi.StringPtrInput SecurityGroupIds pulumi.StringArrayInput SpotDuration pulumi.StringPtrInput // -(Optional) Sets the maximum hourly instance price. Supports up to three decimal places. SpotPriceLimit pulumi.Float64PtrInput // The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range: // - NoSpot: Normal Pay-As-You-Go instance. // - SpotWithPriceLimit: Sets the maximum price for a spot instance. // - SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price. SpotStrategy pulumi.StringPtrInput SystemDisk LaunchTemplateSystemDiskPtrInput // The category of the system disk. System disk type. Optional values: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. // // Deprecated: Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskCategory pulumi.StringPtrInput // System disk description. It cannot begin with http:// or https://. // // Deprecated: Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskDescription pulumi.StringPtrInput // System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). // // Deprecated: Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskName pulumi.StringPtrInput // Size of the system disk, measured in GB. Value range: [20, 500]. // // Deprecated: Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead. SystemDiskSize pulumi.IntPtrInput // A mapping of tags to assign to the resource. // - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. // - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string. Tags pulumi.MapInput TemplateResourceGroupId pulumi.StringPtrInput TemplateTags pulumi.MapInput UserData pulumi.StringPtrInput // User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB. // // Deprecated: Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead. Userdata pulumi.StringPtrInput VersionDescription pulumi.StringPtrInput VpcId pulumi.StringPtrInput // The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches. VswitchId pulumi.StringPtrInput // The zone ID of the instance. ZoneId pulumi.StringPtrInput }
func (LaunchTemplateState) ElementType ¶
func (LaunchTemplateState) ElementType() reflect.Type
type LaunchTemplateSystemDisk ¶
type LaunchTemplateSystemDisk struct { // The category of the disk: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. Category *string `pulumi:"category"` // Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // The description of the data disk. Description *string `pulumi:"description"` Iops *string `pulumi:"iops"` // The name of the data disk. Name *string `pulumi:"name"` PerformanceLevel *string `pulumi:"performanceLevel"` // The size of the data disk. // - cloud:[5, 2000] // - cloud_efficiency:[20, 32768] // - cloud_ssd:[20, 32768] // - cloud_essd:[20, 32768] // - ephemeral_ssd: [5, 800] Size *int `pulumi:"size"` }
type LaunchTemplateSystemDiskArgs ¶
type LaunchTemplateSystemDiskArgs struct { // The category of the disk: // - cloud: Basic cloud disk. // - cloud_efficiency: Ultra cloud disk. // - cloud_ssd: SSD cloud Disks. // - ephemeral_ssd: local SSD Disks // - cloud_essd: ESSD cloud Disks. Category pulumi.StringPtrInput `pulumi:"category"` // Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // The description of the data disk. Description pulumi.StringPtrInput `pulumi:"description"` Iops pulumi.StringPtrInput `pulumi:"iops"` // The name of the data disk. Name pulumi.StringPtrInput `pulumi:"name"` PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"` // The size of the data disk. // - cloud:[5, 2000] // - cloud_efficiency:[20, 32768] // - cloud_ssd:[20, 32768] // - cloud_essd:[20, 32768] // - ephemeral_ssd: [5, 800] Size pulumi.IntPtrInput `pulumi:"size"` }
func (LaunchTemplateSystemDiskArgs) ElementType ¶
func (LaunchTemplateSystemDiskArgs) ElementType() reflect.Type
func (LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskOutput ¶
func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskOutput() LaunchTemplateSystemDiskOutput
func (LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskOutputWithContext ¶
func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskOutput
func (LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskPtrOutput ¶
func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput
func (LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskPtrOutputWithContext ¶
func (i LaunchTemplateSystemDiskArgs) ToLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskPtrOutput
type LaunchTemplateSystemDiskInput ¶
type LaunchTemplateSystemDiskInput interface { pulumi.Input ToLaunchTemplateSystemDiskOutput() LaunchTemplateSystemDiskOutput ToLaunchTemplateSystemDiskOutputWithContext(context.Context) LaunchTemplateSystemDiskOutput }
LaunchTemplateSystemDiskInput is an input type that accepts LaunchTemplateSystemDiskArgs and LaunchTemplateSystemDiskOutput values. You can construct a concrete instance of `LaunchTemplateSystemDiskInput` via:
LaunchTemplateSystemDiskArgs{...}
type LaunchTemplateSystemDiskOutput ¶
type LaunchTemplateSystemDiskOutput struct{ *pulumi.OutputState }
func (LaunchTemplateSystemDiskOutput) Category ¶
func (o LaunchTemplateSystemDiskOutput) Category() pulumi.StringPtrOutput
The category of the disk: - cloud: Basic cloud disk. - cloud_efficiency: Ultra cloud disk. - cloud_ssd: SSD cloud Disks. - ephemeral_ssd: local SSD Disks - cloud_essd: ESSD cloud Disks.
func (LaunchTemplateSystemDiskOutput) DeleteWithInstance ¶
func (o LaunchTemplateSystemDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.
func (LaunchTemplateSystemDiskOutput) Description ¶
func (o LaunchTemplateSystemDiskOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (LaunchTemplateSystemDiskOutput) ElementType ¶
func (LaunchTemplateSystemDiskOutput) ElementType() reflect.Type
func (LaunchTemplateSystemDiskOutput) Iops ¶
func (o LaunchTemplateSystemDiskOutput) Iops() pulumi.StringPtrOutput
func (LaunchTemplateSystemDiskOutput) Name ¶
func (o LaunchTemplateSystemDiskOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (LaunchTemplateSystemDiskOutput) PerformanceLevel ¶
func (o LaunchTemplateSystemDiskOutput) PerformanceLevel() pulumi.StringPtrOutput
func (LaunchTemplateSystemDiskOutput) Size ¶
func (o LaunchTemplateSystemDiskOutput) Size() pulumi.IntPtrOutput
The size of the data disk. - cloud:[5, 2000] - cloud_efficiency:[20, 32768] - cloud_ssd:[20, 32768] - cloud_essd:[20, 32768] - ephemeral_ssd: [5, 800]
func (LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskOutput ¶
func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskOutput() LaunchTemplateSystemDiskOutput
func (LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskOutputWithContext ¶
func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskOutput
func (LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskPtrOutput ¶
func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput
func (LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskPtrOutputWithContext ¶
func (o LaunchTemplateSystemDiskOutput) ToLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskPtrOutput
type LaunchTemplateSystemDiskPtrInput ¶
type LaunchTemplateSystemDiskPtrInput interface { pulumi.Input ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput ToLaunchTemplateSystemDiskPtrOutputWithContext(context.Context) LaunchTemplateSystemDiskPtrOutput }
LaunchTemplateSystemDiskPtrInput is an input type that accepts LaunchTemplateSystemDiskArgs, LaunchTemplateSystemDiskPtr and LaunchTemplateSystemDiskPtrOutput values. You can construct a concrete instance of `LaunchTemplateSystemDiskPtrInput` via:
LaunchTemplateSystemDiskArgs{...} or: nil
func LaunchTemplateSystemDiskPtr ¶
func LaunchTemplateSystemDiskPtr(v *LaunchTemplateSystemDiskArgs) LaunchTemplateSystemDiskPtrInput
type LaunchTemplateSystemDiskPtrOutput ¶
type LaunchTemplateSystemDiskPtrOutput struct{ *pulumi.OutputState }
func (LaunchTemplateSystemDiskPtrOutput) Category ¶
func (o LaunchTemplateSystemDiskPtrOutput) Category() pulumi.StringPtrOutput
The category of the disk: - cloud: Basic cloud disk. - cloud_efficiency: Ultra cloud disk. - cloud_ssd: SSD cloud Disks. - ephemeral_ssd: local SSD Disks - cloud_essd: ESSD cloud Disks.
func (LaunchTemplateSystemDiskPtrOutput) DeleteWithInstance ¶
func (o LaunchTemplateSystemDiskPtrOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloudSsd and cloudEssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param.
func (LaunchTemplateSystemDiskPtrOutput) Description ¶
func (o LaunchTemplateSystemDiskPtrOutput) Description() pulumi.StringPtrOutput
The description of the data disk.
func (LaunchTemplateSystemDiskPtrOutput) Elem ¶
func (o LaunchTemplateSystemDiskPtrOutput) Elem() LaunchTemplateSystemDiskOutput
func (LaunchTemplateSystemDiskPtrOutput) ElementType ¶
func (LaunchTemplateSystemDiskPtrOutput) ElementType() reflect.Type
func (LaunchTemplateSystemDiskPtrOutput) Iops ¶
func (o LaunchTemplateSystemDiskPtrOutput) Iops() pulumi.StringPtrOutput
func (LaunchTemplateSystemDiskPtrOutput) Name ¶
func (o LaunchTemplateSystemDiskPtrOutput) Name() pulumi.StringPtrOutput
The name of the data disk.
func (LaunchTemplateSystemDiskPtrOutput) PerformanceLevel ¶
func (o LaunchTemplateSystemDiskPtrOutput) PerformanceLevel() pulumi.StringPtrOutput
func (LaunchTemplateSystemDiskPtrOutput) Size ¶
func (o LaunchTemplateSystemDiskPtrOutput) Size() pulumi.IntPtrOutput
The size of the data disk. - cloud:[5, 2000] - cloud_efficiency:[20, 32768] - cloud_ssd:[20, 32768] - cloud_essd:[20, 32768] - ephemeral_ssd: [5, 800]
func (LaunchTemplateSystemDiskPtrOutput) ToLaunchTemplateSystemDiskPtrOutput ¶
func (o LaunchTemplateSystemDiskPtrOutput) ToLaunchTemplateSystemDiskPtrOutput() LaunchTemplateSystemDiskPtrOutput
func (LaunchTemplateSystemDiskPtrOutput) ToLaunchTemplateSystemDiskPtrOutputWithContext ¶
func (o LaunchTemplateSystemDiskPtrOutput) ToLaunchTemplateSystemDiskPtrOutputWithContext(ctx context.Context) LaunchTemplateSystemDiskPtrOutput
type ReservedInstance ¶
type ReservedInstance struct { pulumi.CustomResourceState // Description of the RI. 2 to 256 English or Chinese characters. It cannot start with http:// or https://. Description pulumi.StringPtrOutput `pulumi:"description"` // Number of instances allocated to an RI (An RI is a coupon that includes one or more allocated instances.). InstanceAmount pulumi.IntOutput `pulumi:"instanceAmount"` // Instance type of the RI. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.html). InstanceType pulumi.StringOutput `pulumi:"instanceType"` // 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://. Name pulumi.StringOutput `pulumi:"name"` // 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. OfferingType pulumi.StringPtrOutput `pulumi:"offeringType"` Period pulumi.IntPtrOutput `pulumi:"period"` // Term unit. Optional value: Year. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // The operating system type of the image used by the instance. Optional values: `Windows`, `Linux`. Default is `Linux`. Platform pulumi.StringOutput `pulumi:"platform"` // Resource group ID. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // Scope of the RI. Optional values: `Region`: region-level, `Zone`: zone-level. Default is `Region`. Scope pulumi.StringPtrOutput `pulumi:"scope"` // 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](https://www.alibabacloud.com/help/doc-detail/25610.html). ZoneId pulumi.StringPtrOutput `pulumi:"zoneId"` }
Provides an Reserved Instance resource.
> **NOTE:** Available in 1.65.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewReservedInstance(ctx, "default", &ecs.ReservedInstanceArgs{ InstanceType: pulumi.String("ecs.g6.large"), InstanceAmount: pulumi.Int(1), PeriodUnit: pulumi.String("Year"), OfferingType: pulumi.String("All Upfront"), Description: pulumi.String("ReservedInstance"), ZoneId: pulumi.String("cn-hangzhou-h"), Scope: pulumi.String("Zone"), Period: pulumi.Int(1), }) if err != nil { return err } return nil }) }
```
## Import
reservedInstance can be imported using id, e.g.
```sh
$ pulumi import alicloud:ecs/reservedInstance:ReservedInstance default ecsri-uf6df4xm0h3licit****
```
func GetReservedInstance ¶
func GetReservedInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReservedInstanceState, opts ...pulumi.ResourceOption) (*ReservedInstance, error)
GetReservedInstance gets an existing ReservedInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewReservedInstance ¶
func NewReservedInstance(ctx *pulumi.Context, name string, args *ReservedInstanceArgs, opts ...pulumi.ResourceOption) (*ReservedInstance, error)
NewReservedInstance registers a new resource with the given unique name, arguments, and options.
func (*ReservedInstance) ElementType ¶
func (*ReservedInstance) ElementType() reflect.Type
func (*ReservedInstance) ToReservedInstanceOutput ¶
func (i *ReservedInstance) ToReservedInstanceOutput() ReservedInstanceOutput
func (*ReservedInstance) ToReservedInstanceOutputWithContext ¶
func (i *ReservedInstance) ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput
type ReservedInstanceArgs ¶
type ReservedInstanceArgs struct { // Description of the RI. 2 to 256 English or Chinese characters. It cannot start with http:// or https://. Description pulumi.StringPtrInput // Number of instances allocated to an RI (An RI is a coupon that includes one or more allocated instances.). InstanceAmount pulumi.IntPtrInput // Instance type of the RI. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.html). InstanceType pulumi.StringInput // 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://. Name pulumi.StringPtrInput // 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. OfferingType pulumi.StringPtrInput Period pulumi.IntPtrInput // Term unit. Optional value: Year. PeriodUnit pulumi.StringPtrInput // The operating system type of the image used by the instance. Optional values: `Windows`, `Linux`. Default is `Linux`. Platform pulumi.StringPtrInput // Resource group ID. ResourceGroupId pulumi.StringPtrInput // Scope of the RI. Optional values: `Region`: region-level, `Zone`: zone-level. Default is `Region`. Scope pulumi.StringPtrInput // 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](https://www.alibabacloud.com/help/doc-detail/25610.html). ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a ReservedInstance resource.
func (ReservedInstanceArgs) ElementType ¶
func (ReservedInstanceArgs) ElementType() reflect.Type
type ReservedInstanceArray ¶
type ReservedInstanceArray []ReservedInstanceInput
func (ReservedInstanceArray) ElementType ¶
func (ReservedInstanceArray) ElementType() reflect.Type
func (ReservedInstanceArray) ToReservedInstanceArrayOutput ¶
func (i ReservedInstanceArray) ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput
func (ReservedInstanceArray) ToReservedInstanceArrayOutputWithContext ¶
func (i ReservedInstanceArray) ToReservedInstanceArrayOutputWithContext(ctx context.Context) ReservedInstanceArrayOutput
type ReservedInstanceArrayInput ¶
type ReservedInstanceArrayInput interface { pulumi.Input ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput ToReservedInstanceArrayOutputWithContext(context.Context) ReservedInstanceArrayOutput }
ReservedInstanceArrayInput is an input type that accepts ReservedInstanceArray and ReservedInstanceArrayOutput values. You can construct a concrete instance of `ReservedInstanceArrayInput` via:
ReservedInstanceArray{ ReservedInstanceArgs{...} }
type ReservedInstanceArrayOutput ¶
type ReservedInstanceArrayOutput struct{ *pulumi.OutputState }
func (ReservedInstanceArrayOutput) ElementType ¶
func (ReservedInstanceArrayOutput) ElementType() reflect.Type
func (ReservedInstanceArrayOutput) Index ¶
func (o ReservedInstanceArrayOutput) Index(i pulumi.IntInput) ReservedInstanceOutput
func (ReservedInstanceArrayOutput) ToReservedInstanceArrayOutput ¶
func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput
func (ReservedInstanceArrayOutput) ToReservedInstanceArrayOutputWithContext ¶
func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutputWithContext(ctx context.Context) ReservedInstanceArrayOutput
type ReservedInstanceInput ¶
type ReservedInstanceInput interface { pulumi.Input ToReservedInstanceOutput() ReservedInstanceOutput ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput }
type ReservedInstanceMap ¶
type ReservedInstanceMap map[string]ReservedInstanceInput
func (ReservedInstanceMap) ElementType ¶
func (ReservedInstanceMap) ElementType() reflect.Type
func (ReservedInstanceMap) ToReservedInstanceMapOutput ¶
func (i ReservedInstanceMap) ToReservedInstanceMapOutput() ReservedInstanceMapOutput
func (ReservedInstanceMap) ToReservedInstanceMapOutputWithContext ¶
func (i ReservedInstanceMap) ToReservedInstanceMapOutputWithContext(ctx context.Context) ReservedInstanceMapOutput
type ReservedInstanceMapInput ¶
type ReservedInstanceMapInput interface { pulumi.Input ToReservedInstanceMapOutput() ReservedInstanceMapOutput ToReservedInstanceMapOutputWithContext(context.Context) ReservedInstanceMapOutput }
ReservedInstanceMapInput is an input type that accepts ReservedInstanceMap and ReservedInstanceMapOutput values. You can construct a concrete instance of `ReservedInstanceMapInput` via:
ReservedInstanceMap{ "key": ReservedInstanceArgs{...} }
type ReservedInstanceMapOutput ¶
type ReservedInstanceMapOutput struct{ *pulumi.OutputState }
func (ReservedInstanceMapOutput) ElementType ¶
func (ReservedInstanceMapOutput) ElementType() reflect.Type
func (ReservedInstanceMapOutput) MapIndex ¶
func (o ReservedInstanceMapOutput) MapIndex(k pulumi.StringInput) ReservedInstanceOutput
func (ReservedInstanceMapOutput) ToReservedInstanceMapOutput ¶
func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutput() ReservedInstanceMapOutput
func (ReservedInstanceMapOutput) ToReservedInstanceMapOutputWithContext ¶
func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutputWithContext(ctx context.Context) ReservedInstanceMapOutput
type ReservedInstanceOutput ¶
type ReservedInstanceOutput struct{ *pulumi.OutputState }
func (ReservedInstanceOutput) ElementType ¶
func (ReservedInstanceOutput) ElementType() reflect.Type
func (ReservedInstanceOutput) ToReservedInstanceOutput ¶
func (o ReservedInstanceOutput) ToReservedInstanceOutput() ReservedInstanceOutput
func (ReservedInstanceOutput) ToReservedInstanceOutputWithContext ¶
func (o ReservedInstanceOutput) ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput
type ReservedInstanceState ¶
type ReservedInstanceState struct { // Description of the RI. 2 to 256 English or Chinese characters. It cannot start with http:// or https://. Description pulumi.StringPtrInput // Number of instances allocated to an RI (An RI is a coupon that includes one or more allocated instances.). InstanceAmount pulumi.IntPtrInput // Instance type of the RI. For more information, see [Instance type families](https://www.alibabacloud.com/help/doc-detail/25378.html). InstanceType pulumi.StringPtrInput // 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://. Name pulumi.StringPtrInput // 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. OfferingType pulumi.StringPtrInput Period pulumi.IntPtrInput // Term unit. Optional value: Year. PeriodUnit pulumi.StringPtrInput // The operating system type of the image used by the instance. Optional values: `Windows`, `Linux`. Default is `Linux`. Platform pulumi.StringPtrInput // Resource group ID. ResourceGroupId pulumi.StringPtrInput // Scope of the RI. Optional values: `Region`: region-level, `Zone`: zone-level. Default is `Region`. Scope pulumi.StringPtrInput // 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](https://www.alibabacloud.com/help/doc-detail/25610.html). ZoneId pulumi.StringPtrInput }
func (ReservedInstanceState) ElementType ¶
func (ReservedInstanceState) ElementType() reflect.Type
type SecurityGroup ¶
type SecurityGroup struct { pulumi.CustomResourceState // The security group description. Defaults to null. Description pulumi.StringPtrOutput `pulumi:"description"` // Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it. // // Deprecated: Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it. InnerAccess pulumi.BoolOutput `pulumi:"innerAccess"` // Whether to allow both machines to access each other on all ports in the same security group. Valid values: ["Accept", "Drop"] InnerAccessPolicy pulumi.StringOutput `pulumi:"innerAccessPolicy"` // The name of the security group. Defaults to null. Name pulumi.StringOutput `pulumi:"name"` // The Id of resource group which the securityGroup belongs. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The type of the security group. Valid values: // `normal`: basic security group. // `enterprise`: advanced security group For more information. SecurityGroupType pulumi.StringPtrOutput `pulumi:"securityGroupType"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The VPC ID. VpcId pulumi.StringPtrOutput `pulumi:"vpcId"` }
## Import
Security Group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/securityGroup:SecurityGroup example sg-abc123456
```
func GetSecurityGroup ¶
func GetSecurityGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityGroupState, opts ...pulumi.ResourceOption) (*SecurityGroup, error)
GetSecurityGroup gets an existing SecurityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecurityGroup ¶
func NewSecurityGroup(ctx *pulumi.Context, name string, args *SecurityGroupArgs, opts ...pulumi.ResourceOption) (*SecurityGroup, error)
NewSecurityGroup registers a new resource with the given unique name, arguments, and options.
func (*SecurityGroup) ElementType ¶
func (*SecurityGroup) ElementType() reflect.Type
func (*SecurityGroup) ToSecurityGroupOutput ¶
func (i *SecurityGroup) ToSecurityGroupOutput() SecurityGroupOutput
func (*SecurityGroup) ToSecurityGroupOutputWithContext ¶
func (i *SecurityGroup) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
type SecurityGroupArgs ¶
type SecurityGroupArgs struct { // The security group description. Defaults to null. Description pulumi.StringPtrInput // Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it. // // Deprecated: Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it. InnerAccess pulumi.BoolPtrInput // Whether to allow both machines to access each other on all ports in the same security group. Valid values: ["Accept", "Drop"] InnerAccessPolicy pulumi.StringPtrInput // The name of the security group. Defaults to null. Name pulumi.StringPtrInput // The Id of resource group which the securityGroup belongs. ResourceGroupId pulumi.StringPtrInput // The type of the security group. Valid values: // `normal`: basic security group. // `enterprise`: advanced security group For more information. SecurityGroupType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The VPC ID. VpcId pulumi.StringPtrInput }
The set of arguments for constructing a SecurityGroup resource.
func (SecurityGroupArgs) ElementType ¶
func (SecurityGroupArgs) ElementType() reflect.Type
type SecurityGroupArray ¶
type SecurityGroupArray []SecurityGroupInput
func (SecurityGroupArray) ElementType ¶
func (SecurityGroupArray) ElementType() reflect.Type
func (SecurityGroupArray) ToSecurityGroupArrayOutput ¶
func (i SecurityGroupArray) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
func (SecurityGroupArray) ToSecurityGroupArrayOutputWithContext ¶
func (i SecurityGroupArray) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
type SecurityGroupArrayInput ¶
type SecurityGroupArrayInput interface { pulumi.Input ToSecurityGroupArrayOutput() SecurityGroupArrayOutput ToSecurityGroupArrayOutputWithContext(context.Context) SecurityGroupArrayOutput }
SecurityGroupArrayInput is an input type that accepts SecurityGroupArray and SecurityGroupArrayOutput values. You can construct a concrete instance of `SecurityGroupArrayInput` via:
SecurityGroupArray{ SecurityGroupArgs{...} }
type SecurityGroupArrayOutput ¶
type SecurityGroupArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupArrayOutput) ElementType ¶
func (SecurityGroupArrayOutput) ElementType() reflect.Type
func (SecurityGroupArrayOutput) Index ¶
func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput
func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutput ¶
func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext ¶
func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
type SecurityGroupInput ¶
type SecurityGroupInput interface { pulumi.Input ToSecurityGroupOutput() SecurityGroupOutput ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput }
type SecurityGroupMap ¶
type SecurityGroupMap map[string]SecurityGroupInput
func (SecurityGroupMap) ElementType ¶
func (SecurityGroupMap) ElementType() reflect.Type
func (SecurityGroupMap) ToSecurityGroupMapOutput ¶
func (i SecurityGroupMap) ToSecurityGroupMapOutput() SecurityGroupMapOutput
func (SecurityGroupMap) ToSecurityGroupMapOutputWithContext ¶
func (i SecurityGroupMap) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
type SecurityGroupMapInput ¶
type SecurityGroupMapInput interface { pulumi.Input ToSecurityGroupMapOutput() SecurityGroupMapOutput ToSecurityGroupMapOutputWithContext(context.Context) SecurityGroupMapOutput }
SecurityGroupMapInput is an input type that accepts SecurityGroupMap and SecurityGroupMapOutput values. You can construct a concrete instance of `SecurityGroupMapInput` via:
SecurityGroupMap{ "key": SecurityGroupArgs{...} }
type SecurityGroupMapOutput ¶
type SecurityGroupMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupMapOutput) ElementType ¶
func (SecurityGroupMapOutput) ElementType() reflect.Type
func (SecurityGroupMapOutput) MapIndex ¶
func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput
func (SecurityGroupMapOutput) ToSecurityGroupMapOutput ¶
func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput
func (SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext ¶
func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
type SecurityGroupOutput ¶
type SecurityGroupOutput struct{ *pulumi.OutputState }
func (SecurityGroupOutput) ElementType ¶
func (SecurityGroupOutput) ElementType() reflect.Type
func (SecurityGroupOutput) ToSecurityGroupOutput ¶
func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput
func (SecurityGroupOutput) ToSecurityGroupOutputWithContext ¶
func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
type SecurityGroupRule ¶
type SecurityGroupRule struct { pulumi.CustomResourceState // The target IP address range. The default value is 0.0.0.0/0 (which means no restriction will be applied). Other supported formats include 10.159.6.18/12. Only IPv4 is supported. CidrIp pulumi.StringPtrOutput `pulumi:"cidrIp"` // The description of the security group rule. The description can be up to 1 to 512 characters in length. Defaults to null. Description pulumi.StringPtrOutput `pulumi:"description"` // The protocol. Can be `tcp`, `udp`, `icmp`, `gre` or `all`. IpProtocol pulumi.StringOutput `pulumi:"ipProtocol"` // Network type, can be either `internet` or `intranet`, the default value is `internet`. NicType pulumi.StringOutput `pulumi:"nicType"` // Authorization policy, can be either `accept` or `drop`, the default value is `accept`. Policy pulumi.StringPtrOutput `pulumi:"policy"` // The range of port numbers relevant to the IP protocol. Default to "-1/-1". When the protocol is tcp or udp, each side port number range from 1 to 65535 and '-1/-1' will be invalid. // For example, `1/200` means that the range of the port numbers is 1-200. Other protocols' 'port_range' can only be "-1/-1", and other values will be invalid. PortRange pulumi.StringPtrOutput `pulumi:"portRange"` // The ID of the source/destination prefix list to which you want to control access. **NOTE:** If you specify `cidrIp`,`sourceSecurityGroupId` parameter, this parameter is ignored. PrefixListId pulumi.StringOutput `pulumi:"prefixListId"` // Authorization policy priority, with parameter values: `1-100`, default value: 1. Priority pulumi.IntPtrOutput `pulumi:"priority"` // The security group to apply this rule to. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The Alibaba Cloud user account Id of the target security group when security groups are authorized across accounts. This parameter is invalid if `cidrIp` has already been set. SourceGroupOwnerAccount pulumi.StringPtrOutput `pulumi:"sourceGroupOwnerAccount"` // The target security group ID within the same region. If this field is specified, the `nicType` can only select `intranet`. SourceSecurityGroupId pulumi.StringPtrOutput `pulumi:"sourceSecurityGroupId"` // The type of rule being created. Valid options are `ingress` (inbound) or `egress` (outbound). Type pulumi.StringOutput `pulumi:"type"` }
func GetSecurityGroupRule ¶
func GetSecurityGroupRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityGroupRuleState, opts ...pulumi.ResourceOption) (*SecurityGroupRule, error)
GetSecurityGroupRule gets an existing SecurityGroupRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecurityGroupRule ¶
func NewSecurityGroupRule(ctx *pulumi.Context, name string, args *SecurityGroupRuleArgs, opts ...pulumi.ResourceOption) (*SecurityGroupRule, error)
NewSecurityGroupRule registers a new resource with the given unique name, arguments, and options.
func (*SecurityGroupRule) ElementType ¶
func (*SecurityGroupRule) ElementType() reflect.Type
func (*SecurityGroupRule) ToSecurityGroupRuleOutput ¶
func (i *SecurityGroupRule) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput
func (*SecurityGroupRule) ToSecurityGroupRuleOutputWithContext ¶
func (i *SecurityGroupRule) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput
type SecurityGroupRuleArgs ¶
type SecurityGroupRuleArgs struct { // The target IP address range. The default value is 0.0.0.0/0 (which means no restriction will be applied). Other supported formats include 10.159.6.18/12. Only IPv4 is supported. CidrIp pulumi.StringPtrInput // The description of the security group rule. The description can be up to 1 to 512 characters in length. Defaults to null. Description pulumi.StringPtrInput // The protocol. Can be `tcp`, `udp`, `icmp`, `gre` or `all`. IpProtocol pulumi.StringInput // Network type, can be either `internet` or `intranet`, the default value is `internet`. NicType pulumi.StringPtrInput // Authorization policy, can be either `accept` or `drop`, the default value is `accept`. Policy pulumi.StringPtrInput // The range of port numbers relevant to the IP protocol. Default to "-1/-1". When the protocol is tcp or udp, each side port number range from 1 to 65535 and '-1/-1' will be invalid. // For example, `1/200` means that the range of the port numbers is 1-200. Other protocols' 'port_range' can only be "-1/-1", and other values will be invalid. PortRange pulumi.StringPtrInput // The ID of the source/destination prefix list to which you want to control access. **NOTE:** If you specify `cidrIp`,`sourceSecurityGroupId` parameter, this parameter is ignored. PrefixListId pulumi.StringPtrInput // Authorization policy priority, with parameter values: `1-100`, default value: 1. Priority pulumi.IntPtrInput // The security group to apply this rule to. SecurityGroupId pulumi.StringInput // The Alibaba Cloud user account Id of the target security group when security groups are authorized across accounts. This parameter is invalid if `cidrIp` has already been set. SourceGroupOwnerAccount pulumi.StringPtrInput // The target security group ID within the same region. If this field is specified, the `nicType` can only select `intranet`. SourceSecurityGroupId pulumi.StringPtrInput // The type of rule being created. Valid options are `ingress` (inbound) or `egress` (outbound). Type pulumi.StringInput }
The set of arguments for constructing a SecurityGroupRule resource.
func (SecurityGroupRuleArgs) ElementType ¶
func (SecurityGroupRuleArgs) ElementType() reflect.Type
type SecurityGroupRuleArray ¶
type SecurityGroupRuleArray []SecurityGroupRuleInput
func (SecurityGroupRuleArray) ElementType ¶
func (SecurityGroupRuleArray) ElementType() reflect.Type
func (SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput ¶
func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
func (SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext ¶
func (i SecurityGroupRuleArray) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput
type SecurityGroupRuleArrayInput ¶
type SecurityGroupRuleArrayInput interface { pulumi.Input ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput ToSecurityGroupRuleArrayOutputWithContext(context.Context) SecurityGroupRuleArrayOutput }
SecurityGroupRuleArrayInput is an input type that accepts SecurityGroupRuleArray and SecurityGroupRuleArrayOutput values. You can construct a concrete instance of `SecurityGroupRuleArrayInput` via:
SecurityGroupRuleArray{ SecurityGroupRuleArgs{...} }
type SecurityGroupRuleArrayOutput ¶
type SecurityGroupRuleArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupRuleArrayOutput) ElementType ¶
func (SecurityGroupRuleArrayOutput) ElementType() reflect.Type
func (SecurityGroupRuleArrayOutput) Index ¶
func (o SecurityGroupRuleArrayOutput) Index(i pulumi.IntInput) SecurityGroupRuleOutput
func (SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput ¶
func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutput() SecurityGroupRuleArrayOutput
func (SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext ¶
func (o SecurityGroupRuleArrayOutput) ToSecurityGroupRuleArrayOutputWithContext(ctx context.Context) SecurityGroupRuleArrayOutput
type SecurityGroupRuleInput ¶
type SecurityGroupRuleInput interface { pulumi.Input ToSecurityGroupRuleOutput() SecurityGroupRuleOutput ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput }
type SecurityGroupRuleMap ¶
type SecurityGroupRuleMap map[string]SecurityGroupRuleInput
func (SecurityGroupRuleMap) ElementType ¶
func (SecurityGroupRuleMap) ElementType() reflect.Type
func (SecurityGroupRuleMap) ToSecurityGroupRuleMapOutput ¶
func (i SecurityGroupRuleMap) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
func (SecurityGroupRuleMap) ToSecurityGroupRuleMapOutputWithContext ¶
func (i SecurityGroupRuleMap) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput
type SecurityGroupRuleMapInput ¶
type SecurityGroupRuleMapInput interface { pulumi.Input ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput ToSecurityGroupRuleMapOutputWithContext(context.Context) SecurityGroupRuleMapOutput }
SecurityGroupRuleMapInput is an input type that accepts SecurityGroupRuleMap and SecurityGroupRuleMapOutput values. You can construct a concrete instance of `SecurityGroupRuleMapInput` via:
SecurityGroupRuleMap{ "key": SecurityGroupRuleArgs{...} }
type SecurityGroupRuleMapOutput ¶
type SecurityGroupRuleMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupRuleMapOutput) ElementType ¶
func (SecurityGroupRuleMapOutput) ElementType() reflect.Type
func (SecurityGroupRuleMapOutput) MapIndex ¶
func (o SecurityGroupRuleMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupRuleOutput
func (SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput ¶
func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutput() SecurityGroupRuleMapOutput
func (SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext ¶
func (o SecurityGroupRuleMapOutput) ToSecurityGroupRuleMapOutputWithContext(ctx context.Context) SecurityGroupRuleMapOutput
type SecurityGroupRuleOutput ¶
type SecurityGroupRuleOutput struct{ *pulumi.OutputState }
func (SecurityGroupRuleOutput) ElementType ¶
func (SecurityGroupRuleOutput) ElementType() reflect.Type
func (SecurityGroupRuleOutput) ToSecurityGroupRuleOutput ¶
func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutput() SecurityGroupRuleOutput
func (SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext ¶
func (o SecurityGroupRuleOutput) ToSecurityGroupRuleOutputWithContext(ctx context.Context) SecurityGroupRuleOutput
type SecurityGroupRuleState ¶
type SecurityGroupRuleState struct { // The target IP address range. The default value is 0.0.0.0/0 (which means no restriction will be applied). Other supported formats include 10.159.6.18/12. Only IPv4 is supported. CidrIp pulumi.StringPtrInput // The description of the security group rule. The description can be up to 1 to 512 characters in length. Defaults to null. Description pulumi.StringPtrInput // The protocol. Can be `tcp`, `udp`, `icmp`, `gre` or `all`. IpProtocol pulumi.StringPtrInput // Network type, can be either `internet` or `intranet`, the default value is `internet`. NicType pulumi.StringPtrInput // Authorization policy, can be either `accept` or `drop`, the default value is `accept`. Policy pulumi.StringPtrInput // The range of port numbers relevant to the IP protocol. Default to "-1/-1". When the protocol is tcp or udp, each side port number range from 1 to 65535 and '-1/-1' will be invalid. // For example, `1/200` means that the range of the port numbers is 1-200. Other protocols' 'port_range' can only be "-1/-1", and other values will be invalid. PortRange pulumi.StringPtrInput // The ID of the source/destination prefix list to which you want to control access. **NOTE:** If you specify `cidrIp`,`sourceSecurityGroupId` parameter, this parameter is ignored. PrefixListId pulumi.StringPtrInput // Authorization policy priority, with parameter values: `1-100`, default value: 1. Priority pulumi.IntPtrInput // The security group to apply this rule to. SecurityGroupId pulumi.StringPtrInput // The Alibaba Cloud user account Id of the target security group when security groups are authorized across accounts. This parameter is invalid if `cidrIp` has already been set. SourceGroupOwnerAccount pulumi.StringPtrInput // The target security group ID within the same region. If this field is specified, the `nicType` can only select `intranet`. SourceSecurityGroupId pulumi.StringPtrInput // The type of rule being created. Valid options are `ingress` (inbound) or `egress` (outbound). Type pulumi.StringPtrInput }
func (SecurityGroupRuleState) ElementType ¶
func (SecurityGroupRuleState) ElementType() reflect.Type
type SecurityGroupState ¶
type SecurityGroupState struct { // The security group description. Defaults to null. Description pulumi.StringPtrInput // Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it. // // Deprecated: Field 'inner_access' has been deprecated from provider version 1.55.3. Use 'inner_access_policy' replaces it. InnerAccess pulumi.BoolPtrInput // Whether to allow both machines to access each other on all ports in the same security group. Valid values: ["Accept", "Drop"] InnerAccessPolicy pulumi.StringPtrInput // The name of the security group. Defaults to null. Name pulumi.StringPtrInput // The Id of resource group which the securityGroup belongs. ResourceGroupId pulumi.StringPtrInput // The type of the security group. Valid values: // `normal`: basic security group. // `enterprise`: advanced security group For more information. SecurityGroupType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The VPC ID. VpcId pulumi.StringPtrInput }
func (SecurityGroupState) ElementType ¶
func (SecurityGroupState) ElementType() reflect.Type
type Snapshot ¶
type Snapshot struct { pulumi.CustomResourceState Category pulumi.StringPtrOutput `pulumi:"category"` // Description of the snapshot. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrOutput `pulumi:"description"` // The source disk ID. DiskId pulumi.StringOutput `pulumi:"diskId"` Force pulumi.BoolPtrOutput `pulumi:"force"` InstantAccess pulumi.BoolPtrOutput `pulumi:"instantAccess"` InstantAccessRetentionDays pulumi.IntPtrOutput `pulumi:"instantAccessRetentionDays"` // The name of the snapshot to be created. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). // It cannot start with auto, because snapshot names starting with auto are recognized as automatic snapshots. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead. Name pulumi.StringOutput `pulumi:"name"` // The ID of the resource group. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` SnapshotName pulumi.StringOutput `pulumi:"snapshotName"` Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewSnapshot(ctx, "snapshot", &ecs.SnapshotArgs{ DiskId: pulumi.Any(alicloud_disk_attachment.Instance - attachment.Disk_id), Description: pulumi.String("this snapshot is created for testing"), Tags: pulumi.AnyMap{ "version": pulumi.Any("1.2"), }, }) if err != nil { return err } return nil }) }
```
## Import
Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/snapshot:Snapshot snapshot s-abc1234567890000
```
func GetSnapshot ¶
func GetSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)
GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshot ¶
func NewSnapshot(ctx *pulumi.Context, name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)
NewSnapshot registers a new resource with the given unique name, arguments, and options.
func (*Snapshot) ElementType ¶
func (*Snapshot) ToSnapshotOutput ¶
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶
type SnapshotArgs struct { Category pulumi.StringPtrInput // Description of the snapshot. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput // The source disk ID. DiskId pulumi.StringInput Force pulumi.BoolPtrInput InstantAccess pulumi.BoolPtrInput InstantAccessRetentionDays pulumi.IntPtrInput // The name of the snapshot to be created. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). // It cannot start with auto, because snapshot names starting with auto are recognized as automatic snapshots. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead. Name pulumi.StringPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput RetentionDays pulumi.IntPtrInput SnapshotName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a Snapshot resource.
func (SnapshotArgs) ElementType ¶
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶
type SnapshotArrayInput interface { pulumi.Input ToSnapshotArrayOutput() SnapshotArrayOutput ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput }
SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:
SnapshotArray{ SnapshotArgs{...} }
type SnapshotArrayOutput ¶
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotInput ¶
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶
type SnapshotMapInput interface { pulumi.Input ToSnapshotMapOutput() SnapshotMapOutput ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput }
SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:
SnapshotMap{ "key": SnapshotArgs{...} }
type SnapshotMapOutput ¶
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) ElementType ¶
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) ToSnapshotOutput ¶
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotPolicy ¶
type SnapshotPolicy struct { pulumi.CustomResourceState CopiedSnapshotsRetentionDays pulumi.IntPtrOutput `pulumi:"copiedSnapshotsRetentionDays"` EnableCrossRegionCopy pulumi.BoolPtrOutput `pulumi:"enableCrossRegionCopy"` // The snapshot policy name. Name pulumi.StringOutput `pulumi:"name"` // The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. // - A maximum of seven time points can be selected. // - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,). RepeatWeekdays pulumi.StringArrayOutput `pulumi:"repeatWeekdays"` // The snapshot retention time, and the unit of measurement is day. Optional values: // - -1: The automatic snapshots are retained permanently. // - [1, 65536]: The number of days retained. RetentionDays pulumi.IntOutput `pulumi:"retentionDays"` Status pulumi.StringOutput `pulumi:"status"` Tags pulumi.MapOutput `pulumi:"tags"` TargetCopyRegions pulumi.StringArrayOutput `pulumi:"targetCopyRegions"` // The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. // - A maximum of 24 time points can be selected. // - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,). TimePoints pulumi.StringArrayOutput `pulumi:"timePoints"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewSnapshotPolicy(ctx, "sp", &ecs.SnapshotPolicyArgs{ RepeatWeekdays: pulumi.StringArray{ pulumi.String("1"), pulumi.String("2"), pulumi.String("3"), }, RetentionDays: -1, TimePoints: pulumi.StringArray{ pulumi.String("1"), pulumi.String("22"), pulumi.String("23"), }, }) if err != nil { return err } return nil }) }
```
## Import
Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ecs/snapshotPolicy:SnapshotPolicy snapshot sp-abc1234567890000
```
func GetSnapshotPolicy ¶
func GetSnapshotPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotPolicyState, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)
GetSnapshotPolicy gets an existing SnapshotPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotPolicy ¶
func NewSnapshotPolicy(ctx *pulumi.Context, name string, args *SnapshotPolicyArgs, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)
NewSnapshotPolicy registers a new resource with the given unique name, arguments, and options.
func (*SnapshotPolicy) ElementType ¶
func (*SnapshotPolicy) ElementType() reflect.Type
func (*SnapshotPolicy) ToSnapshotPolicyOutput ¶
func (i *SnapshotPolicy) ToSnapshotPolicyOutput() SnapshotPolicyOutput
func (*SnapshotPolicy) ToSnapshotPolicyOutputWithContext ¶
func (i *SnapshotPolicy) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
type SnapshotPolicyArgs ¶
type SnapshotPolicyArgs struct { CopiedSnapshotsRetentionDays pulumi.IntPtrInput EnableCrossRegionCopy pulumi.BoolPtrInput // The snapshot policy name. Name pulumi.StringPtrInput // The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. // - A maximum of seven time points can be selected. // - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,). RepeatWeekdays pulumi.StringArrayInput // The snapshot retention time, and the unit of measurement is day. Optional values: // - -1: The automatic snapshots are retained permanently. // - [1, 65536]: The number of days retained. RetentionDays pulumi.IntInput Tags pulumi.MapInput TargetCopyRegions pulumi.StringArrayInput // The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. // - A maximum of 24 time points can be selected. // - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,). TimePoints pulumi.StringArrayInput }
The set of arguments for constructing a SnapshotPolicy resource.
func (SnapshotPolicyArgs) ElementType ¶
func (SnapshotPolicyArgs) ElementType() reflect.Type
type SnapshotPolicyArray ¶
type SnapshotPolicyArray []SnapshotPolicyInput
func (SnapshotPolicyArray) ElementType ¶
func (SnapshotPolicyArray) ElementType() reflect.Type
func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutput ¶
func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext ¶
func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
type SnapshotPolicyArrayInput ¶
type SnapshotPolicyArrayInput interface { pulumi.Input ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput ToSnapshotPolicyArrayOutputWithContext(context.Context) SnapshotPolicyArrayOutput }
SnapshotPolicyArrayInput is an input type that accepts SnapshotPolicyArray and SnapshotPolicyArrayOutput values. You can construct a concrete instance of `SnapshotPolicyArrayInput` via:
SnapshotPolicyArray{ SnapshotPolicyArgs{...} }
type SnapshotPolicyArrayOutput ¶
type SnapshotPolicyArrayOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyArrayOutput) ElementType ¶
func (SnapshotPolicyArrayOutput) ElementType() reflect.Type
func (SnapshotPolicyArrayOutput) Index ¶
func (o SnapshotPolicyArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyOutput
func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput ¶
func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext ¶
func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
type SnapshotPolicyInput ¶
type SnapshotPolicyInput interface { pulumi.Input ToSnapshotPolicyOutput() SnapshotPolicyOutput ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput }
type SnapshotPolicyMap ¶
type SnapshotPolicyMap map[string]SnapshotPolicyInput
func (SnapshotPolicyMap) ElementType ¶
func (SnapshotPolicyMap) ElementType() reflect.Type
func (SnapshotPolicyMap) ToSnapshotPolicyMapOutput ¶
func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
func (SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext ¶
func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
type SnapshotPolicyMapInput ¶
type SnapshotPolicyMapInput interface { pulumi.Input ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput ToSnapshotPolicyMapOutputWithContext(context.Context) SnapshotPolicyMapOutput }
SnapshotPolicyMapInput is an input type that accepts SnapshotPolicyMap and SnapshotPolicyMapOutput values. You can construct a concrete instance of `SnapshotPolicyMapInput` via:
SnapshotPolicyMap{ "key": SnapshotPolicyArgs{...} }
type SnapshotPolicyMapOutput ¶
type SnapshotPolicyMapOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyMapOutput) ElementType ¶
func (SnapshotPolicyMapOutput) ElementType() reflect.Type
func (SnapshotPolicyMapOutput) MapIndex ¶
func (o SnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyOutput
func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput ¶
func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext ¶
func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
type SnapshotPolicyOutput ¶
type SnapshotPolicyOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyOutput) ElementType ¶
func (SnapshotPolicyOutput) ElementType() reflect.Type
func (SnapshotPolicyOutput) ToSnapshotPolicyOutput ¶
func (o SnapshotPolicyOutput) ToSnapshotPolicyOutput() SnapshotPolicyOutput
func (SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext ¶
func (o SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
type SnapshotPolicyState ¶
type SnapshotPolicyState struct { CopiedSnapshotsRetentionDays pulumi.IntPtrInput EnableCrossRegionCopy pulumi.BoolPtrInput // The snapshot policy name. Name pulumi.StringPtrInput // The automatic snapshot repetition dates. The unit of measurement is day and the repeating cycle is a week. Value range: [1, 7], which represents days starting from Monday to Sunday, for example 1 indicates Monday. When you want to schedule multiple automatic snapshot tasks for a disk in a week, you can set the RepeatWeekdays to an array. // - A maximum of seven time points can be selected. // - The format is an JSON array of ["1", "2", … "7"] and the time points are separated by commas (,). RepeatWeekdays pulumi.StringArrayInput // The snapshot retention time, and the unit of measurement is day. Optional values: // - -1: The automatic snapshots are retained permanently. // - [1, 65536]: The number of days retained. RetentionDays pulumi.IntPtrInput Status pulumi.StringPtrInput Tags pulumi.MapInput TargetCopyRegions pulumi.StringArrayInput // The automatic snapshot creation schedule, and the unit of measurement is hour. Value range: [0, 23], which represents from 00:00 to 24:00, for example 1 indicates 01:00. When you want to schedule multiple automatic snapshot tasks for a disk in a day, you can set the TimePoints to an array. // - A maximum of 24 time points can be selected. // - The format is an JSON array of ["0", "1", … "23"] and the time points are separated by commas (,). TimePoints pulumi.StringArrayInput }
func (SnapshotPolicyState) ElementType ¶
func (SnapshotPolicyState) ElementType() reflect.Type
type SnapshotState ¶
type SnapshotState struct { Category pulumi.StringPtrInput // Description of the snapshot. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null. Description pulumi.StringPtrInput // The source disk ID. DiskId pulumi.StringPtrInput Force pulumi.BoolPtrInput InstantAccess pulumi.BoolPtrInput InstantAccessRetentionDays pulumi.IntPtrInput // The name of the snapshot to be created. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). // It cannot start with auto, because snapshot names starting with auto are recognized as automatic snapshots. // // Deprecated: Field 'name' has been deprecated from provider version 1.120.0. New field 'snapshot_name' instead. Name pulumi.StringPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput RetentionDays pulumi.IntPtrInput SnapshotName pulumi.StringPtrInput Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (SnapshotState) ElementType ¶
func (SnapshotState) ElementType() reflect.Type
Source Files
¶
- autoProvisioningGroup.go
- autoSnapshotPolicy.go
- command.go
- copyImage.go
- dedicatedHost.go
- disk.go
- diskAttachment.go
- ecsAutoSnapshotPolicyAttachment.go
- ecsDedicatedHostCluster.go
- ecsDeploymentSet.go
- ecsDisk.go
- ecsDiskAttachment.go
- ecsKeyPair.go
- ecsKeyPairAttachment.go
- ecsLaunchTemplate.go
- ecsNetworkInterface.go
- ecsNetworkInterfaceAttachment.go
- ecsPrefixList.go
- ecsSessionManagerStatus.go
- ecsSnapshot.go
- eip.go
- eipAddress.go
- eipAssociation.go
- getAutoSnapshotPolicies.go
- getCommands.go
- getDedicatedHosts.go
- getDisks.go
- getEcsDedicatedHostClusters.go
- getEcsDeploymentSets.go
- getEcsDisks.go
- getEcsKeyPairs.go
- getEcsLaunchTemplates.go
- getEcsNetworkInterfaces.go
- getEcsPrefixLists.go
- getEcsSnapshots.go
- getEipAddresses.go
- getEips.go
- getHpcClusters.go
- getImages.go
- getInstanceTypeFamilies.go
- getInstanceTypes.go
- getInstances.go
- getKeyPairs.go
- getNetworkInterfaces.go
- getSecurityGroupRules.go
- getSecurityGroups.go
- getSnapshots.go
- hpcCluster.go
- image.go
- imageCopy.go
- imageExport.go
- imageImport.go
- imageSharePermission.go
- init.go
- instance.go
- keyPair.go
- keyPairAttachment.go
- launchTemplate.go
- pulumiTypes.go
- reservedInstance.go
- securityGroup.go
- securityGroupRule.go
- snapshot.go
- snapshotPolicy.go