dynatrace.PagerDutyNotification
Create PagerDutyNotification Resource
new PagerDutyNotification(name: string, args: PagerDutyNotificationArgs, opts?: CustomResourceOptions);
@overload
def PagerDutyNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
account: Optional[str] = None,
active: Optional[bool] = None,
api_key: Optional[str] = None,
name: Optional[str] = None,
profile: Optional[str] = None,
service: Optional[str] = None)
@overload
def PagerDutyNotification(resource_name: str,
args: PagerDutyNotificationArgs,
opts: Optional[ResourceOptions] = None)
func NewPagerDutyNotification(ctx *Context, name string, args PagerDutyNotificationArgs, opts ...ResourceOption) (*PagerDutyNotification, error)
public PagerDutyNotification(string name, PagerDutyNotificationArgs args, CustomResourceOptions? opts = null)
public PagerDutyNotification(String name, PagerDutyNotificationArgs args)
public PagerDutyNotification(String name, PagerDutyNotificationArgs args, CustomResourceOptions options)
type: dynatrace:PagerDutyNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PagerDutyNotificationArgs
- 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 PagerDutyNotificationArgs
- 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 PagerDutyNotificationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PagerDutyNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PagerDutyNotificationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PagerDutyNotification 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 PagerDutyNotification resource accepts the following input properties:
- Account string
The name of the PagerDuty account
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Profile string
The ID of the associated alerting profile
- Service string
The name of the PagerDuty Service
- Api
Key string The API key to access PagerDuty
- Name string
The name of the notification configuration
- Account string
The name of the PagerDuty account
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Profile string
The ID of the associated alerting profile
- Service string
The name of the PagerDuty Service
- Api
Key string The API key to access PagerDuty
- Name string
The name of the notification configuration
- account String
The name of the PagerDuty account
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- profile String
The ID of the associated alerting profile
- service String
The name of the PagerDuty Service
- api
Key String The API key to access PagerDuty
- name String
The name of the notification configuration
- account string
The name of the PagerDuty account
- active boolean
The configuration is enabled (
true
) or disabled (false
)- profile string
The ID of the associated alerting profile
- service string
The name of the PagerDuty Service
- api
Key string The API key to access PagerDuty
- name string
The name of the notification configuration
- account String
The name of the PagerDuty account
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- profile String
The ID of the associated alerting profile
- service String
The name of the PagerDuty Service
- api
Key String The API key to access PagerDuty
- name String
The name of the notification configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the PagerDutyNotification resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing PagerDutyNotification Resource
Get an existing PagerDutyNotification 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?: PagerDutyNotificationState, opts?: CustomResourceOptions): PagerDutyNotification
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account: Optional[str] = None,
active: Optional[bool] = None,
api_key: Optional[str] = None,
name: Optional[str] = None,
profile: Optional[str] = None,
service: Optional[str] = None) -> PagerDutyNotification
func GetPagerDutyNotification(ctx *Context, name string, id IDInput, state *PagerDutyNotificationState, opts ...ResourceOption) (*PagerDutyNotification, error)
public static PagerDutyNotification Get(string name, Input<string> id, PagerDutyNotificationState? state, CustomResourceOptions? opts = null)
public static PagerDutyNotification get(String name, Output<String> id, PagerDutyNotificationState 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.
- Account string
The name of the PagerDuty account
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Api
Key string The API key to access PagerDuty
- Name string
The name of the notification configuration
- Profile string
The ID of the associated alerting profile
- Service string
The name of the PagerDuty Service
- Account string
The name of the PagerDuty account
- Active bool
The configuration is enabled (
true
) or disabled (false
)- Api
Key string The API key to access PagerDuty
- Name string
The name of the notification configuration
- Profile string
The ID of the associated alerting profile
- Service string
The name of the PagerDuty Service
- account String
The name of the PagerDuty account
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- api
Key String The API key to access PagerDuty
- name String
The name of the notification configuration
- profile String
The ID of the associated alerting profile
- service String
The name of the PagerDuty Service
- account string
The name of the PagerDuty account
- active boolean
The configuration is enabled (
true
) or disabled (false
)- api
Key string The API key to access PagerDuty
- name string
The name of the notification configuration
- profile string
The ID of the associated alerting profile
- service string
The name of the PagerDuty Service
- account String
The name of the PagerDuty account
- active Boolean
The configuration is enabled (
true
) or disabled (false
)- api
Key String The API key to access PagerDuty
- name String
The name of the notification configuration
- profile String
The ID of the associated alerting profile
- service String
The name of the PagerDuty Service
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.