Package-level declarations

Types

Link copied to clipboard
class AlertPolicy : KotlinCustomResource

Creates a new alerting policy.Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.

Link copied to clipboard
data class AlertPolicyArgs(val alertStrategy: Output<AlertStrategyArgs>? = null, val combiner: Output<AlertPolicyCombiner>? = null, val conditions: Output<List<ConditionArgs>>? = null, val creationRecord: Output<MutationRecordArgs>? = null, val displayName: Output<String>? = null, val documentation: Output<DocumentationArgs>? = null, val enabled: Output<Boolean>? = null, val mutationRecord: Output<MutationRecordArgs>? = null, val name: Output<String>? = null, val notificationChannels: Output<List<String>>? = null, val project: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null, val validity: Output<StatusArgs>? = null) : ConvertibleToJava<AlertPolicyArgs>

Creates a new alerting policy.Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.

Link copied to clipboard
Link copied to clipboard
object AlertPolicyMapper : ResourceMapper<AlertPolicy>
Link copied to clipboard
Link copied to clipboard
class Group : KotlinCustomResource

Creates a new group. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class GroupArgs(val displayName: Output<String>? = null, val filter: Output<String>? = null, val isCluster: Output<Boolean>? = null, val parentName: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<GroupArgs>

Creates a new group. Auto-naming is currently not supported for this resource.

Link copied to clipboard

Builder for GroupArgs.

Link copied to clipboard
object GroupMapper : ResourceMapper<Group>
Link copied to clipboard

Builder for Group.

Link copied to clipboard
class MetricDescriptor : KotlinCustomResource

Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics). The metric descriptor is updated if it already exists, except that metric labels are never removed.

Link copied to clipboard
data class MetricDescriptorArgs(val description: Output<String>? = null, val displayName: Output<String>? = null, val labels: Output<List<LabelDescriptorArgs>>? = null, val launchStage: Output<MetricDescriptorLaunchStage>? = null, val metadata: Output<MetricDescriptorMetadataArgs>? = null, val metricKind: Output<MetricDescriptorMetricKind>? = null, val monitoredResourceTypes: Output<List<String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val type: Output<String>? = null, val unit: Output<String>? = null, val valueType: Output<MetricDescriptorValueType>? = null) : ConvertibleToJava<MetricDescriptorArgs>

Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics). The metric descriptor is updated if it already exists, except that metric labels are never removed.

Link copied to clipboard
object MetricDescriptorMapper : ResourceMapper<MetricDescriptor>
Link copied to clipboard
Link copied to clipboard
class NotificationChannel : KotlinCustomResource

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel.

Link copied to clipboard
data class NotificationChannelArgs(val creationRecord: Output<MutationRecordArgs>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val enabled: Output<Boolean>? = null, val labels: Output<Map<String, String>>? = null, val mutationRecords: Output<List<MutationRecordArgs>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val type: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null, val verificationStatus: Output<NotificationChannelVerificationStatus>? = null) : ConvertibleToJava<NotificationChannelArgs>

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel.

Link copied to clipboard
Link copied to clipboard
class Service : KotlinCustomResource

Create a Service. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class ServiceArgs(val appEngine: Output<AppEngineArgs>? = null, val basicService: Output<BasicServiceArgs>? = null, val cloudEndpoints: Output<CloudEndpointsArgs>? = null, val cloudRun: Output<CloudRunArgs>? = null, val clusterIstio: Output<ClusterIstioArgs>? = null, val custom: Output<CustomArgs>? = null, val displayName: Output<String>? = null, val gkeNamespace: Output<GkeNamespaceArgs>? = null, val gkeService: Output<GkeServiceArgs>? = null, val gkeWorkload: Output<GkeWorkloadArgs>? = null, val istioCanonicalService: Output<IstioCanonicalServiceArgs>? = null, val meshIstio: Output<MeshIstioArgs>? = null, val name: Output<String>? = null, val serviceId: Output<String>? = null, val telemetry: Output<TelemetryArgs>? = null, val userLabels: Output<Map<String, String>>? = null, val v3Id: Output<String>? = null, val v3Id1: Output<String>? = null) : ConvertibleToJava<ServiceArgs>

Create a Service. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
class ServiceLevelObjective : KotlinCustomResource

Create a ServiceLevelObjective for the given Service. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class ServiceLevelObjectiveArgs(val calendarPeriod: Output<ServiceLevelObjectiveCalendarPeriod>? = null, val displayName: Output<String>? = null, val goal: Output<Double>? = null, val name: Output<String>? = null, val rollingPeriod: Output<String>? = null, val serviceId: Output<String>? = null, val serviceLevelIndicator: Output<ServiceLevelIndicatorArgs>? = null, val serviceLevelObjectiveId: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null, val v3Id: Output<String>? = null, val v3Id1: Output<String>? = null) : ConvertibleToJava<ServiceLevelObjectiveArgs>

Create a ServiceLevelObjective for the given Service. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object ServiceMapper : ResourceMapper<Service>
Link copied to clipboard
Link copied to clipboard
class Snooze : KotlinCustomResource

Creates a Snooze that will prevent alerts, which match the provided criteria, from being opened. The Snooze applies for a specific time interval. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class SnoozeArgs(val criteria: Output<CriteriaArgs>? = null, val displayName: Output<String>? = null, val interval: Output<TimeIntervalArgs>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<SnoozeArgs>

Creates a Snooze that will prevent alerts, which match the provided criteria, from being opened. The Snooze applies for a specific time interval. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard

Builder for SnoozeArgs.

Link copied to clipboard
object SnoozeMapper : ResourceMapper<Snooze>
Link copied to clipboard

Builder for Snooze.

Link copied to clipboard
class UptimeCheckConfig : KotlinCustomResource

Creates a new Uptime check configuration.

Link copied to clipboard
data class UptimeCheckConfigArgs(val checkerType: Output<UptimeCheckConfigCheckerType>? = null, val contentMatchers: Output<List<ContentMatcherArgs>>? = null, val displayName: Output<String>? = null, val httpCheck: Output<HttpCheckArgs>? = null, val internalCheckers: Output<List<InternalCheckerArgs>>? = null, val isInternal: Output<Boolean>? = null, val monitoredResource: Output<MonitoredResourceArgs>? = null, val name: Output<String>? = null, val period: Output<String>? = null, val project: Output<String>? = null, val resourceGroup: Output<ResourceGroupArgs>? = null, val selectedRegions: Output<List<UptimeCheckConfigSelectedRegionsItem>>? = null, val tcpCheck: Output<TcpCheckArgs>? = null, val timeout: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null) : ConvertibleToJava<UptimeCheckConfigArgs>

Creates a new Uptime check configuration.

Link copied to clipboard
object UptimeCheckConfigMapper : ResourceMapper<UptimeCheckConfig>

Functions

Link copied to clipboard
suspend fun alertPolicy(name: String, block: suspend AlertPolicyResourceBuilder.() -> Unit): AlertPolicy
Link copied to clipboard
fun group(name: String): Group
suspend fun group(name: String, block: suspend GroupResourceBuilder.() -> Unit): Group
Link copied to clipboard
Link copied to clipboard
fun service(name: String): Service
suspend fun service(name: String, block: suspend ServiceResourceBuilder.() -> Unit): Service
Link copied to clipboard
fun snooze(name: String): Snooze
suspend fun snooze(name: String, block: suspend SnoozeResourceBuilder.() -> Unit): Snooze