@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
97 lines (96 loc) • 3.2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class ServicenowConnection extends pulumi.CustomResource {
/**
* Get an existing ServicenowConnection 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<pulumi.ID>, state?: ServicenowConnectionState, opts?: pulumi.CustomResourceOptions): ServicenowConnection;
/**
* Returns true if the given object is an instance of ServicenowConnection. 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 ServicenowConnection;
/**
* A unique and clearly identifiable connection name to your ServiceNow instance.
*/
readonly name: pulumi.Output<string>;
/**
* Password of the ServiceNow user.
*/
readonly password: pulumi.Output<string | undefined>;
/**
* Possible Values: `basic`
*/
readonly type: pulumi.Output<string>;
/**
* URL of the ServiceNow instance.
*/
readonly url: pulumi.Output<string>;
/**
* Username or Email address.
*/
readonly user: pulumi.Output<string | undefined>;
/**
* Create a ServicenowConnection 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: ServicenowConnectionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ServicenowConnection resources.
*/
export interface ServicenowConnectionState {
/**
* A unique and clearly identifiable connection name to your ServiceNow instance.
*/
name?: pulumi.Input<string>;
/**
* Password of the ServiceNow user.
*/
password?: pulumi.Input<string>;
/**
* Possible Values: `basic`
*/
type?: pulumi.Input<string>;
/**
* URL of the ServiceNow instance.
*/
url?: pulumi.Input<string>;
/**
* Username or Email address.
*/
user?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ServicenowConnection resource.
*/
export interface ServicenowConnectionArgs {
/**
* A unique and clearly identifiable connection name to your ServiceNow instance.
*/
name?: pulumi.Input<string>;
/**
* Password of the ServiceNow user.
*/
password?: pulumi.Input<string>;
/**
* Possible Values: `basic`
*/
type: pulumi.Input<string>;
/**
* URL of the ServiceNow instance.
*/
url: pulumi.Input<string>;
/**
* Username or Email address.
*/
user?: pulumi.Input<string>;
}