BusinessService
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 Pulumi;
using Pagerduty = Pulumi.Pagerduty;
class MyStack : Stack
{
public MyStack()
{
var example = new Pagerduty.BusinessService("example", new Pagerduty.BusinessServiceArgs
{
Description = "A very descriptive description of this business service",
PointOfContact = "PagerDuty Admin",
});
}
}
Coming soon!
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")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",
});Create a BusinessService Resource
new BusinessService(name: string, args?: BusinessServiceArgs, opts?: CustomResourceOptions);def BusinessService(resource_name, opts=None, description=None, name=None, point_of_contact=None, type=None, __props__=None);func NewBusinessService(ctx *Context, name string, args *BusinessServiceArgs, opts ...ResourceOption) (*BusinessService, error)public BusinessService(string name, BusinessServiceArgs? args = null, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
BusinessService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The BusinessService resource accepts the following input properties:
- Description string
- Name string
The name of the business service.
- Point
Of stringContact The owner of the business service.
- Type string
Default value is
business_service. Can also be set asbusiness_service_reference.
- Description string
- Name string
The name of the business service.
- Point
Of stringContact The owner of the business service.
- Type string
Default value is
business_service. Can also be set asbusiness_service_reference.
- description string
- name string
The name of the business service.
- point
Of stringContact The owner of the business service.
- type string
Default value is
business_service. Can also be set asbusiness_service_reference.
- description str
- name str
The name of the business service.
- point_
of_ strcontact The owner of the business service.
- type str
Default value is
business_service. Can also be set asbusiness_service_reference.
Outputs
All input properties are implicitly available as output properties. Additionally, the BusinessService resource produces the following output properties:
Look up an 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): BusinessServicestatic get(resource_name, id, opts=None, description=None, html_url=None, name=None, point_of_contact=None, self=None, summary=None, type=None, __props__=None);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)- 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.
The following state arguments are supported:
Package Details
- Repository
- https://github.com/pulumi/pulumi-pagerduty
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
pagerdutyTerraform Provider.