DBAuditInstance
Create a DBAuditInstance Resource
new DBAuditInstance(name: string, args: DBAuditInstanceArgs, opts?: CustomResourceOptions);def DBAuditInstance(resource_name, opts=None, description=None, period=None, plan_code=None, resource_group_id=None, tags=None, vswitch_id=None, __props__=None);func NewDBAuditInstance(ctx *Context, name string, args DBAuditInstanceArgs, opts ...ResourceOption) (*DBAuditInstance, error)public DBAuditInstance(string name, DBAuditInstanceArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DBAuditInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DBAuditInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DBAuditInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
DBAuditInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The DBAuditInstance resource accepts the following input properties:
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- Plan
Code string Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- Vswitch
Id string vSwtich ID configured to audit
- Period int
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”.
- Resource
Group stringId The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- Plan
Code string Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- Vswitch
Id string vSwtich ID configured to audit
- Period int
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”.
- Resource
Group stringId The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- map[string]interface{}
A mapping of tags to assign to the resource.
- description string
Description of the instance. This name can have a string of 1 to 63 characters.
- plan
Code string Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- vswitch
Id string vSwtich ID configured to audit
- period number
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”.
- resource
Group stringId The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- description str
Description of the instance. This name can have a string of 1 to 63 characters.
- plan_
code str Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- vswitch_
id str vSwtich ID configured to audit
- period float
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”.
- resource_
group_ strid The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- Dict[str, Any]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DBAuditInstance resource produces the following output properties:
Look up an Existing DBAuditInstance Resource
Get an existing DBAuditInstance 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?: DBAuditInstanceState, opts?: CustomResourceOptions): DBAuditInstancestatic get(resource_name, id, opts=None, description=None, period=None, plan_code=None, resource_group_id=None, tags=None, vswitch_id=None, __props__=None);func GetDBAuditInstance(ctx *Context, name string, id IDInput, state *DBAuditInstanceState, opts ...ResourceOption) (*DBAuditInstance, error)public static DBAuditInstance Get(string name, Input<string> id, DBAuditInstanceState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- Period int
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”.
- Plan
Code string Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- Resource
Group stringId The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Vswitch
Id string vSwtich ID configured to audit
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- Period int
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”.
- Plan
Code string Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- Resource
Group stringId The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- map[string]interface{}
A mapping of tags to assign to the resource.
- Vswitch
Id string vSwtich ID configured to audit
- description string
Description of the instance. This name can have a string of 1 to 63 characters.
- period number
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”.
- plan
Code string Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- resource
Group stringId The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- vswitch
Id string vSwtich ID configured to audit
- description str
Description of the instance. This name can have a string of 1 to 63 characters.
- period float
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”.
- plan_
code str Plan code of the Cloud DBAudit to produce. (alpha.professional, alpha.basic, alpha.premium)
- resource_
group_ strid The Id of resource group which the DBaudit Instance belongs. If not set, the resource is created in the default resource group.
- Dict[str, Any]
A mapping of tags to assign to the resource.
- vswitch_
id str vSwtich ID configured to audit
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.