import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.Service can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/service:Service primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class Service extends pulumi.CustomResource { /** * Get an existing Service resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service; /** * Returns true if the given object is an instance of Service. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Service; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast alerts to */ readonly alertBroadcastChannel: pulumi.Output; /** * Enable alerts to be broadcasted to a specific channel. Value must be one of true or false */ readonly alertBroadcastEnabled: pulumi.Output; /** * The alert urgency id of the service */ readonly alertUrgencyId: pulumi.Output; /** * Email generated to send alerts to */ readonly alertsEmailAddress: pulumi.Output; /** * Enable alerts through email. Value must be one of true or false */ readonly alertsEmailEnabled: pulumi.Output; /** * The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name */ readonly backstageId: pulumi.Output; /** * The hex color of the service */ readonly color: pulumi.Output; /** * The Cortex group id associated to this service */ readonly cortexId: pulumi.Output; /** * The description of the service */ readonly description: pulumi.Output; /** * Environments associated with this service */ readonly environmentIds: pulumi.Output; /** * The escalation policy id of the service */ readonly escalationPolicyId: pulumi.Output; /** * The external id associated to this service */ readonly externalId: pulumi.Output; /** * The GitHub repository branch associated to this service. eg: main */ readonly githubRepositoryBranch: pulumi.Output; /** * The GitHub repository name associated to this service. eg: rootlyhq/my-service */ readonly githubRepositoryName: pulumi.Output; /** * The GitLab repository branch associated to this service. eg: main */ readonly gitlabRepositoryBranch: pulumi.Output; /** * The GitLab repository name associated to this service. eg: rootlyhq/my-service */ readonly gitlabRepositoryName: pulumi.Output; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast incidents to */ readonly incidentBroadcastChannel: pulumi.Output; /** * Enable incidents to be broadcasted to a specific channel. Value must be one of true or false */ readonly incidentBroadcastEnabled: pulumi.Output; /** * The Kubernetes deployment name associated to this service. eg: namespace/deployment-name */ readonly kubernetesDeploymentName: pulumi.Output; /** * How this service is managed (provenance): web, api, terraform, etc. Read-only.. Value must be one of `web`, `adminWeb`, `api`, `terraform`, `pulumi`, `backstage`, `catalogSync`. */ readonly managedBy: pulumi.Output; /** * The name of the service */ readonly name: pulumi.Output; /** * Emails attached to the service */ readonly notifyEmails: pulumi.Output; /** * The Opsgenie service id associated to this service */ readonly opsgenieId: pulumi.Output; /** * Owner Teams associated with this service */ readonly ownerGroupIds: pulumi.Output; /** * Owner Users associated with this service */ readonly ownerUserIds: pulumi.Output; /** * The PagerDuty service id associated to this service */ readonly pagerdutyId: pulumi.Output; /** * Position of the service */ readonly position: pulumi.Output; /** * Array of property values for this service. */ readonly properties: pulumi.Output; /** * The status page description of the service */ readonly publicDescription: pulumi.Output; /** * Services dependent on this service */ readonly serviceIds: pulumi.Output; /** * The Service Now CI sys id associated to this service */ readonly serviceNowCiSysId: pulumi.Output; /** * Slack Aliases associated with this service */ readonly slackAliases: pulumi.Output; /** * Slack Channels associated with this service */ readonly slackChannels: pulumi.Output; /** * The slug of the service * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ readonly slug: pulumi.Output; /** * Create a Service resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Service resources. */ export interface ServiceState { /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast alerts to */ alertBroadcastChannel?: pulumi.Input; /** * Enable alerts to be broadcasted to a specific channel. Value must be one of true or false */ alertBroadcastEnabled?: pulumi.Input; /** * The alert urgency id of the service */ alertUrgencyId?: pulumi.Input; /** * Email generated to send alerts to */ alertsEmailAddress?: pulumi.Input; /** * Enable alerts through email. Value must be one of true or false */ alertsEmailEnabled?: pulumi.Input; /** * The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name */ backstageId?: pulumi.Input; /** * The hex color of the service */ color?: pulumi.Input; /** * The Cortex group id associated to this service */ cortexId?: pulumi.Input; /** * The description of the service */ description?: pulumi.Input; /** * Environments associated with this service */ environmentIds?: pulumi.Input[] | undefined>; /** * The escalation policy id of the service */ escalationPolicyId?: pulumi.Input; /** * The external id associated to this service */ externalId?: pulumi.Input; /** * The GitHub repository branch associated to this service. eg: main */ githubRepositoryBranch?: pulumi.Input; /** * The GitHub repository name associated to this service. eg: rootlyhq/my-service */ githubRepositoryName?: pulumi.Input; /** * The GitLab repository branch associated to this service. eg: main */ gitlabRepositoryBranch?: pulumi.Input; /** * The GitLab repository name associated to this service. eg: rootlyhq/my-service */ gitlabRepositoryName?: pulumi.Input; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast incidents to */ incidentBroadcastChannel?: pulumi.Input; /** * Enable incidents to be broadcasted to a specific channel. Value must be one of true or false */ incidentBroadcastEnabled?: pulumi.Input; /** * The Kubernetes deployment name associated to this service. eg: namespace/deployment-name */ kubernetesDeploymentName?: pulumi.Input; /** * How this service is managed (provenance): web, api, terraform, etc. Read-only.. Value must be one of `web`, `adminWeb`, `api`, `terraform`, `pulumi`, `backstage`, `catalogSync`. */ managedBy?: pulumi.Input; /** * The name of the service */ name?: pulumi.Input; /** * Emails attached to the service */ notifyEmails?: pulumi.Input[] | undefined>; /** * The Opsgenie service id associated to this service */ opsgenieId?: pulumi.Input; /** * Owner Teams associated with this service */ ownerGroupIds?: pulumi.Input[] | undefined>; /** * Owner Users associated with this service */ ownerUserIds?: pulumi.Input[] | undefined>; /** * The PagerDuty service id associated to this service */ pagerdutyId?: pulumi.Input; /** * Position of the service */ position?: pulumi.Input; /** * Array of property values for this service. */ properties?: pulumi.Input[] | undefined>; /** * The status page description of the service */ publicDescription?: pulumi.Input; /** * Services dependent on this service */ serviceIds?: pulumi.Input[] | undefined>; /** * The Service Now CI sys id associated to this service */ serviceNowCiSysId?: pulumi.Input; /** * Slack Aliases associated with this service */ slackAliases?: pulumi.Input[] | undefined>; /** * Slack Channels associated with this service */ slackChannels?: pulumi.Input[] | undefined>; /** * The slug of the service * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; } /** * The set of arguments for constructing a Service resource. */ export interface ServiceArgs { /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast alerts to */ alertBroadcastChannel?: pulumi.Input; /** * Enable alerts to be broadcasted to a specific channel. Value must be one of true or false */ alertBroadcastEnabled?: pulumi.Input; /** * The alert urgency id of the service */ alertUrgencyId?: pulumi.Input; /** * Email generated to send alerts to */ alertsEmailAddress?: pulumi.Input; /** * Enable alerts through email. Value must be one of true or false */ alertsEmailEnabled?: pulumi.Input; /** * The Backstage entity id associated to this service. eg: :namespace/:kind/:entity_name */ backstageId?: pulumi.Input; /** * The hex color of the service */ color?: pulumi.Input; /** * The Cortex group id associated to this service */ cortexId?: pulumi.Input; /** * The description of the service */ description?: pulumi.Input; /** * Environments associated with this service */ environmentIds?: pulumi.Input[] | undefined>; /** * The escalation policy id of the service */ escalationPolicyId?: pulumi.Input; /** * The external id associated to this service */ externalId?: pulumi.Input; /** * The GitHub repository branch associated to this service. eg: main */ githubRepositoryBranch?: pulumi.Input; /** * The GitHub repository name associated to this service. eg: rootlyhq/my-service */ githubRepositoryName?: pulumi.Input; /** * The GitLab repository branch associated to this service. eg: main */ gitlabRepositoryBranch?: pulumi.Input; /** * The GitLab repository name associated to this service. eg: rootlyhq/my-service */ gitlabRepositoryName?: pulumi.Input; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast incidents to */ incidentBroadcastChannel?: pulumi.Input; /** * Enable incidents to be broadcasted to a specific channel. Value must be one of true or false */ incidentBroadcastEnabled?: pulumi.Input; /** * The Kubernetes deployment name associated to this service. eg: namespace/deployment-name */ kubernetesDeploymentName?: pulumi.Input; /** * The name of the service */ name?: pulumi.Input; /** * Emails attached to the service */ notifyEmails?: pulumi.Input[] | undefined>; /** * The Opsgenie service id associated to this service */ opsgenieId?: pulumi.Input; /** * Owner Teams associated with this service */ ownerGroupIds?: pulumi.Input[] | undefined>; /** * Owner Users associated with this service */ ownerUserIds?: pulumi.Input[] | undefined>; /** * The PagerDuty service id associated to this service */ pagerdutyId?: pulumi.Input; /** * Position of the service */ position?: pulumi.Input; /** * Array of property values for this service. */ properties?: pulumi.Input[] | undefined>; /** * The status page description of the service */ publicDescription?: pulumi.Input; /** * Services dependent on this service */ serviceIds?: pulumi.Input[] | undefined>; /** * The Service Now CI sys id associated to this service */ serviceNowCiSysId?: pulumi.Input; /** * Slack Aliases associated with this service */ slackAliases?: pulumi.Input[] | undefined>; /** * Slack Channels associated with this service */ slackChannels?: pulumi.Input[] | undefined>; /** * The slug of the service * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; } //# sourceMappingURL=service.d.ts.map