Show / Hide Table of Contents

Class Source

A Cloud Security Command Center's (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.

To get more information about Source, see:

  • API documentation
  • How-to Guides
  • Official Documentation

Example Usage - Scc Source Basic

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var customSource = new Gcp.SecurityCenter.Source("customSource", new Gcp.SecurityCenter.SourceArgs
    {
        Description = "My custom Cloud Security Command Center Finding Source",
        DisplayName = "My Source",
        Organization = "123456789",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Source
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.SecurityCenter
Assembly: Pulumi.Gcp.dll
Syntax
public class Source : CustomResource

Constructors

View Source

Source(String, SourceArgs, CustomResourceOptions)

Create a Source resource with the given unique name, arguments, and options.

Declaration
public Source(string name, SourceArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SourceArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Description

The description of the source (max of 1024 characters).

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

DisplayName

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 start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters.

Declaration
public Output<string> DisplayName { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The resource name of this source, in the format 'organizations/{{organization}}/sources/{{source}}'.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Organization

The organization whose Cloud Security Command Center the Source lives in.

Declaration
public Output<string> Organization { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, SourceState, CustomResourceOptions)

Get an existing Source resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Source Get(string name, Input<string> id, SourceState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SourceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Source
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.