Class DBAuditInstance
Inherited Members
Namespace: Pulumi.AliCloud.Yundun
Assembly: Pulumi.AliCloud.dll
Syntax
public class DBAuditInstance : CustomResource
Constructors
View SourceDBAuditInstance(String, DBAuditInstanceArgs, CustomResourceOptions)
Create a DBAuditInstance resource with the given unique name, arguments, and options.
Declaration
public DBAuditInstance(string name, DBAuditInstanceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DBAuditInstanceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Description of the instance. This name can have a string of 1 to 63 characters.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Period
Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
Declaration
public Output<int?> Period { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
PlanCode
Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
Declaration
public Output<string> PlanCode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
VswitchId
vSwtich ID configured to audit
Declaration
public Output<string> VswitchId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DBAuditInstanceState, CustomResourceOptions)
Get an existing DBAuditInstance resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DBAuditInstance Get(string name, Input<string> id, DBAuditInstanceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DBAuditInstanceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DBAuditInstance |