alicloud.aligreen.OssStockTask
Explore with Pulumi AI
Import
Aligreen Oss Stock Task can be imported using the id, e.g.
$ pulumi import alicloud:aligreen/ossStockTask:OssStockTask example <id>
Create OssStockTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OssStockTask(name: string, args?: OssStockTaskArgs, opts?: CustomResourceOptions);
@overload
def OssStockTask(resource_name: str,
args: Optional[OssStockTaskArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def OssStockTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
audio_antispam_freeze_config: Optional[str] = None,
audio_auto_freeze_opened: Optional[bool] = None,
audio_max_size: Optional[int] = None,
audio_opened: Optional[bool] = None,
audio_scan_limit: Optional[int] = None,
audio_scenes: Optional[str] = None,
auto_freeze_type: Optional[str] = None,
biz_type: Optional[str] = None,
buckets: Optional[str] = None,
callback_id: Optional[int] = None,
end_date: Optional[str] = None,
image_ad_freeze_config: Optional[str] = None,
image_auto_freeze_opened: Optional[bool] = None,
image_live_freeze_config: Optional[str] = None,
image_opened: Optional[bool] = None,
image_porn_freeze_config: Optional[str] = None,
image_scan_limit: Optional[int] = None,
image_scenes: Optional[Sequence[str]] = None,
image_terrorism_freeze_config: Optional[str] = None,
scan_image_no_file_type: Optional[bool] = None,
start_date: Optional[str] = None,
video_ad_freeze_config: Optional[str] = None,
video_auto_freeze_opened: Optional[bool] = None,
video_frame_interval: Optional[int] = None,
video_live_freeze_config: Optional[str] = None,
video_max_frames: Optional[int] = None,
video_max_size: Optional[int] = None,
video_opened: Optional[bool] = None,
video_porn_freeze_config: Optional[str] = None,
video_scan_limit: Optional[int] = None,
video_scenes: Optional[str] = None,
video_terrorism_freeze_config: Optional[str] = None,
video_voice_antispam_freeze_config: Optional[str] = None)
func NewOssStockTask(ctx *Context, name string, args *OssStockTaskArgs, opts ...ResourceOption) (*OssStockTask, error)
public OssStockTask(string name, OssStockTaskArgs? args = null, CustomResourceOptions? opts = null)
public OssStockTask(String name, OssStockTaskArgs args)
public OssStockTask(String name, OssStockTaskArgs args, CustomResourceOptions options)
type: alicloud:aligreen:OssStockTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OssStockTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OssStockTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OssStockTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OssStockTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OssStockTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ossStockTaskResource = new AliCloud.Aligreen.OssStockTask("ossStockTaskResource", new()
{
AudioAntispamFreezeConfig = "string",
AudioAutoFreezeOpened = false,
AudioMaxSize = 0,
AudioOpened = false,
AudioScanLimit = 0,
AudioScenes = "string",
AutoFreezeType = "string",
BizType = "string",
Buckets = "string",
CallbackId = 0,
EndDate = "string",
ImageAdFreezeConfig = "string",
ImageAutoFreezeOpened = false,
ImageLiveFreezeConfig = "string",
ImageOpened = false,
ImagePornFreezeConfig = "string",
ImageScanLimit = 0,
ImageScenes = new[]
{
"string",
},
ImageTerrorismFreezeConfig = "string",
ScanImageNoFileType = false,
StartDate = "string",
VideoAdFreezeConfig = "string",
VideoAutoFreezeOpened = false,
VideoFrameInterval = 0,
VideoLiveFreezeConfig = "string",
VideoMaxFrames = 0,
VideoMaxSize = 0,
VideoOpened = false,
VideoPornFreezeConfig = "string",
VideoScanLimit = 0,
VideoScenes = "string",
VideoTerrorismFreezeConfig = "string",
VideoVoiceAntispamFreezeConfig = "string",
});
example, err := aligreen.NewOssStockTask(ctx, "ossStockTaskResource", &aligreen.OssStockTaskArgs{
AudioAntispamFreezeConfig: pulumi.String("string"),
AudioAutoFreezeOpened: pulumi.Bool(false),
AudioMaxSize: pulumi.Int(0),
AudioOpened: pulumi.Bool(false),
AudioScanLimit: pulumi.Int(0),
AudioScenes: pulumi.String("string"),
AutoFreezeType: pulumi.String("string"),
BizType: pulumi.String("string"),
Buckets: pulumi.String("string"),
CallbackId: pulumi.Int(0),
EndDate: pulumi.String("string"),
ImageAdFreezeConfig: pulumi.String("string"),
ImageAutoFreezeOpened: pulumi.Bool(false),
ImageLiveFreezeConfig: pulumi.String("string"),
ImageOpened: pulumi.Bool(false),
ImagePornFreezeConfig: pulumi.String("string"),
ImageScanLimit: pulumi.Int(0),
ImageScenes: pulumi.StringArray{
pulumi.String("string"),
},
ImageTerrorismFreezeConfig: pulumi.String("string"),
ScanImageNoFileType: pulumi.Bool(false),
StartDate: pulumi.String("string"),
VideoAdFreezeConfig: pulumi.String("string"),
VideoAutoFreezeOpened: pulumi.Bool(false),
VideoFrameInterval: pulumi.Int(0),
VideoLiveFreezeConfig: pulumi.String("string"),
VideoMaxFrames: pulumi.Int(0),
VideoMaxSize: pulumi.Int(0),
VideoOpened: pulumi.Bool(false),
VideoPornFreezeConfig: pulumi.String("string"),
VideoScanLimit: pulumi.Int(0),
VideoScenes: pulumi.String("string"),
VideoTerrorismFreezeConfig: pulumi.String("string"),
VideoVoiceAntispamFreezeConfig: pulumi.String("string"),
})
var ossStockTaskResource = new OssStockTask("ossStockTaskResource", OssStockTaskArgs.builder()
.audioAntispamFreezeConfig("string")
.audioAutoFreezeOpened(false)
.audioMaxSize(0)
.audioOpened(false)
.audioScanLimit(0)
.audioScenes("string")
.autoFreezeType("string")
.bizType("string")
.buckets("string")
.callbackId(0)
.endDate("string")
.imageAdFreezeConfig("string")
.imageAutoFreezeOpened(false)
.imageLiveFreezeConfig("string")
.imageOpened(false)
.imagePornFreezeConfig("string")
.imageScanLimit(0)
.imageScenes("string")
.imageTerrorismFreezeConfig("string")
.scanImageNoFileType(false)
.startDate("string")
.videoAdFreezeConfig("string")
.videoAutoFreezeOpened(false)
.videoFrameInterval(0)
.videoLiveFreezeConfig("string")
.videoMaxFrames(0)
.videoMaxSize(0)
.videoOpened(false)
.videoPornFreezeConfig("string")
.videoScanLimit(0)
.videoScenes("string")
.videoTerrorismFreezeConfig("string")
.videoVoiceAntispamFreezeConfig("string")
.build());
oss_stock_task_resource = alicloud.aligreen.OssStockTask("ossStockTaskResource",
audio_antispam_freeze_config="string",
audio_auto_freeze_opened=False,
audio_max_size=0,
audio_opened=False,
audio_scan_limit=0,
audio_scenes="string",
auto_freeze_type="string",
biz_type="string",
buckets="string",
callback_id=0,
end_date="string",
image_ad_freeze_config="string",
image_auto_freeze_opened=False,
image_live_freeze_config="string",
image_opened=False,
image_porn_freeze_config="string",
image_scan_limit=0,
image_scenes=["string"],
image_terrorism_freeze_config="string",
scan_image_no_file_type=False,
start_date="string",
video_ad_freeze_config="string",
video_auto_freeze_opened=False,
video_frame_interval=0,
video_live_freeze_config="string",
video_max_frames=0,
video_max_size=0,
video_opened=False,
video_porn_freeze_config="string",
video_scan_limit=0,
video_scenes="string",
video_terrorism_freeze_config="string",
video_voice_antispam_freeze_config="string")
const ossStockTaskResource = new alicloud.aligreen.OssStockTask("ossStockTaskResource", {
audioAntispamFreezeConfig: "string",
audioAutoFreezeOpened: false,
audioMaxSize: 0,
audioOpened: false,
audioScanLimit: 0,
audioScenes: "string",
autoFreezeType: "string",
bizType: "string",
buckets: "string",
callbackId: 0,
endDate: "string",
imageAdFreezeConfig: "string",
imageAutoFreezeOpened: false,
imageLiveFreezeConfig: "string",
imageOpened: false,
imagePornFreezeConfig: "string",
imageScanLimit: 0,
imageScenes: ["string"],
imageTerrorismFreezeConfig: "string",
scanImageNoFileType: false,
startDate: "string",
videoAdFreezeConfig: "string",
videoAutoFreezeOpened: false,
videoFrameInterval: 0,
videoLiveFreezeConfig: "string",
videoMaxFrames: 0,
videoMaxSize: 0,
videoOpened: false,
videoPornFreezeConfig: "string",
videoScanLimit: 0,
videoScenes: "string",
videoTerrorismFreezeConfig: "string",
videoVoiceAntispamFreezeConfig: "string",
});
type: alicloud:aligreen:OssStockTask
properties:
audioAntispamFreezeConfig: string
audioAutoFreezeOpened: false
audioMaxSize: 0
audioOpened: false
audioScanLimit: 0
audioScenes: string
autoFreezeType: string
bizType: string
buckets: string
callbackId: 0
endDate: string
imageAdFreezeConfig: string
imageAutoFreezeOpened: false
imageLiveFreezeConfig: string
imageOpened: false
imagePornFreezeConfig: string
imageScanLimit: 0
imageScenes:
- string
imageTerrorismFreezeConfig: string
scanImageNoFileType: false
startDate: string
videoAdFreezeConfig: string
videoAutoFreezeOpened: false
videoFrameInterval: 0
videoLiveFreezeConfig: string
videoMaxFrames: 0
videoMaxSize: 0
videoOpened: false
videoPornFreezeConfig: string
videoScanLimit: 0
videoScenes: string
videoTerrorismFreezeConfig: string
videoVoiceAntispamFreezeConfig: string
OssStockTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OssStockTask resource accepts the following input properties:
- Audio
Antispam stringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- Audio
Auto boolFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Audio
Max intSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- Audio
Opened bool - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- Audio
Scan intLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- Audio
Scenes string - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- Auto
Freeze stringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- Biz
Type string - Business scenarios used by the oss stock scan task
- Buckets string
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- Callback
Id int - The ID of the primary key of the notification message bound to the oss stock scan task.
- End
Date string - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- Image
Ad stringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Auto boolFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- Image
Live stringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Opened bool - oss stock scan task detect images. true: scan images, false: do not scan images
- Image
Porn stringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Scan intLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- Image
Scenes List<string> - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- Image
Terrorism stringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Scan
Image boolNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- Start
Date string - The start time of the file upload time range represents the files uploaded after scanning this time point.
- Video
Ad stringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Auto boolFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Video
Frame intInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- Video
Live stringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Max intFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- Video
Max intSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- Video
Opened bool - oss stock scan task detect video. true: scan video, false: do not scan video
- Video
Porn stringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- Video
Scan intLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- Video
Scenes string - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- Video
Terrorism stringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Voice stringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Audio
Antispam stringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- Audio
Auto boolFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Audio
Max intSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- Audio
Opened bool - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- Audio
Scan intLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- Audio
Scenes string - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- Auto
Freeze stringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- Biz
Type string - Business scenarios used by the oss stock scan task
- Buckets string
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- Callback
Id int - The ID of the primary key of the notification message bound to the oss stock scan task.
- End
Date string - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- Image
Ad stringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Auto boolFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- Image
Live stringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Opened bool - oss stock scan task detect images. true: scan images, false: do not scan images
- Image
Porn stringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Scan intLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- Image
Scenes []string - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- Image
Terrorism stringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Scan
Image boolNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- Start
Date string - The start time of the file upload time range represents the files uploaded after scanning this time point.
- Video
Ad stringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Auto boolFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Video
Frame intInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- Video
Live stringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Max intFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- Video
Max intSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- Video
Opened bool - oss stock scan task detect video. true: scan video, false: do not scan video
- Video
Porn stringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- Video
Scan intLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- Video
Scenes string - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- Video
Terrorism stringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Voice stringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio
Antispam StringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio
Auto BooleanFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio
Max IntegerSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio
Opened Boolean - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio
Scan IntegerLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio
Scenes String - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto
Freeze StringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz
Type String - Business scenarios used by the oss stock scan task
- buckets String
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback
Id Integer - The ID of the primary key of the notification message bound to the oss stock scan task.
- end
Date String - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image
Ad StringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Auto BooleanFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image
Live StringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Opened Boolean - oss stock scan task detect images. true: scan images, false: do not scan images
- image
Porn StringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Scan IntegerLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image
Scenes List<String> - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image
Terrorism StringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan
Image BooleanNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start
Date String - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video
Ad StringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Auto BooleanFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video
Frame IntegerInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video
Live StringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Max IntegerFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video
Max IntegerSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video
Opened Boolean - oss stock scan task detect video. true: scan video, false: do not scan video
- video
Porn StringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video
Scan IntegerLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video
Scenes String - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video
Terrorism StringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Voice StringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio
Antispam stringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio
Auto booleanFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio
Max numberSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio
Opened boolean - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio
Scan numberLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio
Scenes string - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto
Freeze stringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz
Type string - Business scenarios used by the oss stock scan task
- buckets string
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback
Id number - The ID of the primary key of the notification message bound to the oss stock scan task.
- end
Date string - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image
Ad stringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Auto booleanFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image
Live stringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Opened boolean - oss stock scan task detect images. true: scan images, false: do not scan images
- image
Porn stringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Scan numberLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image
Scenes string[] - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image
Terrorism stringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan
Image booleanNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start
Date string - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video
Ad stringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Auto booleanFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video
Frame numberInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video
Live stringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Max numberFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video
Max numberSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video
Opened boolean - oss stock scan task detect video. true: scan video, false: do not scan video
- video
Porn stringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video
Scan numberLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video
Scenes string - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video
Terrorism stringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Voice stringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio_
antispam_ strfreeze_ config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio_
auto_ boolfreeze_ opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio_
max_ intsize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio_
opened bool - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio_
scan_ intlimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio_
scenes str - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto_
freeze_ strtype - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz_
type str - Business scenarios used by the oss stock scan task
- buckets str
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback_
id int - The ID of the primary key of the notification message bound to the oss stock scan task.
- end_
date str - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image_
ad_ strfreeze_ config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image_
auto_ boolfreeze_ opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image_
live_ strfreeze_ config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image_
opened bool - oss stock scan task detect images. true: scan images, false: do not scan images
- image_
porn_ strfreeze_ config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image_
scan_ intlimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image_
scenes Sequence[str] - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image_
terrorism_ strfreeze_ config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan_
image_ boolno_ file_ type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start_
date str - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video_
ad_ strfreeze_ config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video_
auto_ boolfreeze_ opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video_
frame_ intinterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video_
live_ strfreeze_ config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video_
max_ intframes - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video_
max_ intsize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video_
opened bool - oss stock scan task detect video. true: scan video, false: do not scan video
- video_
porn_ strfreeze_ config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video_
scan_ intlimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video_
scenes str - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video_
terrorism_ strfreeze_ config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video_
voice_ strantispam_ freeze_ config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio
Antispam StringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio
Auto BooleanFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio
Max NumberSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio
Opened Boolean - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio
Scan NumberLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio
Scenes String - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto
Freeze StringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz
Type String - Business scenarios used by the oss stock scan task
- buckets String
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback
Id Number - The ID of the primary key of the notification message bound to the oss stock scan task.
- end
Date String - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image
Ad StringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Auto BooleanFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image
Live StringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Opened Boolean - oss stock scan task detect images. true: scan images, false: do not scan images
- image
Porn StringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Scan NumberLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image
Scenes List<String> - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image
Terrorism StringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan
Image BooleanNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start
Date String - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video
Ad StringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Auto BooleanFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video
Frame NumberInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video
Live StringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Max NumberFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video
Max NumberSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video
Opened Boolean - oss stock scan task detect video. true: scan video, false: do not scan video
- video
Porn StringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video
Scan NumberLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video
Scenes String - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video
Terrorism StringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Voice StringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
Outputs
All input properties are implicitly available as output properties. Additionally, the OssStockTask resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OssStockTask Resource
Get an existing OssStockTask 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?: OssStockTaskState, opts?: CustomResourceOptions): OssStockTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audio_antispam_freeze_config: Optional[str] = None,
audio_auto_freeze_opened: Optional[bool] = None,
audio_max_size: Optional[int] = None,
audio_opened: Optional[bool] = None,
audio_scan_limit: Optional[int] = None,
audio_scenes: Optional[str] = None,
auto_freeze_type: Optional[str] = None,
biz_type: Optional[str] = None,
buckets: Optional[str] = None,
callback_id: Optional[int] = None,
end_date: Optional[str] = None,
image_ad_freeze_config: Optional[str] = None,
image_auto_freeze_opened: Optional[bool] = None,
image_live_freeze_config: Optional[str] = None,
image_opened: Optional[bool] = None,
image_porn_freeze_config: Optional[str] = None,
image_scan_limit: Optional[int] = None,
image_scenes: Optional[Sequence[str]] = None,
image_terrorism_freeze_config: Optional[str] = None,
scan_image_no_file_type: Optional[bool] = None,
start_date: Optional[str] = None,
video_ad_freeze_config: Optional[str] = None,
video_auto_freeze_opened: Optional[bool] = None,
video_frame_interval: Optional[int] = None,
video_live_freeze_config: Optional[str] = None,
video_max_frames: Optional[int] = None,
video_max_size: Optional[int] = None,
video_opened: Optional[bool] = None,
video_porn_freeze_config: Optional[str] = None,
video_scan_limit: Optional[int] = None,
video_scenes: Optional[str] = None,
video_terrorism_freeze_config: Optional[str] = None,
video_voice_antispam_freeze_config: Optional[str] = None) -> OssStockTask
func GetOssStockTask(ctx *Context, name string, id IDInput, state *OssStockTaskState, opts ...ResourceOption) (*OssStockTask, error)
public static OssStockTask Get(string name, Input<string> id, OssStockTaskState? state, CustomResourceOptions? opts = null)
public static OssStockTask get(String name, Output<String> id, OssStockTaskState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Audio
Antispam stringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- Audio
Auto boolFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Audio
Max intSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- Audio
Opened bool - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- Audio
Scan intLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- Audio
Scenes string - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- Auto
Freeze stringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- Biz
Type string - Business scenarios used by the oss stock scan task
- Buckets string
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- Callback
Id int - The ID of the primary key of the notification message bound to the oss stock scan task.
- End
Date string - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- Image
Ad stringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Auto boolFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- Image
Live stringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Opened bool - oss stock scan task detect images. true: scan images, false: do not scan images
- Image
Porn stringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Scan intLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- Image
Scenes List<string> - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- Image
Terrorism stringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Scan
Image boolNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- Start
Date string - The start time of the file upload time range represents the files uploaded after scanning this time point.
- Video
Ad stringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Auto boolFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Video
Frame intInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- Video
Live stringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Max intFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- Video
Max intSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- Video
Opened bool - oss stock scan task detect video. true: scan video, false: do not scan video
- Video
Porn stringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- Video
Scan intLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- Video
Scenes string - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- Video
Terrorism stringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Voice stringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Audio
Antispam stringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- Audio
Auto boolFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Audio
Max intSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- Audio
Opened bool - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- Audio
Scan intLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- Audio
Scenes string - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- Auto
Freeze stringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- Biz
Type string - Business scenarios used by the oss stock scan task
- Buckets string
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- Callback
Id int - The ID of the primary key of the notification message bound to the oss stock scan task.
- End
Date string - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- Image
Ad stringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Auto boolFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- Image
Live stringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Opened bool - oss stock scan task detect images. true: scan images, false: do not scan images
- Image
Porn stringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Image
Scan intLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- Image
Scenes []string - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- Image
Terrorism stringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- Scan
Image boolNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- Start
Date string - The start time of the file upload time range represents the files uploaded after scanning this time point.
- Video
Ad stringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Auto boolFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- Video
Frame intInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- Video
Live stringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Max intFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- Video
Max intSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- Video
Opened bool - oss stock scan task detect video. true: scan video, false: do not scan video
- Video
Porn stringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- Video
Scan intLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- Video
Scenes string - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- Video
Terrorism stringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- Video
Voice stringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio
Antispam StringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio
Auto BooleanFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio
Max IntegerSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio
Opened Boolean - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio
Scan IntegerLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio
Scenes String - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto
Freeze StringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz
Type String - Business scenarios used by the oss stock scan task
- buckets String
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback
Id Integer - The ID of the primary key of the notification message bound to the oss stock scan task.
- end
Date String - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image
Ad StringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Auto BooleanFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image
Live StringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Opened Boolean - oss stock scan task detect images. true: scan images, false: do not scan images
- image
Porn StringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Scan IntegerLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image
Scenes List<String> - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image
Terrorism StringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan
Image BooleanNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start
Date String - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video
Ad StringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Auto BooleanFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video
Frame IntegerInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video
Live StringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Max IntegerFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video
Max IntegerSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video
Opened Boolean - oss stock scan task detect video. true: scan video, false: do not scan video
- video
Porn StringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video
Scan IntegerLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video
Scenes String - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video
Terrorism StringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Voice StringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio
Antispam stringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio
Auto booleanFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio
Max numberSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio
Opened boolean - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio
Scan numberLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio
Scenes string - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto
Freeze stringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz
Type string - Business scenarios used by the oss stock scan task
- buckets string
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback
Id number - The ID of the primary key of the notification message bound to the oss stock scan task.
- end
Date string - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image
Ad stringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Auto booleanFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image
Live stringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Opened boolean - oss stock scan task detect images. true: scan images, false: do not scan images
- image
Porn stringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Scan numberLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image
Scenes string[] - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image
Terrorism stringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan
Image booleanNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start
Date string - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video
Ad stringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Auto booleanFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video
Frame numberInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video
Live stringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Max numberFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video
Max numberSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video
Opened boolean - oss stock scan task detect video. true: scan video, false: do not scan video
- video
Porn stringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video
Scan numberLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video
Scenes string - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video
Terrorism stringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Voice stringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio_
antispam_ strfreeze_ config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio_
auto_ boolfreeze_ opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio_
max_ intsize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio_
opened bool - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio_
scan_ intlimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio_
scenes str - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto_
freeze_ strtype - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz_
type str - Business scenarios used by the oss stock scan task
- buckets str
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback_
id int - The ID of the primary key of the notification message bound to the oss stock scan task.
- end_
date str - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image_
ad_ strfreeze_ config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image_
auto_ boolfreeze_ opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image_
live_ strfreeze_ config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image_
opened bool - oss stock scan task detect images. true: scan images, false: do not scan images
- image_
porn_ strfreeze_ config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image_
scan_ intlimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image_
scenes Sequence[str] - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image_
terrorism_ strfreeze_ config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan_
image_ boolno_ file_ type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start_
date str - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video_
ad_ strfreeze_ config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video_
auto_ boolfreeze_ opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video_
frame_ intinterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video_
live_ strfreeze_ config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video_
max_ intframes - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video_
max_ intsize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video_
opened bool - oss stock scan task detect video. true: scan video, false: do not scan video
- video_
porn_ strfreeze_ config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video_
scan_ intlimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video_
scenes str - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video_
terrorism_ strfreeze_ config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video_
voice_ strantispam_ freeze_ config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- audio
Antispam StringFreeze Config - Voice auto freeze configuration. Example:{"type":"suggestion","value":"block,review"}. The results are frozen according to the suggestion in the speech detection results.
- audio
Auto BooleanFreeze Opened - Audio detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- audio
Max NumberSize - Resource property field representing the maximum size of a single audio. 1~2048MB, the default is 200MB, more than not detected.
- audio
Opened Boolean - oss stock scan task detect audio. true: scan audio, false: do not scan audio
- audio
Scan NumberLimit - The upper limit of voice scan in the oss stock scan task. The default value is 1000/Bucket.
- audio
Scenes String - The audio detection scenarios included in the oss stock scan task. Set the value to antispam.
- auto
Freeze StringType - Automatic freeze type. Value: acl: modify permissions, copy: Move files
- biz
Type String - Business scenarios used by the oss stock scan task
- buckets String
- The bucket configuration list of the oss stock scan task. Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}]
- callback
Id Number - The ID of the primary key of the notification message bound to the oss stock scan task.
- end
Date String - The end time of the file upload time range indicates the scanning of files uploaded before this time point.
- image
Ad StringFreeze Config - Picture automatically freezes the configuration of ad scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Auto BooleanFreeze Opened - Picture detection auto freeze switch. Value: true: auto freeze, false: not auto freeze.
- image
Live StringFreeze Config - Picture automatic freezing live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Opened Boolean - oss stock scan task detect images. true: scan images, false: do not scan images
- image
Porn StringFreeze Config - Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- image
Scan NumberLimit - The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
- image
Scenes List<String> - The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection
- image
Terrorism StringFreeze Config - The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
- scan
Image BooleanNo File Type - Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
- start
Date String - The start time of the file upload time range represents the files uploaded after scanning this time point.
- video
Ad StringFreeze Config - The video automatically freezes the configuration of ad scenarios. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Auto BooleanFreeze Opened - Video detection auto freeze switch. Value: true: automatically freeze, false: not automatically freeze.
- video
Frame NumberInterval - Resource attribute field representing the framing frequency. 1~60 seconds/frame, the default is 1 second/frame
- video
Live StringFreeze Config - Video automatic freeze live scene configuration. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Max NumberFrames - A resource attribute field that represents the upper limit of a single video frame cut. 5 to 20000 frames, the default is 200 frames
- video
Max NumberSize - Resource property field representing the maximum size of a single video. 1~2048MB, the default is 500MB, more than not detected.
- video
Opened Boolean - oss stock scan task detect video. true: scan video, false: do not scan video
- video
Porn StringFreeze Config - Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
- video
Scan NumberLimit - The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
- video
Scenes String - The video detection scenarios included in the oss stock scan task. porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam
- video
Terrorism StringFreeze Config - The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
- video
Voice StringAntispam Freeze Config - Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.