Documentation
¶
Index ¶
- type CustomImage
- type CustomImageArgs
- type CustomImageArray
- type CustomImageArrayInput
- type CustomImageArrayOutput
- func (CustomImageArrayOutput) ElementType() reflect.Type
- func (o CustomImageArrayOutput) Index(i pulumi.IntInput) CustomImageOutput
- func (o CustomImageArrayOutput) ToCustomImageArrayOutput() CustomImageArrayOutput
- func (o CustomImageArrayOutput) ToCustomImageArrayOutputWithContext(ctx context.Context) CustomImageArrayOutput
- type CustomImageInput
- type CustomImageMap
- type CustomImageMapInput
- type CustomImageMapOutput
- func (CustomImageMapOutput) ElementType() reflect.Type
- func (o CustomImageMapOutput) MapIndex(k pulumi.StringInput) CustomImageOutput
- func (o CustomImageMapOutput) ToCustomImageMapOutput() CustomImageMapOutput
- func (o CustomImageMapOutput) ToCustomImageMapOutputWithContext(ctx context.Context) CustomImageMapOutput
- type CustomImageOutput
- type CustomImageState
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleArray
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- type FirewallRuleInput
- type FirewallRuleMap
- type FirewallRuleMapInput
- type FirewallRuleMapOutput
- func (FirewallRuleMapOutput) ElementType() reflect.Type
- func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- type FirewallRuleOutput
- type FirewallRuleState
- 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 GetImagesImageInput
- type GetImagesImageOutput
- func (o GetImagesImageOutput) Description() pulumi.StringOutput
- func (GetImagesImageOutput) ElementType() reflect.Type
- func (o GetImagesImageOutput) Id() pulumi.StringOutput
- func (o GetImagesImageOutput) ImageId() pulumi.StringOutput
- func (o GetImagesImageOutput) ImageName() pulumi.StringOutput
- func (o GetImagesImageOutput) ImageType() pulumi.StringOutput
- func (o GetImagesImageOutput) Platform() pulumi.StringOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
- type GetImagesOutputArgs
- type GetImagesResult
- type GetImagesResultOutput
- func (GetImagesResultOutput) ElementType() reflect.Type
- func (o GetImagesResultOutput) Id() pulumi.StringOutput
- func (o GetImagesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetImagesResultOutput) ImageType() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput
- func (o GetImagesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetImagesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) Platform() pulumi.StringPtrOutput
- func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput
- func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput
- 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 GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) BusinessStatus() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DdosStatus() pulumi.StringOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) ExpiredTime() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ImageId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InnerIpAddress() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PlanId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PublicIpAddress() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) Ids() pulumi.StringArrayOutput
- 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) PaymentType() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type GetServerCustomImagesArgs
- type GetServerCustomImagesImage
- type GetServerCustomImagesImageArgs
- func (GetServerCustomImagesImageArgs) ElementType() reflect.Type
- func (i GetServerCustomImagesImageArgs) ToGetServerCustomImagesImageOutput() GetServerCustomImagesImageOutput
- func (i GetServerCustomImagesImageArgs) ToGetServerCustomImagesImageOutputWithContext(ctx context.Context) GetServerCustomImagesImageOutput
- type GetServerCustomImagesImageArray
- func (GetServerCustomImagesImageArray) ElementType() reflect.Type
- func (i GetServerCustomImagesImageArray) ToGetServerCustomImagesImageArrayOutput() GetServerCustomImagesImageArrayOutput
- func (i GetServerCustomImagesImageArray) ToGetServerCustomImagesImageArrayOutputWithContext(ctx context.Context) GetServerCustomImagesImageArrayOutput
- type GetServerCustomImagesImageArrayInput
- type GetServerCustomImagesImageArrayOutput
- func (GetServerCustomImagesImageArrayOutput) ElementType() reflect.Type
- func (o GetServerCustomImagesImageArrayOutput) Index(i pulumi.IntInput) GetServerCustomImagesImageOutput
- func (o GetServerCustomImagesImageArrayOutput) ToGetServerCustomImagesImageArrayOutput() GetServerCustomImagesImageArrayOutput
- func (o GetServerCustomImagesImageArrayOutput) ToGetServerCustomImagesImageArrayOutputWithContext(ctx context.Context) GetServerCustomImagesImageArrayOutput
- type GetServerCustomImagesImageInput
- type GetServerCustomImagesImageOutput
- func (o GetServerCustomImagesImageOutput) CustomImageId() pulumi.StringOutput
- func (o GetServerCustomImagesImageOutput) CustomImageName() pulumi.StringOutput
- func (o GetServerCustomImagesImageOutput) Description() pulumi.StringOutput
- func (GetServerCustomImagesImageOutput) ElementType() reflect.Type
- func (o GetServerCustomImagesImageOutput) Id() pulumi.StringOutput
- func (o GetServerCustomImagesImageOutput) Platform() pulumi.StringOutput
- func (o GetServerCustomImagesImageOutput) ToGetServerCustomImagesImageOutput() GetServerCustomImagesImageOutput
- func (o GetServerCustomImagesImageOutput) ToGetServerCustomImagesImageOutputWithContext(ctx context.Context) GetServerCustomImagesImageOutput
- type GetServerCustomImagesOutputArgs
- type GetServerCustomImagesResult
- type GetServerCustomImagesResultOutput
- func (GetServerCustomImagesResultOutput) ElementType() reflect.Type
- func (o GetServerCustomImagesResultOutput) Id() pulumi.StringOutput
- func (o GetServerCustomImagesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerCustomImagesResultOutput) Images() GetServerCustomImagesImageArrayOutput
- func (o GetServerCustomImagesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetServerCustomImagesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetServerCustomImagesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerCustomImagesResultOutput) ToGetServerCustomImagesResultOutput() GetServerCustomImagesResultOutput
- func (o GetServerCustomImagesResultOutput) ToGetServerCustomImagesResultOutputWithContext(ctx context.Context) GetServerCustomImagesResultOutput
- type GetServerDisksArgs
- type GetServerDisksDisk
- type GetServerDisksDiskArgs
- type GetServerDisksDiskArray
- type GetServerDisksDiskArrayInput
- type GetServerDisksDiskArrayOutput
- func (GetServerDisksDiskArrayOutput) ElementType() reflect.Type
- func (o GetServerDisksDiskArrayOutput) Index(i pulumi.IntInput) GetServerDisksDiskOutput
- func (o GetServerDisksDiskArrayOutput) ToGetServerDisksDiskArrayOutput() GetServerDisksDiskArrayOutput
- func (o GetServerDisksDiskArrayOutput) ToGetServerDisksDiskArrayOutputWithContext(ctx context.Context) GetServerDisksDiskArrayOutput
- type GetServerDisksDiskInput
- type GetServerDisksDiskOutput
- func (o GetServerDisksDiskOutput) Category() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) CreateTime() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) Device() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) DiskId() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) DiskName() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) DiskType() pulumi.StringOutput
- func (GetServerDisksDiskOutput) ElementType() reflect.Type
- func (o GetServerDisksDiskOutput) Id() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) InstanceId() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) PaymentType() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) Size() pulumi.IntOutput
- func (o GetServerDisksDiskOutput) Status() pulumi.StringOutput
- func (o GetServerDisksDiskOutput) ToGetServerDisksDiskOutput() GetServerDisksDiskOutput
- func (o GetServerDisksDiskOutput) ToGetServerDisksDiskOutputWithContext(ctx context.Context) GetServerDisksDiskOutput
- type GetServerDisksOutputArgs
- type GetServerDisksResult
- type GetServerDisksResultOutput
- func (o GetServerDisksResultOutput) DiskType() pulumi.StringPtrOutput
- func (o GetServerDisksResultOutput) Disks() GetServerDisksDiskArrayOutput
- func (GetServerDisksResultOutput) ElementType() reflect.Type
- func (o GetServerDisksResultOutput) Id() pulumi.StringOutput
- func (o GetServerDisksResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerDisksResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetServerDisksResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetServerDisksResultOutput) Names() pulumi.StringArrayOutput
- func (o GetServerDisksResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerDisksResultOutput) Status() pulumi.StringPtrOutput
- func (o GetServerDisksResultOutput) ToGetServerDisksResultOutput() GetServerDisksResultOutput
- func (o GetServerDisksResultOutput) ToGetServerDisksResultOutputWithContext(ctx context.Context) GetServerDisksResultOutput
- type GetServerFirewallRulesArgs
- type GetServerFirewallRulesOutputArgs
- type GetServerFirewallRulesResult
- type GetServerFirewallRulesResultOutput
- func (GetServerFirewallRulesResultOutput) ElementType() reflect.Type
- func (o GetServerFirewallRulesResultOutput) Id() pulumi.StringOutput
- func (o GetServerFirewallRulesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerFirewallRulesResultOutput) InstanceId() pulumi.StringOutput
- func (o GetServerFirewallRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerFirewallRulesResultOutput) Rules() GetServerFirewallRulesRuleArrayOutput
- func (o GetServerFirewallRulesResultOutput) ToGetServerFirewallRulesResultOutput() GetServerFirewallRulesResultOutput
- func (o GetServerFirewallRulesResultOutput) ToGetServerFirewallRulesResultOutputWithContext(ctx context.Context) GetServerFirewallRulesResultOutput
- type GetServerFirewallRulesRule
- type GetServerFirewallRulesRuleArgs
- func (GetServerFirewallRulesRuleArgs) ElementType() reflect.Type
- func (i GetServerFirewallRulesRuleArgs) ToGetServerFirewallRulesRuleOutput() GetServerFirewallRulesRuleOutput
- func (i GetServerFirewallRulesRuleArgs) ToGetServerFirewallRulesRuleOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleOutput
- type GetServerFirewallRulesRuleArray
- func (GetServerFirewallRulesRuleArray) ElementType() reflect.Type
- func (i GetServerFirewallRulesRuleArray) ToGetServerFirewallRulesRuleArrayOutput() GetServerFirewallRulesRuleArrayOutput
- func (i GetServerFirewallRulesRuleArray) ToGetServerFirewallRulesRuleArrayOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleArrayOutput
- type GetServerFirewallRulesRuleArrayInput
- type GetServerFirewallRulesRuleArrayOutput
- func (GetServerFirewallRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetServerFirewallRulesRuleArrayOutput) Index(i pulumi.IntInput) GetServerFirewallRulesRuleOutput
- func (o GetServerFirewallRulesRuleArrayOutput) ToGetServerFirewallRulesRuleArrayOutput() GetServerFirewallRulesRuleArrayOutput
- func (o GetServerFirewallRulesRuleArrayOutput) ToGetServerFirewallRulesRuleArrayOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleArrayOutput
- type GetServerFirewallRulesRuleInput
- type GetServerFirewallRulesRuleOutput
- func (GetServerFirewallRulesRuleOutput) ElementType() reflect.Type
- func (o GetServerFirewallRulesRuleOutput) FirewallRuleId() pulumi.StringOutput
- func (o GetServerFirewallRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetServerFirewallRulesRuleOutput) InstanceId() pulumi.StringOutput
- func (o GetServerFirewallRulesRuleOutput) Port() pulumi.StringOutput
- func (o GetServerFirewallRulesRuleOutput) Remark() pulumi.StringOutput
- func (o GetServerFirewallRulesRuleOutput) RuleProtocol() pulumi.StringOutput
- func (o GetServerFirewallRulesRuleOutput) ToGetServerFirewallRulesRuleOutput() GetServerFirewallRulesRuleOutput
- func (o GetServerFirewallRulesRuleOutput) ToGetServerFirewallRulesRuleOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleOutput
- type GetServerPlansArgs
- type GetServerPlansOutputArgs
- type GetServerPlansPlan
- type GetServerPlansPlanArgs
- type GetServerPlansPlanArray
- type GetServerPlansPlanArrayInput
- type GetServerPlansPlanArrayOutput
- func (GetServerPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetServerPlansPlanArrayOutput) Index(i pulumi.IntInput) GetServerPlansPlanOutput
- func (o GetServerPlansPlanArrayOutput) ToGetServerPlansPlanArrayOutput() GetServerPlansPlanArrayOutput
- func (o GetServerPlansPlanArrayOutput) ToGetServerPlansPlanArrayOutputWithContext(ctx context.Context) GetServerPlansPlanArrayOutput
- type GetServerPlansPlanInput
- type GetServerPlansPlanOutput
- func (o GetServerPlansPlanOutput) Bandwidth() pulumi.IntOutput
- func (o GetServerPlansPlanOutput) Core() pulumi.IntOutput
- func (o GetServerPlansPlanOutput) DiskSize() pulumi.IntOutput
- func (GetServerPlansPlanOutput) ElementType() reflect.Type
- func (o GetServerPlansPlanOutput) Flow() pulumi.IntOutput
- func (o GetServerPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetServerPlansPlanOutput) Memory() pulumi.IntOutput
- func (o GetServerPlansPlanOutput) PlanId() pulumi.StringOutput
- func (o GetServerPlansPlanOutput) SupportPlatform() pulumi.StringOutput
- func (o GetServerPlansPlanOutput) ToGetServerPlansPlanOutput() GetServerPlansPlanOutput
- func (o GetServerPlansPlanOutput) ToGetServerPlansPlanOutputWithContext(ctx context.Context) GetServerPlansPlanOutput
- type GetServerPlansResult
- type GetServerPlansResultOutput
- func (o GetServerPlansResultOutput) Bandwidth() pulumi.IntPtrOutput
- func (o GetServerPlansResultOutput) Core() pulumi.IntPtrOutput
- func (o GetServerPlansResultOutput) DiskSize() pulumi.IntPtrOutput
- func (GetServerPlansResultOutput) ElementType() reflect.Type
- func (o GetServerPlansResultOutput) Flow() pulumi.IntPtrOutput
- func (o GetServerPlansResultOutput) Id() pulumi.StringOutput
- func (o GetServerPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerPlansResultOutput) Memory() pulumi.IntPtrOutput
- func (o GetServerPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerPlansResultOutput) Plans() GetServerPlansPlanArrayOutput
- func (o GetServerPlansResultOutput) Platform() pulumi.StringPtrOutput
- func (o GetServerPlansResultOutput) ToGetServerPlansResultOutput() GetServerPlansResultOutput
- func (o GetServerPlansResultOutput) ToGetServerPlansResultOutputWithContext(ctx context.Context) GetServerPlansResultOutput
- type GetServerSnapshotsArgs
- type GetServerSnapshotsOutputArgs
- type GetServerSnapshotsResult
- type GetServerSnapshotsResultOutput
- func (o GetServerSnapshotsResultOutput) DiskId() pulumi.StringPtrOutput
- func (GetServerSnapshotsResultOutput) ElementType() reflect.Type
- func (o GetServerSnapshotsResultOutput) Id() pulumi.StringOutput
- func (o GetServerSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerSnapshotsResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetServerSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetServerSnapshotsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetServerSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerSnapshotsResultOutput) Snapshots() GetServerSnapshotsSnapshotArrayOutput
- func (o GetServerSnapshotsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetServerSnapshotsResultOutput) ToGetServerSnapshotsResultOutput() GetServerSnapshotsResultOutput
- func (o GetServerSnapshotsResultOutput) ToGetServerSnapshotsResultOutputWithContext(ctx context.Context) GetServerSnapshotsResultOutput
- type GetServerSnapshotsSnapshot
- type GetServerSnapshotsSnapshotArgs
- func (GetServerSnapshotsSnapshotArgs) ElementType() reflect.Type
- func (i GetServerSnapshotsSnapshotArgs) ToGetServerSnapshotsSnapshotOutput() GetServerSnapshotsSnapshotOutput
- func (i GetServerSnapshotsSnapshotArgs) ToGetServerSnapshotsSnapshotOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotOutput
- type GetServerSnapshotsSnapshotArray
- func (GetServerSnapshotsSnapshotArray) ElementType() reflect.Type
- func (i GetServerSnapshotsSnapshotArray) ToGetServerSnapshotsSnapshotArrayOutput() GetServerSnapshotsSnapshotArrayOutput
- func (i GetServerSnapshotsSnapshotArray) ToGetServerSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotArrayOutput
- type GetServerSnapshotsSnapshotArrayInput
- type GetServerSnapshotsSnapshotArrayOutput
- func (GetServerSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
- func (o GetServerSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetServerSnapshotsSnapshotOutput
- func (o GetServerSnapshotsSnapshotArrayOutput) ToGetServerSnapshotsSnapshotArrayOutput() GetServerSnapshotsSnapshotArrayOutput
- func (o GetServerSnapshotsSnapshotArrayOutput) ToGetServerSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotArrayOutput
- type GetServerSnapshotsSnapshotInput
- type GetServerSnapshotsSnapshotOutput
- func (o GetServerSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) DiskId() pulumi.StringOutput
- func (GetServerSnapshotsSnapshotOutput) ElementType() reflect.Type
- func (o GetServerSnapshotsSnapshotOutput) Id() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) Remark() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) Status() pulumi.StringOutput
- func (o GetServerSnapshotsSnapshotOutput) ToGetServerSnapshotsSnapshotOutput() GetServerSnapshotsSnapshotOutput
- func (o GetServerSnapshotsSnapshotOutput) ToGetServerSnapshotsSnapshotOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- type InstanceState
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- type SnapshotState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomImage ¶ added in v3.10.0
type CustomImage struct { pulumi.CustomResourceState // The name of the resource. The name must be `2` to `128` characters in length. It must start with a letter or a number. It can contain letters, digits, colons (:), underscores (_) and hyphens (-). CustomImageName pulumi.StringOutput `pulumi:"customImageName"` // The description of the Custom Image. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The Shared status of the Custom Image. Valid values: `Share`, `UnShare`. Status pulumi.StringPtrOutput `pulumi:"status"` // The ID of the system snapshot. SystemSnapshotId pulumi.StringOutput `pulumi:"systemSnapshotId"` }
Provides a Simple Application Server Custom Image resource.
For information about Simple Application Server Custom Image and how to use it, see [What is Custom Image](https://www.alibabacloud.com/help/zh/doc-detail/333535.htm).
> **NOTE:** Available in v1.143.0+.
## Import
Simple Application Server Custom Image can be imported using the id, e.g.
```sh
$ pulumi import alicloud:simpleapplicationserver/customImage:CustomImage example <id>
```
func GetCustomImage ¶ added in v3.10.0
func GetCustomImage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CustomImageState, opts ...pulumi.ResourceOption) (*CustomImage, error)
GetCustomImage gets an existing CustomImage 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 NewCustomImage ¶ added in v3.10.0
func NewCustomImage(ctx *pulumi.Context, name string, args *CustomImageArgs, opts ...pulumi.ResourceOption) (*CustomImage, error)
NewCustomImage registers a new resource with the given unique name, arguments, and options.
func (*CustomImage) ElementType ¶ added in v3.10.0
func (*CustomImage) ElementType() reflect.Type
func (*CustomImage) ToCustomImageOutput ¶ added in v3.10.0
func (i *CustomImage) ToCustomImageOutput() CustomImageOutput
func (*CustomImage) ToCustomImageOutputWithContext ¶ added in v3.10.0
func (i *CustomImage) ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput
type CustomImageArgs ¶ added in v3.10.0
type CustomImageArgs struct { // The name of the resource. The name must be `2` to `128` characters in length. It must start with a letter or a number. It can contain letters, digits, colons (:), underscores (_) and hyphens (-). CustomImageName pulumi.StringInput // The description of the Custom Image. Description pulumi.StringPtrInput // The ID of the instance. InstanceId pulumi.StringInput // The Shared status of the Custom Image. Valid values: `Share`, `UnShare`. Status pulumi.StringPtrInput // The ID of the system snapshot. SystemSnapshotId pulumi.StringInput }
The set of arguments for constructing a CustomImage resource.
func (CustomImageArgs) ElementType ¶ added in v3.10.0
func (CustomImageArgs) ElementType() reflect.Type
type CustomImageArray ¶ added in v3.10.0
type CustomImageArray []CustomImageInput
func (CustomImageArray) ElementType ¶ added in v3.10.0
func (CustomImageArray) ElementType() reflect.Type
func (CustomImageArray) ToCustomImageArrayOutput ¶ added in v3.10.0
func (i CustomImageArray) ToCustomImageArrayOutput() CustomImageArrayOutput
func (CustomImageArray) ToCustomImageArrayOutputWithContext ¶ added in v3.10.0
func (i CustomImageArray) ToCustomImageArrayOutputWithContext(ctx context.Context) CustomImageArrayOutput
type CustomImageArrayInput ¶ added in v3.10.0
type CustomImageArrayInput interface { pulumi.Input ToCustomImageArrayOutput() CustomImageArrayOutput ToCustomImageArrayOutputWithContext(context.Context) CustomImageArrayOutput }
CustomImageArrayInput is an input type that accepts CustomImageArray and CustomImageArrayOutput values. You can construct a concrete instance of `CustomImageArrayInput` via:
CustomImageArray{ CustomImageArgs{...} }
type CustomImageArrayOutput ¶ added in v3.10.0
type CustomImageArrayOutput struct{ *pulumi.OutputState }
func (CustomImageArrayOutput) ElementType ¶ added in v3.10.0
func (CustomImageArrayOutput) ElementType() reflect.Type
func (CustomImageArrayOutput) Index ¶ added in v3.10.0
func (o CustomImageArrayOutput) Index(i pulumi.IntInput) CustomImageOutput
func (CustomImageArrayOutput) ToCustomImageArrayOutput ¶ added in v3.10.0
func (o CustomImageArrayOutput) ToCustomImageArrayOutput() CustomImageArrayOutput
func (CustomImageArrayOutput) ToCustomImageArrayOutputWithContext ¶ added in v3.10.0
func (o CustomImageArrayOutput) ToCustomImageArrayOutputWithContext(ctx context.Context) CustomImageArrayOutput
type CustomImageInput ¶ added in v3.10.0
type CustomImageInput interface { pulumi.Input ToCustomImageOutput() CustomImageOutput ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput }
type CustomImageMap ¶ added in v3.10.0
type CustomImageMap map[string]CustomImageInput
func (CustomImageMap) ElementType ¶ added in v3.10.0
func (CustomImageMap) ElementType() reflect.Type
func (CustomImageMap) ToCustomImageMapOutput ¶ added in v3.10.0
func (i CustomImageMap) ToCustomImageMapOutput() CustomImageMapOutput
func (CustomImageMap) ToCustomImageMapOutputWithContext ¶ added in v3.10.0
func (i CustomImageMap) ToCustomImageMapOutputWithContext(ctx context.Context) CustomImageMapOutput
type CustomImageMapInput ¶ added in v3.10.0
type CustomImageMapInput interface { pulumi.Input ToCustomImageMapOutput() CustomImageMapOutput ToCustomImageMapOutputWithContext(context.Context) CustomImageMapOutput }
CustomImageMapInput is an input type that accepts CustomImageMap and CustomImageMapOutput values. You can construct a concrete instance of `CustomImageMapInput` via:
CustomImageMap{ "key": CustomImageArgs{...} }
type CustomImageMapOutput ¶ added in v3.10.0
type CustomImageMapOutput struct{ *pulumi.OutputState }
func (CustomImageMapOutput) ElementType ¶ added in v3.10.0
func (CustomImageMapOutput) ElementType() reflect.Type
func (CustomImageMapOutput) MapIndex ¶ added in v3.10.0
func (o CustomImageMapOutput) MapIndex(k pulumi.StringInput) CustomImageOutput
func (CustomImageMapOutput) ToCustomImageMapOutput ¶ added in v3.10.0
func (o CustomImageMapOutput) ToCustomImageMapOutput() CustomImageMapOutput
func (CustomImageMapOutput) ToCustomImageMapOutputWithContext ¶ added in v3.10.0
func (o CustomImageMapOutput) ToCustomImageMapOutputWithContext(ctx context.Context) CustomImageMapOutput
type CustomImageOutput ¶ added in v3.10.0
type CustomImageOutput struct{ *pulumi.OutputState }
func (CustomImageOutput) ElementType ¶ added in v3.10.0
func (CustomImageOutput) ElementType() reflect.Type
func (CustomImageOutput) ToCustomImageOutput ¶ added in v3.10.0
func (o CustomImageOutput) ToCustomImageOutput() CustomImageOutput
func (CustomImageOutput) ToCustomImageOutputWithContext ¶ added in v3.10.0
func (o CustomImageOutput) ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput
type CustomImageState ¶ added in v3.10.0
type CustomImageState struct { // The name of the resource. The name must be `2` to `128` characters in length. It must start with a letter or a number. It can contain letters, digits, colons (:), underscores (_) and hyphens (-). CustomImageName pulumi.StringPtrInput // The description of the Custom Image. Description pulumi.StringPtrInput // The ID of the instance. InstanceId pulumi.StringPtrInput // The Shared status of the Custom Image. Valid values: `Share`, `UnShare`. Status pulumi.StringPtrInput // The ID of the system snapshot. SystemSnapshotId pulumi.StringPtrInput }
func (CustomImageState) ElementType ¶ added in v3.10.0
func (CustomImageState) ElementType() reflect.Type
type FirewallRule ¶ added in v3.10.0
type FirewallRule struct { pulumi.CustomResourceState // The ID of the firewall rule. FirewallRuleId pulumi.StringOutput `pulumi:"firewallRuleId"` // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The port range. Valid values of port numbers: `1` to `65535`. Specify a port range in the format of `<start port number>/<end port number>`. Example: `1024/1055`, which indicates the port range of `1024` through `1055`. Port pulumi.StringOutput `pulumi:"port"` // The remarks of the firewall rule. Remark pulumi.StringPtrOutput `pulumi:"remark"` // The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`. RuleProtocol pulumi.StringOutput `pulumi:"ruleProtocol"` }
Provides a Simple Application Server Firewall Rule resource.
For information about Simple Application Server Firewall Rule and how to use it, see [What is Firewall Rule](https://www.alibabacloud.com/help/doc-detail/190449.htm).
> **NOTE:** Available in v1.143.0+.
## Import
Simple Application Server Firewall Rule can be imported using the id, e.g.
```sh
$ pulumi import alicloud:simpleapplicationserver/firewallRule:FirewallRule example <instance_id>:<firewall_rule_id>
```
func GetFirewallRule ¶ added in v3.10.0
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)
GetFirewallRule gets an existing FirewallRule 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 NewFirewallRule ¶ added in v3.10.0
func NewFirewallRule(ctx *pulumi.Context, name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FirewallRule) ElementType ¶ added in v3.10.0
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶ added in v3.10.0
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶ added in v3.10.0
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleArgs ¶ added in v3.10.0
type FirewallRuleArgs struct { // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringInput // The port range. Valid values of port numbers: `1` to `65535`. Specify a port range in the format of `<start port number>/<end port number>`. Example: `1024/1055`, which indicates the port range of `1024` through `1055`. Port pulumi.StringInput // The remarks of the firewall rule. Remark pulumi.StringPtrInput // The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`. RuleProtocol pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶ added in v3.10.0
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleArray ¶ added in v3.10.0
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶ added in v3.10.0
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶ added in v3.10.0
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶ added in v3.10.0
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶ added in v3.10.0
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶ added in v3.10.0
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶ added in v3.10.0
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶ added in v3.10.0
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶ added in v3.10.0
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶ added in v3.10.0
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶ added in v3.10.0
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶ added in v3.10.0
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶ added in v3.10.0
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶ added in v3.10.0
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶ added in v3.10.0
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleMapInput ¶ added in v3.10.0
type FirewallRuleMapInput interface { pulumi.Input ToFirewallRuleMapOutput() FirewallRuleMapOutput ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput }
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:
FirewallRuleMap{ "key": FirewallRuleArgs{...} }
type FirewallRuleMapOutput ¶ added in v3.10.0
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶ added in v3.10.0
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶ added in v3.10.0
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶ added in v3.10.0
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶ added in v3.10.0
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleOutput ¶ added in v3.10.0
type FirewallRuleOutput struct{ *pulumi.OutputState }
func (FirewallRuleOutput) ElementType ¶ added in v3.10.0
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) ToFirewallRuleOutput ¶ added in v3.10.0
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶ added in v3.10.0
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleState ¶ added in v3.10.0
type FirewallRuleState struct { // The ID of the firewall rule. FirewallRuleId pulumi.StringPtrInput // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringPtrInput // The port range. Valid values of port numbers: `1` to `65535`. Specify a port range in the format of `<start port number>/<end port number>`. Example: `1024/1055`, which indicates the port range of `1024` through `1055`. Port pulumi.StringPtrInput // The remarks of the firewall rule. Remark pulumi.StringPtrInput // The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`. RuleProtocol pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶ added in v3.10.0
func (FirewallRuleState) ElementType() reflect.Type
type GetImagesArgs ¶
type GetImagesArgs struct { Ids []string `pulumi:"ids"` // The type of the image. Valid values: `app`, `custom`, `system`. // * `system`: operating system (OS) image. // * `app`: application image. // * `custom`: custom image. ImageType *string `pulumi:"imageType"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The platform of Plan supported. Platform *string `pulumi:"platform"` }
A collection of arguments for invoking getImages.
type GetImagesImage ¶
type GetImagesImage struct { // The description of the image. Description string `pulumi:"description"` // The ID of the Instance Image. Id string `pulumi:"id"` // The ID of the image. ImageId string `pulumi:"imageId"` // The name of the resource. ImageName string `pulumi:"imageName"` // The type of the image. Valid values: `app`, `custom`, `system`. // * `system`: operating system (OS) image. // * `app`: application image. // * `custom`: custom image. ImageType string `pulumi:"imageType"` // The platform of Plan supported. Platform string `pulumi:"platform"` }
type GetImagesImageArgs ¶
type GetImagesImageArgs struct { // The description of the image. Description pulumi.StringInput `pulumi:"description"` // The ID of the Instance Image. Id pulumi.StringInput `pulumi:"id"` // The ID of the image. ImageId pulumi.StringInput `pulumi:"imageId"` // The name of the resource. ImageName pulumi.StringInput `pulumi:"imageName"` // The type of the image. Valid values: `app`, `custom`, `system`. // * `system`: operating system (OS) image. // * `app`: application image. // * `custom`: custom image. ImageType pulumi.StringInput `pulumi:"imageType"` // The platform of Plan supported. Platform pulumi.StringInput `pulumi:"platform"` }
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 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) Description ¶
func (o GetImagesImageOutput) Description() pulumi.StringOutput
The description of the image.
func (GetImagesImageOutput) ElementType ¶
func (GetImagesImageOutput) ElementType() reflect.Type
func (GetImagesImageOutput) Id ¶
func (o GetImagesImageOutput) Id() pulumi.StringOutput
The ID of the Instance Image.
func (GetImagesImageOutput) ImageId ¶
func (o GetImagesImageOutput) ImageId() pulumi.StringOutput
The ID of the image.
func (GetImagesImageOutput) ImageName ¶
func (o GetImagesImageOutput) ImageName() pulumi.StringOutput
The name of the resource.
func (GetImagesImageOutput) ImageType ¶
func (o GetImagesImageOutput) ImageType() pulumi.StringOutput
The type of the image. Valid values: `app`, `custom`, `system`. * `system`: operating system (OS) image. * `app`: application image. * `custom`: custom image.
func (GetImagesImageOutput) Platform ¶ added in v3.20.0
func (o GetImagesImageOutput) Platform() pulumi.StringOutput
The platform of Plan supported.
func (GetImagesImageOutput) ToGetImagesImageOutput ¶
func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
func (GetImagesImageOutput) ToGetImagesImageOutputWithContext ¶
func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
type GetImagesOutputArgs ¶ added in v3.9.0
type GetImagesOutputArgs struct { Ids pulumi.StringArrayInput `pulumi:"ids"` // The type of the image. Valid values: `app`, `custom`, `system`. // * `system`: operating system (OS) image. // * `app`: application image. // * `custom`: custom image. ImageType pulumi.StringPtrInput `pulumi:"imageType"` NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The platform of Plan supported. Platform pulumi.StringPtrInput `pulumi:"platform"` }
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 { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` ImageType *string `pulumi:"imageType"` Images []GetImagesImage `pulumi:"images"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Platform *string `pulumi:"platform"` }
A collection of values returned by getImages.
func GetImages ¶
func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error)
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) 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
func (GetImagesResultOutput) ImageType ¶ added in v3.9.0
func (o GetImagesResultOutput) ImageType() pulumi.StringPtrOutput
func (GetImagesResultOutput) Images ¶ added in v3.9.0
func (o GetImagesResultOutput) Images() GetImagesImageArrayOutput
func (GetImagesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetImagesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetImagesResultOutput) Names ¶ added in v3.9.0
func (o GetImagesResultOutput) Names() pulumi.StringArrayOutput
func (GetImagesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetImagesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetImagesResultOutput) Platform ¶ added in v3.20.0
func (o GetImagesResultOutput) Platform() pulumi.StringPtrOutput
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
type GetInstancesArgs ¶
type GetInstancesArgs struct { // A list of Instance IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Instance name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The billing method of the simple application server. PaymentType *string `pulumi:"paymentType"` // The status of the resource. Status *string `pulumi:"status"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstance ¶
type GetInstancesInstance struct { // The billing status of the simple application server. Valid values: `Normal`, `Expired` and `Overdue`. BusinessStatus string `pulumi:"businessStatus"` // The time when the simple application server was created. CreateTime string `pulumi:"createTime"` // The DDoS protection status. Valid values: `Normal`, `BlackHole`, and `Defense`. DdosStatus string `pulumi:"ddosStatus"` // The time when the simple application server expires. ExpiredTime string `pulumi:"expiredTime"` // The ID of the Instance. Id string `pulumi:"id"` // The ID of the simple application server Image. ImageId string `pulumi:"imageId"` // The internal IP address of the simple application server. InnerIpAddress string `pulumi:"innerIpAddress"` // The ID of the simple application server. InstanceId string `pulumi:"instanceId"` // The name of the resource. InstanceName string `pulumi:"instanceName"` // The billing method of the simple application server. PaymentType string `pulumi:"paymentType"` // The ID of the simple application server plan. PlanId string `pulumi:"planId"` // The public IP address of the simple application server. PublicIpAddress string `pulumi:"publicIpAddress"` // The status of the resource. Status string `pulumi:"status"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // The billing status of the simple application server. Valid values: `Normal`, `Expired` and `Overdue`. BusinessStatus pulumi.StringInput `pulumi:"businessStatus"` // The time when the simple application server was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // The DDoS protection status. Valid values: `Normal`, `BlackHole`, and `Defense`. DdosStatus pulumi.StringInput `pulumi:"ddosStatus"` // The time when the simple application server expires. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // The ID of the Instance. Id pulumi.StringInput `pulumi:"id"` // The ID of the simple application server Image. ImageId pulumi.StringInput `pulumi:"imageId"` // The internal IP address of the simple application server. InnerIpAddress pulumi.StringInput `pulumi:"innerIpAddress"` // The ID of the simple application server. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of the resource. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The billing method of the simple application server. PaymentType pulumi.StringInput `pulumi:"paymentType"` // The ID of the simple application server plan. PlanId pulumi.StringInput `pulumi:"planId"` // The public IP address of the simple application server. PublicIpAddress pulumi.StringInput `pulumi:"publicIpAddress"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` }
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 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) BusinessStatus ¶
func (o GetInstancesInstanceOutput) BusinessStatus() pulumi.StringOutput
The billing status of the simple application server. Valid values: `Normal`, `Expired` and `Overdue`.
func (GetInstancesInstanceOutput) CreateTime ¶
func (o GetInstancesInstanceOutput) CreateTime() pulumi.StringOutput
The time when the simple application server was created.
func (GetInstancesInstanceOutput) DdosStatus ¶
func (o GetInstancesInstanceOutput) DdosStatus() pulumi.StringOutput
The DDoS protection status. Valid values: `Normal`, `BlackHole`, and `Defense`.
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) ExpiredTime ¶
func (o GetInstancesInstanceOutput) ExpiredTime() pulumi.StringOutput
The time when the simple application server expires.
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
The ID of the Instance.
func (GetInstancesInstanceOutput) ImageId ¶
func (o GetInstancesInstanceOutput) ImageId() pulumi.StringOutput
The ID of the simple application server Image.
func (GetInstancesInstanceOutput) InnerIpAddress ¶
func (o GetInstancesInstanceOutput) InnerIpAddress() pulumi.StringOutput
The internal IP address of the simple application server.
func (GetInstancesInstanceOutput) InstanceId ¶
func (o GetInstancesInstanceOutput) InstanceId() pulumi.StringOutput
The ID of the simple application server.
func (GetInstancesInstanceOutput) InstanceName ¶
func (o GetInstancesInstanceOutput) InstanceName() pulumi.StringOutput
The name of the resource.
func (GetInstancesInstanceOutput) PaymentType ¶
func (o GetInstancesInstanceOutput) PaymentType() pulumi.StringOutput
The billing method of the simple application server.
func (GetInstancesInstanceOutput) PlanId ¶
func (o GetInstancesInstanceOutput) PlanId() pulumi.StringOutput
The ID of the simple application server plan.
func (GetInstancesInstanceOutput) PublicIpAddress ¶
func (o GetInstancesInstanceOutput) PublicIpAddress() pulumi.StringOutput
The public IP address of the simple application server.
func (GetInstancesInstanceOutput) Status ¶
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesOutputArgs ¶ added in v3.9.0
type GetInstancesOutputArgs struct { // A list of Instance IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Instance name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The billing method of the simple application server. PaymentType pulumi.StringPtrInput `pulumi:"paymentType"` // The status of the resource. Status pulumi.StringPtrInput `pulumi:"status"` }
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 { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Instances []GetInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PaymentType *string `pulumi:"paymentType"` Status *string `pulumi:"status"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
This data source provides the Simple Application Server Instances of the current Alibaba Cloud user.
> **NOTE:** Available in v1.135.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/simpleapplicationserver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := simpleapplicationserver.GetInstances(ctx, &simpleapplicationserver.GetInstancesArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerInstanceId1", ids.Instances[0].Id) nameRegex, err := simpleapplicationserver.GetInstances(ctx, &simpleapplicationserver.GetInstancesArgs{ NameRegex: pulumi.StringRef("^my-Instance"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerInstanceId2", nameRegex.Instances[0].Id) 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) 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
func (GetInstancesResultOutput) Instances ¶ added in v3.9.0
func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
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
func (GetInstancesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) PaymentType ¶ added in v3.9.0
func (o GetInstancesResultOutput) PaymentType() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Status ¶ added in v3.9.0
func (o GetInstancesResultOutput) Status() pulumi.StringPtrOutput
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
type GetServerCustomImagesArgs ¶ added in v3.10.0
type GetServerCustomImagesArgs struct { // A list of Custom Image IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Custom Image name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServerCustomImages.
type GetServerCustomImagesImage ¶ added in v3.10.0
type GetServerCustomImagesImage struct { // The first ID of the resource. CustomImageId string `pulumi:"customImageId"` // The name of the resource. CustomImageName string `pulumi:"customImageName"` // Image description information. Description string `pulumi:"description"` // The ID of the Custom Image. Id string `pulumi:"id"` // The type of operating system used by the Mirror. Valid values: `Linux`, `Windows`. Platform string `pulumi:"platform"` }
type GetServerCustomImagesImageArgs ¶ added in v3.10.0
type GetServerCustomImagesImageArgs struct { // The first ID of the resource. CustomImageId pulumi.StringInput `pulumi:"customImageId"` // The name of the resource. CustomImageName pulumi.StringInput `pulumi:"customImageName"` // Image description information. Description pulumi.StringInput `pulumi:"description"` // The ID of the Custom Image. Id pulumi.StringInput `pulumi:"id"` // The type of operating system used by the Mirror. Valid values: `Linux`, `Windows`. Platform pulumi.StringInput `pulumi:"platform"` }
func (GetServerCustomImagesImageArgs) ElementType ¶ added in v3.10.0
func (GetServerCustomImagesImageArgs) ElementType() reflect.Type
func (GetServerCustomImagesImageArgs) ToGetServerCustomImagesImageOutput ¶ added in v3.10.0
func (i GetServerCustomImagesImageArgs) ToGetServerCustomImagesImageOutput() GetServerCustomImagesImageOutput
func (GetServerCustomImagesImageArgs) ToGetServerCustomImagesImageOutputWithContext ¶ added in v3.10.0
func (i GetServerCustomImagesImageArgs) ToGetServerCustomImagesImageOutputWithContext(ctx context.Context) GetServerCustomImagesImageOutput
type GetServerCustomImagesImageArray ¶ added in v3.10.0
type GetServerCustomImagesImageArray []GetServerCustomImagesImageInput
func (GetServerCustomImagesImageArray) ElementType ¶ added in v3.10.0
func (GetServerCustomImagesImageArray) ElementType() reflect.Type
func (GetServerCustomImagesImageArray) ToGetServerCustomImagesImageArrayOutput ¶ added in v3.10.0
func (i GetServerCustomImagesImageArray) ToGetServerCustomImagesImageArrayOutput() GetServerCustomImagesImageArrayOutput
func (GetServerCustomImagesImageArray) ToGetServerCustomImagesImageArrayOutputWithContext ¶ added in v3.10.0
func (i GetServerCustomImagesImageArray) ToGetServerCustomImagesImageArrayOutputWithContext(ctx context.Context) GetServerCustomImagesImageArrayOutput
type GetServerCustomImagesImageArrayInput ¶ added in v3.10.0
type GetServerCustomImagesImageArrayInput interface { pulumi.Input ToGetServerCustomImagesImageArrayOutput() GetServerCustomImagesImageArrayOutput ToGetServerCustomImagesImageArrayOutputWithContext(context.Context) GetServerCustomImagesImageArrayOutput }
GetServerCustomImagesImageArrayInput is an input type that accepts GetServerCustomImagesImageArray and GetServerCustomImagesImageArrayOutput values. You can construct a concrete instance of `GetServerCustomImagesImageArrayInput` via:
GetServerCustomImagesImageArray{ GetServerCustomImagesImageArgs{...} }
type GetServerCustomImagesImageArrayOutput ¶ added in v3.10.0
type GetServerCustomImagesImageArrayOutput struct{ *pulumi.OutputState }
func (GetServerCustomImagesImageArrayOutput) ElementType ¶ added in v3.10.0
func (GetServerCustomImagesImageArrayOutput) ElementType() reflect.Type
func (GetServerCustomImagesImageArrayOutput) Index ¶ added in v3.10.0
func (o GetServerCustomImagesImageArrayOutput) Index(i pulumi.IntInput) GetServerCustomImagesImageOutput
func (GetServerCustomImagesImageArrayOutput) ToGetServerCustomImagesImageArrayOutput ¶ added in v3.10.0
func (o GetServerCustomImagesImageArrayOutput) ToGetServerCustomImagesImageArrayOutput() GetServerCustomImagesImageArrayOutput
func (GetServerCustomImagesImageArrayOutput) ToGetServerCustomImagesImageArrayOutputWithContext ¶ added in v3.10.0
func (o GetServerCustomImagesImageArrayOutput) ToGetServerCustomImagesImageArrayOutputWithContext(ctx context.Context) GetServerCustomImagesImageArrayOutput
type GetServerCustomImagesImageInput ¶ added in v3.10.0
type GetServerCustomImagesImageInput interface { pulumi.Input ToGetServerCustomImagesImageOutput() GetServerCustomImagesImageOutput ToGetServerCustomImagesImageOutputWithContext(context.Context) GetServerCustomImagesImageOutput }
GetServerCustomImagesImageInput is an input type that accepts GetServerCustomImagesImageArgs and GetServerCustomImagesImageOutput values. You can construct a concrete instance of `GetServerCustomImagesImageInput` via:
GetServerCustomImagesImageArgs{...}
type GetServerCustomImagesImageOutput ¶ added in v3.10.0
type GetServerCustomImagesImageOutput struct{ *pulumi.OutputState }
func (GetServerCustomImagesImageOutput) CustomImageId ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) CustomImageId() pulumi.StringOutput
The first ID of the resource.
func (GetServerCustomImagesImageOutput) CustomImageName ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) CustomImageName() pulumi.StringOutput
The name of the resource.
func (GetServerCustomImagesImageOutput) Description ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) Description() pulumi.StringOutput
Image description information.
func (GetServerCustomImagesImageOutput) ElementType ¶ added in v3.10.0
func (GetServerCustomImagesImageOutput) ElementType() reflect.Type
func (GetServerCustomImagesImageOutput) Id ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) Id() pulumi.StringOutput
The ID of the Custom Image.
func (GetServerCustomImagesImageOutput) Platform ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) Platform() pulumi.StringOutput
The type of operating system used by the Mirror. Valid values: `Linux`, `Windows`.
func (GetServerCustomImagesImageOutput) ToGetServerCustomImagesImageOutput ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) ToGetServerCustomImagesImageOutput() GetServerCustomImagesImageOutput
func (GetServerCustomImagesImageOutput) ToGetServerCustomImagesImageOutputWithContext ¶ added in v3.10.0
func (o GetServerCustomImagesImageOutput) ToGetServerCustomImagesImageOutputWithContext(ctx context.Context) GetServerCustomImagesImageOutput
type GetServerCustomImagesOutputArgs ¶ added in v3.10.0
type GetServerCustomImagesOutputArgs struct { // A list of Custom Image IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Custom Image name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getServerCustomImages.
func (GetServerCustomImagesOutputArgs) ElementType ¶ added in v3.10.0
func (GetServerCustomImagesOutputArgs) ElementType() reflect.Type
type GetServerCustomImagesResult ¶ added in v3.10.0
type GetServerCustomImagesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Images []GetServerCustomImagesImage `pulumi:"images"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getServerCustomImages.
func GetServerCustomImages ¶ added in v3.10.0
func GetServerCustomImages(ctx *pulumi.Context, args *GetServerCustomImagesArgs, opts ...pulumi.InvokeOption) (*GetServerCustomImagesResult, error)
This data source provides the Simple Application Server Custom Images of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/simpleapplicationserver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := simpleapplicationserver.GetServerCustomImages(ctx, &simpleapplicationserver.GetServerCustomImagesArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerCustomImageId1", ids.Images[0].Id) nameRegex, err := simpleapplicationserver.GetServerCustomImages(ctx, &simpleapplicationserver.GetServerCustomImagesArgs{ NameRegex: pulumi.StringRef("^my-CustomImage"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerCustomImageId2", nameRegex.Images[0].Id) return nil }) }
```
type GetServerCustomImagesResultOutput ¶ added in v3.10.0
type GetServerCustomImagesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerCustomImages.
func GetServerCustomImagesOutput ¶ added in v3.10.0
func GetServerCustomImagesOutput(ctx *pulumi.Context, args GetServerCustomImagesOutputArgs, opts ...pulumi.InvokeOption) GetServerCustomImagesResultOutput
func (GetServerCustomImagesResultOutput) ElementType ¶ added in v3.10.0
func (GetServerCustomImagesResultOutput) ElementType() reflect.Type
func (GetServerCustomImagesResultOutput) Id ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerCustomImagesResultOutput) Ids ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) Ids() pulumi.StringArrayOutput
func (GetServerCustomImagesResultOutput) Images ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) Images() GetServerCustomImagesImageArrayOutput
func (GetServerCustomImagesResultOutput) NameRegex ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetServerCustomImagesResultOutput) Names ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) Names() pulumi.StringArrayOutput
func (GetServerCustomImagesResultOutput) OutputFile ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerCustomImagesResultOutput) ToGetServerCustomImagesResultOutput ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) ToGetServerCustomImagesResultOutput() GetServerCustomImagesResultOutput
func (GetServerCustomImagesResultOutput) ToGetServerCustomImagesResultOutputWithContext ¶ added in v3.10.0
func (o GetServerCustomImagesResultOutput) ToGetServerCustomImagesResultOutputWithContext(ctx context.Context) GetServerCustomImagesResultOutput
type GetServerDisksArgs ¶ added in v3.10.0
type GetServerDisksArgs struct { // The type of the disk. Possible values: `System`, `Data`. DiskType *string `pulumi:"diskType"` // A list of Disk IDs. Ids []string `pulumi:"ids"` // Alibaba Cloud simple application server instance ID. InstanceId *string `pulumi:"instanceId"` // A regex string to filter results by Disk name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the disk. Valid values: `ReIniting`, `Creating`, `In_Use`, `Available`, `Attaching`, `Detaching`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getServerDisks.
type GetServerDisksDisk ¶ added in v3.10.0
type GetServerDisksDisk struct { // Disk type. Possible values: `ESSD`, `SSD`. Category string `pulumi:"category"` // The time when the disk was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. CreateTime string `pulumi:"createTime"` // The device name of the disk on the simple application server. Device string `pulumi:"device"` // The first ID of the resource. DiskId string `pulumi:"diskId"` // The name of the resource. DiskName string `pulumi:"diskName"` // The type of the disk. Possible values: `System`, `Data`. DiskType string `pulumi:"diskType"` // The ID of the Disk. Id string `pulumi:"id"` // Alibaba Cloud simple application server instance ID. InstanceId string `pulumi:"instanceId"` // The payment type of the resource. Valid values: `PayAsYouGo`, `Subscription`. PaymentType string `pulumi:"paymentType"` // The size of the disk. Unit: `GB`. Size int `pulumi:"size"` // The status of the disk. Valid values: `ReIniting`, `Creating`, `In_Use`, `Available`, `Attaching`, `Detaching`. Status string `pulumi:"status"` }
type GetServerDisksDiskArgs ¶ added in v3.10.0
type GetServerDisksDiskArgs struct { // Disk type. Possible values: `ESSD`, `SSD`. Category pulumi.StringInput `pulumi:"category"` // The time when the disk was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. CreateTime pulumi.StringInput `pulumi:"createTime"` // The device name of the disk on the simple application server. Device pulumi.StringInput `pulumi:"device"` // The first ID of the resource. DiskId pulumi.StringInput `pulumi:"diskId"` // The name of the resource. DiskName pulumi.StringInput `pulumi:"diskName"` // The type of the disk. Possible values: `System`, `Data`. DiskType pulumi.StringInput `pulumi:"diskType"` // The ID of the Disk. Id pulumi.StringInput `pulumi:"id"` // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The payment type of the resource. Valid values: `PayAsYouGo`, `Subscription`. PaymentType pulumi.StringInput `pulumi:"paymentType"` // The size of the disk. Unit: `GB`. Size pulumi.IntInput `pulumi:"size"` // The status of the disk. Valid values: `ReIniting`, `Creating`, `In_Use`, `Available`, `Attaching`, `Detaching`. Status pulumi.StringInput `pulumi:"status"` }
func (GetServerDisksDiskArgs) ElementType ¶ added in v3.10.0
func (GetServerDisksDiskArgs) ElementType() reflect.Type
func (GetServerDisksDiskArgs) ToGetServerDisksDiskOutput ¶ added in v3.10.0
func (i GetServerDisksDiskArgs) ToGetServerDisksDiskOutput() GetServerDisksDiskOutput
func (GetServerDisksDiskArgs) ToGetServerDisksDiskOutputWithContext ¶ added in v3.10.0
func (i GetServerDisksDiskArgs) ToGetServerDisksDiskOutputWithContext(ctx context.Context) GetServerDisksDiskOutput
type GetServerDisksDiskArray ¶ added in v3.10.0
type GetServerDisksDiskArray []GetServerDisksDiskInput
func (GetServerDisksDiskArray) ElementType ¶ added in v3.10.0
func (GetServerDisksDiskArray) ElementType() reflect.Type
func (GetServerDisksDiskArray) ToGetServerDisksDiskArrayOutput ¶ added in v3.10.0
func (i GetServerDisksDiskArray) ToGetServerDisksDiskArrayOutput() GetServerDisksDiskArrayOutput
func (GetServerDisksDiskArray) ToGetServerDisksDiskArrayOutputWithContext ¶ added in v3.10.0
func (i GetServerDisksDiskArray) ToGetServerDisksDiskArrayOutputWithContext(ctx context.Context) GetServerDisksDiskArrayOutput
type GetServerDisksDiskArrayInput ¶ added in v3.10.0
type GetServerDisksDiskArrayInput interface { pulumi.Input ToGetServerDisksDiskArrayOutput() GetServerDisksDiskArrayOutput ToGetServerDisksDiskArrayOutputWithContext(context.Context) GetServerDisksDiskArrayOutput }
GetServerDisksDiskArrayInput is an input type that accepts GetServerDisksDiskArray and GetServerDisksDiskArrayOutput values. You can construct a concrete instance of `GetServerDisksDiskArrayInput` via:
GetServerDisksDiskArray{ GetServerDisksDiskArgs{...} }
type GetServerDisksDiskArrayOutput ¶ added in v3.10.0
type GetServerDisksDiskArrayOutput struct{ *pulumi.OutputState }
func (GetServerDisksDiskArrayOutput) ElementType ¶ added in v3.10.0
func (GetServerDisksDiskArrayOutput) ElementType() reflect.Type
func (GetServerDisksDiskArrayOutput) Index ¶ added in v3.10.0
func (o GetServerDisksDiskArrayOutput) Index(i pulumi.IntInput) GetServerDisksDiskOutput
func (GetServerDisksDiskArrayOutput) ToGetServerDisksDiskArrayOutput ¶ added in v3.10.0
func (o GetServerDisksDiskArrayOutput) ToGetServerDisksDiskArrayOutput() GetServerDisksDiskArrayOutput
func (GetServerDisksDiskArrayOutput) ToGetServerDisksDiskArrayOutputWithContext ¶ added in v3.10.0
func (o GetServerDisksDiskArrayOutput) ToGetServerDisksDiskArrayOutputWithContext(ctx context.Context) GetServerDisksDiskArrayOutput
type GetServerDisksDiskInput ¶ added in v3.10.0
type GetServerDisksDiskInput interface { pulumi.Input ToGetServerDisksDiskOutput() GetServerDisksDiskOutput ToGetServerDisksDiskOutputWithContext(context.Context) GetServerDisksDiskOutput }
GetServerDisksDiskInput is an input type that accepts GetServerDisksDiskArgs and GetServerDisksDiskOutput values. You can construct a concrete instance of `GetServerDisksDiskInput` via:
GetServerDisksDiskArgs{...}
type GetServerDisksDiskOutput ¶ added in v3.10.0
type GetServerDisksDiskOutput struct{ *pulumi.OutputState }
func (GetServerDisksDiskOutput) Category ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) Category() pulumi.StringOutput
Disk type. Possible values: `ESSD`, `SSD`.
func (GetServerDisksDiskOutput) CreateTime ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) CreateTime() pulumi.StringOutput
The time when the disk was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
func (GetServerDisksDiskOutput) Device ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) Device() pulumi.StringOutput
The device name of the disk on the simple application server.
func (GetServerDisksDiskOutput) DiskId ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) DiskId() pulumi.StringOutput
The first ID of the resource.
func (GetServerDisksDiskOutput) DiskName ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) DiskName() pulumi.StringOutput
The name of the resource.
func (GetServerDisksDiskOutput) DiskType ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) DiskType() pulumi.StringOutput
The type of the disk. Possible values: `System`, `Data`.
func (GetServerDisksDiskOutput) ElementType ¶ added in v3.10.0
func (GetServerDisksDiskOutput) ElementType() reflect.Type
func (GetServerDisksDiskOutput) Id ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) Id() pulumi.StringOutput
The ID of the Disk.
func (GetServerDisksDiskOutput) InstanceId ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) InstanceId() pulumi.StringOutput
Alibaba Cloud simple application server instance ID.
func (GetServerDisksDiskOutput) PaymentType ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) PaymentType() pulumi.StringOutput
The payment type of the resource. Valid values: `PayAsYouGo`, `Subscription`.
func (GetServerDisksDiskOutput) Size ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) Size() pulumi.IntOutput
The size of the disk. Unit: `GB`.
func (GetServerDisksDiskOutput) Status ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) Status() pulumi.StringOutput
The status of the disk. Valid values: `ReIniting`, `Creating`, `In_Use`, `Available`, `Attaching`, `Detaching`.
func (GetServerDisksDiskOutput) ToGetServerDisksDiskOutput ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) ToGetServerDisksDiskOutput() GetServerDisksDiskOutput
func (GetServerDisksDiskOutput) ToGetServerDisksDiskOutputWithContext ¶ added in v3.10.0
func (o GetServerDisksDiskOutput) ToGetServerDisksDiskOutputWithContext(ctx context.Context) GetServerDisksDiskOutput
type GetServerDisksOutputArgs ¶ added in v3.10.0
type GetServerDisksOutputArgs struct { // The type of the disk. Possible values: `System`, `Data`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // A list of Disk IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // A regex string to filter results by Disk name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the disk. Valid values: `ReIniting`, `Creating`, `In_Use`, `Available`, `Attaching`, `Detaching`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getServerDisks.
func (GetServerDisksOutputArgs) ElementType ¶ added in v3.10.0
func (GetServerDisksOutputArgs) ElementType() reflect.Type
type GetServerDisksResult ¶ added in v3.10.0
type GetServerDisksResult struct { DiskType *string `pulumi:"diskType"` Disks []GetServerDisksDisk `pulumi:"disks"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId *string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` }
A collection of values returned by getServerDisks.
func GetServerDisks ¶ added in v3.10.0
func GetServerDisks(ctx *pulumi.Context, args *GetServerDisksArgs, opts ...pulumi.InvokeOption) (*GetServerDisksResult, error)
This data source provides the Simple Application Server Disks of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/simpleapplicationserver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := simpleapplicationserver.GetServerDisks(ctx, &simpleapplicationserver.GetServerDisksArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerDiskId1", ids.Disks[0].Id) nameRegex, err := simpleapplicationserver.GetServerDisks(ctx, &simpleapplicationserver.GetServerDisksArgs{ NameRegex: pulumi.StringRef("^my-Disk"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerDiskId2", nameRegex.Disks[0].Id) status, err := simpleapplicationserver.GetServerDisks(ctx, &simpleapplicationserver.GetServerDisksArgs{ Status: pulumi.StringRef("In_use"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerDiskId3", status.Disks[0].Id) instanceId, err := simpleapplicationserver.GetServerDisks(ctx, &simpleapplicationserver.GetServerDisksArgs{ InstanceId: pulumi.StringRef("example_value"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerDiskId4", instanceId.Disks[0].Id) diskType, err := simpleapplicationserver.GetServerDisks(ctx, &simpleapplicationserver.GetServerDisksArgs{ DiskType: pulumi.StringRef("System"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerDiskId5", diskType.Disks[0].Id) return nil }) }
```
type GetServerDisksResultOutput ¶ added in v3.10.0
type GetServerDisksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerDisks.
func GetServerDisksOutput ¶ added in v3.10.0
func GetServerDisksOutput(ctx *pulumi.Context, args GetServerDisksOutputArgs, opts ...pulumi.InvokeOption) GetServerDisksResultOutput
func (GetServerDisksResultOutput) DiskType ¶ added in v3.10.0
func (o GetServerDisksResultOutput) DiskType() pulumi.StringPtrOutput
func (GetServerDisksResultOutput) Disks ¶ added in v3.10.0
func (o GetServerDisksResultOutput) Disks() GetServerDisksDiskArrayOutput
func (GetServerDisksResultOutput) ElementType ¶ added in v3.10.0
func (GetServerDisksResultOutput) ElementType() reflect.Type
func (GetServerDisksResultOutput) Id ¶ added in v3.10.0
func (o GetServerDisksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerDisksResultOutput) Ids ¶ added in v3.10.0
func (o GetServerDisksResultOutput) Ids() pulumi.StringArrayOutput
func (GetServerDisksResultOutput) InstanceId ¶ added in v3.10.0
func (o GetServerDisksResultOutput) InstanceId() pulumi.StringPtrOutput
func (GetServerDisksResultOutput) NameRegex ¶ added in v3.10.0
func (o GetServerDisksResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetServerDisksResultOutput) Names ¶ added in v3.10.0
func (o GetServerDisksResultOutput) Names() pulumi.StringArrayOutput
func (GetServerDisksResultOutput) OutputFile ¶ added in v3.10.0
func (o GetServerDisksResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerDisksResultOutput) Status ¶ added in v3.10.0
func (o GetServerDisksResultOutput) Status() pulumi.StringPtrOutput
func (GetServerDisksResultOutput) ToGetServerDisksResultOutput ¶ added in v3.10.0
func (o GetServerDisksResultOutput) ToGetServerDisksResultOutput() GetServerDisksResultOutput
func (GetServerDisksResultOutput) ToGetServerDisksResultOutputWithContext ¶ added in v3.10.0
func (o GetServerDisksResultOutput) ToGetServerDisksResultOutputWithContext(ctx context.Context) GetServerDisksResultOutput
type GetServerFirewallRulesArgs ¶ added in v3.10.0
type GetServerFirewallRulesArgs struct { // A list of Firewall Rule IDs. Ids []string `pulumi:"ids"` // Alibaba Cloud simple application server instance ID. InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServerFirewallRules.
type GetServerFirewallRulesOutputArgs ¶ added in v3.10.0
type GetServerFirewallRulesOutputArgs struct { // A list of Firewall Rule IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringInput `pulumi:"instanceId"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getServerFirewallRules.
func (GetServerFirewallRulesOutputArgs) ElementType ¶ added in v3.10.0
func (GetServerFirewallRulesOutputArgs) ElementType() reflect.Type
type GetServerFirewallRulesResult ¶ added in v3.10.0
type GetServerFirewallRulesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` Rules []GetServerFirewallRulesRule `pulumi:"rules"` }
A collection of values returned by getServerFirewallRules.
func GetServerFirewallRules ¶ added in v3.10.0
func GetServerFirewallRules(ctx *pulumi.Context, args *GetServerFirewallRulesArgs, opts ...pulumi.InvokeOption) (*GetServerFirewallRulesResult, error)
This data source provides the Simple Application Server Firewall Rules of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/simpleapplicationserver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := simpleapplicationserver.GetServerFirewallRules(ctx, &simpleapplicationserver.GetServerFirewallRulesArgs{ InstanceId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerFirewallRuleId1", ids.Rules[0].Id) return nil }) }
```
type GetServerFirewallRulesResultOutput ¶ added in v3.10.0
type GetServerFirewallRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerFirewallRules.
func GetServerFirewallRulesOutput ¶ added in v3.10.0
func GetServerFirewallRulesOutput(ctx *pulumi.Context, args GetServerFirewallRulesOutputArgs, opts ...pulumi.InvokeOption) GetServerFirewallRulesResultOutput
func (GetServerFirewallRulesResultOutput) ElementType ¶ added in v3.10.0
func (GetServerFirewallRulesResultOutput) ElementType() reflect.Type
func (GetServerFirewallRulesResultOutput) Id ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerFirewallRulesResultOutput) Ids ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) Ids() pulumi.StringArrayOutput
func (GetServerFirewallRulesResultOutput) InstanceId ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) InstanceId() pulumi.StringOutput
func (GetServerFirewallRulesResultOutput) OutputFile ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerFirewallRulesResultOutput) Rules ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) Rules() GetServerFirewallRulesRuleArrayOutput
func (GetServerFirewallRulesResultOutput) ToGetServerFirewallRulesResultOutput ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) ToGetServerFirewallRulesResultOutput() GetServerFirewallRulesResultOutput
func (GetServerFirewallRulesResultOutput) ToGetServerFirewallRulesResultOutputWithContext ¶ added in v3.10.0
func (o GetServerFirewallRulesResultOutput) ToGetServerFirewallRulesResultOutputWithContext(ctx context.Context) GetServerFirewallRulesResultOutput
type GetServerFirewallRulesRule ¶ added in v3.10.0
type GetServerFirewallRulesRule struct { // The ID of the firewall rule. FirewallRuleId string `pulumi:"firewallRuleId"` // The ID of the Firewall Rule. The value formats as `<instance_id>:<firewall_rule_id>`. Id string `pulumi:"id"` // Alibaba Cloud simple application server instance ID. InstanceId string `pulumi:"instanceId"` // The port range of the firewall rule. Port string `pulumi:"port"` // The remarks of the firewall rule. Remark string `pulumi:"remark"` // The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`. RuleProtocol string `pulumi:"ruleProtocol"` }
type GetServerFirewallRulesRuleArgs ¶ added in v3.10.0
type GetServerFirewallRulesRuleArgs struct { // The ID of the firewall rule. FirewallRuleId pulumi.StringInput `pulumi:"firewallRuleId"` // The ID of the Firewall Rule. The value formats as `<instance_id>:<firewall_rule_id>`. Id pulumi.StringInput `pulumi:"id"` // Alibaba Cloud simple application server instance ID. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The port range of the firewall rule. Port pulumi.StringInput `pulumi:"port"` // The remarks of the firewall rule. Remark pulumi.StringInput `pulumi:"remark"` // The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`. RuleProtocol pulumi.StringInput `pulumi:"ruleProtocol"` }
func (GetServerFirewallRulesRuleArgs) ElementType ¶ added in v3.10.0
func (GetServerFirewallRulesRuleArgs) ElementType() reflect.Type
func (GetServerFirewallRulesRuleArgs) ToGetServerFirewallRulesRuleOutput ¶ added in v3.10.0
func (i GetServerFirewallRulesRuleArgs) ToGetServerFirewallRulesRuleOutput() GetServerFirewallRulesRuleOutput
func (GetServerFirewallRulesRuleArgs) ToGetServerFirewallRulesRuleOutputWithContext ¶ added in v3.10.0
func (i GetServerFirewallRulesRuleArgs) ToGetServerFirewallRulesRuleOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleOutput
type GetServerFirewallRulesRuleArray ¶ added in v3.10.0
type GetServerFirewallRulesRuleArray []GetServerFirewallRulesRuleInput
func (GetServerFirewallRulesRuleArray) ElementType ¶ added in v3.10.0
func (GetServerFirewallRulesRuleArray) ElementType() reflect.Type
func (GetServerFirewallRulesRuleArray) ToGetServerFirewallRulesRuleArrayOutput ¶ added in v3.10.0
func (i GetServerFirewallRulesRuleArray) ToGetServerFirewallRulesRuleArrayOutput() GetServerFirewallRulesRuleArrayOutput
func (GetServerFirewallRulesRuleArray) ToGetServerFirewallRulesRuleArrayOutputWithContext ¶ added in v3.10.0
func (i GetServerFirewallRulesRuleArray) ToGetServerFirewallRulesRuleArrayOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleArrayOutput
type GetServerFirewallRulesRuleArrayInput ¶ added in v3.10.0
type GetServerFirewallRulesRuleArrayInput interface { pulumi.Input ToGetServerFirewallRulesRuleArrayOutput() GetServerFirewallRulesRuleArrayOutput ToGetServerFirewallRulesRuleArrayOutputWithContext(context.Context) GetServerFirewallRulesRuleArrayOutput }
GetServerFirewallRulesRuleArrayInput is an input type that accepts GetServerFirewallRulesRuleArray and GetServerFirewallRulesRuleArrayOutput values. You can construct a concrete instance of `GetServerFirewallRulesRuleArrayInput` via:
GetServerFirewallRulesRuleArray{ GetServerFirewallRulesRuleArgs{...} }
type GetServerFirewallRulesRuleArrayOutput ¶ added in v3.10.0
type GetServerFirewallRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetServerFirewallRulesRuleArrayOutput) ElementType ¶ added in v3.10.0
func (GetServerFirewallRulesRuleArrayOutput) ElementType() reflect.Type
func (GetServerFirewallRulesRuleArrayOutput) Index ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleArrayOutput) Index(i pulumi.IntInput) GetServerFirewallRulesRuleOutput
func (GetServerFirewallRulesRuleArrayOutput) ToGetServerFirewallRulesRuleArrayOutput ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleArrayOutput) ToGetServerFirewallRulesRuleArrayOutput() GetServerFirewallRulesRuleArrayOutput
func (GetServerFirewallRulesRuleArrayOutput) ToGetServerFirewallRulesRuleArrayOutputWithContext ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleArrayOutput) ToGetServerFirewallRulesRuleArrayOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleArrayOutput
type GetServerFirewallRulesRuleInput ¶ added in v3.10.0
type GetServerFirewallRulesRuleInput interface { pulumi.Input ToGetServerFirewallRulesRuleOutput() GetServerFirewallRulesRuleOutput ToGetServerFirewallRulesRuleOutputWithContext(context.Context) GetServerFirewallRulesRuleOutput }
GetServerFirewallRulesRuleInput is an input type that accepts GetServerFirewallRulesRuleArgs and GetServerFirewallRulesRuleOutput values. You can construct a concrete instance of `GetServerFirewallRulesRuleInput` via:
GetServerFirewallRulesRuleArgs{...}
type GetServerFirewallRulesRuleOutput ¶ added in v3.10.0
type GetServerFirewallRulesRuleOutput struct{ *pulumi.OutputState }
func (GetServerFirewallRulesRuleOutput) ElementType ¶ added in v3.10.0
func (GetServerFirewallRulesRuleOutput) ElementType() reflect.Type
func (GetServerFirewallRulesRuleOutput) FirewallRuleId ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) FirewallRuleId() pulumi.StringOutput
The ID of the firewall rule.
func (GetServerFirewallRulesRuleOutput) Id ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Firewall Rule. The value formats as `<instance_id>:<firewall_rule_id>`.
func (GetServerFirewallRulesRuleOutput) InstanceId ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) InstanceId() pulumi.StringOutput
Alibaba Cloud simple application server instance ID.
func (GetServerFirewallRulesRuleOutput) Port ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) Port() pulumi.StringOutput
The port range of the firewall rule.
func (GetServerFirewallRulesRuleOutput) Remark ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) Remark() pulumi.StringOutput
The remarks of the firewall rule.
func (GetServerFirewallRulesRuleOutput) RuleProtocol ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) RuleProtocol() pulumi.StringOutput
The transport layer protocol. Valid values: `Tcp`, `Udp`, `TcpAndUdp`.
func (GetServerFirewallRulesRuleOutput) ToGetServerFirewallRulesRuleOutput ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) ToGetServerFirewallRulesRuleOutput() GetServerFirewallRulesRuleOutput
func (GetServerFirewallRulesRuleOutput) ToGetServerFirewallRulesRuleOutputWithContext ¶ added in v3.10.0
func (o GetServerFirewallRulesRuleOutput) ToGetServerFirewallRulesRuleOutputWithContext(ctx context.Context) GetServerFirewallRulesRuleOutput
type GetServerPlansArgs ¶
type GetServerPlansArgs struct { // The peak bandwidth. Unit: Mbit/s. Bandwidth *int `pulumi:"bandwidth"` // The number of CPU cores. Core *int `pulumi:"core"` // The size of the enhanced SSD (ESSD). Unit: GB. DiskSize *int `pulumi:"diskSize"` // The monthly data transfer quota. Unit: GB. Flow *int `pulumi:"flow"` // A list of Instance Plan IDs. Ids []string `pulumi:"ids"` // The memory size. Unit: GB. Memory *int `pulumi:"memory"` OutputFile *string `pulumi:"outputFile"` // The platform of Plan supported. Valid values: ["Linux", "Windows"]. Platform *string `pulumi:"platform"` }
A collection of arguments for invoking getServerPlans.
type GetServerPlansOutputArgs ¶ added in v3.9.0
type GetServerPlansOutputArgs struct { // The peak bandwidth. Unit: Mbit/s. Bandwidth pulumi.IntPtrInput `pulumi:"bandwidth"` // The number of CPU cores. Core pulumi.IntPtrInput `pulumi:"core"` // The size of the enhanced SSD (ESSD). Unit: GB. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // The monthly data transfer quota. Unit: GB. Flow pulumi.IntPtrInput `pulumi:"flow"` // A list of Instance Plan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The memory size. Unit: GB. Memory pulumi.IntPtrInput `pulumi:"memory"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The platform of Plan supported. Valid values: ["Linux", "Windows"]. Platform pulumi.StringPtrInput `pulumi:"platform"` }
A collection of arguments for invoking getServerPlans.
func (GetServerPlansOutputArgs) ElementType ¶ added in v3.9.0
func (GetServerPlansOutputArgs) ElementType() reflect.Type
type GetServerPlansPlan ¶
type GetServerPlansPlan struct { // The peak bandwidth. Unit: Mbit/s. Bandwidth int `pulumi:"bandwidth"` // The number of CPU cores. Core int `pulumi:"core"` // The size of the enhanced SSD (ESSD). Unit: GB. DiskSize int `pulumi:"diskSize"` // The monthly data transfer quota. Unit: GB. Flow int `pulumi:"flow"` // The ID of the Instance Plan. Id string `pulumi:"id"` // The memory size. Unit: GB. Memory int `pulumi:"memory"` // The ID of the Instance Plan. PlanId string `pulumi:"planId"` // The platform of Plan supported. SupportPlatform string `pulumi:"supportPlatform"` }
type GetServerPlansPlanArgs ¶
type GetServerPlansPlanArgs struct { // The peak bandwidth. Unit: Mbit/s. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // The number of CPU cores. Core pulumi.IntInput `pulumi:"core"` // The size of the enhanced SSD (ESSD). Unit: GB. DiskSize pulumi.IntInput `pulumi:"diskSize"` // The monthly data transfer quota. Unit: GB. Flow pulumi.IntInput `pulumi:"flow"` // The ID of the Instance Plan. Id pulumi.StringInput `pulumi:"id"` // The memory size. Unit: GB. Memory pulumi.IntInput `pulumi:"memory"` // The ID of the Instance Plan. PlanId pulumi.StringInput `pulumi:"planId"` // The platform of Plan supported. SupportPlatform pulumi.StringInput `pulumi:"supportPlatform"` }
func (GetServerPlansPlanArgs) ElementType ¶
func (GetServerPlansPlanArgs) ElementType() reflect.Type
func (GetServerPlansPlanArgs) ToGetServerPlansPlanOutput ¶
func (i GetServerPlansPlanArgs) ToGetServerPlansPlanOutput() GetServerPlansPlanOutput
func (GetServerPlansPlanArgs) ToGetServerPlansPlanOutputWithContext ¶
func (i GetServerPlansPlanArgs) ToGetServerPlansPlanOutputWithContext(ctx context.Context) GetServerPlansPlanOutput
type GetServerPlansPlanArray ¶
type GetServerPlansPlanArray []GetServerPlansPlanInput
func (GetServerPlansPlanArray) ElementType ¶
func (GetServerPlansPlanArray) ElementType() reflect.Type
func (GetServerPlansPlanArray) ToGetServerPlansPlanArrayOutput ¶
func (i GetServerPlansPlanArray) ToGetServerPlansPlanArrayOutput() GetServerPlansPlanArrayOutput
func (GetServerPlansPlanArray) ToGetServerPlansPlanArrayOutputWithContext ¶
func (i GetServerPlansPlanArray) ToGetServerPlansPlanArrayOutputWithContext(ctx context.Context) GetServerPlansPlanArrayOutput
type GetServerPlansPlanArrayInput ¶
type GetServerPlansPlanArrayInput interface { pulumi.Input ToGetServerPlansPlanArrayOutput() GetServerPlansPlanArrayOutput ToGetServerPlansPlanArrayOutputWithContext(context.Context) GetServerPlansPlanArrayOutput }
GetServerPlansPlanArrayInput is an input type that accepts GetServerPlansPlanArray and GetServerPlansPlanArrayOutput values. You can construct a concrete instance of `GetServerPlansPlanArrayInput` via:
GetServerPlansPlanArray{ GetServerPlansPlanArgs{...} }
type GetServerPlansPlanArrayOutput ¶
type GetServerPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetServerPlansPlanArrayOutput) ElementType ¶
func (GetServerPlansPlanArrayOutput) ElementType() reflect.Type
func (GetServerPlansPlanArrayOutput) Index ¶
func (o GetServerPlansPlanArrayOutput) Index(i pulumi.IntInput) GetServerPlansPlanOutput
func (GetServerPlansPlanArrayOutput) ToGetServerPlansPlanArrayOutput ¶
func (o GetServerPlansPlanArrayOutput) ToGetServerPlansPlanArrayOutput() GetServerPlansPlanArrayOutput
func (GetServerPlansPlanArrayOutput) ToGetServerPlansPlanArrayOutputWithContext ¶
func (o GetServerPlansPlanArrayOutput) ToGetServerPlansPlanArrayOutputWithContext(ctx context.Context) GetServerPlansPlanArrayOutput
type GetServerPlansPlanInput ¶
type GetServerPlansPlanInput interface { pulumi.Input ToGetServerPlansPlanOutput() GetServerPlansPlanOutput ToGetServerPlansPlanOutputWithContext(context.Context) GetServerPlansPlanOutput }
GetServerPlansPlanInput is an input type that accepts GetServerPlansPlanArgs and GetServerPlansPlanOutput values. You can construct a concrete instance of `GetServerPlansPlanInput` via:
GetServerPlansPlanArgs{...}
type GetServerPlansPlanOutput ¶
type GetServerPlansPlanOutput struct{ *pulumi.OutputState }
func (GetServerPlansPlanOutput) Bandwidth ¶
func (o GetServerPlansPlanOutput) Bandwidth() pulumi.IntOutput
The peak bandwidth. Unit: Mbit/s.
func (GetServerPlansPlanOutput) Core ¶
func (o GetServerPlansPlanOutput) Core() pulumi.IntOutput
The number of CPU cores.
func (GetServerPlansPlanOutput) DiskSize ¶
func (o GetServerPlansPlanOutput) DiskSize() pulumi.IntOutput
The size of the enhanced SSD (ESSD). Unit: GB.
func (GetServerPlansPlanOutput) ElementType ¶
func (GetServerPlansPlanOutput) ElementType() reflect.Type
func (GetServerPlansPlanOutput) Flow ¶
func (o GetServerPlansPlanOutput) Flow() pulumi.IntOutput
The monthly data transfer quota. Unit: GB.
func (GetServerPlansPlanOutput) Id ¶
func (o GetServerPlansPlanOutput) Id() pulumi.StringOutput
The ID of the Instance Plan.
func (GetServerPlansPlanOutput) Memory ¶
func (o GetServerPlansPlanOutput) Memory() pulumi.IntOutput
The memory size. Unit: GB.
func (GetServerPlansPlanOutput) PlanId ¶
func (o GetServerPlansPlanOutput) PlanId() pulumi.StringOutput
The ID of the Instance Plan.
func (GetServerPlansPlanOutput) SupportPlatform ¶ added in v3.20.0
func (o GetServerPlansPlanOutput) SupportPlatform() pulumi.StringOutput
The platform of Plan supported.
func (GetServerPlansPlanOutput) ToGetServerPlansPlanOutput ¶
func (o GetServerPlansPlanOutput) ToGetServerPlansPlanOutput() GetServerPlansPlanOutput
func (GetServerPlansPlanOutput) ToGetServerPlansPlanOutputWithContext ¶
func (o GetServerPlansPlanOutput) ToGetServerPlansPlanOutputWithContext(ctx context.Context) GetServerPlansPlanOutput
type GetServerPlansResult ¶
type GetServerPlansResult struct { Bandwidth *int `pulumi:"bandwidth"` Core *int `pulumi:"core"` DiskSize *int `pulumi:"diskSize"` Flow *int `pulumi:"flow"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Memory *int `pulumi:"memory"` OutputFile *string `pulumi:"outputFile"` Plans []GetServerPlansPlan `pulumi:"plans"` Platform *string `pulumi:"platform"` }
A collection of values returned by getServerPlans.
func GetServerPlans ¶
func GetServerPlans(ctx *pulumi.Context, args *GetServerPlansArgs, opts ...pulumi.InvokeOption) (*GetServerPlansResult, error)
This data source provides the Simple Application Server Plans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.135.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/simpleapplicationserver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := simpleapplicationserver.GetServerPlans(ctx, &simpleapplicationserver.GetServerPlansArgs{ Memory: pulumi.IntRef(1), Bandwidth: pulumi.IntRef(3), DiskSize: pulumi.IntRef(40), Flow: pulumi.IntRef(6), Core: pulumi.IntRef(2), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerPlanId1", data.Alicloud_simple_application_server_plans.Ids.Plans[0].Id) return nil }) }
```
type GetServerPlansResultOutput ¶ added in v3.9.0
type GetServerPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerPlans.
func GetServerPlansOutput ¶ added in v3.9.0
func GetServerPlansOutput(ctx *pulumi.Context, args GetServerPlansOutputArgs, opts ...pulumi.InvokeOption) GetServerPlansResultOutput
func (GetServerPlansResultOutput) Bandwidth ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Bandwidth() pulumi.IntPtrOutput
func (GetServerPlansResultOutput) Core ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Core() pulumi.IntPtrOutput
func (GetServerPlansResultOutput) DiskSize ¶ added in v3.9.0
func (o GetServerPlansResultOutput) DiskSize() pulumi.IntPtrOutput
func (GetServerPlansResultOutput) ElementType ¶ added in v3.9.0
func (GetServerPlansResultOutput) ElementType() reflect.Type
func (GetServerPlansResultOutput) Flow ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Flow() pulumi.IntPtrOutput
func (GetServerPlansResultOutput) Id ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerPlansResultOutput) Ids ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetServerPlansResultOutput) Memory ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Memory() pulumi.IntPtrOutput
func (GetServerPlansResultOutput) OutputFile ¶ added in v3.9.0
func (o GetServerPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerPlansResultOutput) Plans ¶ added in v3.9.0
func (o GetServerPlansResultOutput) Plans() GetServerPlansPlanArrayOutput
func (GetServerPlansResultOutput) Platform ¶ added in v3.20.0
func (o GetServerPlansResultOutput) Platform() pulumi.StringPtrOutput
func (GetServerPlansResultOutput) ToGetServerPlansResultOutput ¶ added in v3.9.0
func (o GetServerPlansResultOutput) ToGetServerPlansResultOutput() GetServerPlansResultOutput
func (GetServerPlansResultOutput) ToGetServerPlansResultOutputWithContext ¶ added in v3.9.0
func (o GetServerPlansResultOutput) ToGetServerPlansResultOutputWithContext(ctx context.Context) GetServerPlansResultOutput
type GetServerSnapshotsArgs ¶ added in v3.10.0
type GetServerSnapshotsArgs struct { // The ID of the source disk. This parameter has a value even after the source disk is released. DiskId *string `pulumi:"diskId"` // A list of Snapshot IDs. Ids []string `pulumi:"ids"` // The ID of the simple application server. InstanceId *string `pulumi:"instanceId"` // A regex string to filter results by Snapshot name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the snapshots. Valid values: `Progressing`, `Accomplished` and `Failed`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getServerSnapshots.
type GetServerSnapshotsOutputArgs ¶ added in v3.10.0
type GetServerSnapshotsOutputArgs struct { // The ID of the source disk. This parameter has a value even after the source disk is released. DiskId pulumi.StringPtrInput `pulumi:"diskId"` // A list of Snapshot IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The ID of the simple application server. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // A regex string to filter results by Snapshot name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the snapshots. Valid values: `Progressing`, `Accomplished` and `Failed`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getServerSnapshots.
func (GetServerSnapshotsOutputArgs) ElementType ¶ added in v3.10.0
func (GetServerSnapshotsOutputArgs) ElementType() reflect.Type
type GetServerSnapshotsResult ¶ added in v3.10.0
type GetServerSnapshotsResult struct { DiskId *string `pulumi:"diskId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId *string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Snapshots []GetServerSnapshotsSnapshot `pulumi:"snapshots"` Status *string `pulumi:"status"` }
A collection of values returned by getServerSnapshots.
func GetServerSnapshots ¶ added in v3.10.0
func GetServerSnapshots(ctx *pulumi.Context, args *GetServerSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetServerSnapshotsResult, error)
This data source provides the Simple Application Server Snapshots of the current Alibaba Cloud user.
> **NOTE:** Available in v1.143.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/simpleapplicationserver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := simpleapplicationserver.GetServerSnapshots(ctx, &simpleapplicationserver.GetServerSnapshotsArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerSnapshotId1", ids.Snapshots[0].Id) nameRegex, err := simpleapplicationserver.GetServerSnapshots(ctx, &simpleapplicationserver.GetServerSnapshotsArgs{ NameRegex: pulumi.StringRef("^my-Snapshot"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerSnapshotId2", nameRegex.Snapshots[0].Id) diskIdConf, err := simpleapplicationserver.GetServerSnapshots(ctx, &simpleapplicationserver.GetServerSnapshotsArgs{ Ids: []string{ "example_id", }, DiskId: pulumi.StringRef("example_value"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerSnapshotId3", diskIdConf.Snapshots[0].Id) instanceIdConf, err := simpleapplicationserver.GetServerSnapshots(ctx, &simpleapplicationserver.GetServerSnapshotsArgs{ Ids: []string{ "example_id", }, InstanceId: pulumi.StringRef("example_value"), }, nil) if err != nil { return err } ctx.Export("simpleApplicationServerSnapshotId4", instanceIdConf.Snapshots[0].Id) return nil }) }
```
type GetServerSnapshotsResultOutput ¶ added in v3.10.0
type GetServerSnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerSnapshots.
func GetServerSnapshotsOutput ¶ added in v3.10.0
func GetServerSnapshotsOutput(ctx *pulumi.Context, args GetServerSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetServerSnapshotsResultOutput
func (GetServerSnapshotsResultOutput) DiskId ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) DiskId() pulumi.StringPtrOutput
func (GetServerSnapshotsResultOutput) ElementType ¶ added in v3.10.0
func (GetServerSnapshotsResultOutput) ElementType() reflect.Type
func (GetServerSnapshotsResultOutput) Id ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerSnapshotsResultOutput) Ids ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
func (GetServerSnapshotsResultOutput) InstanceId ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) InstanceId() pulumi.StringPtrOutput
func (GetServerSnapshotsResultOutput) NameRegex ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetServerSnapshotsResultOutput) Names ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) Names() pulumi.StringArrayOutput
func (GetServerSnapshotsResultOutput) OutputFile ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerSnapshotsResultOutput) Snapshots ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) Snapshots() GetServerSnapshotsSnapshotArrayOutput
func (GetServerSnapshotsResultOutput) Status ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) Status() pulumi.StringPtrOutput
func (GetServerSnapshotsResultOutput) ToGetServerSnapshotsResultOutput ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) ToGetServerSnapshotsResultOutput() GetServerSnapshotsResultOutput
func (GetServerSnapshotsResultOutput) ToGetServerSnapshotsResultOutputWithContext ¶ added in v3.10.0
func (o GetServerSnapshotsResultOutput) ToGetServerSnapshotsResultOutputWithContext(ctx context.Context) GetServerSnapshotsResultOutput
type GetServerSnapshotsSnapshot ¶ added in v3.10.0
type GetServerSnapshotsSnapshot struct { // The time when the snapshot was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. CreateTime string `pulumi:"createTime"` // The ID of the source disk. This parameter has a value even after the source disk is released. DiskId string `pulumi:"diskId"` // The ID of the Snapshot. Id string `pulumi:"id"` // The progress of snapshot creation. Progress string `pulumi:"progress"` // The remarks of the snapshot. Remark string `pulumi:"remark"` // The ID of the snapshot. SnapshotId string `pulumi:"snapshotId"` // The name of the snapshot. SnapshotName string `pulumi:"snapshotName"` // A snapshot of the source of a disk type. Possible values: `System`, `Data`. SourceDiskType string `pulumi:"sourceDiskType"` // The status of the snapshots. Valid values: `Progressing`, `Accomplished` and `Failed`. Status string `pulumi:"status"` }
type GetServerSnapshotsSnapshotArgs ¶ added in v3.10.0
type GetServerSnapshotsSnapshotArgs struct { // The time when the snapshot was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the source disk. This parameter has a value even after the source disk is released. DiskId pulumi.StringInput `pulumi:"diskId"` // The ID of the Snapshot. Id pulumi.StringInput `pulumi:"id"` // The progress of snapshot creation. Progress pulumi.StringInput `pulumi:"progress"` // The remarks of the snapshot. Remark pulumi.StringInput `pulumi:"remark"` // The ID of the snapshot. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // The name of the snapshot. SnapshotName pulumi.StringInput `pulumi:"snapshotName"` // A snapshot of the source of a disk type. Possible values: `System`, `Data`. SourceDiskType pulumi.StringInput `pulumi:"sourceDiskType"` // The status of the snapshots. Valid values: `Progressing`, `Accomplished` and `Failed`. Status pulumi.StringInput `pulumi:"status"` }
func (GetServerSnapshotsSnapshotArgs) ElementType ¶ added in v3.10.0
func (GetServerSnapshotsSnapshotArgs) ElementType() reflect.Type
func (GetServerSnapshotsSnapshotArgs) ToGetServerSnapshotsSnapshotOutput ¶ added in v3.10.0
func (i GetServerSnapshotsSnapshotArgs) ToGetServerSnapshotsSnapshotOutput() GetServerSnapshotsSnapshotOutput
func (GetServerSnapshotsSnapshotArgs) ToGetServerSnapshotsSnapshotOutputWithContext ¶ added in v3.10.0
func (i GetServerSnapshotsSnapshotArgs) ToGetServerSnapshotsSnapshotOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotOutput
type GetServerSnapshotsSnapshotArray ¶ added in v3.10.0
type GetServerSnapshotsSnapshotArray []GetServerSnapshotsSnapshotInput
func (GetServerSnapshotsSnapshotArray) ElementType ¶ added in v3.10.0
func (GetServerSnapshotsSnapshotArray) ElementType() reflect.Type
func (GetServerSnapshotsSnapshotArray) ToGetServerSnapshotsSnapshotArrayOutput ¶ added in v3.10.0
func (i GetServerSnapshotsSnapshotArray) ToGetServerSnapshotsSnapshotArrayOutput() GetServerSnapshotsSnapshotArrayOutput
func (GetServerSnapshotsSnapshotArray) ToGetServerSnapshotsSnapshotArrayOutputWithContext ¶ added in v3.10.0
func (i GetServerSnapshotsSnapshotArray) ToGetServerSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotArrayOutput
type GetServerSnapshotsSnapshotArrayInput ¶ added in v3.10.0
type GetServerSnapshotsSnapshotArrayInput interface { pulumi.Input ToGetServerSnapshotsSnapshotArrayOutput() GetServerSnapshotsSnapshotArrayOutput ToGetServerSnapshotsSnapshotArrayOutputWithContext(context.Context) GetServerSnapshotsSnapshotArrayOutput }
GetServerSnapshotsSnapshotArrayInput is an input type that accepts GetServerSnapshotsSnapshotArray and GetServerSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetServerSnapshotsSnapshotArrayInput` via:
GetServerSnapshotsSnapshotArray{ GetServerSnapshotsSnapshotArgs{...} }
type GetServerSnapshotsSnapshotArrayOutput ¶ added in v3.10.0
type GetServerSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (GetServerSnapshotsSnapshotArrayOutput) ElementType ¶ added in v3.10.0
func (GetServerSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
func (GetServerSnapshotsSnapshotArrayOutput) Index ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetServerSnapshotsSnapshotOutput
func (GetServerSnapshotsSnapshotArrayOutput) ToGetServerSnapshotsSnapshotArrayOutput ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotArrayOutput) ToGetServerSnapshotsSnapshotArrayOutput() GetServerSnapshotsSnapshotArrayOutput
func (GetServerSnapshotsSnapshotArrayOutput) ToGetServerSnapshotsSnapshotArrayOutputWithContext ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotArrayOutput) ToGetServerSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotArrayOutput
type GetServerSnapshotsSnapshotInput ¶ added in v3.10.0
type GetServerSnapshotsSnapshotInput interface { pulumi.Input ToGetServerSnapshotsSnapshotOutput() GetServerSnapshotsSnapshotOutput ToGetServerSnapshotsSnapshotOutputWithContext(context.Context) GetServerSnapshotsSnapshotOutput }
GetServerSnapshotsSnapshotInput is an input type that accepts GetServerSnapshotsSnapshotArgs and GetServerSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetServerSnapshotsSnapshotInput` via:
GetServerSnapshotsSnapshotArgs{...}
type GetServerSnapshotsSnapshotOutput ¶ added in v3.10.0
type GetServerSnapshotsSnapshotOutput struct{ *pulumi.OutputState }
func (GetServerSnapshotsSnapshotOutput) CreateTime ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
The time when the snapshot was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
func (GetServerSnapshotsSnapshotOutput) DiskId ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) DiskId() pulumi.StringOutput
The ID of the source disk. This parameter has a value even after the source disk is released.
func (GetServerSnapshotsSnapshotOutput) ElementType ¶ added in v3.10.0
func (GetServerSnapshotsSnapshotOutput) ElementType() reflect.Type
func (GetServerSnapshotsSnapshotOutput) Id ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) Id() pulumi.StringOutput
The ID of the Snapshot.
func (GetServerSnapshotsSnapshotOutput) Progress ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) Progress() pulumi.StringOutput
The progress of snapshot creation.
func (GetServerSnapshotsSnapshotOutput) Remark ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) Remark() pulumi.StringOutput
The remarks of the snapshot.
func (GetServerSnapshotsSnapshotOutput) SnapshotId ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
The ID of the snapshot.
func (GetServerSnapshotsSnapshotOutput) SnapshotName ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) SnapshotName() pulumi.StringOutput
The name of the snapshot.
func (GetServerSnapshotsSnapshotOutput) SourceDiskType ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) SourceDiskType() pulumi.StringOutput
A snapshot of the source of a disk type. Possible values: `System`, `Data`.
func (GetServerSnapshotsSnapshotOutput) Status ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) Status() pulumi.StringOutput
The status of the snapshots. Valid values: `Progressing`, `Accomplished` and `Failed`.
func (GetServerSnapshotsSnapshotOutput) ToGetServerSnapshotsSnapshotOutput ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) ToGetServerSnapshotsSnapshotOutput() GetServerSnapshotsSnapshotOutput
func (GetServerSnapshotsSnapshotOutput) ToGetServerSnapshotsSnapshotOutputWithContext ¶ added in v3.10.0
func (o GetServerSnapshotsSnapshotOutput) ToGetServerSnapshotsSnapshotOutputWithContext(ctx context.Context) GetServerSnapshotsSnapshotOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Specifies whether to enable auto-renewal. Unit: months. Valid values: `true` and `false`. AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"` // The auto renew period. Valid values: `1`,`3`, `6`, `12`, `24`, `36`. **NOTE:** The attribute `autoRenew` is valid when the attribute is `true`. AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"` // The size of the data disk. Unit: GB. Valid values: `0` to `16380`. DataDiskSize pulumi.IntPtrOutput `pulumi:"dataDiskSize"` // The ID of the image. You can use the `simpleapplicationserver.getImages` to query the available images in the specified region. The value must be an integral multiple of 20. ImageId pulumi.StringOutput `pulumi:"imageId"` // The name of the simple application server. InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // The password of the simple application server. The password must be 8 to 30 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include: `( ) ~ ! @ # $ % ^ & * - + = | { } [ ] : ; < > , . ? /`. Password pulumi.StringPtrOutput `pulumi:"password"` // The paymen type of the resource. Valid values: `Subscription`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The period. Unit: months. Valid values: `1`,`3`, `6`, `12`, `24`, `36`. Period pulumi.IntOutput `pulumi:"period"` // The ID of the plan. You can use the `simpleapplicationserver.getServerPlans` to query all the plans provided by Simple Application Server in the specified region. PlanId pulumi.StringOutput `pulumi:"planId"` // The status of the simple application server. Valid values: `Resetting`, `Running`, `Stopped`. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Simple Application Server Instance resource.
For information about Simple Application Server Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/doc-detail/190440.htm).
> **NOTE:** Available in v1.135.0+.
## Import
Simple Application Server Instance can be imported using the id, e.g.
```sh
$ pulumi import alicloud:simpleapplicationserver/instance:Instance example <id>
```
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 { // Specifies whether to enable auto-renewal. Unit: months. Valid values: `true` and `false`. AutoRenew pulumi.BoolPtrInput // The auto renew period. Valid values: `1`,`3`, `6`, `12`, `24`, `36`. **NOTE:** The attribute `autoRenew` is valid when the attribute is `true`. AutoRenewPeriod pulumi.IntPtrInput // The size of the data disk. Unit: GB. Valid values: `0` to `16380`. DataDiskSize pulumi.IntPtrInput // The ID of the image. You can use the `simpleapplicationserver.getImages` to query the available images in the specified region. The value must be an integral multiple of 20. ImageId pulumi.StringInput // The name of the simple application server. InstanceName pulumi.StringPtrInput // The password of the simple application server. The password must be 8 to 30 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include: `( ) ~ ! @ # $ % ^ & * - + = | { } [ ] : ; < > , . ? /`. Password pulumi.StringPtrInput // The paymen type of the resource. Valid values: `Subscription`. PaymentType pulumi.StringPtrInput // The period. Unit: months. Valid values: `1`,`3`, `6`, `12`, `24`, `36`. Period pulumi.IntInput // The ID of the plan. You can use the `simpleapplicationserver.getServerPlans` to query all the plans provided by Simple Application Server in the specified region. PlanId pulumi.StringInput // The status of the simple application server. Valid values: `Resetting`, `Running`, `Stopped`. Status 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 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 { // Specifies whether to enable auto-renewal. Unit: months. Valid values: `true` and `false`. AutoRenew pulumi.BoolPtrInput // The auto renew period. Valid values: `1`,`3`, `6`, `12`, `24`, `36`. **NOTE:** The attribute `autoRenew` is valid when the attribute is `true`. AutoRenewPeriod pulumi.IntPtrInput // The size of the data disk. Unit: GB. Valid values: `0` to `16380`. DataDiskSize pulumi.IntPtrInput // The ID of the image. You can use the `simpleapplicationserver.getImages` to query the available images in the specified region. The value must be an integral multiple of 20. ImageId pulumi.StringPtrInput // The name of the simple application server. InstanceName pulumi.StringPtrInput // The password of the simple application server. The password must be 8 to 30 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include: `( ) ~ ! @ # $ % ^ & * - + = | { } [ ] : ; < > , . ? /`. Password pulumi.StringPtrInput // The paymen type of the resource. Valid values: `Subscription`. PaymentType pulumi.StringPtrInput // The period. Unit: months. Valid values: `1`,`3`, `6`, `12`, `24`, `36`. Period pulumi.IntPtrInput // The ID of the plan. You can use the `simpleapplicationserver.getServerPlans` to query all the plans provided by Simple Application Server in the specified region. PlanId pulumi.StringPtrInput // The status of the simple application server. Valid values: `Resetting`, `Running`, `Stopped`. Status pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type Snapshot ¶ added in v3.10.0
type Snapshot struct { pulumi.CustomResourceState // The ID of the disk. DiskId pulumi.StringOutput `pulumi:"diskId"` // The name of the snapshot. The name must be `2` to `50` characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), periods (.),and hyphens (-). SnapshotName pulumi.StringOutput `pulumi:"snapshotName"` // The status of the snapshot. Valid values: `Progressing`, `Accomplished` and `Failed`. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Simple Application Server Snapshot resource.
For information about Simple Application Server Snapshot and how to use it, see [What is Snapshot](https://www.alibabacloud.com/help/doc-detail/190452.htm).
> **NOTE:** Available in v1.143.0+.
## Import
Simple Application Server Snapshot can be imported using the id, e.g.
```sh
$ pulumi import alicloud:simpleapplicationserver/snapshot:Snapshot example <id>
```
func GetSnapshot ¶ added in v3.10.0
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
func (*Snapshot) ToSnapshotOutput ¶ added in v3.10.0
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶ added in v3.10.0
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶ added in v3.10.0
type SnapshotArgs struct { // The ID of the disk. DiskId pulumi.StringInput // The name of the snapshot. The name must be `2` to `50` characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), periods (.),and hyphens (-). SnapshotName pulumi.StringInput }
The set of arguments for constructing a Snapshot resource.
func (SnapshotArgs) ElementType ¶ added in v3.10.0
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶ added in v3.10.0
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶ added in v3.10.0
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶ added in v3.10.0
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶ added in v3.10.0
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶ added in v3.10.0
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 ¶ added in v3.10.0
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶ added in v3.10.0
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶ added in v3.10.0
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶ added in v3.10.0
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶ added in v3.10.0
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotInput ¶ added in v3.10.0
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶ added in v3.10.0
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶ added in v3.10.0
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶ added in v3.10.0
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶ added in v3.10.0
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶ added in v3.10.0
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 ¶ added in v3.10.0
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶ added in v3.10.0
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶ added in v3.10.0
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶ added in v3.10.0
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶ added in v3.10.0
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶ added in v3.10.0
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) ElementType ¶ added in v3.10.0
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) ToSnapshotOutput ¶ added in v3.10.0
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶ added in v3.10.0
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotState ¶ added in v3.10.0
type SnapshotState struct { // The ID of the disk. DiskId pulumi.StringPtrInput // The name of the snapshot. The name must be `2` to `50` characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (_), periods (.),and hyphens (-). SnapshotName pulumi.StringPtrInput // The status of the snapshot. Valid values: `Progressing`, `Accomplished` and `Failed`. Status pulumi.StringPtrInput }
func (SnapshotState) ElementType ¶ added in v3.10.0
func (SnapshotState) ElementType() reflect.Type