SourceArgs

data class SourceArgs(val canonicalName: Output<String>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null) : ConvertibleToJava<SourceArgs>

Creates a source. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
constructor(canonicalName: Output<String>? = null, description: Output<String>? = null, displayName: Output<String>? = null, name: Output<String>? = null, organizationId: Output<String>? = null)

Properties

Link copied to clipboard
val canonicalName: Output<String>? = null

The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}", "folders/{folder_id}/sources/{source_id}" or "projects/{project_number}/sources/{source_id}", depending on the closest CRM ancestor of the resource associated with the finding.

Link copied to clipboard
val description: Output<String>? = null

The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries."

Link copied to clipboard
val displayName: Output<String>? = null

The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).

Link copied to clipboard
val name: Output<String>? = null

The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}"

Link copied to clipboard
val organizationId: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): SourceArgs