@pulumi/pagerduty
Version:
A Pulumi package for creating and managing pagerduty cloud resources.
155 lines • 5.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* A [business service](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODExNg-create-a-business-service) allows you to model capabilities that span multiple technical services and that may be owned by several different teams.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as pagerduty from "@pulumi/pagerduty";
*
* const example = new pagerduty.BusinessService("example", {
* name: "My Web App",
* description: "A very descriptive description of this business service",
* pointOfContact: "PagerDuty Admin",
* team: "P37RSRS",
* });
* ```
*
* ## Import
*
* Services can be imported using the `id`, e.g.
*
* ```sh
* $ pulumi import pagerduty:index/businessService:BusinessService main PLBP09X
* ```
*/
export declare class BusinessService extends pulumi.CustomResource {
/**
* Get an existing BusinessService 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?: BusinessServiceState, opts?: pulumi.CustomResourceOptions): BusinessService;
/**
* Returns true if the given object is an instance of BusinessService. 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 BusinessService;
/**
* A human-friendly description of the service.
* If not set, a placeholder of "Managed by Pulumi" will be set.
*/
readonly description: pulumi.Output<string>;
/**
* A URL at which the entity is uniquely displayed in the Web app.
*/
readonly htmlUrl: pulumi.Output<string>;
/**
* The name of the business service.
*/
readonly name: pulumi.Output<string>;
/**
* The owner of the business service.
*/
readonly pointOfContact: pulumi.Output<string | undefined>;
/**
* The API show URL at which the object is accessible.
*/
readonly self: pulumi.Output<string>;
/**
* A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
*/
readonly summary: pulumi.Output<string>;
/**
* ID of the team that owns the business service.
*/
readonly team: pulumi.Output<string | undefined>;
/**
* **Deprecated** (Optional) Default (and only supported) value is `businessService`.
*
* @deprecated This will become a computed attribute in the next major release.
*/
readonly type: pulumi.Output<string>;
/**
* Create a BusinessService 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?: BusinessServiceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering BusinessService resources.
*/
export interface BusinessServiceState {
/**
* A human-friendly description of the service.
* If not set, a placeholder of "Managed by Pulumi" will be set.
*/
description?: pulumi.Input<string | undefined>;
/**
* A URL at which the entity is uniquely displayed in the Web app.
*/
htmlUrl?: pulumi.Input<string | undefined>;
/**
* The name of the business service.
*/
name?: pulumi.Input<string | undefined>;
/**
* The owner of the business service.
*/
pointOfContact?: pulumi.Input<string | undefined>;
/**
* The API show URL at which the object is accessible.
*/
self?: pulumi.Input<string | undefined>;
/**
* A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to `name`, though it is not intended to be an identifier.
*/
summary?: pulumi.Input<string | undefined>;
/**
* ID of the team that owns the business service.
*/
team?: pulumi.Input<string | undefined>;
/**
* **Deprecated** (Optional) Default (and only supported) value is `businessService`.
*
* @deprecated This will become a computed attribute in the next major release.
*/
type?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a BusinessService resource.
*/
export interface BusinessServiceArgs {
/**
* A human-friendly description of the service.
* If not set, a placeholder of "Managed by Pulumi" will be set.
*/
description?: pulumi.Input<string | undefined>;
/**
* The name of the business service.
*/
name?: pulumi.Input<string | undefined>;
/**
* The owner of the business service.
*/
pointOfContact?: pulumi.Input<string | undefined>;
/**
* ID of the team that owns the business service.
*/
team?: pulumi.Input<string | undefined>;
/**
* **Deprecated** (Optional) Default (and only supported) value is `businessService`.
*
* @deprecated This will become a computed attribute in the next major release.
*/
type?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=businessService.d.ts.map