alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.sddp.Instance

Provides a Data Security Center Instance resource.

For information about Data Security Center Instance and how to use it, see What is Instance.

NOTE: Available in v1.136.0+.

NOTE: The Data Security Center Instance is not support in the international site.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = new AliCloud.Sddp.Instance("default", new()
    {
        Dataphin = "yes",
        PaymentType = "Subscription",
        Period = 1,
        SdCbool = "yes",
        Sdc = "3",
        SddpVersion = "version_company",
        UdCbool = "yes",
        Udc = "2000",
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sddp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sddp.NewInstance(ctx, "default", &sddp.InstanceArgs{
			Dataphin:    pulumi.String("yes"),
			PaymentType: pulumi.String("Subscription"),
			Period:      pulumi.Int(1),
			SdCbool:     pulumi.String("yes"),
			Sdc:         pulumi.String("3"),
			SddpVersion: pulumi.String("version_company"),
			UdCbool:     pulumi.String("yes"),
			Udc:         pulumi.String("2000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sddp.Instance;
import com.pulumi.alicloud.sddp.InstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var default_ = new Instance("default", InstanceArgs.builder()        
            .dataphin("yes")
            .paymentType("Subscription")
            .period("1")
            .sdCbool("yes")
            .sdc("3")
            .sddpVersion("version_company")
            .udCbool("yes")
            .udc("2000")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.sddp.Instance("default",
    dataphin="yes",
    payment_type="Subscription",
    period=1,
    sd_cbool="yes",
    sdc="3",
    sddp_version="version_company",
    ud_cbool="yes",
    udc="2000")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.sddp.Instance("default", {
    dataphin: "yes",
    paymentType: "Subscription",
    period: 1,
    sdCbool: "yes",
    sdc: "3",
    sddpVersion: "version_company",
    udCbool: "yes",
    udc: "2000",
});
resources:
  default:
    type: alicloud:sddp:Instance
    properties:
      dataphin: yes
      paymentType: Subscription
      period: '1'
      sdCbool: yes
      sdc: '3'
      sddpVersion: version_company
      udCbool: yes
      udc: '2000'

Create Instance Resource

new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             dataphin: Optional[str] = None,
             dataphin_count: Optional[str] = None,
             logistics: Optional[str] = None,
             modify_type: Optional[str] = None,
             oss_size: Optional[str] = None,
             payment_type: Optional[str] = None,
             period: Optional[int] = None,
             renew_period: Optional[int] = None,
             renewal_status: Optional[str] = None,
             sd_cbool: Optional[str] = None,
             sdc: Optional[str] = None,
             sddp_version: Optional[str] = None,
             ud_cbool: Optional[str] = None,
             udc: Optional[str] = None)
@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: alicloud:sddp:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Instance Resource Properties

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

Inputs

The Instance resource accepts the following input properties:

PaymentType string

The payment type of the resource. Valid values: Subscription.

Period int

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

SdCbool string

Whether to use the database. Valid values:yes,no.

Sdc string

The number of instances.

SddpVersion string

The sddp version. Valid values: version_audit,version_company,version_dlp.

UdCbool string

Whether to use OSS. Valid values: yes,no.

Udc string

OSS Size.

Dataphin string

The dataphin. Valid values: yes,no.

DataphinCount string

The dataphin count. Valid values: 1 to 20.

Logistics string

The logistics.

ModifyType string

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

OssSize string

The OSS storage capacity.

RenewPeriod int

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

RenewalStatus string

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

PaymentType string

The payment type of the resource. Valid values: Subscription.

Period int

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

SdCbool string

Whether to use the database. Valid values:yes,no.

Sdc string

The number of instances.

SddpVersion string

The sddp version. Valid values: version_audit,version_company,version_dlp.

UdCbool string

Whether to use OSS. Valid values: yes,no.

Udc string

OSS Size.

Dataphin string

The dataphin. Valid values: yes,no.

DataphinCount string

The dataphin count. Valid values: 1 to 20.

Logistics string

The logistics.

ModifyType string

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

OssSize string

The OSS storage capacity.

RenewPeriod int

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

RenewalStatus string

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

paymentType String

The payment type of the resource. Valid values: Subscription.

period Integer

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

sdCbool String

Whether to use the database. Valid values:yes,no.

sdc String

The number of instances.

sddpVersion String

The sddp version. Valid values: version_audit,version_company,version_dlp.

udCbool String

Whether to use OSS. Valid values: yes,no.

udc String

OSS Size.

dataphin String

The dataphin. Valid values: yes,no.

dataphinCount String

The dataphin count. Valid values: 1 to 20.

logistics String

The logistics.

modifyType String

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

ossSize String

The OSS storage capacity.

renewPeriod Integer

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewalStatus String

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

paymentType string

The payment type of the resource. Valid values: Subscription.

period number

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

sdCbool string

Whether to use the database. Valid values:yes,no.

sdc string

The number of instances.

sddpVersion string

The sddp version. Valid values: version_audit,version_company,version_dlp.

udCbool string

Whether to use OSS. Valid values: yes,no.

udc string

OSS Size.

dataphin string

The dataphin. Valid values: yes,no.

dataphinCount string

The dataphin count. Valid values: 1 to 20.

logistics string

The logistics.

modifyType string

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

ossSize string

The OSS storage capacity.

renewPeriod number

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewalStatus string

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

payment_type str

The payment type of the resource. Valid values: Subscription.

period int

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

sd_cbool str

Whether to use the database. Valid values:yes,no.

sdc str

The number of instances.

sddp_version str

The sddp version. Valid values: version_audit,version_company,version_dlp.

ud_cbool str

Whether to use OSS. Valid values: yes,no.

udc str

OSS Size.

dataphin str

The dataphin. Valid values: yes,no.

dataphin_count str

The dataphin count. Valid values: 1 to 20.

logistics str

The logistics.

modify_type str

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

oss_size str

The OSS storage capacity.

renew_period int

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewal_status str

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

paymentType String

The payment type of the resource. Valid values: Subscription.

period Number

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

sdCbool String

Whether to use the database. Valid values:yes,no.

sdc String

The number of instances.

sddpVersion String

The sddp version. Valid values: version_audit,version_company,version_dlp.

udCbool String

Whether to use OSS. Valid values: yes,no.

udc String

OSS Size.

dataphin String

The dataphin. Valid values: yes,no.

dataphinCount String

The dataphin count. Valid values: 1 to 20.

logistics String

The logistics.

modifyType String

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

ossSize String

The OSS storage capacity.

renewPeriod Number

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewalStatus String

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

Outputs

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

Authed bool

Whether the required RAM authorization is configured.

Id string

The provider-assigned unique ID for this managed resource.

InstanceNum string

The number of instances.

OdpsSet bool

Whether the authorized MaxCompute (ODPS) assets.

OssBucketSet bool

Whether the authorized oss assets.

RdsSet bool

Whether the authorized rds assets.

RemainDays string

The remaining days of the protection period of the assets in the current login account.

Status string

The status of the resource.

Authed bool

Whether the required RAM authorization is configured.

Id string

The provider-assigned unique ID for this managed resource.

InstanceNum string

The number of instances.

OdpsSet bool

Whether the authorized MaxCompute (ODPS) assets.

OssBucketSet bool

Whether the authorized oss assets.

RdsSet bool

Whether the authorized rds assets.

RemainDays string

The remaining days of the protection period of the assets in the current login account.

Status string

The status of the resource.

authed Boolean

Whether the required RAM authorization is configured.

id String

The provider-assigned unique ID for this managed resource.

instanceNum String

The number of instances.

odpsSet Boolean

Whether the authorized MaxCompute (ODPS) assets.

ossBucketSet Boolean

Whether the authorized oss assets.

rdsSet Boolean

Whether the authorized rds assets.

remainDays String

The remaining days of the protection period of the assets in the current login account.

status String

The status of the resource.

authed boolean

Whether the required RAM authorization is configured.

id string

The provider-assigned unique ID for this managed resource.

instanceNum string

The number of instances.

odpsSet boolean

Whether the authorized MaxCompute (ODPS) assets.

ossBucketSet boolean

Whether the authorized oss assets.

rdsSet boolean

Whether the authorized rds assets.

remainDays string

The remaining days of the protection period of the assets in the current login account.

status string

The status of the resource.

authed bool

Whether the required RAM authorization is configured.

id str

The provider-assigned unique ID for this managed resource.

instance_num str

The number of instances.

odps_set bool

Whether the authorized MaxCompute (ODPS) assets.

oss_bucket_set bool

Whether the authorized oss assets.

rds_set bool

Whether the authorized rds assets.

remain_days str

The remaining days of the protection period of the assets in the current login account.

status str

The status of the resource.

authed Boolean

Whether the required RAM authorization is configured.

id String

The provider-assigned unique ID for this managed resource.

instanceNum String

The number of instances.

odpsSet Boolean

Whether the authorized MaxCompute (ODPS) assets.

ossBucketSet Boolean

Whether the authorized oss assets.

rdsSet Boolean

Whether the authorized rds assets.

remainDays String

The remaining days of the protection period of the assets in the current login account.

status String

The status of the resource.

Look up Existing Instance Resource

Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authed: Optional[bool] = None,
        dataphin: Optional[str] = None,
        dataphin_count: Optional[str] = None,
        instance_num: Optional[str] = None,
        logistics: Optional[str] = None,
        modify_type: Optional[str] = None,
        odps_set: Optional[bool] = None,
        oss_bucket_set: Optional[bool] = None,
        oss_size: Optional[str] = None,
        payment_type: Optional[str] = None,
        period: Optional[int] = None,
        rds_set: Optional[bool] = None,
        remain_days: Optional[str] = None,
        renew_period: Optional[int] = None,
        renewal_status: Optional[str] = None,
        sd_cbool: Optional[str] = None,
        sdc: Optional[str] = None,
        sddp_version: Optional[str] = None,
        status: Optional[str] = None,
        ud_cbool: Optional[str] = None,
        udc: Optional[str] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Authed bool

Whether the required RAM authorization is configured.

Dataphin string

The dataphin. Valid values: yes,no.

DataphinCount string

The dataphin count. Valid values: 1 to 20.

InstanceNum string

The number of instances.

Logistics string

The logistics.

ModifyType string

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

OdpsSet bool

Whether the authorized MaxCompute (ODPS) assets.

OssBucketSet bool

Whether the authorized oss assets.

OssSize string

The OSS storage capacity.

PaymentType string

The payment type of the resource. Valid values: Subscription.

Period int

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

RdsSet bool

Whether the authorized rds assets.

RemainDays string

The remaining days of the protection period of the assets in the current login account.

RenewPeriod int

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

RenewalStatus string

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

SdCbool string

Whether to use the database. Valid values:yes,no.

Sdc string

The number of instances.

SddpVersion string

The sddp version. Valid values: version_audit,version_company,version_dlp.

Status string

The status of the resource.

UdCbool string

Whether to use OSS. Valid values: yes,no.

Udc string

OSS Size.

Authed bool

Whether the required RAM authorization is configured.

Dataphin string

The dataphin. Valid values: yes,no.

DataphinCount string

The dataphin count. Valid values: 1 to 20.

InstanceNum string

The number of instances.

Logistics string

The logistics.

ModifyType string

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

OdpsSet bool

Whether the authorized MaxCompute (ODPS) assets.

OssBucketSet bool

Whether the authorized oss assets.

OssSize string

The OSS storage capacity.

PaymentType string

The payment type of the resource. Valid values: Subscription.

Period int

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

RdsSet bool

Whether the authorized rds assets.

RemainDays string

The remaining days of the protection period of the assets in the current login account.

RenewPeriod int

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

RenewalStatus string

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

SdCbool string

Whether to use the database. Valid values:yes,no.

Sdc string

The number of instances.

SddpVersion string

The sddp version. Valid values: version_audit,version_company,version_dlp.

Status string

The status of the resource.

UdCbool string

Whether to use OSS. Valid values: yes,no.

Udc string

OSS Size.

authed Boolean

Whether the required RAM authorization is configured.

dataphin String

The dataphin. Valid values: yes,no.

dataphinCount String

The dataphin count. Valid values: 1 to 20.

instanceNum String

The number of instances.

logistics String

The logistics.

modifyType String

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

odpsSet Boolean

Whether the authorized MaxCompute (ODPS) assets.

ossBucketSet Boolean

Whether the authorized oss assets.

ossSize String

The OSS storage capacity.

paymentType String

The payment type of the resource. Valid values: Subscription.

period Integer

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

rdsSet Boolean

Whether the authorized rds assets.

remainDays String

The remaining days of the protection period of the assets in the current login account.

renewPeriod Integer

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewalStatus String

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

sdCbool String

Whether to use the database. Valid values:yes,no.

sdc String

The number of instances.

sddpVersion String

The sddp version. Valid values: version_audit,version_company,version_dlp.

status String

The status of the resource.

udCbool String

Whether to use OSS. Valid values: yes,no.

udc String

OSS Size.

authed boolean

Whether the required RAM authorization is configured.

dataphin string

The dataphin. Valid values: yes,no.

dataphinCount string

The dataphin count. Valid values: 1 to 20.

instanceNum string

The number of instances.

logistics string

The logistics.

modifyType string

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

odpsSet boolean

Whether the authorized MaxCompute (ODPS) assets.

ossBucketSet boolean

Whether the authorized oss assets.

ossSize string

The OSS storage capacity.

paymentType string

The payment type of the resource. Valid values: Subscription.

period number

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

rdsSet boolean

Whether the authorized rds assets.

remainDays string

The remaining days of the protection period of the assets in the current login account.

renewPeriod number

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewalStatus string

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

sdCbool string

Whether to use the database. Valid values:yes,no.

sdc string

The number of instances.

sddpVersion string

The sddp version. Valid values: version_audit,version_company,version_dlp.

status string

The status of the resource.

udCbool string

Whether to use OSS. Valid values: yes,no.

udc string

OSS Size.

authed bool

Whether the required RAM authorization is configured.

dataphin str

The dataphin. Valid values: yes,no.

dataphin_count str

The dataphin count. Valid values: 1 to 20.

instance_num str

The number of instances.

logistics str

The logistics.

modify_type str

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

odps_set bool

Whether the authorized MaxCompute (ODPS) assets.

oss_bucket_set bool

Whether the authorized oss assets.

oss_size str

The OSS storage capacity.

payment_type str

The payment type of the resource. Valid values: Subscription.

period int

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

rds_set bool

Whether the authorized rds assets.

remain_days str

The remaining days of the protection period of the assets in the current login account.

renew_period int

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewal_status str

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

sd_cbool str

Whether to use the database. Valid values:yes,no.

sdc str

The number of instances.

sddp_version str

The sddp version. Valid values: version_audit,version_company,version_dlp.

status str

The status of the resource.

ud_cbool str

Whether to use OSS. Valid values: yes,no.

udc str

OSS Size.

authed Boolean

Whether the required RAM authorization is configured.

dataphin String

The dataphin. Valid values: yes,no.

dataphinCount String

The dataphin count. Valid values: 1 to 20.

instanceNum String

The number of instances.

logistics String

The logistics.

modifyType String

The modify type. Valid values: Upgrade, Downgrade. NOTE: The modify_type is required when you execute a update operation.

odpsSet Boolean

Whether the authorized MaxCompute (ODPS) assets.

ossBucketSet Boolean

Whether the authorized oss assets.

ossSize String

The OSS storage capacity.

paymentType String

The payment type of the resource. Valid values: Subscription.

period Number

The Prepaid period. Valid values: 1, 2, 3, 6,12,24.

rdsSet Boolean

Whether the authorized rds assets.

remainDays String

The remaining days of the protection period of the assets in the current login account.

renewPeriod Number

Automatic renewal period. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal,

renewalStatus String

Automatic renewal status. Valid values: AutoRenewal,ManualRenewal. Default Value: ManualRenewal.

sdCbool String

Whether to use the database. Valid values:yes,no.

sdc String

The number of instances.

sddpVersion String

The sddp version. Valid values: version_audit,version_company,version_dlp.

status String

The status of the resource.

udCbool String

Whether to use OSS. Valid values: yes,no.

udc String

OSS Size.

Import

Data Security Center Instance can be imported using the id, e.g.

 $ pulumi import alicloud:sddp/instance:Instance example <id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.