Documentation
¶
Index ¶
- type GetAclsAcl
- type GetAclsAclArgs
- type GetAclsAclArray
- func (GetAclsAclArray) ElementType() reflect.Type
- func (i GetAclsAclArray) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
- func (i GetAclsAclArray) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
- func (i GetAclsAclArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAclsAcl]
- type GetAclsAclArrayInput
- type GetAclsAclArrayOutput
- func (GetAclsAclArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclArrayOutput) Index(i pulumi.IntInput) GetAclsAclOutput
- func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
- func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
- func (o GetAclsAclArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAclsAcl]
- type GetAclsAclInput
- type GetAclsAclOutput
- func (GetAclsAclOutput) ElementType() reflect.Type
- func (o GetAclsAclOutput) Id() pulumi.StringOutput
- func (o GetAclsAclOutput) Name() pulumi.StringOutput
- func (o GetAclsAclOutput) ToGetAclsAclOutput() GetAclsAclOutput
- func (o GetAclsAclOutput) ToGetAclsAclOutputWithContext(ctx context.Context) GetAclsAclOutput
- func (o GetAclsAclOutput) ToOutput(ctx context.Context) pulumix.Output[GetAclsAcl]
- type GetAclsArgs
- type GetAclsOutputArgs
- type GetAclsResult
- type GetAclsResultOutput
- func (o GetAclsResultOutput) Acls() GetAclsAclArrayOutput
- func (GetAclsResultOutput) ElementType() reflect.Type
- func (o GetAclsResultOutput) Id() pulumi.StringOutput
- func (o GetAclsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAclsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAclsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput
- func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput
- func (o GetAclsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAclsResult]
- type GetSmartagFlowLogsArgs
- type GetSmartagFlowLogsLog
- type GetSmartagFlowLogsLogArgs
- func (GetSmartagFlowLogsLogArgs) ElementType() reflect.Type
- func (i GetSmartagFlowLogsLogArgs) ToGetSmartagFlowLogsLogOutput() GetSmartagFlowLogsLogOutput
- func (i GetSmartagFlowLogsLogArgs) ToGetSmartagFlowLogsLogOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogOutput
- func (i GetSmartagFlowLogsLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetSmartagFlowLogsLog]
- type GetSmartagFlowLogsLogArray
- func (GetSmartagFlowLogsLogArray) ElementType() reflect.Type
- func (i GetSmartagFlowLogsLogArray) ToGetSmartagFlowLogsLogArrayOutput() GetSmartagFlowLogsLogArrayOutput
- func (i GetSmartagFlowLogsLogArray) ToGetSmartagFlowLogsLogArrayOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogArrayOutput
- func (i GetSmartagFlowLogsLogArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSmartagFlowLogsLog]
- type GetSmartagFlowLogsLogArrayInput
- type GetSmartagFlowLogsLogArrayOutput
- func (GetSmartagFlowLogsLogArrayOutput) ElementType() reflect.Type
- func (o GetSmartagFlowLogsLogArrayOutput) Index(i pulumi.IntInput) GetSmartagFlowLogsLogOutput
- func (o GetSmartagFlowLogsLogArrayOutput) ToGetSmartagFlowLogsLogArrayOutput() GetSmartagFlowLogsLogArrayOutput
- func (o GetSmartagFlowLogsLogArrayOutput) ToGetSmartagFlowLogsLogArrayOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogArrayOutput
- func (o GetSmartagFlowLogsLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSmartagFlowLogsLog]
- type GetSmartagFlowLogsLogInput
- type GetSmartagFlowLogsLogOutput
- func (o GetSmartagFlowLogsLogOutput) ActiveAging() pulumi.IntOutput
- func (o GetSmartagFlowLogsLogOutput) Description() pulumi.StringOutput
- func (GetSmartagFlowLogsLogOutput) ElementType() reflect.Type
- func (o GetSmartagFlowLogsLogOutput) FlowLogId() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) FlowLogName() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) Id() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) InactiveAging() pulumi.IntOutput
- func (o GetSmartagFlowLogsLogOutput) LogstoreName() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) NetflowServerIp() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) NetflowServerPort() pulumi.IntOutput
- func (o GetSmartagFlowLogsLogOutput) NetflowVersion() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) OutputType() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) ProjectName() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) SlsRegionId() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) Status() pulumi.StringOutput
- func (o GetSmartagFlowLogsLogOutput) ToGetSmartagFlowLogsLogOutput() GetSmartagFlowLogsLogOutput
- func (o GetSmartagFlowLogsLogOutput) ToGetSmartagFlowLogsLogOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogOutput
- func (o GetSmartagFlowLogsLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetSmartagFlowLogsLog]
- func (o GetSmartagFlowLogsLogOutput) TotalSagNum() pulumi.IntOutput
- type GetSmartagFlowLogsOutputArgs
- type GetSmartagFlowLogsResult
- type GetSmartagFlowLogsResultOutput
- func (o GetSmartagFlowLogsResultOutput) Description() pulumi.StringPtrOutput
- func (GetSmartagFlowLogsResultOutput) ElementType() reflect.Type
- func (o GetSmartagFlowLogsResultOutput) Id() pulumi.StringOutput
- func (o GetSmartagFlowLogsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSmartagFlowLogsResultOutput) Logs() GetSmartagFlowLogsLogArrayOutput
- func (o GetSmartagFlowLogsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetSmartagFlowLogsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetSmartagFlowLogsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSmartagFlowLogsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetSmartagFlowLogsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetSmartagFlowLogsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSmartagFlowLogsResultOutput) ToGetSmartagFlowLogsResultOutput() GetSmartagFlowLogsResultOutput
- func (o GetSmartagFlowLogsResultOutput) ToGetSmartagFlowLogsResultOutputWithContext(ctx context.Context) GetSmartagFlowLogsResultOutput
- func (o GetSmartagFlowLogsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSmartagFlowLogsResult]
- type SmartagFlowLog
- func (*SmartagFlowLog) ElementType() reflect.Type
- func (i *SmartagFlowLog) ToOutput(ctx context.Context) pulumix.Output[*SmartagFlowLog]
- func (i *SmartagFlowLog) ToSmartagFlowLogOutput() SmartagFlowLogOutput
- func (i *SmartagFlowLog) ToSmartagFlowLogOutputWithContext(ctx context.Context) SmartagFlowLogOutput
- type SmartagFlowLogArgs
- type SmartagFlowLogArray
- func (SmartagFlowLogArray) ElementType() reflect.Type
- func (i SmartagFlowLogArray) ToOutput(ctx context.Context) pulumix.Output[[]*SmartagFlowLog]
- func (i SmartagFlowLogArray) ToSmartagFlowLogArrayOutput() SmartagFlowLogArrayOutput
- func (i SmartagFlowLogArray) ToSmartagFlowLogArrayOutputWithContext(ctx context.Context) SmartagFlowLogArrayOutput
- type SmartagFlowLogArrayInput
- type SmartagFlowLogArrayOutput
- func (SmartagFlowLogArrayOutput) ElementType() reflect.Type
- func (o SmartagFlowLogArrayOutput) Index(i pulumi.IntInput) SmartagFlowLogOutput
- func (o SmartagFlowLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SmartagFlowLog]
- func (o SmartagFlowLogArrayOutput) ToSmartagFlowLogArrayOutput() SmartagFlowLogArrayOutput
- func (o SmartagFlowLogArrayOutput) ToSmartagFlowLogArrayOutputWithContext(ctx context.Context) SmartagFlowLogArrayOutput
- type SmartagFlowLogInput
- type SmartagFlowLogMap
- func (SmartagFlowLogMap) ElementType() reflect.Type
- func (i SmartagFlowLogMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmartagFlowLog]
- func (i SmartagFlowLogMap) ToSmartagFlowLogMapOutput() SmartagFlowLogMapOutput
- func (i SmartagFlowLogMap) ToSmartagFlowLogMapOutputWithContext(ctx context.Context) SmartagFlowLogMapOutput
- type SmartagFlowLogMapInput
- type SmartagFlowLogMapOutput
- func (SmartagFlowLogMapOutput) ElementType() reflect.Type
- func (o SmartagFlowLogMapOutput) MapIndex(k pulumi.StringInput) SmartagFlowLogOutput
- func (o SmartagFlowLogMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmartagFlowLog]
- func (o SmartagFlowLogMapOutput) ToSmartagFlowLogMapOutput() SmartagFlowLogMapOutput
- func (o SmartagFlowLogMapOutput) ToSmartagFlowLogMapOutputWithContext(ctx context.Context) SmartagFlowLogMapOutput
- type SmartagFlowLogOutput
- func (o SmartagFlowLogOutput) ActiveAging() pulumi.IntOutput
- func (o SmartagFlowLogOutput) Description() pulumi.StringPtrOutput
- func (SmartagFlowLogOutput) ElementType() reflect.Type
- func (o SmartagFlowLogOutput) FlowLogName() pulumi.StringPtrOutput
- func (o SmartagFlowLogOutput) InactiveAging() pulumi.IntOutput
- func (o SmartagFlowLogOutput) LogstoreName() pulumi.StringPtrOutput
- func (o SmartagFlowLogOutput) NetflowServerIp() pulumi.StringPtrOutput
- func (o SmartagFlowLogOutput) NetflowServerPort() pulumi.IntOutput
- func (o SmartagFlowLogOutput) NetflowVersion() pulumi.StringOutput
- func (o SmartagFlowLogOutput) OutputType() pulumi.StringOutput
- func (o SmartagFlowLogOutput) ProjectName() pulumi.StringPtrOutput
- func (o SmartagFlowLogOutput) SlsRegionId() pulumi.StringPtrOutput
- func (o SmartagFlowLogOutput) Status() pulumi.StringOutput
- func (o SmartagFlowLogOutput) ToOutput(ctx context.Context) pulumix.Output[*SmartagFlowLog]
- func (o SmartagFlowLogOutput) ToSmartagFlowLogOutput() SmartagFlowLogOutput
- func (o SmartagFlowLogOutput) ToSmartagFlowLogOutputWithContext(ctx context.Context) SmartagFlowLogOutput
- type SmartagFlowLogState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAclsAcl ¶
type GetAclsAclArgs ¶
type GetAclsAclArgs struct { // The ID of the ACL. For example "acl-xxx". Id pulumi.StringInput `pulumi:"id"` // The name of the Acl. Name pulumi.StringInput `pulumi:"name"` }
func (GetAclsAclArgs) ElementType ¶
func (GetAclsAclArgs) ElementType() reflect.Type
func (GetAclsAclArgs) ToGetAclsAclOutput ¶
func (i GetAclsAclArgs) ToGetAclsAclOutput() GetAclsAclOutput
func (GetAclsAclArgs) ToGetAclsAclOutputWithContext ¶
func (i GetAclsAclArgs) ToGetAclsAclOutputWithContext(ctx context.Context) GetAclsAclOutput
func (GetAclsAclArgs) ToOutput ¶ added in v3.43.1
func (i GetAclsAclArgs) ToOutput(ctx context.Context) pulumix.Output[GetAclsAcl]
type GetAclsAclArray ¶
type GetAclsAclArray []GetAclsAclInput
func (GetAclsAclArray) ElementType ¶
func (GetAclsAclArray) ElementType() reflect.Type
func (GetAclsAclArray) ToGetAclsAclArrayOutput ¶
func (i GetAclsAclArray) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
func (GetAclsAclArray) ToGetAclsAclArrayOutputWithContext ¶
func (i GetAclsAclArray) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
func (GetAclsAclArray) ToOutput ¶ added in v3.43.1
func (i GetAclsAclArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAclsAcl]
type GetAclsAclArrayInput ¶
type GetAclsAclArrayInput interface { pulumi.Input ToGetAclsAclArrayOutput() GetAclsAclArrayOutput ToGetAclsAclArrayOutputWithContext(context.Context) GetAclsAclArrayOutput }
GetAclsAclArrayInput is an input type that accepts GetAclsAclArray and GetAclsAclArrayOutput values. You can construct a concrete instance of `GetAclsAclArrayInput` via:
GetAclsAclArray{ GetAclsAclArgs{...} }
type GetAclsAclArrayOutput ¶
type GetAclsAclArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclArrayOutput) ElementType ¶
func (GetAclsAclArrayOutput) ElementType() reflect.Type
func (GetAclsAclArrayOutput) Index ¶
func (o GetAclsAclArrayOutput) Index(i pulumi.IntInput) GetAclsAclOutput
func (GetAclsAclArrayOutput) ToGetAclsAclArrayOutput ¶
func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutput() GetAclsAclArrayOutput
func (GetAclsAclArrayOutput) ToGetAclsAclArrayOutputWithContext ¶
func (o GetAclsAclArrayOutput) ToGetAclsAclArrayOutputWithContext(ctx context.Context) GetAclsAclArrayOutput
func (GetAclsAclArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetAclsAclArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAclsAcl]
type GetAclsAclInput ¶
type GetAclsAclInput interface { pulumi.Input ToGetAclsAclOutput() GetAclsAclOutput ToGetAclsAclOutputWithContext(context.Context) GetAclsAclOutput }
GetAclsAclInput is an input type that accepts GetAclsAclArgs and GetAclsAclOutput values. You can construct a concrete instance of `GetAclsAclInput` via:
GetAclsAclArgs{...}
type GetAclsAclOutput ¶
type GetAclsAclOutput struct{ *pulumi.OutputState }
func (GetAclsAclOutput) ElementType ¶
func (GetAclsAclOutput) ElementType() reflect.Type
func (GetAclsAclOutput) Id ¶
func (o GetAclsAclOutput) Id() pulumi.StringOutput
The ID of the ACL. For example "acl-xxx".
func (GetAclsAclOutput) Name ¶
func (o GetAclsAclOutput) Name() pulumi.StringOutput
The name of the Acl.
func (GetAclsAclOutput) ToGetAclsAclOutput ¶
func (o GetAclsAclOutput) ToGetAclsAclOutput() GetAclsAclOutput
func (GetAclsAclOutput) ToGetAclsAclOutputWithContext ¶
func (o GetAclsAclOutput) ToGetAclsAclOutputWithContext(ctx context.Context) GetAclsAclOutput
func (GetAclsAclOutput) ToOutput ¶ added in v3.43.1
func (o GetAclsAclOutput) ToOutput(ctx context.Context) pulumix.Output[GetAclsAcl]
type GetAclsArgs ¶
type GetAclsArgs struct { // A list of Sag Acl IDs. Ids []string `pulumi:"ids"` // A regex string to filter Sag Acl instances by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getAcls.
type GetAclsOutputArgs ¶ added in v3.9.0
type GetAclsOutputArgs struct { // A list of Sag Acl IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter Sag Acl instances by name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getAcls.
func (GetAclsOutputArgs) ElementType ¶ added in v3.9.0
func (GetAclsOutputArgs) ElementType() reflect.Type
type GetAclsResult ¶
type GetAclsResult struct { // A list of Sag Acls. Each element contains the following attributes: Acls []GetAclsAcl `pulumi:"acls"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Sag Acl IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of Sag Acls names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getAcls.
func GetAcls ¶
func GetAcls(ctx *pulumi.Context, args *GetAclsArgs, opts ...pulumi.InvokeOption) (*GetAclsResult, error)
This data source provides Sag Acls available to the user.
> **NOTE:** Available in 1.60.0+
> **NOTE:** Only the following regions support create Cloud Connect Network. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rocketmq" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sag" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := sag.GetAcls(ctx, &sag.GetAclsArgs{ Ids: interface{}{ alicloud_sag_acls.Default.Id, }, NameRegex: pulumi.StringRef("^tf-testAcc.*"), }, nil); if err != nil { return err } _, err = rocketmq.NewAcl(ctx, "defaultAcl", nil) if err != nil { return err } return nil }) } ```
type GetAclsResultOutput ¶ added in v3.9.0
type GetAclsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAcls.
func GetAclsOutput ¶ added in v3.9.0
func GetAclsOutput(ctx *pulumi.Context, args GetAclsOutputArgs, opts ...pulumi.InvokeOption) GetAclsResultOutput
func (GetAclsResultOutput) Acls ¶ added in v3.9.0
func (o GetAclsResultOutput) Acls() GetAclsAclArrayOutput
A list of Sag Acls. Each element contains the following attributes:
func (GetAclsResultOutput) ElementType ¶ added in v3.9.0
func (GetAclsResultOutput) ElementType() reflect.Type
func (GetAclsResultOutput) Id ¶ added in v3.9.0
func (o GetAclsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAclsResultOutput) Ids ¶ added in v3.9.0
func (o GetAclsResultOutput) Ids() pulumi.StringArrayOutput
A list of Sag Acl IDs.
func (GetAclsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetAclsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetAclsResultOutput) Names ¶ added in v3.9.0
func (o GetAclsResultOutput) Names() pulumi.StringArrayOutput
A list of Sag Acls names.
func (GetAclsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetAclsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAclsResultOutput) ToGetAclsResultOutput ¶ added in v3.9.0
func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput
func (GetAclsResultOutput) ToGetAclsResultOutputWithContext ¶ added in v3.9.0
func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput
func (GetAclsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetAclsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAclsResult]
type GetSmartagFlowLogsArgs ¶ added in v3.20.0
type GetSmartagFlowLogsArgs struct { // The description of the flow log. Description *string `pulumi:"description"` // A list of Flow Log IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Flow Log name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status *string `pulumi:"status"` }
A collection of arguments for invoking getSmartagFlowLogs.
type GetSmartagFlowLogsLog ¶ added in v3.20.0
type GetSmartagFlowLogsLog struct { // The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second. ActiveAging int `pulumi:"activeAging"` // The description of the flow log. Description string `pulumi:"description"` // The ID of the flow log. FlowLogId string `pulumi:"flowLogId"` // The name of the flow log. FlowLogName string `pulumi:"flowLogName"` // The ID of the Flow Log. Id string `pulumi:"id"` // The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second. InactiveAging int `pulumi:"inactiveAging"` // The name of the Log Service Logstore. LogstoreName string `pulumi:"logstoreName"` // The IP address of the NetFlow collector where the flow log is stored. NetflowServerIp string `pulumi:"netflowServerIp"` // The port of the NetFlow collector. Default value: 9995. NetflowServerPort int `pulumi:"netflowServerPort"` // The NetFlow version. Default value: V9. NetflowVersion string `pulumi:"netflowVersion"` // The location where the flow log is stored. Valid values: sls: The flow log is stored in Log Service. netflow: The flow log is stored on a NetFlow collector. all: The flow log is stored both in Log Service and on a NetFlow collector. OutputType string `pulumi:"outputType"` // The name of the Log Service project. ProjectName string `pulumi:"projectName"` // The ID of the resource group. ResourceGroupId string `pulumi:"resourceGroupId"` // The ID of the region where Log Service is deployed. SlsRegionId string `pulumi:"slsRegionId"` // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status string `pulumi:"status"` // The number of Smart Access gateway (SAG) instances with which the flow log is associated. TotalSagNum int `pulumi:"totalSagNum"` }
type GetSmartagFlowLogsLogArgs ¶ added in v3.20.0
type GetSmartagFlowLogsLogArgs struct { // The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second. ActiveAging pulumi.IntInput `pulumi:"activeAging"` // The description of the flow log. Description pulumi.StringInput `pulumi:"description"` // The ID of the flow log. FlowLogId pulumi.StringInput `pulumi:"flowLogId"` // The name of the flow log. FlowLogName pulumi.StringInput `pulumi:"flowLogName"` // The ID of the Flow Log. Id pulumi.StringInput `pulumi:"id"` // The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second. InactiveAging pulumi.IntInput `pulumi:"inactiveAging"` // The name of the Log Service Logstore. LogstoreName pulumi.StringInput `pulumi:"logstoreName"` // The IP address of the NetFlow collector where the flow log is stored. NetflowServerIp pulumi.StringInput `pulumi:"netflowServerIp"` // The port of the NetFlow collector. Default value: 9995. NetflowServerPort pulumi.IntInput `pulumi:"netflowServerPort"` // The NetFlow version. Default value: V9. NetflowVersion pulumi.StringInput `pulumi:"netflowVersion"` // The location where the flow log is stored. Valid values: sls: The flow log is stored in Log Service. netflow: The flow log is stored on a NetFlow collector. all: The flow log is stored both in Log Service and on a NetFlow collector. OutputType pulumi.StringInput `pulumi:"outputType"` // The name of the Log Service project. ProjectName pulumi.StringInput `pulumi:"projectName"` // The ID of the resource group. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The ID of the region where Log Service is deployed. SlsRegionId pulumi.StringInput `pulumi:"slsRegionId"` // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status pulumi.StringInput `pulumi:"status"` // The number of Smart Access gateway (SAG) instances with which the flow log is associated. TotalSagNum pulumi.IntInput `pulumi:"totalSagNum"` }
func (GetSmartagFlowLogsLogArgs) ElementType ¶ added in v3.20.0
func (GetSmartagFlowLogsLogArgs) ElementType() reflect.Type
func (GetSmartagFlowLogsLogArgs) ToGetSmartagFlowLogsLogOutput ¶ added in v3.20.0
func (i GetSmartagFlowLogsLogArgs) ToGetSmartagFlowLogsLogOutput() GetSmartagFlowLogsLogOutput
func (GetSmartagFlowLogsLogArgs) ToGetSmartagFlowLogsLogOutputWithContext ¶ added in v3.20.0
func (i GetSmartagFlowLogsLogArgs) ToGetSmartagFlowLogsLogOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogOutput
func (GetSmartagFlowLogsLogArgs) ToOutput ¶ added in v3.43.1
func (i GetSmartagFlowLogsLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetSmartagFlowLogsLog]
type GetSmartagFlowLogsLogArray ¶ added in v3.20.0
type GetSmartagFlowLogsLogArray []GetSmartagFlowLogsLogInput
func (GetSmartagFlowLogsLogArray) ElementType ¶ added in v3.20.0
func (GetSmartagFlowLogsLogArray) ElementType() reflect.Type
func (GetSmartagFlowLogsLogArray) ToGetSmartagFlowLogsLogArrayOutput ¶ added in v3.20.0
func (i GetSmartagFlowLogsLogArray) ToGetSmartagFlowLogsLogArrayOutput() GetSmartagFlowLogsLogArrayOutput
func (GetSmartagFlowLogsLogArray) ToGetSmartagFlowLogsLogArrayOutputWithContext ¶ added in v3.20.0
func (i GetSmartagFlowLogsLogArray) ToGetSmartagFlowLogsLogArrayOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogArrayOutput
func (GetSmartagFlowLogsLogArray) ToOutput ¶ added in v3.43.1
func (i GetSmartagFlowLogsLogArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSmartagFlowLogsLog]
type GetSmartagFlowLogsLogArrayInput ¶ added in v3.20.0
type GetSmartagFlowLogsLogArrayInput interface { pulumi.Input ToGetSmartagFlowLogsLogArrayOutput() GetSmartagFlowLogsLogArrayOutput ToGetSmartagFlowLogsLogArrayOutputWithContext(context.Context) GetSmartagFlowLogsLogArrayOutput }
GetSmartagFlowLogsLogArrayInput is an input type that accepts GetSmartagFlowLogsLogArray and GetSmartagFlowLogsLogArrayOutput values. You can construct a concrete instance of `GetSmartagFlowLogsLogArrayInput` via:
GetSmartagFlowLogsLogArray{ GetSmartagFlowLogsLogArgs{...} }
type GetSmartagFlowLogsLogArrayOutput ¶ added in v3.20.0
type GetSmartagFlowLogsLogArrayOutput struct{ *pulumi.OutputState }
func (GetSmartagFlowLogsLogArrayOutput) ElementType ¶ added in v3.20.0
func (GetSmartagFlowLogsLogArrayOutput) ElementType() reflect.Type
func (GetSmartagFlowLogsLogArrayOutput) Index ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogArrayOutput) Index(i pulumi.IntInput) GetSmartagFlowLogsLogOutput
func (GetSmartagFlowLogsLogArrayOutput) ToGetSmartagFlowLogsLogArrayOutput ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogArrayOutput) ToGetSmartagFlowLogsLogArrayOutput() GetSmartagFlowLogsLogArrayOutput
func (GetSmartagFlowLogsLogArrayOutput) ToGetSmartagFlowLogsLogArrayOutputWithContext ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogArrayOutput) ToGetSmartagFlowLogsLogArrayOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogArrayOutput
func (GetSmartagFlowLogsLogArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetSmartagFlowLogsLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSmartagFlowLogsLog]
type GetSmartagFlowLogsLogInput ¶ added in v3.20.0
type GetSmartagFlowLogsLogInput interface { pulumi.Input ToGetSmartagFlowLogsLogOutput() GetSmartagFlowLogsLogOutput ToGetSmartagFlowLogsLogOutputWithContext(context.Context) GetSmartagFlowLogsLogOutput }
GetSmartagFlowLogsLogInput is an input type that accepts GetSmartagFlowLogsLogArgs and GetSmartagFlowLogsLogOutput values. You can construct a concrete instance of `GetSmartagFlowLogsLogInput` via:
GetSmartagFlowLogsLogArgs{...}
type GetSmartagFlowLogsLogOutput ¶ added in v3.20.0
type GetSmartagFlowLogsLogOutput struct{ *pulumi.OutputState }
func (GetSmartagFlowLogsLogOutput) ActiveAging ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) ActiveAging() pulumi.IntOutput
The time interval at which log data of active connections is collected. Valid values: 60 to 6000. Default value: 300. Unit: second.
func (GetSmartagFlowLogsLogOutput) Description ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) Description() pulumi.StringOutput
The description of the flow log.
func (GetSmartagFlowLogsLogOutput) ElementType ¶ added in v3.20.0
func (GetSmartagFlowLogsLogOutput) ElementType() reflect.Type
func (GetSmartagFlowLogsLogOutput) FlowLogId ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) FlowLogId() pulumi.StringOutput
The ID of the flow log.
func (GetSmartagFlowLogsLogOutput) FlowLogName ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) FlowLogName() pulumi.StringOutput
The name of the flow log.
func (GetSmartagFlowLogsLogOutput) Id ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) Id() pulumi.StringOutput
The ID of the Flow Log.
func (GetSmartagFlowLogsLogOutput) InactiveAging ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) InactiveAging() pulumi.IntOutput
The time interval at which log data of inactive connections is connected. Valid values: 10 to 600. Default value: 15. Unit: second.
func (GetSmartagFlowLogsLogOutput) LogstoreName ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) LogstoreName() pulumi.StringOutput
The name of the Log Service Logstore.
func (GetSmartagFlowLogsLogOutput) NetflowServerIp ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) NetflowServerIp() pulumi.StringOutput
The IP address of the NetFlow collector where the flow log is stored.
func (GetSmartagFlowLogsLogOutput) NetflowServerPort ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) NetflowServerPort() pulumi.IntOutput
The port of the NetFlow collector. Default value: 9995.
func (GetSmartagFlowLogsLogOutput) NetflowVersion ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) NetflowVersion() pulumi.StringOutput
The NetFlow version. Default value: V9.
func (GetSmartagFlowLogsLogOutput) OutputType ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) OutputType() pulumi.StringOutput
The location where the flow log is stored. Valid values: sls: The flow log is stored in Log Service. netflow: The flow log is stored on a NetFlow collector. all: The flow log is stored both in Log Service and on a NetFlow collector.
func (GetSmartagFlowLogsLogOutput) ProjectName ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) ProjectName() pulumi.StringOutput
The name of the Log Service project.
func (GetSmartagFlowLogsLogOutput) ResourceGroupId ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group.
func (GetSmartagFlowLogsLogOutput) SlsRegionId ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) SlsRegionId() pulumi.StringOutput
The ID of the region where Log Service is deployed.
func (GetSmartagFlowLogsLogOutput) Status ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) Status() pulumi.StringOutput
The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled.
func (GetSmartagFlowLogsLogOutput) ToGetSmartagFlowLogsLogOutput ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) ToGetSmartagFlowLogsLogOutput() GetSmartagFlowLogsLogOutput
func (GetSmartagFlowLogsLogOutput) ToGetSmartagFlowLogsLogOutputWithContext ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) ToGetSmartagFlowLogsLogOutputWithContext(ctx context.Context) GetSmartagFlowLogsLogOutput
func (GetSmartagFlowLogsLogOutput) ToOutput ¶ added in v3.43.1
func (o GetSmartagFlowLogsLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetSmartagFlowLogsLog]
func (GetSmartagFlowLogsLogOutput) TotalSagNum ¶ added in v3.20.0
func (o GetSmartagFlowLogsLogOutput) TotalSagNum() pulumi.IntOutput
The number of Smart Access gateway (SAG) instances with which the flow log is associated.
type GetSmartagFlowLogsOutputArgs ¶ added in v3.20.0
type GetSmartagFlowLogsOutputArgs struct { // The description of the flow log. Description pulumi.StringPtrInput `pulumi:"description"` // A list of Flow Log IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Flow Log name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getSmartagFlowLogs.
func (GetSmartagFlowLogsOutputArgs) ElementType ¶ added in v3.20.0
func (GetSmartagFlowLogsOutputArgs) ElementType() reflect.Type
type GetSmartagFlowLogsResult ¶ added in v3.20.0
type GetSmartagFlowLogsResult struct { Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Logs []GetSmartagFlowLogsLog `pulumi:"logs"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` Status *string `pulumi:"status"` }
A collection of values returned by getSmartagFlowLogs.
func GetSmartagFlowLogs ¶ added in v3.20.0
func GetSmartagFlowLogs(ctx *pulumi.Context, args *GetSmartagFlowLogsArgs, opts ...pulumi.InvokeOption) (*GetSmartagFlowLogsResult, error)
This data source provides the Smartag Flow Logs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.168.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sag" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := sag.GetSmartagFlowLogs(ctx, &sag.GetSmartagFlowLogsArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("smartagFlowLogId1", ids.Logs[0].Id) nameRegex, err := sag.GetSmartagFlowLogs(ctx, &sag.GetSmartagFlowLogsArgs{ NameRegex: pulumi.StringRef("^my-FlowLog"), }, nil) if err != nil { return err } ctx.Export("smartagFlowLogId2", nameRegex.Logs[0].Id) return nil }) }
```
type GetSmartagFlowLogsResultOutput ¶ added in v3.20.0
type GetSmartagFlowLogsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSmartagFlowLogs.
func GetSmartagFlowLogsOutput ¶ added in v3.20.0
func GetSmartagFlowLogsOutput(ctx *pulumi.Context, args GetSmartagFlowLogsOutputArgs, opts ...pulumi.InvokeOption) GetSmartagFlowLogsResultOutput
func (GetSmartagFlowLogsResultOutput) Description ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) Description() pulumi.StringPtrOutput
func (GetSmartagFlowLogsResultOutput) ElementType ¶ added in v3.20.0
func (GetSmartagFlowLogsResultOutput) ElementType() reflect.Type
func (GetSmartagFlowLogsResultOutput) Id ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSmartagFlowLogsResultOutput) Ids ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) Ids() pulumi.StringArrayOutput
func (GetSmartagFlowLogsResultOutput) Logs ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) Logs() GetSmartagFlowLogsLogArrayOutput
func (GetSmartagFlowLogsResultOutput) NameRegex ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetSmartagFlowLogsResultOutput) Names ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) Names() pulumi.StringArrayOutput
func (GetSmartagFlowLogsResultOutput) OutputFile ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSmartagFlowLogsResultOutput) PageNumber ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetSmartagFlowLogsResultOutput) PageSize ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetSmartagFlowLogsResultOutput) Status ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) Status() pulumi.StringPtrOutput
func (GetSmartagFlowLogsResultOutput) ToGetSmartagFlowLogsResultOutput ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) ToGetSmartagFlowLogsResultOutput() GetSmartagFlowLogsResultOutput
func (GetSmartagFlowLogsResultOutput) ToGetSmartagFlowLogsResultOutputWithContext ¶ added in v3.20.0
func (o GetSmartagFlowLogsResultOutput) ToGetSmartagFlowLogsResultOutputWithContext(ctx context.Context) GetSmartagFlowLogsResultOutput
func (GetSmartagFlowLogsResultOutput) ToOutput ¶ added in v3.43.1
func (o GetSmartagFlowLogsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSmartagFlowLogsResult]
type SmartagFlowLog ¶ added in v3.20.0
type SmartagFlowLog struct { pulumi.CustomResourceState // The time interval at which log data of active connections is collected. Valid values: `60` to `6000`. Default value: `300`. Unit: second. ActiveAging pulumi.IntOutput `pulumi:"activeAging"` // The description of the flow log. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the flow log. FlowLogName pulumi.StringPtrOutput `pulumi:"flowLogName"` // The time interval at which log data of inactive connections is connected. Valid values: `10` to `600`. Default value: `15`. Unit: second. InactiveAging pulumi.IntOutput `pulumi:"inactiveAging"` // The Logstore in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required. LogstoreName pulumi.StringPtrOutput `pulumi:"logstoreName"` // The IP address of the NetFlow collector where the flow log is stored. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowServerIp pulumi.StringPtrOutput `pulumi:"netflowServerIp"` // The port of the NetFlow collector. Default value: `9995`. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowServerPort pulumi.IntOutput `pulumi:"netflowServerPort"` // The NetFlow version. Default value: `V9`. Valid values: `V10`, `V5`, `V9`. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowVersion pulumi.StringOutput `pulumi:"netflowVersion"` // The location where the flow log is stored. Valid values: OutputType pulumi.StringOutput `pulumi:"outputType"` // The project in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required. ProjectName pulumi.StringPtrOutput `pulumi:"projectName"` // The ID of the region where Log Service is deployed. If `outputType` is set to `sls` or `all`, this parameter is required. SlsRegionId pulumi.StringPtrOutput `pulumi:"slsRegionId"` // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Smartag Flow Log resource.
For information about Smartag Flow Log and how to use it, see [What is Flow Log](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/createflowlog).
> **NOTE:** Available since v1.168.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sag" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := sag.NewSmartagFlowLog(ctx, "example", &sag.SmartagFlowLogArgs{ NetflowServerIp: pulumi.String("192.168.0.2"), NetflowServerPort: pulumi.Int(9995), NetflowVersion: pulumi.String("V9"), OutputType: pulumi.String("netflow"), }) if err != nil { return err } return nil }) }
```
## Import
Smartag Flow Log can be imported using the id, e.g.
```sh
$ pulumi import alicloud:sag/smartagFlowLog:SmartagFlowLog example <id>
```
func GetSmartagFlowLog ¶ added in v3.20.0
func GetSmartagFlowLog(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SmartagFlowLogState, opts ...pulumi.ResourceOption) (*SmartagFlowLog, error)
GetSmartagFlowLog gets an existing SmartagFlowLog 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 NewSmartagFlowLog ¶ added in v3.20.0
func NewSmartagFlowLog(ctx *pulumi.Context, name string, args *SmartagFlowLogArgs, opts ...pulumi.ResourceOption) (*SmartagFlowLog, error)
NewSmartagFlowLog registers a new resource with the given unique name, arguments, and options.
func (*SmartagFlowLog) ElementType ¶ added in v3.20.0
func (*SmartagFlowLog) ElementType() reflect.Type
func (*SmartagFlowLog) ToOutput ¶ added in v3.43.1
func (i *SmartagFlowLog) ToOutput(ctx context.Context) pulumix.Output[*SmartagFlowLog]
func (*SmartagFlowLog) ToSmartagFlowLogOutput ¶ added in v3.20.0
func (i *SmartagFlowLog) ToSmartagFlowLogOutput() SmartagFlowLogOutput
func (*SmartagFlowLog) ToSmartagFlowLogOutputWithContext ¶ added in v3.20.0
func (i *SmartagFlowLog) ToSmartagFlowLogOutputWithContext(ctx context.Context) SmartagFlowLogOutput
type SmartagFlowLogArgs ¶ added in v3.20.0
type SmartagFlowLogArgs struct { // The time interval at which log data of active connections is collected. Valid values: `60` to `6000`. Default value: `300`. Unit: second. ActiveAging pulumi.IntPtrInput // The description of the flow log. Description pulumi.StringPtrInput // The name of the flow log. FlowLogName pulumi.StringPtrInput // The time interval at which log data of inactive connections is connected. Valid values: `10` to `600`. Default value: `15`. Unit: second. InactiveAging pulumi.IntPtrInput // The Logstore in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required. LogstoreName pulumi.StringPtrInput // The IP address of the NetFlow collector where the flow log is stored. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowServerIp pulumi.StringPtrInput // The port of the NetFlow collector. Default value: `9995`. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowServerPort pulumi.IntPtrInput // The NetFlow version. Default value: `V9`. Valid values: `V10`, `V5`, `V9`. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowVersion pulumi.StringPtrInput // The location where the flow log is stored. Valid values: OutputType pulumi.StringInput // The project in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required. ProjectName pulumi.StringPtrInput // The ID of the region where Log Service is deployed. If `outputType` is set to `sls` or `all`, this parameter is required. SlsRegionId pulumi.StringPtrInput // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status pulumi.StringPtrInput }
The set of arguments for constructing a SmartagFlowLog resource.
func (SmartagFlowLogArgs) ElementType ¶ added in v3.20.0
func (SmartagFlowLogArgs) ElementType() reflect.Type
type SmartagFlowLogArray ¶ added in v3.20.0
type SmartagFlowLogArray []SmartagFlowLogInput
func (SmartagFlowLogArray) ElementType ¶ added in v3.20.0
func (SmartagFlowLogArray) ElementType() reflect.Type
func (SmartagFlowLogArray) ToOutput ¶ added in v3.43.1
func (i SmartagFlowLogArray) ToOutput(ctx context.Context) pulumix.Output[[]*SmartagFlowLog]
func (SmartagFlowLogArray) ToSmartagFlowLogArrayOutput ¶ added in v3.20.0
func (i SmartagFlowLogArray) ToSmartagFlowLogArrayOutput() SmartagFlowLogArrayOutput
func (SmartagFlowLogArray) ToSmartagFlowLogArrayOutputWithContext ¶ added in v3.20.0
func (i SmartagFlowLogArray) ToSmartagFlowLogArrayOutputWithContext(ctx context.Context) SmartagFlowLogArrayOutput
type SmartagFlowLogArrayInput ¶ added in v3.20.0
type SmartagFlowLogArrayInput interface { pulumi.Input ToSmartagFlowLogArrayOutput() SmartagFlowLogArrayOutput ToSmartagFlowLogArrayOutputWithContext(context.Context) SmartagFlowLogArrayOutput }
SmartagFlowLogArrayInput is an input type that accepts SmartagFlowLogArray and SmartagFlowLogArrayOutput values. You can construct a concrete instance of `SmartagFlowLogArrayInput` via:
SmartagFlowLogArray{ SmartagFlowLogArgs{...} }
type SmartagFlowLogArrayOutput ¶ added in v3.20.0
type SmartagFlowLogArrayOutput struct{ *pulumi.OutputState }
func (SmartagFlowLogArrayOutput) ElementType ¶ added in v3.20.0
func (SmartagFlowLogArrayOutput) ElementType() reflect.Type
func (SmartagFlowLogArrayOutput) Index ¶ added in v3.20.0
func (o SmartagFlowLogArrayOutput) Index(i pulumi.IntInput) SmartagFlowLogOutput
func (SmartagFlowLogArrayOutput) ToOutput ¶ added in v3.43.1
func (o SmartagFlowLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SmartagFlowLog]
func (SmartagFlowLogArrayOutput) ToSmartagFlowLogArrayOutput ¶ added in v3.20.0
func (o SmartagFlowLogArrayOutput) ToSmartagFlowLogArrayOutput() SmartagFlowLogArrayOutput
func (SmartagFlowLogArrayOutput) ToSmartagFlowLogArrayOutputWithContext ¶ added in v3.20.0
func (o SmartagFlowLogArrayOutput) ToSmartagFlowLogArrayOutputWithContext(ctx context.Context) SmartagFlowLogArrayOutput
type SmartagFlowLogInput ¶ added in v3.20.0
type SmartagFlowLogInput interface { pulumi.Input ToSmartagFlowLogOutput() SmartagFlowLogOutput ToSmartagFlowLogOutputWithContext(ctx context.Context) SmartagFlowLogOutput }
type SmartagFlowLogMap ¶ added in v3.20.0
type SmartagFlowLogMap map[string]SmartagFlowLogInput
func (SmartagFlowLogMap) ElementType ¶ added in v3.20.0
func (SmartagFlowLogMap) ElementType() reflect.Type
func (SmartagFlowLogMap) ToOutput ¶ added in v3.43.1
func (i SmartagFlowLogMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmartagFlowLog]
func (SmartagFlowLogMap) ToSmartagFlowLogMapOutput ¶ added in v3.20.0
func (i SmartagFlowLogMap) ToSmartagFlowLogMapOutput() SmartagFlowLogMapOutput
func (SmartagFlowLogMap) ToSmartagFlowLogMapOutputWithContext ¶ added in v3.20.0
func (i SmartagFlowLogMap) ToSmartagFlowLogMapOutputWithContext(ctx context.Context) SmartagFlowLogMapOutput
type SmartagFlowLogMapInput ¶ added in v3.20.0
type SmartagFlowLogMapInput interface { pulumi.Input ToSmartagFlowLogMapOutput() SmartagFlowLogMapOutput ToSmartagFlowLogMapOutputWithContext(context.Context) SmartagFlowLogMapOutput }
SmartagFlowLogMapInput is an input type that accepts SmartagFlowLogMap and SmartagFlowLogMapOutput values. You can construct a concrete instance of `SmartagFlowLogMapInput` via:
SmartagFlowLogMap{ "key": SmartagFlowLogArgs{...} }
type SmartagFlowLogMapOutput ¶ added in v3.20.0
type SmartagFlowLogMapOutput struct{ *pulumi.OutputState }
func (SmartagFlowLogMapOutput) ElementType ¶ added in v3.20.0
func (SmartagFlowLogMapOutput) ElementType() reflect.Type
func (SmartagFlowLogMapOutput) MapIndex ¶ added in v3.20.0
func (o SmartagFlowLogMapOutput) MapIndex(k pulumi.StringInput) SmartagFlowLogOutput
func (SmartagFlowLogMapOutput) ToOutput ¶ added in v3.43.1
func (o SmartagFlowLogMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmartagFlowLog]
func (SmartagFlowLogMapOutput) ToSmartagFlowLogMapOutput ¶ added in v3.20.0
func (o SmartagFlowLogMapOutput) ToSmartagFlowLogMapOutput() SmartagFlowLogMapOutput
func (SmartagFlowLogMapOutput) ToSmartagFlowLogMapOutputWithContext ¶ added in v3.20.0
func (o SmartagFlowLogMapOutput) ToSmartagFlowLogMapOutputWithContext(ctx context.Context) SmartagFlowLogMapOutput
type SmartagFlowLogOutput ¶ added in v3.20.0
type SmartagFlowLogOutput struct{ *pulumi.OutputState }
func (SmartagFlowLogOutput) ActiveAging ¶ added in v3.27.0
func (o SmartagFlowLogOutput) ActiveAging() pulumi.IntOutput
The time interval at which log data of active connections is collected. Valid values: `60` to `6000`. Default value: `300`. Unit: second.
func (SmartagFlowLogOutput) Description ¶ added in v3.27.0
func (o SmartagFlowLogOutput) Description() pulumi.StringPtrOutput
The description of the flow log.
func (SmartagFlowLogOutput) ElementType ¶ added in v3.20.0
func (SmartagFlowLogOutput) ElementType() reflect.Type
func (SmartagFlowLogOutput) FlowLogName ¶ added in v3.27.0
func (o SmartagFlowLogOutput) FlowLogName() pulumi.StringPtrOutput
The name of the flow log.
func (SmartagFlowLogOutput) InactiveAging ¶ added in v3.27.0
func (o SmartagFlowLogOutput) InactiveAging() pulumi.IntOutput
The time interval at which log data of inactive connections is connected. Valid values: `10` to `600`. Default value: `15`. Unit: second.
func (SmartagFlowLogOutput) LogstoreName ¶ added in v3.27.0
func (o SmartagFlowLogOutput) LogstoreName() pulumi.StringPtrOutput
The Logstore in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required.
func (SmartagFlowLogOutput) NetflowServerIp ¶ added in v3.27.0
func (o SmartagFlowLogOutput) NetflowServerIp() pulumi.StringPtrOutput
The IP address of the NetFlow collector where the flow log is stored. If `outputType` is set to `netflow` or `all`, this parameter is required.
func (SmartagFlowLogOutput) NetflowServerPort ¶ added in v3.27.0
func (o SmartagFlowLogOutput) NetflowServerPort() pulumi.IntOutput
The port of the NetFlow collector. Default value: `9995`. If `outputType` is set to `netflow` or `all`, this parameter is required.
func (SmartagFlowLogOutput) NetflowVersion ¶ added in v3.27.0
func (o SmartagFlowLogOutput) NetflowVersion() pulumi.StringOutput
The NetFlow version. Default value: `V9`. Valid values: `V10`, `V5`, `V9`. If `outputType` is set to `netflow` or `all`, this parameter is required.
func (SmartagFlowLogOutput) OutputType ¶ added in v3.27.0
func (o SmartagFlowLogOutput) OutputType() pulumi.StringOutput
The location where the flow log is stored. Valid values:
func (SmartagFlowLogOutput) ProjectName ¶ added in v3.27.0
func (o SmartagFlowLogOutput) ProjectName() pulumi.StringPtrOutput
The project in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required.
func (SmartagFlowLogOutput) SlsRegionId ¶ added in v3.27.0
func (o SmartagFlowLogOutput) SlsRegionId() pulumi.StringPtrOutput
The ID of the region where Log Service is deployed. If `outputType` is set to `sls` or `all`, this parameter is required.
func (SmartagFlowLogOutput) Status ¶ added in v3.27.0
func (o SmartagFlowLogOutput) Status() pulumi.StringOutput
The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled.
func (SmartagFlowLogOutput) ToOutput ¶ added in v3.43.1
func (o SmartagFlowLogOutput) ToOutput(ctx context.Context) pulumix.Output[*SmartagFlowLog]
func (SmartagFlowLogOutput) ToSmartagFlowLogOutput ¶ added in v3.20.0
func (o SmartagFlowLogOutput) ToSmartagFlowLogOutput() SmartagFlowLogOutput
func (SmartagFlowLogOutput) ToSmartagFlowLogOutputWithContext ¶ added in v3.20.0
func (o SmartagFlowLogOutput) ToSmartagFlowLogOutputWithContext(ctx context.Context) SmartagFlowLogOutput
type SmartagFlowLogState ¶ added in v3.20.0
type SmartagFlowLogState struct { // The time interval at which log data of active connections is collected. Valid values: `60` to `6000`. Default value: `300`. Unit: second. ActiveAging pulumi.IntPtrInput // The description of the flow log. Description pulumi.StringPtrInput // The name of the flow log. FlowLogName pulumi.StringPtrInput // The time interval at which log data of inactive connections is connected. Valid values: `10` to `600`. Default value: `15`. Unit: second. InactiveAging pulumi.IntPtrInput // The Logstore in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required. LogstoreName pulumi.StringPtrInput // The IP address of the NetFlow collector where the flow log is stored. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowServerIp pulumi.StringPtrInput // The port of the NetFlow collector. Default value: `9995`. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowServerPort pulumi.IntPtrInput // The NetFlow version. Default value: `V9`. Valid values: `V10`, `V5`, `V9`. If `outputType` is set to `netflow` or `all`, this parameter is required. NetflowVersion pulumi.StringPtrInput // The location where the flow log is stored. Valid values: OutputType pulumi.StringPtrInput // The project in Log Service. If `outputType` is set to `sls` or `all`, this parameter is required. ProjectName pulumi.StringPtrInput // The ID of the region where Log Service is deployed. If `outputType` is set to `sls` or `all`, this parameter is required. SlsRegionId pulumi.StringPtrInput // The status of the flow log. Valid values: `Active`: The flow log is enabled. `Inactive`: The flow log is disabled. Status pulumi.StringPtrInput }
func (SmartagFlowLogState) ElementType ¶ added in v3.20.0
func (SmartagFlowLogState) ElementType() reflect.Type