public static final class PublicCreateImageScanTaskRequest.Builder extends Object
public PublicCreateImageScanTaskRequest.Builder digests(String digests)
The SHA-256 value of the image digest. Separate multiple SHA-256 values with commas (,).
example:6a5e103187b31a94592a47a5858617f7a6c
public PublicCreateImageScanTaskRequest.Builder instanceIds(String instanceIds)
The ID of the Container Registry instance in which the image repository is created. Separate multiple IDs with commas (,).
example:i-uf6j8vq9l4r5ntht****
public PublicCreateImageScanTaskRequest.Builder regionIds(String regionIds)
The region ID of the image. Separate multiple IDs with commas (,).
example:cn-hangzhou
public PublicCreateImageScanTaskRequest.Builder registryTypes(String registryTypes)
The type of the image repository. Separate multiple types with commas (,). Valid values:
acr
public PublicCreateImageScanTaskRequest.Builder repoIds(String repoIds)
The ID of the image repository. Separate multiple IDs with commas (,).
example:crr-vridcl4****
public PublicCreateImageScanTaskRequest.Builder repoNames(String repoNames)
The name of the image repository. Separate multiple names with commas (,).
example:centos
public PublicCreateImageScanTaskRequest.Builder repoNamespaces(String repoNamespaces)
The namespace to which the image repository belongs. Separate multiple namespaces with commas (,).
example:hanghai-namespace
public PublicCreateImageScanTaskRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:192.168..XX.XX
public PublicCreateImageScanTaskRequest.Builder tags(String tags)
The tag that is added to the image. Separate multiple tags with commas (,).
example:0.2
public PublicCreateImageScanTaskRequest build()
Copyright © 2026. All rights reserved.