This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Retrieve the health state transition history for an entity
Uses Azure REST API version 2026-01-01-preview.
Using getEntityHistory
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 getEntityHistory(args: GetEntityHistoryArgs, opts?: InvokeOptions): Promise<GetEntityHistoryResult>
function getEntityHistoryOutput(args: GetEntityHistoryOutputArgs, opts?: InvokeOptions): Output<GetEntityHistoryResult>def get_entity_history(end_at: Optional[str] = None,
entity_name: Optional[str] = None,
health_model_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
start_at: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEntityHistoryResult
def get_entity_history_output(end_at: Optional[pulumi.Input[str]] = None,
entity_name: Optional[pulumi.Input[str]] = None,
health_model_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
start_at: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEntityHistoryResult]func GetEntityHistory(ctx *Context, args *GetEntityHistoryArgs, opts ...InvokeOption) (*GetEntityHistoryResult, error)
func GetEntityHistoryOutput(ctx *Context, args *GetEntityHistoryOutputArgs, opts ...InvokeOption) GetEntityHistoryResultOutput> Note: This function is named GetEntityHistory in the Go SDK.
public static class GetEntityHistory
{
public static Task<GetEntityHistoryResult> InvokeAsync(GetEntityHistoryArgs args, InvokeOptions? opts = null)
public static Output<GetEntityHistoryResult> Invoke(GetEntityHistoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEntityHistoryResult> getEntityHistory(GetEntityHistoryArgs args, InvokeOptions options)
public static Output<GetEntityHistoryResult> getEntityHistory(GetEntityHistoryArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:cloudhealth:getEntityHistory
arguments:
# arguments dictionaryThe following arguments are supported:
- Entity
Name string - Name of the entity. Must be unique within a health model.
- Health
Model stringName - Name of health model resource
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- End
At string - End time for the history query. Defaults to now if not specified.
- Start
At string - Start time for the history query. Defaults to 24 hours ago if not specified.
- Entity
Name string - Name of the entity. Must be unique within a health model.
- Health
Model stringName - Name of health model resource
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- End
At string - End time for the history query. Defaults to now if not specified.
- Start
At string - Start time for the history query. Defaults to 24 hours ago if not specified.
- entity
Name String - Name of the entity. Must be unique within a health model.
- health
Model StringName - Name of health model resource
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- end
At String - End time for the history query. Defaults to now if not specified.
- start
At String - Start time for the history query. Defaults to 24 hours ago if not specified.
- entity
Name string - Name of the entity. Must be unique within a health model.
- health
Model stringName - Name of health model resource
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- end
At string - End time for the history query. Defaults to now if not specified.
- start
At string - Start time for the history query. Defaults to 24 hours ago if not specified.
- entity_
name str - Name of the entity. Must be unique within a health model.
- health_
model_ strname - Name of health model resource
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- end_
at str - End time for the history query. Defaults to now if not specified.
- start_
at str - Start time for the history query. Defaults to 24 hours ago if not specified.
- entity
Name String - Name of the entity. Must be unique within a health model.
- health
Model StringName - Name of health model resource
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- end
At String - End time for the history query. Defaults to now if not specified.
- start
At String - Start time for the history query. Defaults to 24 hours ago if not specified.
getEntityHistory Result
The following output properties are available:
- Entity
Name string - Name of the entity
- History
List<Pulumi.
Azure Native. Cloud Health. Outputs. Health State Transition Response> - List of health state transitions
- Entity
Name string - Name of the entity
- History
[]Health
State Transition Response - List of health state transitions
- entity
Name String - Name of the entity
- history
List<Health
State Transition Response> - List of health state transitions
- entity
Name string - Name of the entity
- history
Health
State Transition Response[] - List of health state transitions
- entity_
name str - Name of the entity
- history
Sequence[Health
State Transition Response] - List of health state transitions
- entity
Name String - Name of the entity
- history List<Property Map>
- List of health state transitions
Supporting Types
HealthStateTransitionResponse
- New
State string - New health state after the transition
- Occurred
At string - Timestamp when the transition occurred
- Previous
State string - Previous health state before the transition
- Reason string
- Reason of the transition
- New
State string - New health state after the transition
- Occurred
At string - Timestamp when the transition occurred
- Previous
State string - Previous health state before the transition
- Reason string
- Reason of the transition
- new
State String - New health state after the transition
- occurred
At String - Timestamp when the transition occurred
- previous
State String - Previous health state before the transition
- reason String
- Reason of the transition
- new
State string - New health state after the transition
- occurred
At string - Timestamp when the transition occurred
- previous
State string - Previous health state before the transition
- reason string
- Reason of the transition
- new_
state str - New health state after the transition
- occurred_
at str - Timestamp when the transition occurred
- previous_
state str - Previous health state before the transition
- reason str
- Reason of the transition
- new
State String - New health state after the transition
- occurred
At String - Timestamp when the transition occurred
- previous
State String - Previous health state before the transition
- reason String
- Reason of the transition
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
