GetBusinessService

Use this data source to get information about a specific business service.

Example Usage

using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Pagerduty.GetBusinessService.InvokeAsync(new Pagerduty.GetBusinessServiceArgs
        {
            Name = "My Service",
        }));
    }

}

Coming soon!

import pulumi
import pulumi_pagerduty as pagerduty

example = pagerduty.get_business_service(name="My Service")
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";

const example = pulumi.output(pagerduty.getBusinessService({
    name: "My Service",
}, { async: true }));

Using GetBusinessService

function getBusinessService(args: GetBusinessServiceArgs, opts?: InvokeOptions): Promise<GetBusinessServiceResult>
function  get_business_service(name=None, opts=None)
func LookupBusinessService(ctx *Context, args *LookupBusinessServiceArgs, opts ...InvokeOption) (*LookupBusinessServiceResult, error)

Note: This function is named LookupBusinessService in the Go SDK.

public static class GetBusinessService {
    public static Task<GetBusinessServiceResult> InvokeAsync(GetBusinessServiceArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The business service name to use to find a business service in the PagerDuty API.

Name string

The business service name to use to find a business service in the PagerDuty API.

name string

The business service name to use to find a business service in the PagerDuty API.

name str

The business service name to use to find a business service in the PagerDuty API.

GetBusinessService Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The short name of the found business service.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The short name of the found business service.

id string

The provider-assigned unique ID for this managed resource.

name string

The short name of the found business service.

id str

The provider-assigned unique ID for this managed resource.

name str

The short name of the found business service.

Package Details

Repository
https://github.com/pulumi/pulumi-pagerduty
License
Apache-2.0
Notes
This Pulumi package is based on the pagerduty Terraform Provider.