import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * This resource provides a way to create a content source vRealize Automation(vRA). * * ## Example Usage * ### S * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumiverse/vra"; * * const _this = new vra.contentsource.ContentSource("this", { * projectId: _var.project_id, * typeId: "com.gitlab", * description: "Some content Source", * syncEnabled: false, * config: { * path: "blueprint01", * branch: "master", * repository: "vracontent/vra8_content_source_test", * contentType: "BLUEPRINT", * projectName: _var.project_name, * integrationId: _var.integration_id, * }, * }); * ``` * * ## Import * * Content source can be imported using the id, e.g. * * ```sh * $ pulumi import vra:contentsource/contentSource:ContentSource this 05956583-6488-4e7d-84c9-92a7b7219a15` * ``` */ export declare class ContentSource extends pulumi.CustomResource { /** * Get an existing ContentSource resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ContentSourceState, opts?: pulumi.CustomResourceOptions): ContentSource; /** * Returns true if the given object is an instance of ContentSource. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ContentSource; /** * Content source custom configuration. */ readonly config: pulumi.Output; /** * Date when the entity was created. The date is in ISO 6801 and UTC. */ readonly createdAt: pulumi.Output; /** * The user the entity was created by. */ readonly createdBy: pulumi.Output; /** * A human-friendly description. */ readonly description: pulumi.Output; /** * Date when the entity was last updated. The date is in ISO 6801 and UTC. */ readonly lastUpdatedAt: pulumi.Output; /** * The user the entity was last updated by. */ readonly lastUpdatedBy: pulumi.Output; /** * A human-friendly name for content source used as an identifier in APIs that support this option. */ readonly name: pulumi.Output; /** * The id of the organization this entity belongs to. */ readonly orgId: pulumi.Output; /** * The id of the project this entity belongs to. */ readonly projectId: pulumi.Output; /** * Flag indicating whether sync is enabled for this content source. */ readonly syncEnabled: pulumi.Output; /** * Content Source type. Supported values are `com.gitlab`, `com.github`, `com.vmware.marketplace`, `org.bitbucket`. */ readonly typeId: pulumi.Output; /** * Create a ContentSource resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ContentSourceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContentSource resources. */ export interface ContentSourceState { /** * Content source custom configuration. */ config?: pulumi.Input; /** * Date when the entity was created. The date is in ISO 6801 and UTC. */ createdAt?: pulumi.Input; /** * The user the entity was created by. */ createdBy?: pulumi.Input; /** * A human-friendly description. */ description?: pulumi.Input; /** * Date when the entity was last updated. The date is in ISO 6801 and UTC. */ lastUpdatedAt?: pulumi.Input; /** * The user the entity was last updated by. */ lastUpdatedBy?: pulumi.Input; /** * A human-friendly name for content source used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * The id of the organization this entity belongs to. */ orgId?: pulumi.Input; /** * The id of the project this entity belongs to. */ projectId?: pulumi.Input; /** * Flag indicating whether sync is enabled for this content source. */ syncEnabled?: pulumi.Input; /** * Content Source type. Supported values are `com.gitlab`, `com.github`, `com.vmware.marketplace`, `org.bitbucket`. */ typeId?: pulumi.Input; } /** * The set of arguments for constructing a ContentSource resource. */ export interface ContentSourceArgs { /** * Content source custom configuration. */ config: pulumi.Input; /** * A human-friendly description. */ description?: pulumi.Input; /** * A human-friendly name for content source used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * The id of the project this entity belongs to. */ projectId: pulumi.Input; /** * Flag indicating whether sync is enabled for this content source. */ syncEnabled: pulumi.Input; /** * Content Source type. Supported values are `com.gitlab`, `com.github`, `com.vmware.marketplace`, `org.bitbucket`. */ typeId: pulumi.Input; }