pagerduty logo
PagerDuty v3.10.2, May 30 23

pagerduty.BusinessService

Explore with Pulumi AI

A business service allows you to model capabilities that span multiple technical services and that may be owned by several different teams.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

return await Deployment.RunAsync(() => 
{
    var example = new Pagerduty.BusinessService("example", new()
    {
        Description = "A very descriptive description of this business service",
        PointOfContact = "PagerDuty Admin",
        Team = "P37RSRS",
    });

});
package main

import (
	"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.NewBusinessService(ctx, "example", &pagerduty.BusinessServiceArgs{
			Description:    pulumi.String("A very descriptive description of this business service"),
			PointOfContact: pulumi.String("PagerDuty Admin"),
			Team:           pulumi.String("P37RSRS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.BusinessService;
import com.pulumi.pagerduty.BusinessServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new BusinessService("example", BusinessServiceArgs.builder()        
            .description("A very descriptive description of this business service")
            .pointOfContact("PagerDuty Admin")
            .team("P37RSRS")
            .build());

    }
}
import pulumi
import pulumi_pagerduty as pagerduty

example = pagerduty.BusinessService("example",
    description="A very descriptive description of this business service",
    point_of_contact="PagerDuty Admin",
    team="P37RSRS")
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";

const example = new pagerduty.BusinessService("example", {
    description: "A very descriptive description of this business service",
    pointOfContact: "PagerDuty Admin",
    team: "P37RSRS",
});
resources:
  example:
    type: pagerduty:BusinessService
    properties:
      description: A very descriptive description of this business service
      pointOfContact: PagerDuty Admin
      team: P37RSRS

Create BusinessService Resource

new BusinessService(name: string, args?: BusinessServiceArgs, opts?: CustomResourceOptions);
@overload
def BusinessService(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    point_of_contact: Optional[str] = None,
                    team: Optional[str] = None,
                    type: Optional[str] = None)
@overload
def BusinessService(resource_name: str,
                    args: Optional[BusinessServiceArgs] = None,
                    opts: Optional[ResourceOptions] = None)
func NewBusinessService(ctx *Context, name string, args *BusinessServiceArgs, opts ...ResourceOption) (*BusinessService, error)
public BusinessService(string name, BusinessServiceArgs? args = null, CustomResourceOptions? opts = null)
public BusinessService(String name, BusinessServiceArgs args)
public BusinessService(String name, BusinessServiceArgs args, CustomResourceOptions options)
type: pagerduty:BusinessService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BusinessServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BusinessServiceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BusinessServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BusinessServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BusinessServiceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BusinessService Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The BusinessService resource accepts the following input properties:

Description string
Name string

The name of the business service.

PointOfContact string

The owner of the business service.

Team string

ID of the team that owns the business service.

Type string

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

Description string
Name string

The name of the business service.

PointOfContact string

The owner of the business service.

Team string

ID of the team that owns the business service.

Type string

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description String
name String

The name of the business service.

pointOfContact String

The owner of the business service.

team String

ID of the team that owns the business service.

type String

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description string
name string

The name of the business service.

pointOfContact string

The owner of the business service.

team string

ID of the team that owns the business service.

type string

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description str
name str

The name of the business service.

point_of_contact str

The owner of the business service.

team str

ID of the team that owns the business service.

type str

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description String
name String

The name of the business service.

pointOfContact String

The owner of the business service.

team String

ID of the team that owns the business service.

type String

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

Outputs

All input properties are implicitly available as output properties. Additionally, the BusinessService resource produces the following output properties:

HtmlUrl string

A URL at which the entity is uniquely displayed in the Web app.

Id string

The provider-assigned unique ID for this managed resource.

Self string

The API show URL at which the object is accessible.

Summary 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.

HtmlUrl string

A URL at which the entity is uniquely displayed in the Web app.

Id string

The provider-assigned unique ID for this managed resource.

Self string

The API show URL at which the object is accessible.

Summary 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.

htmlUrl String

A URL at which the entity is uniquely displayed in the Web app.

id String

The provider-assigned unique ID for this managed resource.

self String

The API show URL at which the object is accessible.

summary 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.

htmlUrl string

A URL at which the entity is uniquely displayed in the Web app.

id string

The provider-assigned unique ID for this managed resource.

self string

The API show URL at which the object is accessible.

summary 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.

html_url str

A URL at which the entity is uniquely displayed in the Web app.

id str

The provider-assigned unique ID for this managed resource.

self str

The API show URL at which the object is accessible.

summary str

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.

htmlUrl String

A URL at which the entity is uniquely displayed in the Web app.

id String

The provider-assigned unique ID for this managed resource.

self String

The API show URL at which the object is accessible.

summary 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.

Look up Existing BusinessService Resource

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

public static get(name: string, id: Input<ID>, state?: BusinessServiceState, opts?: CustomResourceOptions): BusinessService
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        html_url: Optional[str] = None,
        name: Optional[str] = None,
        point_of_contact: Optional[str] = None,
        self: Optional[str] = None,
        summary: Optional[str] = None,
        team: Optional[str] = None,
        type: Optional[str] = None) -> BusinessService
func GetBusinessService(ctx *Context, name string, id IDInput, state *BusinessServiceState, opts ...ResourceOption) (*BusinessService, error)
public static BusinessService Get(string name, Input<string> id, BusinessServiceState? state, CustomResourceOptions? opts = null)
public static BusinessService get(String name, Output<String> id, BusinessServiceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string
HtmlUrl string

A URL at which the entity is uniquely displayed in the Web app.

Name string

The name of the business service.

PointOfContact string

The owner of the business service.

Self string

The API show URL at which the object is accessible.

Summary 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.

Team string

ID of the team that owns the business service.

Type string

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

Description string
HtmlUrl string

A URL at which the entity is uniquely displayed in the Web app.

Name string

The name of the business service.

PointOfContact string

The owner of the business service.

Self string

The API show URL at which the object is accessible.

Summary 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.

Team string

ID of the team that owns the business service.

Type string

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description String
htmlUrl String

A URL at which the entity is uniquely displayed in the Web app.

name String

The name of the business service.

pointOfContact String

The owner of the business service.

self String

The API show URL at which the object is accessible.

summary 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.

team String

ID of the team that owns the business service.

type String

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description string
htmlUrl string

A URL at which the entity is uniquely displayed in the Web app.

name string

The name of the business service.

pointOfContact string

The owner of the business service.

self string

The API show URL at which the object is accessible.

summary 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.

team string

ID of the team that owns the business service.

type string

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description str
html_url str

A URL at which the entity is uniquely displayed in the Web app.

name str

The name of the business service.

point_of_contact str

The owner of the business service.

self str

The API show URL at which the object is accessible.

summary str

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.

team str

ID of the team that owns the business service.

type str

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

description String
htmlUrl String

A URL at which the entity is uniquely displayed in the Web app.

name String

The name of the business service.

pointOfContact String

The owner of the business service.

self String

The API show URL at which the object is accessible.

summary 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.

team String

ID of the team that owns the business service.

type String

Deprecated (Optional) Default (and only supported) value is business_service.

Deprecated:

This will change to a computed resource in the next major release.

Import

Services can be imported using the id, e.g.

 $ pulumi import pagerduty:index/businessService:BusinessService main PLBP09X

Package Details

Repository
PagerDuty pulumi/pulumi-pagerduty
License
Apache-2.0
Notes

This Pulumi package is based on the pagerduty Terraform Provider.