Viewing docs for vSphere v4.17.0
published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
Viewing docs for vSphere v4.17.0
published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
The vsphere.Alarm data source can be used to retrieve the property of a given alarm.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vsphere from "@pulumi/vsphere";
const datacenter = vsphere.getDatacenter({
name: "dc-01",
});
const alarm = vsphere.getAlarm({
entityType: "Datacenter",
entityId: dc.id,
name: "example",
});
import pulumi
import pulumi_vsphere as vsphere
datacenter = vsphere.get_datacenter(name="dc-01")
alarm = vsphere.get_alarm(entity_type="Datacenter",
entity_id=dc["id"],
name="example")
package main
import (
"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vsphere.GetDatacenter(ctx, &vsphere.LookupDatacenterArgs{
Name: pulumi.StringRef("dc-01"),
}, nil)
if err != nil {
return err
}
_, err = vsphere.GetAlarm(ctx, &vsphere.LookupAlarmArgs{
EntityType: "Datacenter",
EntityId: dc.Id,
Name: "example",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using VSphere = Pulumi.VSphere;
return await Deployment.RunAsync(() =>
{
var datacenter = VSphere.GetDatacenter.Invoke(new()
{
Name = "dc-01",
});
var alarm = VSphere.GetAlarm.Invoke(new()
{
EntityType = "Datacenter",
EntityId = dc.Id,
Name = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vsphere.VsphereFunctions;
import com.pulumi.vsphere.inputs.GetDatacenterArgs;
import com.pulumi.vsphere.inputs.GetAlarmArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var datacenter = VsphereFunctions.getDatacenter(GetDatacenterArgs.builder()
.name("dc-01")
.build());
final var alarm = VsphereFunctions.getAlarm(GetAlarmArgs.builder()
.entityType("Datacenter")
.entityId(dc.id())
.name("example")
.build());
}
}
variables:
datacenter:
fn::invoke:
function: vsphere:getDatacenter
arguments:
name: dc-01
alarm:
fn::invoke:
function: vsphere:getAlarm
arguments:
entityType: Datacenter
entityId: ${dc.id}
name: example
pulumi {
required_providers {
vsphere = {
source = "pulumi/vsphere"
}
}
}
data "vsphere_getdatacenter" "datacenter" {
name = "dc-01"
}
data "vsphere_getalarm" "alarm" {
entity_type = "Datacenter"
entity_id = dc.id
name = "example"
}
Using getAlarm
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlarm(args: GetAlarmArgs, opts?: InvokeOptions): Promise<GetAlarmResult>
function getAlarmOutput(args: GetAlarmOutputArgs, opts?: InvokeOptions): Output<GetAlarmResult>def get_alarm(entity_id: Optional[str] = None,
entity_type: Optional[str] = None,
metric_expressions: Optional[Sequence[GetAlarmMetricExpression]] = None,
name: Optional[str] = None,
snmp_actions: Optional[Sequence[GetAlarmSnmpAction]] = None,
state_expressions: Optional[Sequence[GetAlarmStateExpression]] = None,
opts: Optional[InvokeOptions] = None) -> GetAlarmResult
def get_alarm_output(entity_id: pulumi.Input[Optional[str]] = None,
entity_type: pulumi.Input[Optional[str]] = None,
metric_expressions: pulumi.Input[Optional[Sequence[pulumi.Input[GetAlarmMetricExpressionArgs]]]] = None,
name: pulumi.Input[Optional[str]] = None,
snmp_actions: pulumi.Input[Optional[Sequence[pulumi.Input[GetAlarmSnmpActionArgs]]]] = None,
state_expressions: pulumi.Input[Optional[Sequence[pulumi.Input[GetAlarmStateExpressionArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlarmResult]func LookupAlarm(ctx *Context, args *LookupAlarmArgs, opts ...InvokeOption) (*LookupAlarmResult, error)
func LookupAlarmOutput(ctx *Context, args *LookupAlarmOutputArgs, opts ...InvokeOption) LookupAlarmResultOutput> Note: This function is named LookupAlarm in the Go SDK.
public static class GetAlarm
{
public static Task<GetAlarmResult> InvokeAsync(GetAlarmArgs args, InvokeOptions? opts = null)
public static Output<GetAlarmResult> Invoke(GetAlarmInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAlarmResult> getAlarm(GetAlarmArgs args, InvokeOptions options)
public static Output<GetAlarmResult> getAlarm(GetAlarmArgs args, InvokeOptions options)
fn::invoke:
function: vsphere:index/getAlarm:getAlarm
arguments:
# arguments dictionarydata "vsphere_getalarm" "name" {
# arguments
}The following arguments are supported:
- Entity
Id string - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- Entity
Type string - The type of the entity the alarm will be created in.
- Name string
- The name of the host group.
- Metric
Expressions List<Pulumi.VSphere. Inputs. Get Alarm Metric Expression> - The metric expressions of the alarm.
- Snmp
Actions List<Pulumi.VSphere. Inputs. Get Alarm Snmp Action> - The snmp alarm actions of the alarm.
- State
Expressions List<Pulumi.VSphere. Inputs. Get Alarm State Expression> - The state expressions of the alarm.
- Entity
Id string - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- Entity
Type string - The type of the entity the alarm will be created in.
- Name string
- The name of the host group.
- Metric
Expressions []GetAlarm Metric Expression - The metric expressions of the alarm.
- Snmp
Actions []GetAlarm Snmp Action - The snmp alarm actions of the alarm.
- State
Expressions []GetAlarm State Expression - The state expressions of the alarm.
- entity_
id string - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- entity_
type string - The type of the entity the alarm will be created in.
- name string
- The name of the host group.
- metric_
expressions list(object) - The metric expressions of the alarm.
- snmp_
actions list(object) - The snmp alarm actions of the alarm.
- state_
expressions list(object) - The state expressions of the alarm.
- entity
Id String - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- entity
Type String - The type of the entity the alarm will be created in.
- name String
- The name of the host group.
- metric
Expressions List<GetAlarm Metric Expression> - The metric expressions of the alarm.
- snmp
Actions List<GetAlarm Snmp Action> - The snmp alarm actions of the alarm.
- state
Expressions List<GetAlarm State Expression> - The state expressions of the alarm.
- entity
Id string - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- entity
Type string - The type of the entity the alarm will be created in.
- name string
- The name of the host group.
- metric
Expressions GetAlarm Metric Expression[] - The metric expressions of the alarm.
- snmp
Actions GetAlarm Snmp Action[] - The snmp alarm actions of the alarm.
- state
Expressions GetAlarm State Expression[] - The state expressions of the alarm.
- entity_
id str - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- entity_
type str - The type of the entity the alarm will be created in.
- name str
- The name of the host group.
- metric_
expressions Sequence[GetAlarm Metric Expression] - The metric expressions of the alarm.
- snmp_
actions Sequence[GetAlarm Snmp Action] - The snmp alarm actions of the alarm.
- state_
expressions Sequence[GetAlarm State Expression] - The state expressions of the alarm.
- entity
Id String - The [managed object reference ID][docs-about-morefs] of the entity the alarm will be created in.
- entity
Type String - The type of the entity the alarm will be created in.
- name String
- The name of the host group.
- metric
Expressions List<Property Map> - The metric expressions of the alarm.
- snmp
Actions List<Property Map> - The snmp alarm actions of the alarm.
- state
Expressions List<Property Map> - The state expressions of the alarm.
getAlarm Result
The following output properties are available:
- Advanced
Actions List<Pulumi.VSphere. Outputs. Get Alarm Advanced Action> - The advanced actions of the alarm.
- Description string
- Email
Actions List<Pulumi.VSphere. Outputs. Get Alarm Email Action> - The email alarm actions of the alarm.
- Enabled bool
- Whether or not the alarm is enabled.
- Entity
Id string - Entity
Type string - Event
Expressions List<Pulumi.VSphere. Outputs. Get Alarm Event Expression> - The event expressions of the alarm.
- Expression
Operator string - The logical link between expressions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Metric
Expressions List<Pulumi.VSphere. Outputs. Get Alarm Metric Expression> - The metric expressions of the alarm.
- Snmp
Actions List<Pulumi.VSphere. Outputs. Get Alarm Snmp Action> - The snmp alarm actions of the alarm.
- State
Expressions List<Pulumi.VSphere. Outputs. Get Alarm State Expression> - The state expressions of the alarm.
- Advanced
Actions []GetAlarm Advanced Action - The advanced actions of the alarm.
- Description string
- Email
Actions []GetAlarm Email Action - The email alarm actions of the alarm.
- Enabled bool
- Whether or not the alarm is enabled.
- Entity
Id string - Entity
Type string - Event
Expressions []GetAlarm Event Expression - The event expressions of the alarm.
- Expression
Operator string - The logical link between expressions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Metric
Expressions []GetAlarm Metric Expression - The metric expressions of the alarm.
- Snmp
Actions []GetAlarm Snmp Action - The snmp alarm actions of the alarm.
- State
Expressions []GetAlarm State Expression - The state expressions of the alarm.
- advanced_
actions list(object) - The advanced actions of the alarm.
- description string
- email_
actions list(object) - The email alarm actions of the alarm.
- enabled bool
- Whether or not the alarm is enabled.
- entity_
id string - entity_
type string - event_
expressions list(object) - The event expressions of the alarm.
- expression_
operator string - The logical link between expressions.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- metric_
expressions list(object) - The metric expressions of the alarm.
- snmp_
actions list(object) - The snmp alarm actions of the alarm.
- state_
expressions list(object) - The state expressions of the alarm.
- advanced
Actions List<GetAlarm Advanced Action> - The advanced actions of the alarm.
- description String
- email
Actions List<GetAlarm Email Action> - The email alarm actions of the alarm.
- enabled Boolean
- Whether or not the alarm is enabled.
- entity
Id String - entity
Type String - event
Expressions List<GetAlarm Event Expression> - The event expressions of the alarm.
- expression
Operator String - The logical link between expressions.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- metric
Expressions List<GetAlarm Metric Expression> - The metric expressions of the alarm.
- snmp
Actions List<GetAlarm Snmp Action> - The snmp alarm actions of the alarm.
- state
Expressions List<GetAlarm State Expression> - The state expressions of the alarm.
- advanced
Actions GetAlarm Advanced Action[] - The advanced actions of the alarm.
- description string
- email
Actions GetAlarm Email Action[] - The email alarm actions of the alarm.
- enabled boolean
- Whether or not the alarm is enabled.
- entity
Id string - entity
Type string - event
Expressions GetAlarm Event Expression[] - The event expressions of the alarm.
- expression
Operator string - The logical link between expressions.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- metric
Expressions GetAlarm Metric Expression[] - The metric expressions of the alarm.
- snmp
Actions GetAlarm Snmp Action[] - The snmp alarm actions of the alarm.
- state
Expressions GetAlarm State Expression[] - The state expressions of the alarm.
- advanced_
actions Sequence[GetAlarm Advanced Action] - The advanced actions of the alarm.
- description str
- email_
actions Sequence[GetAlarm Email Action] - The email alarm actions of the alarm.
- enabled bool
- Whether or not the alarm is enabled.
- entity_
id str - entity_
type str - event_
expressions Sequence[GetAlarm Event Expression] - The event expressions of the alarm.
- expression_
operator str - The logical link between expressions.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- metric_
expressions Sequence[GetAlarm Metric Expression] - The metric expressions of the alarm.
- snmp_
actions Sequence[GetAlarm Snmp Action] - The snmp alarm actions of the alarm.
- state_
expressions Sequence[GetAlarm State Expression] - The state expressions of the alarm.
- advanced
Actions List<Property Map> - The advanced actions of the alarm.
- description String
- email
Actions List<Property Map> - The email alarm actions of the alarm.
- enabled Boolean
- Whether or not the alarm is enabled.
- entity
Id String - entity
Type String - event
Expressions List<Property Map> - The event expressions of the alarm.
- expression
Operator String - The logical link between expressions.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- metric
Expressions List<Property Map> - The metric expressions of the alarm.
- snmp
Actions List<Property Map> - The snmp alarm actions of the alarm.
- state
Expressions List<Property Map> - The state expressions of the alarm.
Supporting Types
GetAlarmAdvancedAction
- Final
State string - Triggers the action only for this final state.
- Name string
- The name of the host group.
- Repeat bool
- Whether or not the action should be repeated.
- Start
State string - Triggers the action only for this initial state.
- Final
State string - Triggers the action only for this final state.
- Name string
- The name of the host group.
- Repeat bool
- Whether or not the action should be repeated.
- Start
State string - Triggers the action only for this initial state.
- final_
state string - Triggers the action only for this final state.
- name string
- The name of the host group.
- repeat bool
- Whether or not the action should be repeated.
- start_
state string - Triggers the action only for this initial state.
- final
State String - Triggers the action only for this final state.
- name String
- The name of the host group.
- repeat Boolean
- Whether or not the action should be repeated.
- start
State String - Triggers the action only for this initial state.
- final
State string - Triggers the action only for this final state.
- name string
- The name of the host group.
- repeat boolean
- Whether or not the action should be repeated.
- start
State string - Triggers the action only for this initial state.
- final_
state str - Triggers the action only for this final state.
- name str
- The name of the host group.
- repeat bool
- Whether or not the action should be repeated.
- start_
state str - Triggers the action only for this initial state.
- final
State String - Triggers the action only for this final state.
- name String
- The name of the host group.
- repeat Boolean
- Whether or not the action should be repeated.
- start
State String - Triggers the action only for this initial state.
GetAlarmEmailAction
- Body string
- Email body.
- Cc string
- Email destination cc.
- Final
State string - Triggers the action only for this final state.
- Repeat bool
- Whether or not the action should be repeated.
- Start
State string - Triggers the action only for this initial state.
- Subject string
- Email subject.
- To string
- Email destination.
- Body string
- Email body.
- Cc string
- Email destination cc.
- Final
State string - Triggers the action only for this final state.
- Repeat bool
- Whether or not the action should be repeated.
- Start
State string - Triggers the action only for this initial state.
- Subject string
- Email subject.
- To string
- Email destination.
- body string
- Email body.
- cc string
- Email destination cc.
- final_
state string - Triggers the action only for this final state.
- repeat bool
- Whether or not the action should be repeated.
- start_
state string - Triggers the action only for this initial state.
- subject string
- Email subject.
- to string
- Email destination.
- body String
- Email body.
- cc String
- Email destination cc.
- final
State String - Triggers the action only for this final state.
- repeat Boolean
- Whether or not the action should be repeated.
- start
State String - Triggers the action only for this initial state.
- subject String
- Email subject.
- to String
- Email destination.
- body string
- Email body.
- cc string
- Email destination cc.
- final
State string - Triggers the action only for this final state.
- repeat boolean
- Whether or not the action should be repeated.
- start
State string - Triggers the action only for this initial state.
- subject string
- Email subject.
- to string
- Email destination.
- body str
- Email body.
- cc str
- Email destination cc.
- final_
state str - Triggers the action only for this final state.
- repeat bool
- Whether or not the action should be repeated.
- start_
state str - Triggers the action only for this initial state.
- subject str
- Email subject.
- to str
- Email destination.
- body String
- Email body.
- cc String
- Email destination cc.
- final
State String - Triggers the action only for this final state.
- repeat Boolean
- Whether or not the action should be repeated.
- start
State String - Triggers the action only for this initial state.
- subject String
- Email subject.
- to String
- Email destination.
GetAlarmEventExpression
- Event
Type string - Type of Event (vim.event.Event).
- Event
Type stringId - Name of the event (vim.event).
- Object
Type string - Type of object where the event applies on.
- Status string
- Alarm status once triggered.
- Comparisons
List<Pulumi.
VSphere. Inputs. Get Alarm Event Expression Comparison> - Additional check that allows adding threshold on the given object attribute.
- Event
Type string - Type of Event (vim.event.Event).
- Event
Type stringId - Name of the event (vim.event).
- Object
Type string - Type of object where the event applies on.
- Status string
- Alarm status once triggered.
- Comparisons
[]Get
Alarm Event Expression Comparison - Additional check that allows adding threshold on the given object attribute.
- event_
type string - Type of Event (vim.event.Event).
- event_
type_ stringid - Name of the event (vim.event).
- object_
type string - Type of object where the event applies on.
- status string
- Alarm status once triggered.
- comparisons list(object)
- Additional check that allows adding threshold on the given object attribute.
- event
Type String - Type of Event (vim.event.Event).
- event
Type StringId - Name of the event (vim.event).
- object
Type String - Type of object where the event applies on.
- status String
- Alarm status once triggered.
- comparisons
List<Get
Alarm Event Expression Comparison> - Additional check that allows adding threshold on the given object attribute.
- event
Type string - Type of Event (vim.event.Event).
- event
Type stringId - Name of the event (vim.event).
- object
Type string - Type of object where the event applies on.
- status string
- Alarm status once triggered.
- comparisons
Get
Alarm Event Expression Comparison[] - Additional check that allows adding threshold on the given object attribute.
- event_
type str - Type of Event (vim.event.Event).
- event_
type_ strid - Name of the event (vim.event).
- object_
type str - Type of object where the event applies on.
- status str
- Alarm status once triggered.
- comparisons
Sequence[Get
Alarm Event Expression Comparison] - Additional check that allows adding threshold on the given object attribute.
- event
Type String - Type of Event (vim.event.Event).
- event
Type StringId - Name of the event (vim.event).
- object
Type String - Type of object where the event applies on.
- status String
- Alarm status once triggered.
- comparisons List<Property Map>
- Additional check that allows adding threshold on the given object attribute.
GetAlarmEventExpressionComparison
- Attribute
Name string - Name of the attribute to compare.
- Operator string
- Comparison operator.
- Value string
- Value to compare.
- Attribute
Name string - Name of the attribute to compare.
- Operator string
- Comparison operator.
- Value string
- Value to compare.
- attribute_
name string - Name of the attribute to compare.
- operator string
- Comparison operator.
- value string
- Value to compare.
- attribute
Name String - Name of the attribute to compare.
- operator String
- Comparison operator.
- value String
- Value to compare.
- attribute
Name string - Name of the attribute to compare.
- operator string
- Comparison operator.
- value string
- Value to compare.
- attribute_
name str - Name of the attribute to compare.
- operator str
- Comparison operator.
- value str
- Value to compare.
- attribute
Name String - Name of the attribute to compare.
- operator String
- Comparison operator.
- value String
- Value to compare.
GetAlarmMetricExpression
- Metric
Counter intId - ID of the metric.
- Metric
Instance string - Object
Type string - Type of object of the metric, ie: HostSystem.
- Operator string
- Whether the metric is below or above the given threshold.
- Red int
- Critical threshold, for percentage, 9900 is 99%.
- Red
Interval int - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- Yellow int
- Warning threshold, for percentage, 9900 is 99%.
- Yellow
Interval int - Amount of seconds the threshold must be crossed to trigger the warning alarm.
- Metric
Counter intId - ID of the metric.
- Metric
Instance string - Object
Type string - Type of object of the metric, ie: HostSystem.
- Operator string
- Whether the metric is below or above the given threshold.
- Red int
- Critical threshold, for percentage, 9900 is 99%.
- Red
Interval int - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- Yellow int
- Warning threshold, for percentage, 9900 is 99%.
- Yellow
Interval int - Amount of seconds the threshold must be crossed to trigger the warning alarm.
- metric_
counter_ numberid - ID of the metric.
- metric_
instance string - object_
type string - Type of object of the metric, ie: HostSystem.
- operator string
- Whether the metric is below or above the given threshold.
- red number
- Critical threshold, for percentage, 9900 is 99%.
- red_
interval number - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- yellow number
- Warning threshold, for percentage, 9900 is 99%.
- yellow_
interval number - Amount of seconds the threshold must be crossed to trigger the warning alarm.
- metric
Counter IntegerId - ID of the metric.
- metric
Instance String - object
Type String - Type of object of the metric, ie: HostSystem.
- operator String
- Whether the metric is below or above the given threshold.
- red Integer
- Critical threshold, for percentage, 9900 is 99%.
- red
Interval Integer - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- yellow Integer
- Warning threshold, for percentage, 9900 is 99%.
- yellow
Interval Integer - Amount of seconds the threshold must be crossed to trigger the warning alarm.
- metric
Counter numberId - ID of the metric.
- metric
Instance string - object
Type string - Type of object of the metric, ie: HostSystem.
- operator string
- Whether the metric is below or above the given threshold.
- red number
- Critical threshold, for percentage, 9900 is 99%.
- red
Interval number - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- yellow number
- Warning threshold, for percentage, 9900 is 99%.
- yellow
Interval number - Amount of seconds the threshold must be crossed to trigger the warning alarm.
- metric_
counter_ intid - ID of the metric.
- metric_
instance str - object_
type str - Type of object of the metric, ie: HostSystem.
- operator str
- Whether the metric is below or above the given threshold.
- red int
- Critical threshold, for percentage, 9900 is 99%.
- red_
interval int - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- yellow int
- Warning threshold, for percentage, 9900 is 99%.
- yellow_
interval int - Amount of seconds the threshold must be crossed to trigger the warning alarm.
- metric
Counter NumberId - ID of the metric.
- metric
Instance String - object
Type String - Type of object of the metric, ie: HostSystem.
- operator String
- Whether the metric is below or above the given threshold.
- red Number
- Critical threshold, for percentage, 9900 is 99%.
- red
Interval Number - Amount of seconds the threshold must be crossed to trigger the critical alarm.
- yellow Number
- Warning threshold, for percentage, 9900 is 99%.
- yellow
Interval Number - Amount of seconds the threshold must be crossed to trigger the warning alarm.
GetAlarmSnmpAction
- Final
State string - Triggers the action only for this final state.
- Repeat bool
- Whether or not the action should be repeated.
- Start
State string - Triggers the action only for this initial state.
- Final
State string - Triggers the action only for this final state.
- Repeat bool
- Whether or not the action should be repeated.
- Start
State string - Triggers the action only for this initial state.
- final_
state string - Triggers the action only for this final state.
- repeat bool
- Whether or not the action should be repeated.
- start_
state string - Triggers the action only for this initial state.
- final
State String - Triggers the action only for this final state.
- repeat Boolean
- Whether or not the action should be repeated.
- start
State String - Triggers the action only for this initial state.
- final
State string - Triggers the action only for this final state.
- repeat boolean
- Whether or not the action should be repeated.
- start
State string - Triggers the action only for this initial state.
- final_
state str - Triggers the action only for this final state.
- repeat bool
- Whether or not the action should be repeated.
- start_
state str - Triggers the action only for this initial state.
- final
State String - Triggers the action only for this final state.
- repeat Boolean
- Whether or not the action should be repeated.
- start
State String - Triggers the action only for this initial state.
GetAlarmStateExpression
- Object
Type string - Type of object where the event applies on, ie: HostSystem.
- Operator string
- Check if state is equal or unequal.
- Red string
- State value to trigger critical alarm.
- State
Path string - State path: ie. runtime.connectionState.
- Yellow string
- State value to trigger warning alarm.
- Object
Type string - Type of object where the event applies on, ie: HostSystem.
- Operator string
- Check if state is equal or unequal.
- Red string
- State value to trigger critical alarm.
- State
Path string - State path: ie. runtime.connectionState.
- Yellow string
- State value to trigger warning alarm.
- object_
type string - Type of object where the event applies on, ie: HostSystem.
- operator string
- Check if state is equal or unequal.
- red string
- State value to trigger critical alarm.
- state_
path string - State path: ie. runtime.connectionState.
- yellow string
- State value to trigger warning alarm.
- object
Type String - Type of object where the event applies on, ie: HostSystem.
- operator String
- Check if state is equal or unequal.
- red String
- State value to trigger critical alarm.
- state
Path String - State path: ie. runtime.connectionState.
- yellow String
- State value to trigger warning alarm.
- object
Type string - Type of object where the event applies on, ie: HostSystem.
- operator string
- Check if state is equal or unequal.
- red string
- State value to trigger critical alarm.
- state
Path string - State path: ie. runtime.connectionState.
- yellow string
- State value to trigger warning alarm.
- object_
type str - Type of object where the event applies on, ie: HostSystem.
- operator str
- Check if state is equal or unequal.
- red str
- State value to trigger critical alarm.
- state_
path str - State path: ie. runtime.connectionState.
- yellow str
- State value to trigger warning alarm.
- object
Type String - Type of object where the event applies on, ie: HostSystem.
- operator String
- Check if state is equal or unequal.
- red String
- State value to trigger critical alarm.
- state
Path String - State path: ie. runtime.connectionState.
- yellow String
- State value to trigger warning alarm.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vsphereTerraform Provider.
Viewing docs for vSphere v4.17.0
published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi