sddp

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Config

type Config struct {
	pulumi.CustomResourceState

	// Abnormal Alarm General Configuration Module by Using the Encoding. Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
	Code pulumi.StringPtrOutput `pulumi:"code"`
	// Abnormal Alarm General Description of the Configuration Item.
	Description pulumi.StringOutput `pulumi:"description"`
	// The language of the request and response. Valid values: `zh`,`en`.
	// * `zh`: Chinese.
	// * `en`: English.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different:
	// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
	// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
	// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
	Value pulumi.StringPtrOutput `pulumi:"value"`
}

Provides a Data Security Center Config resource.

For information about Data Security Center Config and how to use it, see [What is Config](https://help.aliyun.com/product/88674.html).

> **NOTE:** Available in v1.133.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/sddp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sddp.NewConfig(ctx, "default", &sddp.ConfigArgs{
			Code:  pulumi.String("access_failed_cnt"),
			Value: pulumi.String("10"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:sddp/config:Config example <code>

```

func GetConfig

func GetConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigState, opts ...pulumi.ResourceOption) (*Config, error)

GetConfig gets an existing Config 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 NewConfig

func NewConfig(ctx *pulumi.Context,
	name string, args *ConfigArgs, opts ...pulumi.ResourceOption) (*Config, error)

NewConfig registers a new resource with the given unique name, arguments, and options.

func (*Config) ElementType

func (*Config) ElementType() reflect.Type

func (*Config) ToConfigOutput

func (i *Config) ToConfigOutput() ConfigOutput

func (*Config) ToConfigOutputWithContext

func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

type ConfigArgs

type ConfigArgs struct {
	// Abnormal Alarm General Configuration Module by Using the Encoding. Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
	Code pulumi.StringPtrInput
	// Abnormal Alarm General Description of the Configuration Item.
	Description pulumi.StringPtrInput
	// The language of the request and response. Valid values: `zh`,`en`.
	// * `zh`: Chinese.
	// * `en`: English.
	Lang pulumi.StringPtrInput
	// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different:
	// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
	// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
	// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
	Value pulumi.StringPtrInput
}

The set of arguments for constructing a Config resource.

func (ConfigArgs) ElementType

func (ConfigArgs) ElementType() reflect.Type

type ConfigArray

type ConfigArray []ConfigInput

func (ConfigArray) ElementType

func (ConfigArray) ElementType() reflect.Type

func (ConfigArray) ToConfigArrayOutput

func (i ConfigArray) ToConfigArrayOutput() ConfigArrayOutput

func (ConfigArray) ToConfigArrayOutputWithContext

func (i ConfigArray) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput

type ConfigArrayInput

type ConfigArrayInput interface {
	pulumi.Input

	ToConfigArrayOutput() ConfigArrayOutput
	ToConfigArrayOutputWithContext(context.Context) ConfigArrayOutput
}

ConfigArrayInput is an input type that accepts ConfigArray and ConfigArrayOutput values. You can construct a concrete instance of `ConfigArrayInput` via:

ConfigArray{ ConfigArgs{...} }

type ConfigArrayOutput

type ConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigArrayOutput) ElementType

func (ConfigArrayOutput) ElementType() reflect.Type

func (ConfigArrayOutput) Index

func (ConfigArrayOutput) ToConfigArrayOutput

func (o ConfigArrayOutput) ToConfigArrayOutput() ConfigArrayOutput

func (ConfigArrayOutput) ToConfigArrayOutputWithContext

func (o ConfigArrayOutput) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput

type ConfigInput

type ConfigInput interface {
	pulumi.Input

	ToConfigOutput() ConfigOutput
	ToConfigOutputWithContext(ctx context.Context) ConfigOutput
}

type ConfigMap

type ConfigMap map[string]ConfigInput

func (ConfigMap) ElementType

func (ConfigMap) ElementType() reflect.Type

func (ConfigMap) ToConfigMapOutput

func (i ConfigMap) ToConfigMapOutput() ConfigMapOutput

func (ConfigMap) ToConfigMapOutputWithContext

func (i ConfigMap) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput

type ConfigMapInput

type ConfigMapInput interface {
	pulumi.Input

	ToConfigMapOutput() ConfigMapOutput
	ToConfigMapOutputWithContext(context.Context) ConfigMapOutput
}

ConfigMapInput is an input type that accepts ConfigMap and ConfigMapOutput values. You can construct a concrete instance of `ConfigMapInput` via:

ConfigMap{ "key": ConfigArgs{...} }

type ConfigMapOutput

type ConfigMapOutput struct{ *pulumi.OutputState }

func (ConfigMapOutput) ElementType

func (ConfigMapOutput) ElementType() reflect.Type

func (ConfigMapOutput) MapIndex

func (ConfigMapOutput) ToConfigMapOutput

func (o ConfigMapOutput) ToConfigMapOutput() ConfigMapOutput

func (ConfigMapOutput) ToConfigMapOutputWithContext

func (o ConfigMapOutput) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput

type ConfigOutput

type ConfigOutput struct{ *pulumi.OutputState }

func (ConfigOutput) Code

Abnormal Alarm General Configuration Module by Using the Encoding. Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.

func (ConfigOutput) Description

func (o ConfigOutput) Description() pulumi.StringOutput

Abnormal Alarm General Description of the Configuration Item.

func (ConfigOutput) ElementType

func (ConfigOutput) ElementType() reflect.Type

func (ConfigOutput) Lang

The language of the request and response. Valid values: `zh`,`en`. * `zh`: Chinese. * `en`: English.

func (ConfigOutput) ToConfigOutput

func (o ConfigOutput) ToConfigOutput() ConfigOutput

func (ConfigOutput) ToConfigOutputWithContext

func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

func (ConfigOutput) Value

The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different: * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold. * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold. * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.

type ConfigState

type ConfigState struct {
	// Abnormal Alarm General Configuration Module by Using the Encoding. Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
	Code pulumi.StringPtrInput
	// Abnormal Alarm General Description of the Configuration Item.
	Description pulumi.StringPtrInput
	// The language of the request and response. Valid values: `zh`,`en`.
	// * `zh`: Chinese.
	// * `en`: English.
	Lang pulumi.StringPtrInput
	// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different:
	// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
	// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
	// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
	Value pulumi.StringPtrInput
}

func (ConfigState) ElementType

func (ConfigState) ElementType() reflect.Type

type DataLimit

type DataLimit struct {
	pulumi.CustomResourceState

	// Whether to enable the log auditing feature. Valid values: `0`, `1`.
	AuditStatus pulumi.IntOutput `pulumi:"auditStatus"`
	// The type of the database. Valid values: `MySQL`, `SQLServer`.
	EngineType pulumi.StringPtrOutput `pulumi:"engineType"`
	// The lang.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.
	LogStoreDay pulumi.IntPtrOutput `pulumi:"logStoreDay"`
	// The ID of the data asset.
	ParentId pulumi.StringPtrOutput `pulumi:"parentId"`
	// The password that is used to connect to the database.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The port that is used to connect to the database.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// The region ID of the data asset.
	ServiceRegionId pulumi.StringPtrOutput `pulumi:"serviceRegionId"`
	// The name of the service to which the data asset belongs.
	UserName pulumi.StringPtrOutput `pulumi:"userName"`
}

Provides a Data Security Center Data Limit resource.

For information about Data Security Center Data Limit and how to use it, see [What is Data Limit](https://www.alibabacloud.com/help/en/doc-detail/158987.html).

> **NOTE:** Available in v1.159.0+.

## Import

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

```sh

$ pulumi import alicloud:sddp/dataLimit:DataLimit example <id>

```

func GetDataLimit

func GetDataLimit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataLimitState, opts ...pulumi.ResourceOption) (*DataLimit, error)

GetDataLimit gets an existing DataLimit 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 NewDataLimit

func NewDataLimit(ctx *pulumi.Context,
	name string, args *DataLimitArgs, opts ...pulumi.ResourceOption) (*DataLimit, error)

NewDataLimit registers a new resource with the given unique name, arguments, and options.

func (*DataLimit) ElementType

func (*DataLimit) ElementType() reflect.Type

func (*DataLimit) ToDataLimitOutput

func (i *DataLimit) ToDataLimitOutput() DataLimitOutput

func (*DataLimit) ToDataLimitOutputWithContext

func (i *DataLimit) ToDataLimitOutputWithContext(ctx context.Context) DataLimitOutput

type DataLimitArgs

type DataLimitArgs struct {
	// Whether to enable the log auditing feature. Valid values: `0`, `1`.
	AuditStatus pulumi.IntPtrInput
	// The type of the database. Valid values: `MySQL`, `SQLServer`.
	EngineType pulumi.StringPtrInput
	// The lang.
	Lang pulumi.StringPtrInput
	// The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.
	LogStoreDay pulumi.IntPtrInput
	// The ID of the data asset.
	ParentId pulumi.StringPtrInput
	// The password that is used to connect to the database.
	Password pulumi.StringPtrInput
	// The port that is used to connect to the database.
	Port pulumi.IntPtrInput
	// The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
	ResourceType pulumi.StringInput
	// The region ID of the data asset.
	ServiceRegionId pulumi.StringPtrInput
	// The name of the service to which the data asset belongs.
	UserName pulumi.StringPtrInput
}

The set of arguments for constructing a DataLimit resource.

func (DataLimitArgs) ElementType

func (DataLimitArgs) ElementType() reflect.Type

type DataLimitArray

type DataLimitArray []DataLimitInput

func (DataLimitArray) ElementType

func (DataLimitArray) ElementType() reflect.Type

func (DataLimitArray) ToDataLimitArrayOutput

func (i DataLimitArray) ToDataLimitArrayOutput() DataLimitArrayOutput

func (DataLimitArray) ToDataLimitArrayOutputWithContext

func (i DataLimitArray) ToDataLimitArrayOutputWithContext(ctx context.Context) DataLimitArrayOutput

type DataLimitArrayInput

type DataLimitArrayInput interface {
	pulumi.Input

	ToDataLimitArrayOutput() DataLimitArrayOutput
	ToDataLimitArrayOutputWithContext(context.Context) DataLimitArrayOutput
}

DataLimitArrayInput is an input type that accepts DataLimitArray and DataLimitArrayOutput values. You can construct a concrete instance of `DataLimitArrayInput` via:

DataLimitArray{ DataLimitArgs{...} }

type DataLimitArrayOutput

type DataLimitArrayOutput struct{ *pulumi.OutputState }

func (DataLimitArrayOutput) ElementType

func (DataLimitArrayOutput) ElementType() reflect.Type

func (DataLimitArrayOutput) Index

func (DataLimitArrayOutput) ToDataLimitArrayOutput

func (o DataLimitArrayOutput) ToDataLimitArrayOutput() DataLimitArrayOutput

func (DataLimitArrayOutput) ToDataLimitArrayOutputWithContext

func (o DataLimitArrayOutput) ToDataLimitArrayOutputWithContext(ctx context.Context) DataLimitArrayOutput

type DataLimitInput

type DataLimitInput interface {
	pulumi.Input

	ToDataLimitOutput() DataLimitOutput
	ToDataLimitOutputWithContext(ctx context.Context) DataLimitOutput
}

type DataLimitMap

type DataLimitMap map[string]DataLimitInput

func (DataLimitMap) ElementType

func (DataLimitMap) ElementType() reflect.Type

func (DataLimitMap) ToDataLimitMapOutput

func (i DataLimitMap) ToDataLimitMapOutput() DataLimitMapOutput

func (DataLimitMap) ToDataLimitMapOutputWithContext

func (i DataLimitMap) ToDataLimitMapOutputWithContext(ctx context.Context) DataLimitMapOutput

type DataLimitMapInput

type DataLimitMapInput interface {
	pulumi.Input

	ToDataLimitMapOutput() DataLimitMapOutput
	ToDataLimitMapOutputWithContext(context.Context) DataLimitMapOutput
}

DataLimitMapInput is an input type that accepts DataLimitMap and DataLimitMapOutput values. You can construct a concrete instance of `DataLimitMapInput` via:

DataLimitMap{ "key": DataLimitArgs{...} }

type DataLimitMapOutput

type DataLimitMapOutput struct{ *pulumi.OutputState }

func (DataLimitMapOutput) ElementType

func (DataLimitMapOutput) ElementType() reflect.Type

func (DataLimitMapOutput) MapIndex

func (DataLimitMapOutput) ToDataLimitMapOutput

func (o DataLimitMapOutput) ToDataLimitMapOutput() DataLimitMapOutput

func (DataLimitMapOutput) ToDataLimitMapOutputWithContext

func (o DataLimitMapOutput) ToDataLimitMapOutputWithContext(ctx context.Context) DataLimitMapOutput

type DataLimitOutput

type DataLimitOutput struct{ *pulumi.OutputState }

func (DataLimitOutput) AuditStatus

func (o DataLimitOutput) AuditStatus() pulumi.IntOutput

Whether to enable the log auditing feature. Valid values: `0`, `1`.

func (DataLimitOutput) ElementType

func (DataLimitOutput) ElementType() reflect.Type

func (DataLimitOutput) EngineType

func (o DataLimitOutput) EngineType() pulumi.StringPtrOutput

The type of the database. Valid values: `MySQL`, `SQLServer`.

func (DataLimitOutput) Lang

The lang.

func (DataLimitOutput) LogStoreDay

func (o DataLimitOutput) LogStoreDay() pulumi.IntPtrOutput

The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.

func (DataLimitOutput) ParentId

func (o DataLimitOutput) ParentId() pulumi.StringPtrOutput

The ID of the data asset.

func (DataLimitOutput) Password

func (o DataLimitOutput) Password() pulumi.StringPtrOutput

The password that is used to connect to the database.

func (DataLimitOutput) Port

The port that is used to connect to the database.

func (DataLimitOutput) ResourceType

func (o DataLimitOutput) ResourceType() pulumi.StringOutput

The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.

func (DataLimitOutput) ServiceRegionId

func (o DataLimitOutput) ServiceRegionId() pulumi.StringPtrOutput

The region ID of the data asset.

func (DataLimitOutput) ToDataLimitOutput

func (o DataLimitOutput) ToDataLimitOutput() DataLimitOutput

func (DataLimitOutput) ToDataLimitOutputWithContext

func (o DataLimitOutput) ToDataLimitOutputWithContext(ctx context.Context) DataLimitOutput

func (DataLimitOutput) UserName

func (o DataLimitOutput) UserName() pulumi.StringPtrOutput

The name of the service to which the data asset belongs.

type DataLimitState

type DataLimitState struct {
	// Whether to enable the log auditing feature. Valid values: `0`, `1`.
	AuditStatus pulumi.IntPtrInput
	// The type of the database. Valid values: `MySQL`, `SQLServer`.
	EngineType pulumi.StringPtrInput
	// The lang.
	Lang pulumi.StringPtrInput
	// The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`logStoreDay` is valid when the `auditStatus` is `1`.
	LogStoreDay pulumi.IntPtrInput
	// The ID of the data asset.
	ParentId pulumi.StringPtrInput
	// The password that is used to connect to the database.
	Password pulumi.StringPtrInput
	// The port that is used to connect to the database.
	Port pulumi.IntPtrInput
	// The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
	ResourceType pulumi.StringPtrInput
	// The region ID of the data asset.
	ServiceRegionId pulumi.StringPtrInput
	// The name of the service to which the data asset belongs.
	UserName pulumi.StringPtrInput
}

func (DataLimitState) ElementType

func (DataLimitState) ElementType() reflect.Type

type GetConfigsArgs

type GetConfigsArgs struct {
	// A list of Config IDs.
	Ids        []string `pulumi:"ids"`
	Lang       *string  `pulumi:"lang"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getConfigs.

type GetConfigsConfig

type GetConfigsConfig struct {
	// Abnormal Alarm General Configuration Module by Using the Encoding.Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
	Code string `pulumi:"code"`
	// Configure the Number.
	ConfigId string `pulumi:"configId"`
	// Default Value.
	DefaultValue string `pulumi:"defaultValue"`
	// Abnormal Alarm General Description of the Configuration Item.
	Description string `pulumi:"description"`
	// The ID of the Config.
	Id string `pulumi:"id"`
	// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different.
	// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
	// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
	// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
	Value string `pulumi:"value"`
}

type GetConfigsConfigArgs

type GetConfigsConfigArgs struct {
	// Abnormal Alarm General Configuration Module by Using the Encoding.Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.
	Code pulumi.StringInput `pulumi:"code"`
	// Configure the Number.
	ConfigId pulumi.StringInput `pulumi:"configId"`
	// Default Value.
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// Abnormal Alarm General Description of the Configuration Item.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Config.
	Id pulumi.StringInput `pulumi:"id"`
	// The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different.
	// * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold.
	// * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold.
	// * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetConfigsConfigArgs) ElementType

func (GetConfigsConfigArgs) ElementType() reflect.Type

func (GetConfigsConfigArgs) ToGetConfigsConfigOutput

func (i GetConfigsConfigArgs) ToGetConfigsConfigOutput() GetConfigsConfigOutput

func (GetConfigsConfigArgs) ToGetConfigsConfigOutputWithContext

func (i GetConfigsConfigArgs) ToGetConfigsConfigOutputWithContext(ctx context.Context) GetConfigsConfigOutput

type GetConfigsConfigArray

type GetConfigsConfigArray []GetConfigsConfigInput

func (GetConfigsConfigArray) ElementType

func (GetConfigsConfigArray) ElementType() reflect.Type

func (GetConfigsConfigArray) ToGetConfigsConfigArrayOutput

func (i GetConfigsConfigArray) ToGetConfigsConfigArrayOutput() GetConfigsConfigArrayOutput

func (GetConfigsConfigArray) ToGetConfigsConfigArrayOutputWithContext

func (i GetConfigsConfigArray) ToGetConfigsConfigArrayOutputWithContext(ctx context.Context) GetConfigsConfigArrayOutput

type GetConfigsConfigArrayInput

type GetConfigsConfigArrayInput interface {
	pulumi.Input

	ToGetConfigsConfigArrayOutput() GetConfigsConfigArrayOutput
	ToGetConfigsConfigArrayOutputWithContext(context.Context) GetConfigsConfigArrayOutput
}

GetConfigsConfigArrayInput is an input type that accepts GetConfigsConfigArray and GetConfigsConfigArrayOutput values. You can construct a concrete instance of `GetConfigsConfigArrayInput` via:

GetConfigsConfigArray{ GetConfigsConfigArgs{...} }

type GetConfigsConfigArrayOutput

type GetConfigsConfigArrayOutput struct{ *pulumi.OutputState }

func (GetConfigsConfigArrayOutput) ElementType

func (GetConfigsConfigArrayOutput) Index

func (GetConfigsConfigArrayOutput) ToGetConfigsConfigArrayOutput

func (o GetConfigsConfigArrayOutput) ToGetConfigsConfigArrayOutput() GetConfigsConfigArrayOutput

func (GetConfigsConfigArrayOutput) ToGetConfigsConfigArrayOutputWithContext

func (o GetConfigsConfigArrayOutput) ToGetConfigsConfigArrayOutputWithContext(ctx context.Context) GetConfigsConfigArrayOutput

type GetConfigsConfigInput

type GetConfigsConfigInput interface {
	pulumi.Input

	ToGetConfigsConfigOutput() GetConfigsConfigOutput
	ToGetConfigsConfigOutputWithContext(context.Context) GetConfigsConfigOutput
}

GetConfigsConfigInput is an input type that accepts GetConfigsConfigArgs and GetConfigsConfigOutput values. You can construct a concrete instance of `GetConfigsConfigInput` via:

GetConfigsConfigArgs{...}

type GetConfigsConfigOutput

type GetConfigsConfigOutput struct{ *pulumi.OutputState }

func (GetConfigsConfigOutput) Code

Abnormal Alarm General Configuration Module by Using the Encoding.Valid values: `accessFailedCnt`, `accessPermissionExprieMaxDays`, `logDatasizeAvgDays`.

func (GetConfigsConfigOutput) ConfigId

Configure the Number.

func (GetConfigsConfigOutput) DefaultValue

func (o GetConfigsConfigOutput) DefaultValue() pulumi.StringOutput

Default Value.

func (GetConfigsConfigOutput) Description

func (o GetConfigsConfigOutput) Description() pulumi.StringOutput

Abnormal Alarm General Description of the Configuration Item.

func (GetConfigsConfigOutput) ElementType

func (GetConfigsConfigOutput) ElementType() reflect.Type

func (GetConfigsConfigOutput) Id

The ID of the Config.

func (GetConfigsConfigOutput) ToGetConfigsConfigOutput

func (o GetConfigsConfigOutput) ToGetConfigsConfigOutput() GetConfigsConfigOutput

func (GetConfigsConfigOutput) ToGetConfigsConfigOutputWithContext

func (o GetConfigsConfigOutput) ToGetConfigsConfigOutputWithContext(ctx context.Context) GetConfigsConfigOutput

func (GetConfigsConfigOutput) Value

The Specified Exception Alarm Generic by Using the Value. Code Different Values for This Parameter the Specific Meaning of Different. * `accessFailedCnt`: Value Represents the Non-Authorized Resource Repeatedly Attempts to Access the Threshold. * `accessPermissionExprieMaxDays`: Value Represents the Permissions during Periods of Inactivity Exceeding a Threshold. * `logDatasizeAvgDays`: Value Represents the Date Certain Log Output Is Less than 10 Days before the Average Value of the Threshold.

type GetConfigsOutputArgs

type GetConfigsOutputArgs struct {
	// A list of Config IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	Lang       pulumi.StringPtrInput   `pulumi:"lang"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
}

A collection of arguments for invoking getConfigs.

func (GetConfigsOutputArgs) ElementType

func (GetConfigsOutputArgs) ElementType() reflect.Type

type GetConfigsResult

type GetConfigsResult struct {
	Configs []GetConfigsConfig `pulumi:"configs"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	Lang       *string  `pulumi:"lang"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getConfigs.

func GetConfigs

func GetConfigs(ctx *pulumi.Context, args *GetConfigsArgs, opts ...pulumi.InvokeOption) (*GetConfigsResult, error)

This data source provides the Sddp Configs of the current Alibaba Cloud user.

> **NOTE:** Available in v1.133.0+.

type GetConfigsResultOutput

type GetConfigsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfigs.

func (GetConfigsResultOutput) Configs

func (GetConfigsResultOutput) ElementType

func (GetConfigsResultOutput) ElementType() reflect.Type

func (GetConfigsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetConfigsResultOutput) Ids

func (GetConfigsResultOutput) Lang

func (GetConfigsResultOutput) OutputFile

func (GetConfigsResultOutput) ToGetConfigsResultOutput

func (o GetConfigsResultOutput) ToGetConfigsResultOutput() GetConfigsResultOutput

func (GetConfigsResultOutput) ToGetConfigsResultOutputWithContext

func (o GetConfigsResultOutput) ToGetConfigsResultOutputWithContext(ctx context.Context) GetConfigsResultOutput

type GetDataLimitsArgs

type GetDataLimitsArgs struct {
	// A list of Data Limit IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The ID of the data asset.
	ParentId *string `pulumi:"parentId"`
	// The type of the service to which the data asset belongs.
	ResourceType *string `pulumi:"resourceType"`
}

A collection of arguments for invoking getDataLimits.

type GetDataLimitsLimit

type GetDataLimitsLimit struct {
	// Whether to enable the log auditing feature.
	AuditStatus int `pulumi:"auditStatus"`
	// The status of the connectivity test between the data asset and SDDP.
	CheckStatus int `pulumi:"checkStatus"`
	// The first ID of the resource.
	DataLimitId string `pulumi:"dataLimitId"`
	// -The type of the database.
	EngineType string `pulumi:"engineType"`
	// The ID of the Data Limit.
	Id string `pulumi:"id"`
	// The name of the service to which the data asset belongs.
	LocalName string `pulumi:"localName"`
	// The retention period of raw logs after you enable the log auditing feature.
	LogStoreDay int `pulumi:"logStoreDay"`
	// The ID of the data asset.
	ParentId string `pulumi:"parentId"`
	// The port that is used to connect to the database.
	Port int `pulumi:"port"`
	// The type of the service to which the data asset belongs.
	ResourceType string `pulumi:"resourceType"`
	// The name of the user who owns the data asset.
	UserName string `pulumi:"userName"`
}

type GetDataLimitsLimitArgs

type GetDataLimitsLimitArgs struct {
	// Whether to enable the log auditing feature.
	AuditStatus pulumi.IntInput `pulumi:"auditStatus"`
	// The status of the connectivity test between the data asset and SDDP.
	CheckStatus pulumi.IntInput `pulumi:"checkStatus"`
	// The first ID of the resource.
	DataLimitId pulumi.StringInput `pulumi:"dataLimitId"`
	// -The type of the database.
	EngineType pulumi.StringInput `pulumi:"engineType"`
	// The ID of the Data Limit.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the service to which the data asset belongs.
	LocalName pulumi.StringInput `pulumi:"localName"`
	// The retention period of raw logs after you enable the log auditing feature.
	LogStoreDay pulumi.IntInput `pulumi:"logStoreDay"`
	// The ID of the data asset.
	ParentId pulumi.StringInput `pulumi:"parentId"`
	// The port that is used to connect to the database.
	Port pulumi.IntInput `pulumi:"port"`
	// The type of the service to which the data asset belongs.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The name of the user who owns the data asset.
	UserName pulumi.StringInput `pulumi:"userName"`
}

func (GetDataLimitsLimitArgs) ElementType

func (GetDataLimitsLimitArgs) ElementType() reflect.Type

func (GetDataLimitsLimitArgs) ToGetDataLimitsLimitOutput

func (i GetDataLimitsLimitArgs) ToGetDataLimitsLimitOutput() GetDataLimitsLimitOutput

func (GetDataLimitsLimitArgs) ToGetDataLimitsLimitOutputWithContext

func (i GetDataLimitsLimitArgs) ToGetDataLimitsLimitOutputWithContext(ctx context.Context) GetDataLimitsLimitOutput

type GetDataLimitsLimitArray

type GetDataLimitsLimitArray []GetDataLimitsLimitInput

func (GetDataLimitsLimitArray) ElementType

func (GetDataLimitsLimitArray) ElementType() reflect.Type

func (GetDataLimitsLimitArray) ToGetDataLimitsLimitArrayOutput

func (i GetDataLimitsLimitArray) ToGetDataLimitsLimitArrayOutput() GetDataLimitsLimitArrayOutput

func (GetDataLimitsLimitArray) ToGetDataLimitsLimitArrayOutputWithContext

func (i GetDataLimitsLimitArray) ToGetDataLimitsLimitArrayOutputWithContext(ctx context.Context) GetDataLimitsLimitArrayOutput

type GetDataLimitsLimitArrayInput

type GetDataLimitsLimitArrayInput interface {
	pulumi.Input

	ToGetDataLimitsLimitArrayOutput() GetDataLimitsLimitArrayOutput
	ToGetDataLimitsLimitArrayOutputWithContext(context.Context) GetDataLimitsLimitArrayOutput
}

GetDataLimitsLimitArrayInput is an input type that accepts GetDataLimitsLimitArray and GetDataLimitsLimitArrayOutput values. You can construct a concrete instance of `GetDataLimitsLimitArrayInput` via:

GetDataLimitsLimitArray{ GetDataLimitsLimitArgs{...} }

type GetDataLimitsLimitArrayOutput

type GetDataLimitsLimitArrayOutput struct{ *pulumi.OutputState }

func (GetDataLimitsLimitArrayOutput) ElementType

func (GetDataLimitsLimitArrayOutput) Index

func (GetDataLimitsLimitArrayOutput) ToGetDataLimitsLimitArrayOutput

func (o GetDataLimitsLimitArrayOutput) ToGetDataLimitsLimitArrayOutput() GetDataLimitsLimitArrayOutput

func (GetDataLimitsLimitArrayOutput) ToGetDataLimitsLimitArrayOutputWithContext

func (o GetDataLimitsLimitArrayOutput) ToGetDataLimitsLimitArrayOutputWithContext(ctx context.Context) GetDataLimitsLimitArrayOutput

type GetDataLimitsLimitInput

type GetDataLimitsLimitInput interface {
	pulumi.Input

	ToGetDataLimitsLimitOutput() GetDataLimitsLimitOutput
	ToGetDataLimitsLimitOutputWithContext(context.Context) GetDataLimitsLimitOutput
}

GetDataLimitsLimitInput is an input type that accepts GetDataLimitsLimitArgs and GetDataLimitsLimitOutput values. You can construct a concrete instance of `GetDataLimitsLimitInput` via:

GetDataLimitsLimitArgs{...}

type GetDataLimitsLimitOutput

type GetDataLimitsLimitOutput struct{ *pulumi.OutputState }

func (GetDataLimitsLimitOutput) AuditStatus

func (o GetDataLimitsLimitOutput) AuditStatus() pulumi.IntOutput

Whether to enable the log auditing feature.

func (GetDataLimitsLimitOutput) CheckStatus

func (o GetDataLimitsLimitOutput) CheckStatus() pulumi.IntOutput

The status of the connectivity test between the data asset and SDDP.

func (GetDataLimitsLimitOutput) DataLimitId

The first ID of the resource.

func (GetDataLimitsLimitOutput) ElementType

func (GetDataLimitsLimitOutput) ElementType() reflect.Type

func (GetDataLimitsLimitOutput) EngineType

-The type of the database.

func (GetDataLimitsLimitOutput) Id

The ID of the Data Limit.

func (GetDataLimitsLimitOutput) LocalName

The name of the service to which the data asset belongs.

func (GetDataLimitsLimitOutput) LogStoreDay

func (o GetDataLimitsLimitOutput) LogStoreDay() pulumi.IntOutput

The retention period of raw logs after you enable the log auditing feature.

func (GetDataLimitsLimitOutput) ParentId

The ID of the data asset.

func (GetDataLimitsLimitOutput) Port

The port that is used to connect to the database.

func (GetDataLimitsLimitOutput) ResourceType

func (o GetDataLimitsLimitOutput) ResourceType() pulumi.StringOutput

The type of the service to which the data asset belongs.

func (GetDataLimitsLimitOutput) ToGetDataLimitsLimitOutput

func (o GetDataLimitsLimitOutput) ToGetDataLimitsLimitOutput() GetDataLimitsLimitOutput

func (GetDataLimitsLimitOutput) ToGetDataLimitsLimitOutputWithContext

func (o GetDataLimitsLimitOutput) ToGetDataLimitsLimitOutputWithContext(ctx context.Context) GetDataLimitsLimitOutput

func (GetDataLimitsLimitOutput) UserName

The name of the user who owns the data asset.

type GetDataLimitsOutputArgs

type GetDataLimitsOutputArgs struct {
	// A list of Data Limit IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The ID of the data asset.
	ParentId pulumi.StringPtrInput `pulumi:"parentId"`
	// The type of the service to which the data asset belongs.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}

A collection of arguments for invoking getDataLimits.

func (GetDataLimitsOutputArgs) ElementType

func (GetDataLimitsOutputArgs) ElementType() reflect.Type

type GetDataLimitsResult

type GetDataLimitsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id           string               `pulumi:"id"`
	Ids          []string             `pulumi:"ids"`
	Limits       []GetDataLimitsLimit `pulumi:"limits"`
	OutputFile   *string              `pulumi:"outputFile"`
	ParentId     *string              `pulumi:"parentId"`
	ResourceType *string              `pulumi:"resourceType"`
}

A collection of values returned by getDataLimits.

func GetDataLimits

func GetDataLimits(ctx *pulumi.Context, args *GetDataLimitsArgs, opts ...pulumi.InvokeOption) (*GetDataLimitsResult, error)

This data source provides the Sddp Data Limits of the current Alibaba Cloud user.

> **NOTE:** Available in v1.159.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/sddp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/sddp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := sddp.GetDataLimits(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("sddpDataLimitId1", ids.Limits[0].Id)
		return nil
	})
}

```

type GetDataLimitsResultOutput

type GetDataLimitsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDataLimits.

func (GetDataLimitsResultOutput) ElementType

func (GetDataLimitsResultOutput) ElementType() reflect.Type

func (GetDataLimitsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDataLimitsResultOutput) Ids

func (GetDataLimitsResultOutput) Limits

func (GetDataLimitsResultOutput) OutputFile

func (GetDataLimitsResultOutput) ParentId

func (GetDataLimitsResultOutput) ResourceType

func (GetDataLimitsResultOutput) ToGetDataLimitsResultOutput

func (o GetDataLimitsResultOutput) ToGetDataLimitsResultOutput() GetDataLimitsResultOutput

func (GetDataLimitsResultOutput) ToGetDataLimitsResultOutputWithContext

func (o GetDataLimitsResultOutput) ToGetDataLimitsResultOutputWithContext(ctx context.Context) GetDataLimitsResultOutput

type GetInstancesArgs

type GetInstancesArgs struct {
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstance

type GetInstancesInstance struct {
	// Whether the required RAM authorization is configured.
	Authed bool   `pulumi:"authed"`
	Id     string `pulumi:"id"`
	// The ID of the instance.
	InstanceId string `pulumi:"instanceId"`
	// The number of instances.
	InstanceNum string `pulumi:"instanceNum"`
	// Whether the authorized MaxCompute (ODPS) assets.
	OdpsSet bool `pulumi:"odpsSet"`
	// Whether the authorized oss assets.
	OssBucketSet bool `pulumi:"ossBucketSet"`
	// The OSS size of the instance.
	OssSize string `pulumi:"ossSize"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType string `pulumi:"paymentType"`
	// Whether the authorized rds assets.
	RdsSet bool `pulumi:"rdsSet"`
	// The status of the resource.
	Status string `pulumi:"status"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// Whether the required RAM authorization is configured.
	Authed pulumi.BoolInput   `pulumi:"authed"`
	Id     pulumi.StringInput `pulumi:"id"`
	// The ID of the instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The number of instances.
	InstanceNum pulumi.StringInput `pulumi:"instanceNum"`
	// Whether the authorized MaxCompute (ODPS) assets.
	OdpsSet pulumi.BoolInput `pulumi:"odpsSet"`
	// Whether the authorized oss assets.
	OssBucketSet pulumi.BoolInput `pulumi:"ossBucketSet"`
	// The OSS size of the instance.
	OssSize pulumi.StringInput `pulumi:"ossSize"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// Whether the authorized rds assets.
	RdsSet pulumi.BoolInput `pulumi:"rdsSet"`
	// 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) Index

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) Authed

Whether the required RAM authorization is configured.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) Id

func (GetInstancesInstanceOutput) InstanceId

The ID of the instance.

func (GetInstancesInstanceOutput) InstanceNum

The number of instances.

func (GetInstancesInstanceOutput) OdpsSet

Whether the authorized MaxCompute (ODPS) assets.

func (GetInstancesInstanceOutput) OssBucketSet

func (o GetInstancesInstanceOutput) OssBucketSet() pulumi.BoolOutput

Whether the authorized oss assets.

func (GetInstancesInstanceOutput) OssSize

The OSS size of the instance.

func (GetInstancesInstanceOutput) PaymentType

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

func (GetInstancesInstanceOutput) RdsSet

Whether the authorized rds assets.

func (GetInstancesInstanceOutput) Status

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

type GetInstancesOutputArgs struct {
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Instances  []GetInstancesInstance `pulumi:"instances"`
	OutputFile *string                `pulumi:"outputFile"`
}

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 Sddp Instances of the current Alibaba Cloud user.

> **NOTE:** Available in v1.136.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/sddp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/sddp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := sddp.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("sddpInstanceId", _default.Instances[0])
		return nil
	})
}

```

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) ElementType

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Instances

func (GetInstancesResultOutput) OutputFile

func (GetInstancesResultOutput) ToGetInstancesResultOutput

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type GetRulesArgs

type GetRulesArgs struct {
	// Sensitive Data Identification Rules for the Type of.
	Category *int `pulumi:"category"`
	// The Content Classification.
	ContentCategory *string `pulumi:"contentCategory"`
	// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
	CustomType    *int  `pulumi:"customType"`
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Rule IDs.
	Ids []string `pulumi:"ids"`
	// The name of rule.
	Name *string `pulumi:"name"`
	// A regex string to filter results by Rule name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// Product ID.
	ProductId *string `pulumi:"productId"`
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
	RiskLevelId *string `pulumi:"riskLevelId"`
	// Rule Type.
	RuleType *int `pulumi:"ruleType"`
	// Sensitive Data Identification Rules Detection State of.
	Status *string `pulumi:"status"`
	// The Level of Risk.
	WarnLevel *int `pulumi:"warnLevel"`
}

A collection of arguments for invoking getRules.

type GetRulesOutputArgs

type GetRulesOutputArgs struct {
	// Sensitive Data Identification Rules for the Type of.
	Category pulumi.IntPtrInput `pulumi:"category"`
	// The Content Classification.
	ContentCategory pulumi.StringPtrInput `pulumi:"contentCategory"`
	// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
	CustomType    pulumi.IntPtrInput  `pulumi:"customType"`
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The name of rule.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A regex string to filter results by Rule name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Product ID.
	ProductId pulumi.StringPtrInput `pulumi:"productId"`
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
	RiskLevelId pulumi.StringPtrInput `pulumi:"riskLevelId"`
	// Rule Type.
	RuleType pulumi.IntPtrInput `pulumi:"ruleType"`
	// Sensitive Data Identification Rules Detection State of.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The Level of Risk.
	WarnLevel pulumi.IntPtrInput `pulumi:"warnLevel"`
}

A collection of arguments for invoking getRules.

func (GetRulesOutputArgs) ElementType

func (GetRulesOutputArgs) ElementType() reflect.Type

type GetRulesResult

type GetRulesResult struct {
	Category        *int    `pulumi:"category"`
	ContentCategory *string `pulumi:"contentCategory"`
	CustomType      *int    `pulumi:"customType"`
	EnableDetails   *bool   `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id          string         `pulumi:"id"`
	Ids         []string       `pulumi:"ids"`
	Name        *string        `pulumi:"name"`
	NameRegex   *string        `pulumi:"nameRegex"`
	Names       []string       `pulumi:"names"`
	OutputFile  *string        `pulumi:"outputFile"`
	ProductId   *string        `pulumi:"productId"`
	RiskLevelId *string        `pulumi:"riskLevelId"`
	RuleType    *int           `pulumi:"ruleType"`
	Rules       []GetRulesRule `pulumi:"rules"`
	Status      *string        `pulumi:"status"`
	WarnLevel   *int           `pulumi:"warnLevel"`
}

A collection of values returned by getRules.

func GetRules

func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)

This data source provides the Sddp Rules of the current Alibaba Cloud user.

> **NOTE:** Available in v1.132.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/sddp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/sddp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultRule, err := sddp.NewRule(ctx, "defaultRule", &sddp.RuleArgs{
			Category:    pulumi.Int(0),
			Content:     pulumi.String("content"),
			RuleName:    pulumi.String("rule_name"),
			RiskLevelId: pulumi.String("4"),
			ProductCode: pulumi.String("ODPS"),
		})
		if err != nil {
			return err
		}
		defaultRules := sddp.GetRulesOutput(ctx, sddp.GetRulesOutputArgs{
			Ids: pulumi.StringArray{
				defaultRule.ID(),
			},
		}, nil)
		ctx.Export("sddpRuleId", defaultRules.ApplyT(func(defaultRules sddp.GetRulesResult) (string, error) {
			return defaultRules.Id, nil
		}).(pulumi.StringOutput))
		return nil
	})
}

```

type GetRulesResultOutput

type GetRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRules.

func (GetRulesResultOutput) Category

func (GetRulesResultOutput) ContentCategory

func (o GetRulesResultOutput) ContentCategory() pulumi.StringPtrOutput

func (GetRulesResultOutput) CustomType

func (o GetRulesResultOutput) CustomType() pulumi.IntPtrOutput

func (GetRulesResultOutput) ElementType

func (GetRulesResultOutput) ElementType() reflect.Type

func (GetRulesResultOutput) EnableDetails

func (o GetRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRulesResultOutput) Ids

func (GetRulesResultOutput) Name

func (GetRulesResultOutput) NameRegex

func (GetRulesResultOutput) Names

func (GetRulesResultOutput) OutputFile

func (GetRulesResultOutput) ProductId

func (GetRulesResultOutput) RiskLevelId

func (GetRulesResultOutput) RuleType

func (GetRulesResultOutput) Rules

func (GetRulesResultOutput) Status

func (GetRulesResultOutput) ToGetRulesResultOutput

func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput

func (GetRulesResultOutput) ToGetRulesResultOutputWithContext

func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput

func (GetRulesResultOutput) WarnLevel

type GetRulesRule

type GetRulesRule struct {
	// Sensitive Data Identification Rules for the Type of.
	Category int `pulumi:"category"`
	// Sensitive Data Identification Rules Belongs Type Name.
	CategoryName string `pulumi:"categoryName"`
	// Sensitive Data Identification Rules the Content.
	Content string `pulumi:"content"`
	// The Content Classification.
	ContentCategory string `pulumi:"contentCategory"`
	// Sensitive Data Identification Rules the Creation Time of the Number of Milliseconds.
	CreateTime string `pulumi:"createTime"`
	// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
	CustomType int `pulumi:"customType"`
	// Sensitive Data Identification a Description of the Rule Information.
	Description string `pulumi:"description"`
	// Sensitive Data Identification Rules, Founder of Account Display Name.
	DisplayName string `pulumi:"displayName"`
	// Sensitive Data Identification Rules to the Modified Time of the Number of Milliseconds.
	GmtModified string `pulumi:"gmtModified"`
	// The ID of the Rule.
	Id string `pulumi:"id"`
	// Sensitive Data Identification Rules, Founder Of Account Login.
	LoginName string `pulumi:"loginName"`
	// The Primary Key.
	MajorKey string `pulumi:"majorKey"`
	// The name of rule.
	Name string `pulumi:"name"`
	// Product Code.
	ProductCode string `pulumi:"productCode"`
	// Product ID.
	ProductId string `pulumi:"productId"`
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
	RiskLevelId string `pulumi:"riskLevelId"`
	// Sensitive Data Identification Rules the Risk Level of. S1: Weak Risk Level S2: Moderate Risk Level S3: High Risk Level S4: the Highest Risk Level.
	RiskLevelName string `pulumi:"riskLevelName"`
	// The first ID of the resource.
	RuleId string `pulumi:"ruleId"`
	// Triggered the Alarm Conditions.
	StatExpress string `pulumi:"statExpress"`
	// Sensitive Data Identification Rules Detection State of.
	Status int `pulumi:"status"`
	// The Target.
	Target string `pulumi:"target"`
	// The User ID.
	UserId string `pulumi:"userId"`
	// The Level of Risk.
	WarnLevel int `pulumi:"warnLevel"`
}

type GetRulesRuleArgs

type GetRulesRuleArgs struct {
	// Sensitive Data Identification Rules for the Type of.
	Category pulumi.IntInput `pulumi:"category"`
	// Sensitive Data Identification Rules Belongs Type Name.
	CategoryName pulumi.StringInput `pulumi:"categoryName"`
	// Sensitive Data Identification Rules the Content.
	Content pulumi.StringInput `pulumi:"content"`
	// The Content Classification.
	ContentCategory pulumi.StringInput `pulumi:"contentCategory"`
	// Sensitive Data Identification Rules the Creation Time of the Number of Milliseconds.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.
	CustomType pulumi.IntInput `pulumi:"customType"`
	// Sensitive Data Identification a Description of the Rule Information.
	Description pulumi.StringInput `pulumi:"description"`
	// Sensitive Data Identification Rules, Founder of Account Display Name.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Sensitive Data Identification Rules to the Modified Time of the Number of Milliseconds.
	GmtModified pulumi.StringInput `pulumi:"gmtModified"`
	// The ID of the Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Sensitive Data Identification Rules, Founder Of Account Login.
	LoginName pulumi.StringInput `pulumi:"loginName"`
	// The Primary Key.
	MajorKey pulumi.StringInput `pulumi:"majorKey"`
	// The name of rule.
	Name pulumi.StringInput `pulumi:"name"`
	// Product Code.
	ProductCode pulumi.StringInput `pulumi:"productCode"`
	// Product ID.
	ProductId pulumi.StringInput `pulumi:"productId"`
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.
	RiskLevelId pulumi.StringInput `pulumi:"riskLevelId"`
	// Sensitive Data Identification Rules the Risk Level of. S1: Weak Risk Level S2: Moderate Risk Level S3: High Risk Level S4: the Highest Risk Level.
	RiskLevelName pulumi.StringInput `pulumi:"riskLevelName"`
	// The first ID of the resource.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// Triggered the Alarm Conditions.
	StatExpress pulumi.StringInput `pulumi:"statExpress"`
	// Sensitive Data Identification Rules Detection State of.
	Status pulumi.IntInput `pulumi:"status"`
	// The Target.
	Target pulumi.StringInput `pulumi:"target"`
	// The User ID.
	UserId pulumi.StringInput `pulumi:"userId"`
	// The Level of Risk.
	WarnLevel pulumi.IntInput `pulumi:"warnLevel"`
}

func (GetRulesRuleArgs) ElementType

func (GetRulesRuleArgs) ElementType() reflect.Type

func (GetRulesRuleArgs) ToGetRulesRuleOutput

func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext

func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput

type GetRulesRuleArray

type GetRulesRuleArray []GetRulesRuleInput

func (GetRulesRuleArray) ElementType

func (GetRulesRuleArray) ElementType() reflect.Type

func (GetRulesRuleArray) ToGetRulesRuleArrayOutput

func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput

func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext

func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput

type GetRulesRuleArrayInput

type GetRulesRuleArrayInput interface {
	pulumi.Input

	ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
	ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput
}

GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:

GetRulesRuleArray{ GetRulesRuleArgs{...} }

type GetRulesRuleArrayOutput

type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetRulesRuleArrayOutput) ElementType

func (GetRulesRuleArrayOutput) ElementType() reflect.Type

func (GetRulesRuleArrayOutput) Index

func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput

func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput

func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext

func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput

type GetRulesRuleInput

type GetRulesRuleInput interface {
	pulumi.Input

	ToGetRulesRuleOutput() GetRulesRuleOutput
	ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput
}

GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:

GetRulesRuleArgs{...}

type GetRulesRuleOutput

type GetRulesRuleOutput struct{ *pulumi.OutputState }

func (GetRulesRuleOutput) Category

func (o GetRulesRuleOutput) Category() pulumi.IntOutput

Sensitive Data Identification Rules for the Type of.

func (GetRulesRuleOutput) CategoryName

func (o GetRulesRuleOutput) CategoryName() pulumi.StringOutput

Sensitive Data Identification Rules Belongs Type Name.

func (GetRulesRuleOutput) Content

Sensitive Data Identification Rules the Content.

func (GetRulesRuleOutput) ContentCategory

func (o GetRulesRuleOutput) ContentCategory() pulumi.StringOutput

The Content Classification.

func (GetRulesRuleOutput) CreateTime

func (o GetRulesRuleOutput) CreateTime() pulumi.StringOutput

Sensitive Data Identification Rules the Creation Time of the Number of Milliseconds.

func (GetRulesRuleOutput) CustomType

func (o GetRulesRuleOutput) CustomType() pulumi.IntOutput

Sensitive Data Identification Rules of Type. 0: the Built-in 1: The User-Defined.

func (GetRulesRuleOutput) Description

func (o GetRulesRuleOutput) Description() pulumi.StringOutput

Sensitive Data Identification a Description of the Rule Information.

func (GetRulesRuleOutput) DisplayName

func (o GetRulesRuleOutput) DisplayName() pulumi.StringOutput

Sensitive Data Identification Rules, Founder of Account Display Name.

func (GetRulesRuleOutput) ElementType

func (GetRulesRuleOutput) ElementType() reflect.Type

func (GetRulesRuleOutput) GmtModified

func (o GetRulesRuleOutput) GmtModified() pulumi.StringOutput

Sensitive Data Identification Rules to the Modified Time of the Number of Milliseconds.

func (GetRulesRuleOutput) Id

The ID of the Rule.

func (GetRulesRuleOutput) LoginName

func (o GetRulesRuleOutput) LoginName() pulumi.StringOutput

Sensitive Data Identification Rules, Founder Of Account Login.

func (GetRulesRuleOutput) MajorKey

func (o GetRulesRuleOutput) MajorKey() pulumi.StringOutput

The Primary Key.

func (GetRulesRuleOutput) Name

The name of rule.

func (GetRulesRuleOutput) ProductCode

func (o GetRulesRuleOutput) ProductCode() pulumi.StringOutput

Product Code.

func (GetRulesRuleOutput) ProductId

func (o GetRulesRuleOutput) ProductId() pulumi.StringOutput

Product ID.

func (GetRulesRuleOutput) RiskLevelId

func (o GetRulesRuleOutput) RiskLevelId() pulumi.StringOutput

Sensitive Data Identification Rules of Risk Level ID. Valid values:1:S1, Weak Risk Level. 2:S2, Medium Risk Level. 3:S3 High Risk Level. 4:S4, the Highest Risk Level.

func (GetRulesRuleOutput) RiskLevelName

func (o GetRulesRuleOutput) RiskLevelName() pulumi.StringOutput

Sensitive Data Identification Rules the Risk Level of. S1: Weak Risk Level S2: Moderate Risk Level S3: High Risk Level S4: the Highest Risk Level.

func (GetRulesRuleOutput) RuleId

The first ID of the resource.

func (GetRulesRuleOutput) StatExpress

func (o GetRulesRuleOutput) StatExpress() pulumi.StringOutput

Triggered the Alarm Conditions.

func (GetRulesRuleOutput) Status

func (o GetRulesRuleOutput) Status() pulumi.IntOutput

Sensitive Data Identification Rules Detection State of.

func (GetRulesRuleOutput) Target

The Target.

func (GetRulesRuleOutput) ToGetRulesRuleOutput

func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext

func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput

func (GetRulesRuleOutput) UserId

The User ID.

func (GetRulesRuleOutput) WarnLevel

func (o GetRulesRuleOutput) WarnLevel() pulumi.IntOutput

The Level of Risk.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Whether the required RAM authorization is configured.
	Authed pulumi.BoolOutput `pulumi:"authed"`
	// The dataphin. Valid values: `yes`,`no`.
	Dataphin pulumi.StringPtrOutput `pulumi:"dataphin"`
	// The dataphin count. Valid values: 1 to 20.
	DataphinCount pulumi.StringPtrOutput `pulumi:"dataphinCount"`
	// The number of instances.
	InstanceNum pulumi.StringOutput `pulumi:"instanceNum"`
	// The logistics.
	Logistics pulumi.StringPtrOutput `pulumi:"logistics"`
	// The modify type. Valid values: `Upgrade`, `Downgrade`.  **NOTE:** The `modifyType` is required when you execute a update operation.
	ModifyType pulumi.StringPtrOutput `pulumi:"modifyType"`
	// Whether the authorized MaxCompute (ODPS) assets.
	OdpsSet pulumi.BoolOutput `pulumi:"odpsSet"`
	// Whether the authorized oss assets.
	OssBucketSet pulumi.BoolOutput `pulumi:"ossBucketSet"`
	// The OSS storage capacity.
	OssSize pulumi.StringOutput `pulumi:"ossSize"`
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// The Prepaid period. Valid values: `1`, `2`, `3`, `6`,`12`,`24`.
	Period pulumi.IntOutput `pulumi:"period"`
	// Whether the authorized rds assets.
	RdsSet pulumi.BoolOutput `pulumi:"rdsSet"`
	// The remaining days of the protection period of the assets in the current login account.
	RemainDays pulumi.StringOutput `pulumi:"remainDays"`
	// Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`,
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringOutput `pulumi:"renewalStatus"`
	// Whether to use the database. Valid values:`yes`,`no`.
	SdCbool pulumi.StringOutput `pulumi:"sdCbool"`
	// The number of instances.
	Sdc pulumi.StringOutput `pulumi:"sdc"`
	// The sddp version. Valid values: `versionAudit`,`versionCompany`,`versionDlp`.
	SddpVersion pulumi.StringOutput `pulumi:"sddpVersion"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// Whether to use OSS. Valid values: `yes`,`no`.
	UdCbool pulumi.StringOutput `pulumi:"udCbool"`
	// OSS Size.
	Udc pulumi.StringOutput `pulumi:"udc"`
}

Provides a Data Security Center Instance resource.

For information about Data Security Center Instance and how to use it, see [What is Instance](https://help.aliyun.com/product/88674.html).

> **NOTE:** Available in v1.136.0+.

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/sddp"

)

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
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:sddp/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) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// The dataphin. Valid values: `yes`,`no`.
	Dataphin pulumi.StringPtrInput
	// The dataphin count. Valid values: 1 to 20.
	DataphinCount pulumi.StringPtrInput
	// The logistics.
	Logistics pulumi.StringPtrInput
	// The modify type. Valid values: `Upgrade`, `Downgrade`.  **NOTE:** The `modifyType` is required when you execute a update operation.
	ModifyType pulumi.StringPtrInput
	// The OSS storage capacity.
	OssSize pulumi.StringPtrInput
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringInput
	// The Prepaid period. Valid values: `1`, `2`, `3`, `6`,`12`,`24`.
	Period pulumi.IntInput
	// Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`,
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Whether to use the database. Valid values:`yes`,`no`.
	SdCbool pulumi.StringInput
	// The number of instances.
	Sdc pulumi.StringInput
	// The sddp version. Valid values: `versionAudit`,`versionCompany`,`versionDlp`.
	SddpVersion pulumi.StringInput
	// Whether to use OSS. Valid values: `yes`,`no`.
	UdCbool pulumi.StringInput
	// OSS Size.
	Udc pulumi.StringInput
}

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 (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 (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) Authed

func (o InstanceOutput) Authed() pulumi.BoolOutput

Whether the required RAM authorization is configured.

func (InstanceOutput) Dataphin

func (o InstanceOutput) Dataphin() pulumi.StringPtrOutput

The dataphin. Valid values: `yes`,`no`.

func (InstanceOutput) DataphinCount

func (o InstanceOutput) DataphinCount() pulumi.StringPtrOutput

The dataphin count. Valid values: 1 to 20.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) InstanceNum

func (o InstanceOutput) InstanceNum() pulumi.StringOutput

The number of instances.

func (InstanceOutput) Logistics

func (o InstanceOutput) Logistics() pulumi.StringPtrOutput

The logistics.

func (InstanceOutput) ModifyType

func (o InstanceOutput) ModifyType() pulumi.StringPtrOutput

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

func (InstanceOutput) OdpsSet

func (o InstanceOutput) OdpsSet() pulumi.BoolOutput

Whether the authorized MaxCompute (ODPS) assets.

func (InstanceOutput) OssBucketSet

func (o InstanceOutput) OssBucketSet() pulumi.BoolOutput

Whether the authorized oss assets.

func (InstanceOutput) OssSize

func (o InstanceOutput) OssSize() pulumi.StringOutput

The OSS storage capacity.

func (InstanceOutput) PaymentType

func (o InstanceOutput) PaymentType() pulumi.StringOutput

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

func (InstanceOutput) Period

func (o InstanceOutput) Period() pulumi.IntOutput

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

func (InstanceOutput) RdsSet

func (o InstanceOutput) RdsSet() pulumi.BoolOutput

Whether the authorized rds assets.

func (InstanceOutput) RemainDays

func (o InstanceOutput) RemainDays() pulumi.StringOutput

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

func (InstanceOutput) RenewPeriod

func (o InstanceOutput) RenewPeriod() pulumi.IntPtrOutput

Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`,

func (InstanceOutput) RenewalStatus

func (o InstanceOutput) RenewalStatus() pulumi.StringOutput

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

func (InstanceOutput) SdCbool

func (o InstanceOutput) SdCbool() pulumi.StringOutput

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

func (InstanceOutput) Sdc

The number of instances.

func (InstanceOutput) SddpVersion

func (o InstanceOutput) SddpVersion() pulumi.StringOutput

The sddp version. Valid values: `versionAudit`,`versionCompany`,`versionDlp`.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The status of the resource.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) UdCbool

func (o InstanceOutput) UdCbool() pulumi.StringOutput

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

func (InstanceOutput) Udc

OSS Size.

type InstanceState

type InstanceState struct {
	// Whether the required RAM authorization is configured.
	Authed pulumi.BoolPtrInput
	// The dataphin. Valid values: `yes`,`no`.
	Dataphin pulumi.StringPtrInput
	// The dataphin count. Valid values: 1 to 20.
	DataphinCount pulumi.StringPtrInput
	// The number of instances.
	InstanceNum pulumi.StringPtrInput
	// The logistics.
	Logistics pulumi.StringPtrInput
	// The modify type. Valid values: `Upgrade`, `Downgrade`.  **NOTE:** The `modifyType` is required when you execute a update operation.
	ModifyType pulumi.StringPtrInput
	// Whether the authorized MaxCompute (ODPS) assets.
	OdpsSet pulumi.BoolPtrInput
	// Whether the authorized oss assets.
	OssBucketSet pulumi.BoolPtrInput
	// The OSS storage capacity.
	OssSize pulumi.StringPtrInput
	// The payment type of the resource. Valid values: `Subscription`.
	PaymentType pulumi.StringPtrInput
	// The Prepaid period. Valid values: `1`, `2`, `3`, `6`,`12`,`24`.
	Period pulumi.IntPtrInput
	// Whether the authorized rds assets.
	RdsSet pulumi.BoolPtrInput
	// The remaining days of the protection period of the assets in the current login account.
	RemainDays pulumi.StringPtrInput
	// Automatic renewal period. **NOTE:** The `renewPeriod` is required under the condition that renewalStatus is `AutoRenewal`,
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`,`ManualRenewal`. Default Value: `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Whether to use the database. Valid values:`yes`,`no`.
	SdCbool pulumi.StringPtrInput
	// The number of instances.
	Sdc pulumi.StringPtrInput
	// The sddp version. Valid values: `versionAudit`,`versionCompany`,`versionDlp`.
	SddpVersion pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// Whether to use OSS. Valid values: `yes`,`no`.
	UdCbool pulumi.StringPtrInput
	// OSS Size.
	Udc pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type Rule

type Rule struct {
	pulumi.CustomResourceState

	// Sensitive Data Identification Rules for the Type of. Valid values:
	// * `0`: Keyword.
	// * `2`: Regular expression.
	Category pulumi.IntOutput `pulumi:"category"`
	// Sensitive Data Identification Rules the Content.
	Content pulumi.StringOutput `pulumi:"content"`
	// The Content Classification.
	ContentCategory pulumi.StringOutput `pulumi:"contentCategory"`
	// Sensitive Data Identification Rules of Type. Valid values:
	// * `0`: the Built-in.
	// * `1`: The User-Defined.
	CustomType pulumi.IntOutput `pulumi:"customType"`
	// Sensitive Data Identification a Description of the Rule Information.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Request and Receive the Language of the Message Type. Valid values:
	// * `zh`: Chinese.
	// * `en`: English.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// Product Code. Valid values: `OSS`,`RDS`,`ODPS`(MaxCompute).
	ProductCode pulumi.StringPtrOutput `pulumi:"productCode"`
	// Product ID. Valid values:
	// * `1`:MaxCompute
	// * `2`:OSS
	// * `5`:RDS.
	ProductId pulumi.StringPtrOutput `pulumi:"productId"`
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:
	// * `2`:S1, Weak Risk Level.
	// * `3`:S2, Medium Risk Level.
	// * `4`:S3 High Risk Level.
	// * `5`:S4, the Highest Risk Level.
	RiskLevelId pulumi.StringPtrOutput `pulumi:"riskLevelId"`
	// Sensitive Data Identification Name of the Rule.
	RuleName pulumi.StringOutput `pulumi:"ruleName"`
	// Rule Type.
	RuleType pulumi.IntPtrOutput `pulumi:"ruleType"`
	// Triggered the Alarm Conditions.
	StatExpress pulumi.StringPtrOutput `pulumi:"statExpress"`
	// Sensitive Data Identification Rules Detection State of.
	Status pulumi.IntOutput `pulumi:"status"`
	// The Target of rule.
	Target pulumi.StringPtrOutput `pulumi:"target"`
	// The Level of Risk. Valid values:
	// * `1`: Weak warn Level.
	// * `2`: Medium Risk Level.
	// * `3`: High Risk Level.
	WarnLevel pulumi.IntPtrOutput `pulumi:"warnLevel"`
}

Provides a Data Security Center Rule resource.

For information about Data Security Center Rule and how to use it, see [What is Rule](https://help.aliyun.com/product/88674.html).

> **NOTE:** Available in v1.132.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/sddp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sddp.NewRule(ctx, "default", &sddp.RuleArgs{
			Category:    pulumi.Int(0),
			Content:     pulumi.String("content"),
			ProductCode: pulumi.String("ODPS"),
			RiskLevelId: pulumi.String("4"),
			RuleName:    pulumi.String("rule_name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:sddp/rule:Rule example <id>

```

func GetRule

func GetRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)

GetRule gets an existing Rule 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 NewRule

func NewRule(ctx *pulumi.Context,
	name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)

NewRule registers a new resource with the given unique name, arguments, and options.

func (*Rule) ElementType

func (*Rule) ElementType() reflect.Type

func (*Rule) ToRuleOutput

func (i *Rule) ToRuleOutput() RuleOutput

func (*Rule) ToRuleOutputWithContext

func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput

type RuleArgs

type RuleArgs struct {
	// Sensitive Data Identification Rules for the Type of. Valid values:
	// * `0`: Keyword.
	// * `2`: Regular expression.
	Category pulumi.IntInput
	// Sensitive Data Identification Rules the Content.
	Content pulumi.StringInput
	// The Content Classification.
	ContentCategory pulumi.StringPtrInput
	// Sensitive Data Identification Rules of Type. Valid values:
	// * `0`: the Built-in.
	// * `1`: The User-Defined.
	CustomType pulumi.IntPtrInput
	// Sensitive Data Identification a Description of the Rule Information.
	Description pulumi.StringPtrInput
	// The Request and Receive the Language of the Message Type. Valid values:
	// * `zh`: Chinese.
	// * `en`: English.
	Lang pulumi.StringPtrInput
	// Product Code. Valid values: `OSS`,`RDS`,`ODPS`(MaxCompute).
	ProductCode pulumi.StringPtrInput
	// Product ID. Valid values:
	// * `1`:MaxCompute
	// * `2`:OSS
	// * `5`:RDS.
	ProductId pulumi.StringPtrInput
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:
	// * `2`:S1, Weak Risk Level.
	// * `3`:S2, Medium Risk Level.
	// * `4`:S3 High Risk Level.
	// * `5`:S4, the Highest Risk Level.
	RiskLevelId pulumi.StringPtrInput
	// Sensitive Data Identification Name of the Rule.
	RuleName pulumi.StringInput
	// Rule Type.
	RuleType pulumi.IntPtrInput
	// Triggered the Alarm Conditions.
	StatExpress pulumi.StringPtrInput
	// Sensitive Data Identification Rules Detection State of.
	Status pulumi.IntPtrInput
	// The Target of rule.
	Target pulumi.StringPtrInput
	// The Level of Risk. Valid values:
	// * `1`: Weak warn Level.
	// * `2`: Medium Risk Level.
	// * `3`: High Risk Level.
	WarnLevel pulumi.IntPtrInput
}

The set of arguments for constructing a Rule resource.

func (RuleArgs) ElementType

func (RuleArgs) ElementType() reflect.Type

type RuleArray

type RuleArray []RuleInput

func (RuleArray) ElementType

func (RuleArray) ElementType() reflect.Type

func (RuleArray) ToRuleArrayOutput

func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput

func (RuleArray) ToRuleArrayOutputWithContext

func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleArrayInput

type RuleArrayInput interface {
	pulumi.Input

	ToRuleArrayOutput() RuleArrayOutput
	ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput
}

RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:

RuleArray{ RuleArgs{...} }

type RuleArrayOutput

type RuleArrayOutput struct{ *pulumi.OutputState }

func (RuleArrayOutput) ElementType

func (RuleArrayOutput) ElementType() reflect.Type

func (RuleArrayOutput) Index

func (RuleArrayOutput) ToRuleArrayOutput

func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput

func (RuleArrayOutput) ToRuleArrayOutputWithContext

func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleInput

type RuleInput interface {
	pulumi.Input

	ToRuleOutput() RuleOutput
	ToRuleOutputWithContext(ctx context.Context) RuleOutput
}

type RuleMap

type RuleMap map[string]RuleInput

func (RuleMap) ElementType

func (RuleMap) ElementType() reflect.Type

func (RuleMap) ToRuleMapOutput

func (i RuleMap) ToRuleMapOutput() RuleMapOutput

func (RuleMap) ToRuleMapOutputWithContext

func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleMapInput

type RuleMapInput interface {
	pulumi.Input

	ToRuleMapOutput() RuleMapOutput
	ToRuleMapOutputWithContext(context.Context) RuleMapOutput
}

RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:

RuleMap{ "key": RuleArgs{...} }

type RuleMapOutput

type RuleMapOutput struct{ *pulumi.OutputState }

func (RuleMapOutput) ElementType

func (RuleMapOutput) ElementType() reflect.Type

func (RuleMapOutput) MapIndex

func (RuleMapOutput) ToRuleMapOutput

func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput

func (RuleMapOutput) ToRuleMapOutputWithContext

func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleOutput

type RuleOutput struct{ *pulumi.OutputState }

func (RuleOutput) Category

func (o RuleOutput) Category() pulumi.IntOutput

Sensitive Data Identification Rules for the Type of. Valid values: * `0`: Keyword. * `2`: Regular expression.

func (RuleOutput) Content

func (o RuleOutput) Content() pulumi.StringOutput

Sensitive Data Identification Rules the Content.

func (RuleOutput) ContentCategory

func (o RuleOutput) ContentCategory() pulumi.StringOutput

The Content Classification.

func (RuleOutput) CustomType

func (o RuleOutput) CustomType() pulumi.IntOutput

Sensitive Data Identification Rules of Type. Valid values: * `0`: the Built-in. * `1`: The User-Defined.

func (RuleOutput) Description

func (o RuleOutput) Description() pulumi.StringPtrOutput

Sensitive Data Identification a Description of the Rule Information.

func (RuleOutput) ElementType

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) Lang

The Request and Receive the Language of the Message Type. Valid values: * `zh`: Chinese. * `en`: English.

func (RuleOutput) ProductCode

func (o RuleOutput) ProductCode() pulumi.StringPtrOutput

Product Code. Valid values: `OSS`,`RDS`,`ODPS`(MaxCompute).

func (RuleOutput) ProductId

func (o RuleOutput) ProductId() pulumi.StringPtrOutput

Product ID. Valid values: * `1`:MaxCompute * `2`:OSS * `5`:RDS.

func (RuleOutput) RiskLevelId

func (o RuleOutput) RiskLevelId() pulumi.StringPtrOutput

Sensitive Data Identification Rules of Risk Level ID. Valid values: * `2`:S1, Weak Risk Level. * `3`:S2, Medium Risk Level. * `4`:S3 High Risk Level. * `5`:S4, the Highest Risk Level.

func (RuleOutput) RuleName

func (o RuleOutput) RuleName() pulumi.StringOutput

Sensitive Data Identification Name of the Rule.

func (RuleOutput) RuleType

func (o RuleOutput) RuleType() pulumi.IntPtrOutput

Rule Type.

func (RuleOutput) StatExpress

func (o RuleOutput) StatExpress() pulumi.StringPtrOutput

Triggered the Alarm Conditions.

func (RuleOutput) Status

func (o RuleOutput) Status() pulumi.IntOutput

Sensitive Data Identification Rules Detection State of.

func (RuleOutput) Target

func (o RuleOutput) Target() pulumi.StringPtrOutput

The Target of rule.

func (RuleOutput) ToRuleOutput

func (o RuleOutput) ToRuleOutput() RuleOutput

func (RuleOutput) ToRuleOutputWithContext

func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput

func (RuleOutput) WarnLevel

func (o RuleOutput) WarnLevel() pulumi.IntPtrOutput

The Level of Risk. Valid values: * `1`: Weak warn Level. * `2`: Medium Risk Level. * `3`: High Risk Level.

type RuleState

type RuleState struct {
	// Sensitive Data Identification Rules for the Type of. Valid values:
	// * `0`: Keyword.
	// * `2`: Regular expression.
	Category pulumi.IntPtrInput
	// Sensitive Data Identification Rules the Content.
	Content pulumi.StringPtrInput
	// The Content Classification.
	ContentCategory pulumi.StringPtrInput
	// Sensitive Data Identification Rules of Type. Valid values:
	// * `0`: the Built-in.
	// * `1`: The User-Defined.
	CustomType pulumi.IntPtrInput
	// Sensitive Data Identification a Description of the Rule Information.
	Description pulumi.StringPtrInput
	// The Request and Receive the Language of the Message Type. Valid values:
	// * `zh`: Chinese.
	// * `en`: English.
	Lang pulumi.StringPtrInput
	// Product Code. Valid values: `OSS`,`RDS`,`ODPS`(MaxCompute).
	ProductCode pulumi.StringPtrInput
	// Product ID. Valid values:
	// * `1`:MaxCompute
	// * `2`:OSS
	// * `5`:RDS.
	ProductId pulumi.StringPtrInput
	// Sensitive Data Identification Rules of Risk Level ID. Valid values:
	// * `2`:S1, Weak Risk Level.
	// * `3`:S2, Medium Risk Level.
	// * `4`:S3 High Risk Level.
	// * `5`:S4, the Highest Risk Level.
	RiskLevelId pulumi.StringPtrInput
	// Sensitive Data Identification Name of the Rule.
	RuleName pulumi.StringPtrInput
	// Rule Type.
	RuleType pulumi.IntPtrInput
	// Triggered the Alarm Conditions.
	StatExpress pulumi.StringPtrInput
	// Sensitive Data Identification Rules Detection State of.
	Status pulumi.IntPtrInput
	// The Target of rule.
	Target pulumi.StringPtrInput
	// The Level of Risk. Valid values:
	// * `1`: Weak warn Level.
	// * `2`: Medium Risk Level.
	// * `3`: High Risk Level.
	WarnLevel pulumi.IntPtrInput
}

func (RuleState) ElementType

func (RuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL