@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [ for an organization. Template collections define where project templates are sourced from, such as a Git repository. Organization members can use these templates to create new stacks with pre-configured infrastructure code.
*/
export declare class OrgTemplateCollection extends pulumi.CustomResource {
/**
* Get an existing OrgTemplateCollection 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrgTemplateCollection;
/**
* Returns true if the given object is an instance of OrgTemplateCollection. 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 OrgTemplateCollection;
/**
* Deprecated - use destinationURL instead.
*/
readonly destination: pulumi.Output<any | undefined>;
/**
* The destination URL for the template source.
*/
readonly destinationURL: pulumi.Output<string | undefined>;
/**
* An error message if the template source is invalid. Omitted or empty when the source is valid.
*/
readonly error: pulumi.Output<string | undefined>;
/**
* Whether the template source configuration is valid.
*/
readonly isValid: pulumi.Output<boolean>;
/**
* The human-readable name for this template source.
*/
readonly name: pulumi.Output<string>;
/**
* The source URL to fetch templates from.
*/
readonly sourceURL: pulumi.Output<string>;
/**
* The unique identifier of the template source.
*/
readonly templateID: pulumi.Output<string>;
/**
* Create a OrgTemplateCollection 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: OrgTemplateCollectionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a OrgTemplateCollection resource.
*/
export interface OrgTemplateCollectionArgs {
/**
* deprecated - use DestinationURL instead
*/
destination?: any | undefined;
/**
* The destination URL for the template source.
*/
destinationURL?: pulumi.Input<string | undefined>;
/**
* The name of the template source.
*/
name: pulumi.Input<string>;
/**
* The organization name
*/
orgName: pulumi.Input<string>;
/**
* The source URL to fetch templates from.
*/
sourceURL: pulumi.Input<string>;
}
//# sourceMappingURL=orgTemplateCollection.d.ts.map