FlowLog
Create a FlowLog Resource
new FlowLog(name: string, args: FlowLogArgs, opts?: CustomResourceOptions);def FlowLog(resource_name, opts=None, cen_id=None, description=None, flow_log_name=None, log_store_name=None, project_name=None, status=None, __props__=None);func NewFlowLog(ctx *Context, name string, args FlowLogArgs, opts ...ResourceOption) (*FlowLog, error)public FlowLog(string name, FlowLogArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args FlowLogArgs
- 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 FlowLogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
FlowLog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The FlowLog resource accepts the following input properties:
- Cen
Id string The ID of the CEN Instance.
- Log
Store stringName The name of the log store which is in the
project_nameSLS project.- Project
Name string The name of the SLS project.
- Description string
The description of flowlog.
- Flow
Log stringName The name of flowlog.
- Status string
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
- Cen
Id string The ID of the CEN Instance.
- Log
Store stringName The name of the log store which is in the
project_nameSLS project.- Project
Name string The name of the SLS project.
- Description string
The description of flowlog.
- Flow
Log stringName The name of flowlog.
- Status string
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
- cen
Id string The ID of the CEN Instance.
- log
Store stringName The name of the log store which is in the
project_nameSLS project.- project
Name string The name of the SLS project.
- description string
The description of flowlog.
- flow
Log stringName The name of flowlog.
- status string
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
- cen_
id str The ID of the CEN Instance.
- log_
store_ strname The name of the log store which is in the
project_nameSLS project.- project_
name str The name of the SLS project.
- description str
The description of flowlog.
- flow_
log_ strname The name of flowlog.
- status str
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
Outputs
All input properties are implicitly available as output properties. Additionally, the FlowLog resource produces the following output properties:
Look up an Existing FlowLog Resource
Get an existing FlowLog 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?: FlowLogState, opts?: CustomResourceOptions): FlowLogstatic get(resource_name, id, opts=None, cen_id=None, description=None, flow_log_name=None, log_store_name=None, project_name=None, status=None, __props__=None);func GetFlowLog(ctx *Context, name string, id IDInput, state *FlowLogState, opts ...ResourceOption) (*FlowLog, error)public static FlowLog Get(string name, Input<string> id, FlowLogState? 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:
- Cen
Id string The ID of the CEN Instance.
- Description string
The description of flowlog.
- Flow
Log stringName The name of flowlog.
- Log
Store stringName The name of the log store which is in the
project_nameSLS project.- Project
Name string The name of the SLS project.
- Status string
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
- Cen
Id string The ID of the CEN Instance.
- Description string
The description of flowlog.
- Flow
Log stringName The name of flowlog.
- Log
Store stringName The name of the log store which is in the
project_nameSLS project.- Project
Name string The name of the SLS project.
- Status string
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
- cen
Id string The ID of the CEN Instance.
- description string
The description of flowlog.
- flow
Log stringName The name of flowlog.
- log
Store stringName The name of the log store which is in the
project_nameSLS project.- project
Name string The name of the SLS project.
- status string
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
- cen_
id str The ID of the CEN Instance.
- description str
The description of flowlog.
- flow_
log_ strname The name of flowlog.
- log_
store_ strname The name of the log store which is in the
project_nameSLS project.- project_
name str The name of the SLS project.
- status str
The status of flowlog. Valid values: [“Active”, “Inactive”]. Default to “Active”.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.