chronosphere.VictoropsAlertNotifier
Explore with Pulumi AI
Create VictoropsAlertNotifier Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VictoropsAlertNotifier(name: string, args: VictoropsAlertNotifierArgs, opts?: CustomResourceOptions);@overload
def VictoropsAlertNotifier(resource_name: str,
                           args: VictoropsAlertNotifierArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def VictoropsAlertNotifier(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           api_key: Optional[str] = None,
                           routing_key: Optional[str] = None,
                           name: Optional[str] = None,
                           monitoring_tool: Optional[str] = None,
                           bearer_token: Optional[str] = None,
                           custom_fields: Optional[Mapping[str, str]] = None,
                           entity_display_name: Optional[str] = None,
                           message_type: Optional[str] = None,
                           basic_auth_username: Optional[str] = None,
                           basic_auth_password: Optional[str] = None,
                           proxy_url: Optional[str] = None,
                           api_url: Optional[str] = None,
                           send_resolved: Optional[bool] = None,
                           slug: Optional[str] = None,
                           state_message: Optional[str] = None,
                           tls_insecure_skip_verify: Optional[bool] = None)func NewVictoropsAlertNotifier(ctx *Context, name string, args VictoropsAlertNotifierArgs, opts ...ResourceOption) (*VictoropsAlertNotifier, error)public VictoropsAlertNotifier(string name, VictoropsAlertNotifierArgs args, CustomResourceOptions? opts = null)
public VictoropsAlertNotifier(String name, VictoropsAlertNotifierArgs args)
public VictoropsAlertNotifier(String name, VictoropsAlertNotifierArgs args, CustomResourceOptions options)
type: chronosphere:VictoropsAlertNotifier
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VictoropsAlertNotifierArgs
- 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 VictoropsAlertNotifierArgs
- 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 VictoropsAlertNotifierArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VictoropsAlertNotifierArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VictoropsAlertNotifierArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var victoropsAlertNotifierResource = new Pulumi.VictoropsAlertNotifier("victoropsAlertNotifierResource", new()
{
    ApiKey = "string",
    RoutingKey = "string",
    Name = "string",
    MonitoringTool = "string",
    BearerToken = "string",
    CustomFields = 
    {
        { "string", "string" },
    },
    EntityDisplayName = "string",
    MessageType = "string",
    BasicAuthUsername = "string",
    BasicAuthPassword = "string",
    ApiUrl = "string",
    SendResolved = false,
    Slug = "string",
    StateMessage = "string",
    TlsInsecureSkipVerify = false,
});
example, err := chronosphere.NewVictoropsAlertNotifier(ctx, "victoropsAlertNotifierResource", &chronosphere.VictoropsAlertNotifierArgs{
	ApiKey:         pulumi.String("string"),
	RoutingKey:     pulumi.String("string"),
	Name:           pulumi.String("string"),
	MonitoringTool: pulumi.String("string"),
	BearerToken:    pulumi.String("string"),
	CustomFields: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	EntityDisplayName:     pulumi.String("string"),
	MessageType:           pulumi.String("string"),
	BasicAuthUsername:     pulumi.String("string"),
	BasicAuthPassword:     pulumi.String("string"),
	ApiUrl:                pulumi.String("string"),
	SendResolved:          pulumi.Bool(false),
	Slug:                  pulumi.String("string"),
	StateMessage:          pulumi.String("string"),
	TlsInsecureSkipVerify: pulumi.Bool(false),
})
var victoropsAlertNotifierResource = new VictoropsAlertNotifier("victoropsAlertNotifierResource", VictoropsAlertNotifierArgs.builder()
    .apiKey("string")
    .routingKey("string")
    .name("string")
    .monitoringTool("string")
    .bearerToken("string")
    .customFields(Map.of("string", "string"))
    .entityDisplayName("string")
    .messageType("string")
    .basicAuthUsername("string")
    .basicAuthPassword("string")
    .apiUrl("string")
    .sendResolved(false)
    .slug("string")
    .stateMessage("string")
    .tlsInsecureSkipVerify(false)
    .build());
victorops_alert_notifier_resource = chronosphere.VictoropsAlertNotifier("victoropsAlertNotifierResource",
    api_key="string",
    routing_key="string",
    name="string",
    monitoring_tool="string",
    bearer_token="string",
    custom_fields={
        "string": "string",
    },
    entity_display_name="string",
    message_type="string",
    basic_auth_username="string",
    basic_auth_password="string",
    api_url="string",
    send_resolved=False,
    slug="string",
    state_message="string",
    tls_insecure_skip_verify=False)
const victoropsAlertNotifierResource = new chronosphere.VictoropsAlertNotifier("victoropsAlertNotifierResource", {
    apiKey: "string",
    routingKey: "string",
    name: "string",
    monitoringTool: "string",
    bearerToken: "string",
    customFields: {
        string: "string",
    },
    entityDisplayName: "string",
    messageType: "string",
    basicAuthUsername: "string",
    basicAuthPassword: "string",
    apiUrl: "string",
    sendResolved: false,
    slug: "string",
    stateMessage: "string",
    tlsInsecureSkipVerify: false,
});
type: chronosphere:VictoropsAlertNotifier
properties:
    apiKey: string
    apiUrl: string
    basicAuthPassword: string
    basicAuthUsername: string
    bearerToken: string
    customFields:
        string: string
    entityDisplayName: string
    messageType: string
    monitoringTool: string
    name: string
    routingKey: string
    sendResolved: false
    slug: string
    stateMessage: string
    tlsInsecureSkipVerify: false
VictoropsAlertNotifier Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VictoropsAlertNotifier resource accepts the following input properties:
- ApiKey string
- Name string
- RoutingKey string
- ApiUrl string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- CustomFields Dictionary<string, string>
- EntityDisplay stringName 
- MessageType string
- MonitoringTool string
- ProxyUrl string
- SendResolved bool
- Slug string
- StateMessage string
- TlsInsecure boolSkip Verify 
- ApiKey string
- Name string
- RoutingKey string
- ApiUrl string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- CustomFields map[string]string
- EntityDisplay stringName 
- MessageType string
- MonitoringTool string
- ProxyUrl string
- SendResolved bool
- Slug string
- StateMessage string
- TlsInsecure boolSkip Verify 
- apiKey String
- name String
- routingKey String
- apiUrl String
- basicAuth StringPassword 
- basicAuth StringUsername 
- bearerToken String
- customFields Map<String,String>
- entityDisplay StringName 
- messageType String
- monitoringTool String
- proxyUrl String
- sendResolved Boolean
- slug String
- stateMessage String
- tlsInsecure BooleanSkip Verify 
- apiKey string
- name string
- routingKey string
- apiUrl string
- basicAuth stringPassword 
- basicAuth stringUsername 
- bearerToken string
- customFields {[key: string]: string}
- entityDisplay stringName 
- messageType string
- monitoringTool string
- proxyUrl string
- sendResolved boolean
- slug string
- stateMessage string
- tlsInsecure booleanSkip Verify 
- api_key str
- name str
- routing_key str
- api_url str
- basic_auth_ strpassword 
- basic_auth_ strusername 
- bearer_token str
- custom_fields Mapping[str, str]
- entity_display_ strname 
- message_type str
- monitoring_tool str
- proxy_url str
- send_resolved bool
- slug str
- state_message str
- tls_insecure_ boolskip_ verify 
- apiKey String
- name String
- routingKey String
- apiUrl String
- basicAuth StringPassword 
- basicAuth StringUsername 
- bearerToken String
- customFields Map<String>
- entityDisplay StringName 
- messageType String
- monitoringTool String
- proxyUrl String
- sendResolved Boolean
- slug String
- stateMessage String
- tlsInsecure BooleanSkip Verify 
Outputs
All input properties are implicitly available as output properties. Additionally, the VictoropsAlertNotifier 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 VictoropsAlertNotifier Resource
Get an existing VictoropsAlertNotifier 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?: VictoropsAlertNotifierState, opts?: CustomResourceOptions): VictoropsAlertNotifier@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_key: Optional[str] = None,
        api_url: Optional[str] = None,
        basic_auth_password: Optional[str] = None,
        basic_auth_username: Optional[str] = None,
        bearer_token: Optional[str] = None,
        custom_fields: Optional[Mapping[str, str]] = None,
        entity_display_name: Optional[str] = None,
        message_type: Optional[str] = None,
        monitoring_tool: Optional[str] = None,
        name: Optional[str] = None,
        proxy_url: Optional[str] = None,
        routing_key: Optional[str] = None,
        send_resolved: Optional[bool] = None,
        slug: Optional[str] = None,
        state_message: Optional[str] = None,
        tls_insecure_skip_verify: Optional[bool] = None) -> VictoropsAlertNotifierfunc GetVictoropsAlertNotifier(ctx *Context, name string, id IDInput, state *VictoropsAlertNotifierState, opts ...ResourceOption) (*VictoropsAlertNotifier, error)public static VictoropsAlertNotifier Get(string name, Input<string> id, VictoropsAlertNotifierState? state, CustomResourceOptions? opts = null)public static VictoropsAlertNotifier get(String name, Output<String> id, VictoropsAlertNotifierState state, CustomResourceOptions options)resources:  _:    type: chronosphere:VictoropsAlertNotifier    get:      id: ${id}- 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.
- ApiKey string
- ApiUrl string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- CustomFields Dictionary<string, string>
- EntityDisplay stringName 
- MessageType string
- MonitoringTool string
- Name string
- ProxyUrl string
- RoutingKey string
- SendResolved bool
- Slug string
- StateMessage string
- TlsInsecure boolSkip Verify 
- ApiKey string
- ApiUrl string
- BasicAuth stringPassword 
- BasicAuth stringUsername 
- BearerToken string
- CustomFields map[string]string
- EntityDisplay stringName 
- MessageType string
- MonitoringTool string
- Name string
- ProxyUrl string
- RoutingKey string
- SendResolved bool
- Slug string
- StateMessage string
- TlsInsecure boolSkip Verify 
- apiKey String
- apiUrl String
- basicAuth StringPassword 
- basicAuth StringUsername 
- bearerToken String
- customFields Map<String,String>
- entityDisplay StringName 
- messageType String
- monitoringTool String
- name String
- proxyUrl String
- routingKey String
- sendResolved Boolean
- slug String
- stateMessage String
- tlsInsecure BooleanSkip Verify 
- apiKey string
- apiUrl string
- basicAuth stringPassword 
- basicAuth stringUsername 
- bearerToken string
- customFields {[key: string]: string}
- entityDisplay stringName 
- messageType string
- monitoringTool string
- name string
- proxyUrl string
- routingKey string
- sendResolved boolean
- slug string
- stateMessage string
- tlsInsecure booleanSkip Verify 
- api_key str
- api_url str
- basic_auth_ strpassword 
- basic_auth_ strusername 
- bearer_token str
- custom_fields Mapping[str, str]
- entity_display_ strname 
- message_type str
- monitoring_tool str
- name str
- proxy_url str
- routing_key str
- send_resolved bool
- slug str
- state_message str
- tls_insecure_ boolskip_ verify 
- apiKey String
- apiUrl String
- basicAuth StringPassword 
- basicAuth StringUsername 
- bearerToken String
- customFields Map<String>
- entityDisplay StringName 
- messageType String
- monitoringTool String
- name String
- proxyUrl String
- routingKey String
- sendResolved Boolean
- slug String
- stateMessage String
- tlsInsecure BooleanSkip Verify 
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the chronosphereTerraform Provider.