harness.platform.MonitoredService
Explore with Pulumi AI
Resource for creating a monitored service.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.MonitoredService;
import com.pulumi.harness.platform.MonitoredServiceArgs;
import com.pulumi.harness.platform.inputs.MonitoredServiceRequestArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new MonitoredService("example", MonitoredServiceArgs.builder()
.accountId("account_id")
.orgId("default")
.projectId("default_project")
.identifier("Terraform")
.request(MonitoredServiceRequestArgs.builder()
.name("name")
.type("Application")
.description("description")
.serviceRef("service_ref")
.environmentRef("environment_ref")
.tags(
"foo:bar",
"bar:foo")
.healthSources(MonitoredServiceRequestHealthSourceArgs.builder()
.name("name")
.identifier("identifier")
.type("ElasticSearch")
.spec(serializeJson(
jsonObject(
jsonProperty("connectorRef", "connectorRef"),
jsonProperty("feature", "feature"),
jsonProperty("queries", jsonArray(
jsonObject(
jsonProperty("name", "name"),
jsonProperty("query", "query"),
jsonProperty("index", "index"),
jsonProperty("serviceInstanceIdentifier", "serviceInstanceIdentifier"),
jsonProperty("timeStampIdentifier", "timeStampIdentifier"),
jsonProperty("timeStampFormat", "timeStampFormat"),
jsonProperty("messageIdentifier", "messageIdentifier")
),
jsonObject(
jsonProperty("name", "name2"),
jsonProperty("query", "query2"),
jsonProperty("index", "index2"),
jsonProperty("serviceInstanceIdentifier", "serviceInstanceIdentifier2"),
jsonProperty("timeStampIdentifier", "timeStampIdentifier2"),
jsonProperty("timeStampFormat", "timeStampFormat2"),
jsonProperty("messageIdentifier", "messageIdentifier2")
)
))
)))
.build())
.changeSources(MonitoredServiceRequestChangeSourceArgs.builder()
.name("csName1")
.identifier("harness_cd_next_gen")
.type("HarnessCDNextGen")
.enabled(true)
.spec(serializeJson(
jsonObject(
)))
.category("Deployment")
.build())
.notificationRuleRefs(
MonitoredServiceRequestNotificationRuleRefArgs.builder()
.notificationRuleRef("notification_rule_ref")
.enabled(true)
.build(),
MonitoredServiceRequestNotificationRuleRefArgs.builder()
.notificationRuleRef("notification_rule_ref1")
.enabled(false)
.build())
.enabled(true)
.build())
.build());
}
}
Coming soon!
Coming soon!
resources:
example:
type: harness:platform:MonitoredService
properties:
accountId: account_id
orgId: default
projectId: default_project
identifier: Terraform
request:
name: name
type: Application
description: description
serviceRef: service_ref
environmentRef: environment_ref
tags:
- foo:bar
- bar:foo
healthSources:
- name: name
identifier: identifier
type: ElasticSearch
spec:
fn::toJSON:
connectorRef: connectorRef
feature: feature
queries:
- name: name
query: query
index: index
serviceInstanceIdentifier: serviceInstanceIdentifier
timeStampIdentifier: timeStampIdentifier
timeStampFormat: timeStampFormat
messageIdentifier: messageIdentifier
- name: name2
query: query2
index: index2
serviceInstanceIdentifier: serviceInstanceIdentifier2
timeStampIdentifier: timeStampIdentifier2
timeStampFormat: timeStampFormat2
messageIdentifier: messageIdentifier2
changeSources:
- name: csName1
identifier: harness_cd_next_gen
type: HarnessCDNextGen
enabled: true
spec:
fn::toJSON: {}
category: Deployment
notificationRuleRefs:
- notificationRuleRef: notification_rule_ref
enabled: true
- notificationRuleRef: notification_rule_ref1
enabled: false
enabled: true
Create MonitoredService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitoredService(name: string, args: MonitoredServiceArgs, opts?: CustomResourceOptions);
@overload
def MonitoredService(resource_name: str,
args: MonitoredServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MonitoredService(resource_name: str,
opts: Optional[ResourceOptions] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
request: Optional[MonitoredServiceRequestArgs] = None)
func NewMonitoredService(ctx *Context, name string, args MonitoredServiceArgs, opts ...ResourceOption) (*MonitoredService, error)
public MonitoredService(string name, MonitoredServiceArgs args, CustomResourceOptions? opts = null)
public MonitoredService(String name, MonitoredServiceArgs args)
public MonitoredService(String name, MonitoredServiceArgs args, CustomResourceOptions options)
type: harness:platform:MonitoredService
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 MonitoredServiceArgs
- 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 MonitoredServiceArgs
- 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 MonitoredServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitoredServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitoredServiceArgs
- 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 monitoredServiceResource = new Harness.Platform.MonitoredService("monitoredServiceResource", new()
{
Identifier = "string",
OrgId = "string",
ProjectId = "string",
Request = new Harness.Platform.Inputs.MonitoredServiceRequestArgs
{
EnvironmentRef = "string",
Type = "string",
ServiceRef = "string",
Name = "string",
Enabled = false,
EnvironmentRefLists = new[]
{
"string",
},
HealthSources = new[]
{
new Harness.Platform.Inputs.MonitoredServiceRequestHealthSourceArgs
{
Identifier = "string",
Name = "string",
Spec = "string",
Type = "string",
},
},
ChangeSources = new[]
{
new Harness.Platform.Inputs.MonitoredServiceRequestChangeSourceArgs
{
Category = "string",
Identifier = "string",
Name = "string",
Type = "string",
Enabled = false,
Spec = "string",
},
},
NotificationRuleRefs = new[]
{
new Harness.Platform.Inputs.MonitoredServiceRequestNotificationRuleRefArgs
{
Enabled = false,
NotificationRuleRef = "string",
},
},
Description = "string",
Tags = new[]
{
"string",
},
TemplateRef = "string",
Dependencies = new[]
{
new Harness.Platform.Inputs.MonitoredServiceRequestDependencyArgs
{
MonitoredServiceIdentifier = "string",
Type = "string",
DependencyMetadata = "string",
},
},
VersionLabel = "string",
},
});
example, err := platform.NewMonitoredService(ctx, "monitoredServiceResource", &platform.MonitoredServiceArgs{
Identifier: pulumi.String("string"),
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Request: &platform.MonitoredServiceRequestArgs{
EnvironmentRef: pulumi.String("string"),
Type: pulumi.String("string"),
ServiceRef: pulumi.String("string"),
Name: pulumi.String("string"),
Enabled: pulumi.Bool(false),
EnvironmentRefLists: pulumi.StringArray{
pulumi.String("string"),
},
HealthSources: platform.MonitoredServiceRequestHealthSourceArray{
&platform.MonitoredServiceRequestHealthSourceArgs{
Identifier: pulumi.String("string"),
Name: pulumi.String("string"),
Spec: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
ChangeSources: platform.MonitoredServiceRequestChangeSourceArray{
&platform.MonitoredServiceRequestChangeSourceArgs{
Category: pulumi.String("string"),
Identifier: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Spec: pulumi.String("string"),
},
},
NotificationRuleRefs: platform.MonitoredServiceRequestNotificationRuleRefArray{
&platform.MonitoredServiceRequestNotificationRuleRefArgs{
Enabled: pulumi.Bool(false),
NotificationRuleRef: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TemplateRef: pulumi.String("string"),
Dependencies: platform.MonitoredServiceRequestDependencyArray{
&platform.MonitoredServiceRequestDependencyArgs{
MonitoredServiceIdentifier: pulumi.String("string"),
Type: pulumi.String("string"),
DependencyMetadata: pulumi.String("string"),
},
},
VersionLabel: pulumi.String("string"),
},
})
var monitoredServiceResource = new MonitoredService("monitoredServiceResource", MonitoredServiceArgs.builder()
.identifier("string")
.orgId("string")
.projectId("string")
.request(MonitoredServiceRequestArgs.builder()
.environmentRef("string")
.type("string")
.serviceRef("string")
.name("string")
.enabled(false)
.environmentRefLists("string")
.healthSources(MonitoredServiceRequestHealthSourceArgs.builder()
.identifier("string")
.name("string")
.spec("string")
.type("string")
.build())
.changeSources(MonitoredServiceRequestChangeSourceArgs.builder()
.category("string")
.identifier("string")
.name("string")
.type("string")
.enabled(false)
.spec("string")
.build())
.notificationRuleRefs(MonitoredServiceRequestNotificationRuleRefArgs.builder()
.enabled(false)
.notificationRuleRef("string")
.build())
.description("string")
.tags("string")
.templateRef("string")
.dependencies(MonitoredServiceRequestDependencyArgs.builder()
.monitoredServiceIdentifier("string")
.type("string")
.dependencyMetadata("string")
.build())
.versionLabel("string")
.build())
.build());
monitored_service_resource = harness.platform.MonitoredService("monitoredServiceResource",
identifier="string",
org_id="string",
project_id="string",
request=harness.platform.MonitoredServiceRequestArgs(
environment_ref="string",
type="string",
service_ref="string",
name="string",
enabled=False,
environment_ref_lists=["string"],
health_sources=[harness.platform.MonitoredServiceRequestHealthSourceArgs(
identifier="string",
name="string",
spec="string",
type="string",
)],
change_sources=[harness.platform.MonitoredServiceRequestChangeSourceArgs(
category="string",
identifier="string",
name="string",
type="string",
enabled=False,
spec="string",
)],
notification_rule_refs=[harness.platform.MonitoredServiceRequestNotificationRuleRefArgs(
enabled=False,
notification_rule_ref="string",
)],
description="string",
tags=["string"],
template_ref="string",
dependencies=[harness.platform.MonitoredServiceRequestDependencyArgs(
monitored_service_identifier="string",
type="string",
dependency_metadata="string",
)],
version_label="string",
))
const monitoredServiceResource = new harness.platform.MonitoredService("monitoredServiceResource", {
identifier: "string",
orgId: "string",
projectId: "string",
request: {
environmentRef: "string",
type: "string",
serviceRef: "string",
name: "string",
enabled: false,
environmentRefLists: ["string"],
healthSources: [{
identifier: "string",
name: "string",
spec: "string",
type: "string",
}],
changeSources: [{
category: "string",
identifier: "string",
name: "string",
type: "string",
enabled: false,
spec: "string",
}],
notificationRuleRefs: [{
enabled: false,
notificationRuleRef: "string",
}],
description: "string",
tags: ["string"],
templateRef: "string",
dependencies: [{
monitoredServiceIdentifier: "string",
type: "string",
dependencyMetadata: "string",
}],
versionLabel: "string",
},
});
type: harness:platform:MonitoredService
properties:
identifier: string
orgId: string
projectId: string
request:
changeSources:
- category: string
enabled: false
identifier: string
name: string
spec: string
type: string
dependencies:
- dependencyMetadata: string
monitoredServiceIdentifier: string
type: string
description: string
enabled: false
environmentRef: string
environmentRefLists:
- string
healthSources:
- identifier: string
name: string
spec: string
type: string
name: string
notificationRuleRefs:
- enabled: false
notificationRuleRef: string
serviceRef: string
tags:
- string
templateRef: string
type: string
versionLabel: string
MonitoredService 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 MonitoredService resource accepts the following input properties:
- Identifier string
- Identifier of the monitored service.
- Org
Id string - Identifier of the organization in which the monitored service is configured.
- Project
Id string - Identifier of the project in which the monitored service is configured.
- Request
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Monitored Service Request - Request for creating or updating a monitored service.
- Identifier string
- Identifier of the monitored service.
- Org
Id string - Identifier of the organization in which the monitored service is configured.
- Project
Id string - Identifier of the project in which the monitored service is configured.
- Request
Monitored
Service Request Args - Request for creating or updating a monitored service.
- identifier String
- Identifier of the monitored service.
- org
Id String - Identifier of the organization in which the monitored service is configured.
- project
Id String - Identifier of the project in which the monitored service is configured.
- request
Monitored
Service Request - Request for creating or updating a monitored service.
- identifier string
- Identifier of the monitored service.
- org
Id string - Identifier of the organization in which the monitored service is configured.
- project
Id string - Identifier of the project in which the monitored service is configured.
- request
Monitored
Service Request - Request for creating or updating a monitored service.
- identifier str
- Identifier of the monitored service.
- org_
id str - Identifier of the organization in which the monitored service is configured.
- project_
id str - Identifier of the project in which the monitored service is configured.
- request
Monitored
Service Request Args - Request for creating or updating a monitored service.
- identifier String
- Identifier of the monitored service.
- org
Id String - Identifier of the organization in which the monitored service is configured.
- project
Id String - Identifier of the project in which the monitored service is configured.
- request Property Map
- Request for creating or updating a monitored service.
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitoredService 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 MonitoredService Resource
Get an existing MonitoredService 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?: MonitoredServiceState, opts?: CustomResourceOptions): MonitoredService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
request: Optional[MonitoredServiceRequestArgs] = None) -> MonitoredService
func GetMonitoredService(ctx *Context, name string, id IDInput, state *MonitoredServiceState, opts ...ResourceOption) (*MonitoredService, error)
public static MonitoredService Get(string name, Input<string> id, MonitoredServiceState? state, CustomResourceOptions? opts = null)
public static MonitoredService get(String name, Output<String> id, MonitoredServiceState 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.
- Identifier string
- Identifier of the monitored service.
- Org
Id string - Identifier of the organization in which the monitored service is configured.
- Project
Id string - Identifier of the project in which the monitored service is configured.
- Request
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Monitored Service Request - Request for creating or updating a monitored service.
- Identifier string
- Identifier of the monitored service.
- Org
Id string - Identifier of the organization in which the monitored service is configured.
- Project
Id string - Identifier of the project in which the monitored service is configured.
- Request
Monitored
Service Request Args - Request for creating or updating a monitored service.
- identifier String
- Identifier of the monitored service.
- org
Id String - Identifier of the organization in which the monitored service is configured.
- project
Id String - Identifier of the project in which the monitored service is configured.
- request
Monitored
Service Request - Request for creating or updating a monitored service.
- identifier string
- Identifier of the monitored service.
- org
Id string - Identifier of the organization in which the monitored service is configured.
- project
Id string - Identifier of the project in which the monitored service is configured.
- request
Monitored
Service Request - Request for creating or updating a monitored service.
- identifier str
- Identifier of the monitored service.
- org_
id str - Identifier of the organization in which the monitored service is configured.
- project_
id str - Identifier of the project in which the monitored service is configured.
- request
Monitored
Service Request Args - Request for creating or updating a monitored service.
- identifier String
- Identifier of the monitored service.
- org
Id String - Identifier of the organization in which the monitored service is configured.
- project
Id String - Identifier of the project in which the monitored service is configured.
- request Property Map
- Request for creating or updating a monitored service.
Supporting Types
MonitoredServiceRequest, MonitoredServiceRequestArgs
- Environment
Ref string - Environment in which the service is deployed.
- Name string
- Name for the monitored service.
- Service
Ref string - Service reference for the monitored service.
- Type string
- Type of the monitored service.
- Change
Sources List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Monitored Service Request Change Source> - Set of change sources for the monitored service.
- Dependencies
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Monitored Service Request Dependency> - Dependencies of the monitored service.
- Description string
- Description for the monitored service.
- Enabled bool
- Enable or disable the monitored service.
- Environment
Ref List<string>Lists - Environment reference list for the monitored service.
- Health
Sources List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Monitored Service Request Health Source> - Set of health sources for the monitored service.
- Notification
Rule List<Lbrlabs.Refs Pulumi Package. Harness. Platform. Inputs. Monitored Service Request Notification Rule Ref> - Notification rule references for the monitored service.
- List<string>
- Tags for the monitored service. comma-separated key value string pairs.
- Template
Ref string - Template reference for the monitored service.
- Version
Label string - Template version label for the monitored service.
- Environment
Ref string - Environment in which the service is deployed.
- Name string
- Name for the monitored service.
- Service
Ref string - Service reference for the monitored service.
- Type string
- Type of the monitored service.
- Change
Sources []MonitoredService Request Change Source - Set of change sources for the monitored service.
- Dependencies
[]Monitored
Service Request Dependency - Dependencies of the monitored service.
- Description string
- Description for the monitored service.
- Enabled bool
- Enable or disable the monitored service.
- Environment
Ref []stringLists - Environment reference list for the monitored service.
- Health
Sources []MonitoredService Request Health Source - Set of health sources for the monitored service.
- Notification
Rule []MonitoredRefs Service Request Notification Rule Ref - Notification rule references for the monitored service.
- []string
- Tags for the monitored service. comma-separated key value string pairs.
- Template
Ref string - Template reference for the monitored service.
- Version
Label string - Template version label for the monitored service.
- environment
Ref String - Environment in which the service is deployed.
- name String
- Name for the monitored service.
- service
Ref String - Service reference for the monitored service.
- type String
- Type of the monitored service.
- change
Sources List<MonitoredService Request Change Source> - Set of change sources for the monitored service.
- dependencies
List<Monitored
Service Request Dependency> - Dependencies of the monitored service.
- description String
- Description for the monitored service.
- enabled Boolean
- Enable or disable the monitored service.
- environment
Ref List<String>Lists - Environment reference list for the monitored service.
- health
Sources List<MonitoredService Request Health Source> - Set of health sources for the monitored service.
- notification
Rule List<MonitoredRefs Service Request Notification Rule Ref> - Notification rule references for the monitored service.
- List<String>
- Tags for the monitored service. comma-separated key value string pairs.
- template
Ref String - Template reference for the monitored service.
- version
Label String - Template version label for the monitored service.
- environment
Ref string - Environment in which the service is deployed.
- name string
- Name for the monitored service.
- service
Ref string - Service reference for the monitored service.
- type string
- Type of the monitored service.
- change
Sources MonitoredService Request Change Source[] - Set of change sources for the monitored service.
- dependencies
Monitored
Service Request Dependency[] - Dependencies of the monitored service.
- description string
- Description for the monitored service.
- enabled boolean
- Enable or disable the monitored service.
- environment
Ref string[]Lists - Environment reference list for the monitored service.
- health
Sources MonitoredService Request Health Source[] - Set of health sources for the monitored service.
- notification
Rule MonitoredRefs Service Request Notification Rule Ref[] - Notification rule references for the monitored service.
- string[]
- Tags for the monitored service. comma-separated key value string pairs.
- template
Ref string - Template reference for the monitored service.
- version
Label string - Template version label for the monitored service.
- environment_
ref str - Environment in which the service is deployed.
- name str
- Name for the monitored service.
- service_
ref str - Service reference for the monitored service.
- type str
- Type of the monitored service.
- change_
sources Sequence[MonitoredService Request Change Source] - Set of change sources for the monitored service.
- dependencies
Sequence[Monitored
Service Request Dependency] - Dependencies of the monitored service.
- description str
- Description for the monitored service.
- enabled bool
- Enable or disable the monitored service.
- environment_
ref_ Sequence[str]lists - Environment reference list for the monitored service.
- health_
sources Sequence[MonitoredService Request Health Source] - Set of health sources for the monitored service.
- notification_
rule_ Sequence[Monitoredrefs Service Request Notification Rule Ref] - Notification rule references for the monitored service.
- Sequence[str]
- Tags for the monitored service. comma-separated key value string pairs.
- template_
ref str - Template reference for the monitored service.
- version_
label str - Template version label for the monitored service.
- environment
Ref String - Environment in which the service is deployed.
- name String
- Name for the monitored service.
- service
Ref String - Service reference for the monitored service.
- type String
- Type of the monitored service.
- change
Sources List<Property Map> - Set of change sources for the monitored service.
- dependencies List<Property Map>
- Dependencies of the monitored service.
- description String
- Description for the monitored service.
- enabled Boolean
- Enable or disable the monitored service.
- environment
Ref List<String>Lists - Environment reference list for the monitored service.
- health
Sources List<Property Map> - Set of health sources for the monitored service.
- notification
Rule List<Property Map>Refs - Notification rule references for the monitored service.
- List<String>
- Tags for the monitored service. comma-separated key value string pairs.
- template
Ref String - Template reference for the monitored service.
- version
Label String - Template version label for the monitored service.
MonitoredServiceRequestChangeSource, MonitoredServiceRequestChangeSourceArgs
MonitoredServiceRequestDependency, MonitoredServiceRequestDependencyArgs
- Monitored
Service stringIdentifier - Type string
- Dependency
Metadata string
- Monitored
Service stringIdentifier - Type string
- Dependency
Metadata string
- monitored
Service StringIdentifier - type String
- dependency
Metadata String
- monitored
Service stringIdentifier - type string
- dependency
Metadata string
- monitored
Service StringIdentifier - type String
- dependency
Metadata String
MonitoredServiceRequestHealthSource, MonitoredServiceRequestHealthSourceArgs
- Identifier string
- Identifier of the monitored service.
- Name string
- Spec string
- Type string
- Identifier string
- Identifier of the monitored service.
- Name string
- Spec string
- Type string
- identifier String
- Identifier of the monitored service.
- name String
- spec String
- type String
- identifier string
- Identifier of the monitored service.
- name string
- spec string
- type string
- identifier str
- Identifier of the monitored service.
- name str
- spec str
- type str
- identifier String
- Identifier of the monitored service.
- name String
- spec String
- type String
MonitoredServiceRequestNotificationRuleRef, MonitoredServiceRequestNotificationRuleRefArgs
- Enabled bool
- Notification
Rule stringRef
- Enabled bool
- Notification
Rule stringRef
- enabled Boolean
- notification
Rule StringRef
- enabled boolean
- notification
Rule stringRef
- enabled bool
- notification_
rule_ strref
- enabled Boolean
- notification
Rule StringRef
Import
Import account level monitored_service
$ pulumi import harness:platform/monitoredService:MonitoredService example <monitored_service_id>
Import organization level monitored_service
$ pulumi import harness:platform/monitoredService:MonitoredService example <org_id>/<monitored_service_id>
Import project level monitored_service
$ pulumi import harness:platform/monitoredService:MonitoredService example <org_id>/<project_id>/<monitored_service_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.